Share via


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
  • Default Api Version: 2024-12-18-preview
  • Resource: CurrentQuotaLimitBaseResource
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
  • Default Api Version: 2024-12-18-preview
  • Resource: CurrentQuotaLimitBaseResource
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
  • Default Api Version: 2024-12-18-preview
  • Resource: CurrentUsagesBaseResource
GetCurrentUsagesBaseAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the current usage of a resource.

  • Request Path: /{scope}/providers/Microsoft.Quota/usages/{resourceName}
  • Operation Id: Usages_Get
  • Default Api Version: 2024-12-18-preview
  • Resource: CurrentUsagesBaseResource
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.

GetGroupQuotaEntities(ManagementGroupResource)

Gets a collection of GroupQuotaEntityResources in the ManagementGroupResource. MockingTo mock this method, please mock GetGroupQuotaEntities() instead.

GetGroupQuotaEntity(ManagementGroupResource, String, CancellationToken)

Gets the GroupQuotas for the name passed. It will return the GroupQuotas properties only. The details on group quota can be access from the group quota APIs.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}
  • Operation Id: GroupQuotas_Get
  • Default Api Version: 2024-12-18-preview
  • Resource: GroupQuotaEntityResource
GetGroupQuotaEntityAsync(ManagementGroupResource, String, CancellationToken)

Gets the GroupQuotas for the name passed. It will return the GroupQuotas properties only. The details on group quota can be access from the group quota APIs.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}
  • Operation Id: GroupQuotas_Get
  • Default Api Version: 2024-12-18-preview
  • Resource: GroupQuotaEntityResource
GetGroupQuotaEntityResource(ArmClient, ResourceIdentifier)

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

GetGroupQuotaLimitListResource(ArmClient, ResourceIdentifier)

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

GetGroupQuotaRequestStatusResource(ArmClient, ResourceIdentifier)

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

GetGroupQuotaSubscriptionRequestStatusResource(ArmClient, ResourceIdentifier)

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

GetGroupQuotaSubscriptionResource(ArmClient, ResourceIdentifier)

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

GetQuotaAllocationRequestStatus(ManagementGroupResource, String, String, String, String, CancellationToken)

Get the quota allocation request status for the subscriptionId by allocationId.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/quotaAllocationRequests/{allocationId}
  • Operation Id: GroupQuotaSubscriptionAllocationRequest_Get
  • Default Api Version: 2024-12-18-preview
  • Resource: QuotaAllocationRequestStatusResource
GetQuotaAllocationRequestStatusAsync(ManagementGroupResource, String, String, String, String, CancellationToken)

Get the quota allocation request status for the subscriptionId by allocationId.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/quotaAllocationRequests/{allocationId}
  • Operation Id: GroupQuotaSubscriptionAllocationRequest_Get
  • Default Api Version: 2024-12-18-preview
  • Resource: QuotaAllocationRequestStatusResource
GetQuotaAllocationRequestStatuses(ManagementGroupResource, String, String, String)

Gets a collection of QuotaAllocationRequestStatusResources in the ManagementGroupResource. MockingTo mock this method, please mock GetQuotaAllocationRequestStatuses(String, String, String) instead.

GetQuotaAllocationRequestStatusResource(ArmClient, ResourceIdentifier)

Gets an object representing a QuotaAllocationRequestStatusResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a QuotaAllocationRequestStatusResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetQuotaAllocationRequestStatusResource(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
  • Default Api Version: 2024-12-18-preview
GetQuotaOperationsAsync(TenantResource, CancellationToken)

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

  • Request Path: /providers/Microsoft.Quota/operations
  • Operation Id: QuotaOperation_List
  • Default Api Version: 2024-12-18-preview
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
  • Default Api Version: 2024-12-18-preview
  • Resource: QuotaRequestDetailResource
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
  • Default Api Version: 2024-12-18-preview
  • Resource: QuotaRequestDetailResource
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.

GetSubscriptionQuotaAllocationsList(ManagementGroupResource, String, String, String, AzureLocation, CancellationToken)

Gets all the quota allocated to a subscription for the specified resource provider and location for resource names passed in $filter=resourceName eq {SKU}. This will include the GroupQuota and total quota allocated to the subscription. Only the Group quota allocated to the subscription can be allocated back to the MG Group Quota.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/quotaAllocations/{location}
  • Operation Id: GroupQuotaSubscriptionAllocation_List
  • Default Api Version: 2024-12-18-preview
  • Resource: SubscriptionQuotaAllocationsListResource
GetSubscriptionQuotaAllocationsListAsync(ManagementGroupResource, String, String, String, AzureLocation, CancellationToken)

Gets all the quota allocated to a subscription for the specified resource provider and location for resource names passed in $filter=resourceName eq {SKU}. This will include the GroupQuota and total quota allocated to the subscription. Only the Group quota allocated to the subscription can be allocated back to the MG Group Quota.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/quotaAllocations/{location}
  • Operation Id: GroupQuotaSubscriptionAllocation_List
  • Default Api Version: 2024-12-18-preview
  • Resource: SubscriptionQuotaAllocationsListResource
GetSubscriptionQuotaAllocationsListResource(ArmClient, ResourceIdentifier)

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

GetSubscriptionQuotaAllocationsLists(ManagementGroupResource)

Gets a collection of SubscriptionQuotaAllocationsListResources in the ManagementGroupResource. MockingTo mock this method, please mock GetSubscriptionQuotaAllocationsLists() instead.

Applies to