/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { GrantDetails, GrantsListAllOptionalParams, GrantsListOptionalParams, GrantsGetOptionalParams, GrantsGetResponse } from "../models"; /// /** Interface representing a Grants. */ export interface Grants { /** * Get a list of grants that Microsoft has provided. * @param options The options parameters. */ listAll( options?: GrantsListAllOptionalParams ): PagedAsyncIterableIterator; /** * Get details for a specific grant linked to the provided billing account and billing profile. * @param billingAccountName Billing account name. * @param billingProfileName Billing profile name. * @param options The options parameters. */ list( billingAccountName: string, billingProfileName: string, options?: GrantsListOptionalParams ): PagedAsyncIterableIterator; /** * Get details for a specific grant linked to the provided billing account and billing profile. * @param billingAccountName Billing account name. * @param billingProfileName Billing profile name. * @param options The options parameters. */ get( billingAccountName: string, billingProfileName: string, options?: GrantsGetOptionalParams ): Promise; }