import type { AzureQuotaExtensionAPIContext as Client } from "../index.js"; import type { CurrentQuotaLimitBase, _QuotaLimits } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { QuotaListOptionalParams, QuotaUpdateOptionalParams, QuotaCreateOrUpdateOptionalParams, QuotaGetOptionalParams } from "./options.js"; import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client"; import type { PollerLike, OperationState } from "@azure/core-lro"; export declare function _listSend(context: Client, scope: string, options?: QuotaListOptionalParams): StreamableMethod; export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_QuotaLimits>; /** Get a list of current quota limits of all resources for the specified scope. The response from this GET operation can be leveraged to submit requests to update a quota. */ export declare function list(context: Client, scope: string, options?: QuotaListOptionalParams): PagedAsyncIterableIterator; export declare function _updateSend(context: Client, resourceName: string, scope: string, createQuotaRequest: CurrentQuotaLimitBase, options?: QuotaUpdateOptionalParams): StreamableMethod; export declare function _updateDeserialize(result: PathUncheckedResponse): Promise; /** * Update the quota limit for a specific resource to the specified value: * 1. Use the Usages-GET and Quota-GET operations to determine the remaining quota for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670). * 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request. */ export declare function update(context: Client, resourceName: string, scope: string, createQuotaRequest: CurrentQuotaLimitBase, options?: QuotaUpdateOptionalParams): PollerLike, CurrentQuotaLimitBase>; export declare function _createOrUpdateSend(context: Client, resourceName: string, scope: string, createQuotaRequest: CurrentQuotaLimitBase, options?: QuotaCreateOrUpdateOptionalParams): StreamableMethod; export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise; /** * Create or update the quota limit for the specified resource with the requested value. To update the quota, follow these steps: * 1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in [this example](https://techcommunity.microsoft.com/t5/azure-governance-and-management/using-the-new-quota-rest-api/ba-p/2183670). * 2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request. */ export declare function createOrUpdate(context: Client, resourceName: string, scope: string, createQuotaRequest: CurrentQuotaLimitBase, options?: QuotaCreateOrUpdateOptionalParams): PollerLike, CurrentQuotaLimitBase>; export declare function _getSend(context: Client, resourceName: string, scope: string, options?: QuotaGetOptionalParams): StreamableMethod; export declare function _getDeserialize(result: PathUncheckedResponse): Promise; /** Get the quota limit of a resource. The response can be used to determine the remaining quota to calculate a new quota limit that can be submitted with a PUT request. */ export declare function get(context: Client, resourceName: string, scope: string, options?: QuotaGetOptionalParams): Promise; //# sourceMappingURL=operations.d.ts.map