Grants interface

Interface representing a Grants.

Methods

get(string, string, GrantsGetOptionalParams)

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

list(string, string, GrantsListOptionalParams)

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

listAll(GrantsListAllOptionalParams)

Get a list of grants that Microsoft has provided.

Method Details

get(string, string, GrantsGetOptionalParams)

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

function get(billingAccountName: string, billingProfileName: string, options?: GrantsGetOptionalParams): Promise<GrantDetails>

Parameters

billingAccountName

string

Billing account name.

billingProfileName

string

Billing profile name.

options
GrantsGetOptionalParams

The options parameters.

Returns

Promise<GrantDetails>

list(string, string, GrantsListOptionalParams)

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

function list(billingAccountName: string, billingProfileName: string, options?: GrantsListOptionalParams): PagedAsyncIterableIterator<GrantDetails, GrantDetails[], PageSettings>

Parameters

billingAccountName

string

Billing account name.

billingProfileName

string

Billing profile name.

options
GrantsListOptionalParams

The options parameters.

Returns

listAll(GrantsListAllOptionalParams)

Get a list of grants that Microsoft has provided.

function listAll(options?: GrantsListAllOptionalParams): PagedAsyncIterableIterator<GrantDetails, GrantDetails[], PageSettings>

Parameters

options
GrantsListAllOptionalParams

The options parameters.

Returns