Skip to main content

grants

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

Overview

Namegrants
TypeResource
Idazure_extras.education.grants

Fields

The following fields are returned by SELECT queries:

list of Grants

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
propertiesobjectGrant detail properties.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectbillingAccountName, billingProfileNameincludeAllocatedBudgetGet details for a specific grant linked to the provided billing account and billing profile.
getselectbillingAccountName, billingProfileNameincludeAllocatedBudgetGet details for a specific grant linked to the provided billing account and billing profile.
list_allselectincludeAllocatedBudgetGet a list of grants that Microsoft has provided.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
billingAccountNamestringThe ID that uniquely identifies a billing account.
billingProfileNamestringThe ID that uniquely identifies a billing profile.
includeAllocatedBudgetbooleanMay be used to include information about budget that has been allocated.

SELECT examples

Get details for a specific grant linked to the provided billing account and billing profile.

SELECT
id,
name,
properties,
systemData,
type
FROM azure_extras.education.grants
WHERE billingAccountName = '{{ billingAccountName }}' -- required
AND billingProfileName = '{{ billingProfileName }}' -- required
AND includeAllocatedBudget = '{{ includeAllocatedBudget }}'
;