@azure/arm-compute
Version:
A generated SDK for ComputeManagementClient.
37 lines • 1.62 kB
TypeScript
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { UsageOperations } from "../operationsInterfaces/index.js";
import { ComputeManagementClient } from "../computeManagementClient.js";
import { Usage, UsageListOptionalParams } from "../models/index.js";
/** Class containing UsageOperations operations. */
export declare class UsageOperationsImpl implements UsageOperations {
private readonly client;
/**
* Initialize a new instance of the class UsageOperations class.
* @param client Reference to the service client
*/
constructor(client: ComputeManagementClient);
/**
* Gets, for the specified location, the current compute resource usage information as well as the
* limits for compute resources under the subscription.
* @param location The name of Azure region.
* @param options The options parameters.
*/
list(location: string, options?: UsageListOptionalParams): PagedAsyncIterableIterator<Usage>;
private listPagingPage;
private listPagingAll;
/**
* Gets, for the specified location, the current compute resource usage information as well as the
* limits for compute resources under the subscription.
* @param location The name of Azure region.
* @param options The options parameters.
*/
private _list;
/**
* ListNext
* @param location The name of Azure region.
* @param nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
private _listNext;
}
//# sourceMappingURL=usageOperations.d.ts.map