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:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
allocatedBudgetobjectallocated budget.
effectiveDatestring (date-time)Grant Effective Date.
expirationDatestring (date-time)Expiration Date.
offerCapobjectOffer Cap.
offerTypestringGrant Offer Type. Known values are: "Student" and "Academic". (Student, Academic)
statusstringGrant status. Known values are: "Active" and "Inactive". (Active, Inactive)
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
getselectbilling_account_name, billing_profile_nameincludeAllocatedBudgetGet details for a specific grant linked to the provided billing account and billing profile.
list_allselectincludeAllocatedBudgetGet a list of grants that Microsoft has provided.
list_rawexecbilling_account_name, billing_profile_nameincludeAllocatedBudgetGet details for a specific grant linked to the provided billing account and billing profile.

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
billing_account_namestringThe name of the billing account. Required.
billing_profile_namestringThe name of the billing profile. Required.
includeAllocatedBudgetbooleanMay be used to include information about budget that has been allocated. Default value is None.

SELECT examples

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

SELECT
id,
name,
allocatedBudget,
effectiveDate,
expirationDate,
offerCap,
offerType,
status,
systemData,
type
FROM azure_extras.education.grants
WHERE billing_account_name = '{{ billing_account_name }}' -- required
AND billing_profile_name = '{{ billing_profile_name }}' -- required
AND includeAllocatedBudget = '{{ includeAllocatedBudget }}'
;

Lifecycle Methods

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

EXEC azure_extras.education.grants.list_raw 
@billing_account_name='{{ billing_account_name }}' --required,
@billing_profile_name='{{ billing_profile_name }}' --required,
@includeAllocatedBudget={{ includeAllocatedBudget }}
;