Aracılığıyla paylaş


QuotaExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.Quota.

public static class QuotaExtensions
type QuotaExtensions = class
Public Module QuotaExtensions
Inheritance
QuotaExtensions

Methods

GetCurrentQuotaLimitBase(ArmClient, ResourceIdentifier, String, CancellationToken)

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.

  • Request Path: /{scope}/providers/Microsoft.Quota/quotas/{resourceName}
  • Operation Id: Quota_Get
GetCurrentQuotaLimitBaseAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

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.

  • Request Path: /{scope}/providers/Microsoft.Quota/quotas/{resourceName}
  • Operation Id: Quota_Get
GetCurrentQuotaLimitBaseResource(ArmClient, ResourceIdentifier)

Gets an object representing a CurrentQuotaLimitBaseResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a CurrentQuotaLimitBaseResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCurrentQuotaLimitBaseResource(ResourceIdentifier) instead.

GetCurrentQuotaLimitBases(ArmClient, ResourceIdentifier)

Gets a collection of CurrentQuotaLimitBaseResources in the ArmClient. MockingTo mock this method, please mock GetCurrentQuotaLimitBases(ResourceIdentifier) instead.

GetCurrentUsagesBase(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the current usage of a resource.

  • Request Path: /{scope}/providers/Microsoft.Quota/usages/{resourceName}
  • Operation Id: Usages_Get
GetCurrentUsagesBaseAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the current usage of a resource.

  • Request Path: /{scope}/providers/Microsoft.Quota/usages/{resourceName}
  • Operation Id: Usages_Get
GetCurrentUsagesBaseResource(ArmClient, ResourceIdentifier)

Gets an object representing a CurrentUsagesBaseResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a CurrentUsagesBaseResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCurrentUsagesBaseResource(ResourceIdentifier) instead.

GetCurrentUsagesBases(ArmClient, ResourceIdentifier)

Gets a collection of CurrentUsagesBaseResources in the ArmClient. MockingTo mock this method, please mock GetCurrentUsagesBases(ResourceIdentifier) instead.

GetQuotaOperations(TenantResource, CancellationToken)

List all the operations supported by the Microsoft.Quota resource provider.

  • Request Path: /providers/Microsoft.Quota/operations
  • Operation Id: QuotaOperation_List
GetQuotaOperationsAsync(TenantResource, CancellationToken)

List all the operations supported by the Microsoft.Quota resource provider.

  • Request Path: /providers/Microsoft.Quota/operations
  • Operation Id: QuotaOperation_List
GetQuotaRequestDetail(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the quota request details and status by quota request ID for the resources of the resource provider at a specific location. The quota request ID id is returned in the response of the PUT operation.

  • Request Path: /{scope}/providers/Microsoft.Quota/quotaRequests/{id}
  • Operation Id: QuotaRequestStatus_Get
GetQuotaRequestDetailAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the quota request details and status by quota request ID for the resources of the resource provider at a specific location. The quota request ID id is returned in the response of the PUT operation.

  • Request Path: /{scope}/providers/Microsoft.Quota/quotaRequests/{id}
  • Operation Id: QuotaRequestStatus_Get
GetQuotaRequestDetailResource(ArmClient, ResourceIdentifier)

Gets an object representing a QuotaRequestDetailResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a QuotaRequestDetailResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetQuotaRequestDetailResource(ResourceIdentifier) instead.

GetQuotaRequestDetails(ArmClient, ResourceIdentifier)

Gets a collection of QuotaRequestDetailResources in the ArmClient. MockingTo mock this method, please mock GetQuotaRequestDetails(ResourceIdentifier) instead.

Applies to