Skip to main content

requests

Creates, updates, deletes, gets or lists a requests resource.

Overview

Namerequests
TypeResource
Idazure.billing.requests

Fields

NameDatatypeDescription
propertiesobjectA request submitted by a user to manage billing. Users with an owner role on the scope can approve or decline these requests.
tagsobjectDictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /

Methods

NameAccessible byRequired ParamsDescription
getSELECTbillingRequestNameGets a billing request by its ID.
list_by_billing_accountSELECTbillingAccountNameThe list of billing requests submitted for the billing account.
list_by_billing_profileSELECTbillingAccountName, billingProfileNameThe list of billing requests submitted for the billing profile.
list_by_customerSELECTbillingAccountName, billingProfileName, customerNameThe list of billing requests submitted for the customer.
list_by_userSELECTThe list of billing requests submitted by a user.
create_or_updateINSERTbillingRequestNameCreate or update a billing request.

SELECT examples

The list of billing requests submitted by a user.

SELECT
properties,
tags
FROM azure.billing.requests
;

INSERT example

Use the following StackQL query and manifest file to create a new requests resource.

/*+ create */
INSERT INTO azure.billing.requests (
billingRequestName,
tags,
properties
)
SELECT
'{{ billingRequestName }}',
'{{ tags }}',
'{{ properties }}'
;