grants
Creates, updates, deletes, gets or lists a grants
resource.
Overview
Name | grants |
Type | Resource |
Id | azure_extras.education.grants |
Fields
The following fields are returned by SELECT
queries:
- list
- get
- list_all
list of Grants
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
properties | object | Grant detail properties. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Grant detail
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
properties | object | Grant detail properties. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
list of Grants
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
properties | object | Grant detail properties. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | billingAccountName , billingProfileName | includeAllocatedBudget | Get details for a specific grant linked to the provided billing account and billing profile. |
get | select | billingAccountName , billingProfileName | includeAllocatedBudget | Get details for a specific grant linked to the provided billing account and billing profile. |
list_all | select | includeAllocatedBudget | Get 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.
Name | Datatype | Description |
---|---|---|
billingAccountName | string | The ID that uniquely identifies a billing account. |
billingProfileName | string | The ID that uniquely identifies a billing profile. |
includeAllocatedBudget | boolean | May be used to include information about budget that has been allocated. |
SELECT
examples
- list
- get
- list_all
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 }}'
;
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 }}'
;
Get a list of grants that Microsoft has provided.
SELECT
id,
name,
properties,
systemData,
type
FROM azure_extras.education.grants
WHERE includeAllocatedBudget = '{{ includeAllocatedBudget }}'
;