QuotaExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class to add extension methods to Azure.ResourceManager.Quota.
public static class QuotaExtensions
type QuotaExtensions = class
Public Module QuotaExtensions
- Inheritance
-
QuotaExtensions
Methods
CreateOrUpdateGroupQuotaSubscriptionAllocationRequest(ManagementGroupResource, WaitUntil, String, String, String, String, QuotaAllocationRequestStatusData, CancellationToken) |
Request to assign quota from group quota to a specific Subscription. The assign GroupQuota to subscriptions or reduce the quota allocated to subscription to give back the unused quota ( quota >= usages) to the groupQuota. So, this API can be used to assign Quota to subscriptions and assign back unused quota to group quota, which can be assigned to another subscriptions in the GroupQuota.
|
CreateOrUpdateGroupQuotaSubscriptionAllocationRequestAsync(ManagementGroupResource, WaitUntil, String, String, String, String, QuotaAllocationRequestStatusData, CancellationToken) |
Request to assign quota from group quota to a specific Subscription. The assign GroupQuota to subscriptions or reduce the quota allocated to subscription to give back the unused quota ( quota >= usages) to the groupQuota. So, this API can be used to assign Quota to subscriptions and assign back unused quota to group quota, which can be assigned to another subscriptions in the GroupQuota.
|
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.
|
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.
|
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.
|
GetCurrentUsagesBaseAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Get the current usage of a resource.
|
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. |
GetGroupQuotaEnforcementResource(ArmClient, ResourceIdentifier) |
Gets an object representing a GroupQuotaEnforcementResource 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 GroupQuotaEnforcementResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetGroupQuotaEnforcementResource(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.
|
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.
|
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. |
GetGroupQuotaLimitResource(ArmClient, ResourceIdentifier) |
Gets an object representing a GroupQuotaLimitResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a GroupQuotaLimitResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetGroupQuotaLimitResource(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, CancellationToken) |
Get the quota allocation request status for the subscriptionId by allocationId.
|
GetQuotaAllocationRequestStatusAsync(ManagementGroupResource, String, String, String, CancellationToken) |
Get the quota allocation request status for the subscriptionId by allocationId.
|
GetQuotaAllocationRequestStatuses(ManagementGroupResource) |
Gets a collection of QuotaAllocationRequestStatusResources in the ManagementGroupResource. MockingTo mock this method, please mock GetQuotaAllocationRequestStatuses() instead. |
GetQuotaAllocationRequestStatusesByResourceProvider(ManagementGroupResource, String, String, String, String, CancellationToken) |
Get all the quotaAllocationRequests for a resourceProvider/location. The filter paramter for location is required.
|
GetQuotaAllocationRequestStatusesByResourceProviderAsync(ManagementGroupResource, String, String, String, String, CancellationToken) |
Get all the quotaAllocationRequests for a resourceProvider/location. The filter paramter for location is required.
|
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) 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.
|
GetQuotaOperationsAsync(TenantResource, CancellationToken) |
List all the operations supported by the Microsoft.Quota resource provider.
|
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.
|
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.
|
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. |
GetSubscriptionQuotaAllocation(ManagementGroupResource, String, String, String, String, CancellationToken) |
Gets Quota allocated to a subscription for the specific Resource Provider, Location, ResourceName. 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.
|
GetSubscriptionQuotaAllocationAsync(ManagementGroupResource, String, String, String, String, CancellationToken) |
Gets Quota allocated to a subscription for the specific Resource Provider, Location, ResourceName. 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.
|
GetSubscriptionQuotaAllocationResource(ArmClient, ResourceIdentifier) |
Gets an object representing a SubscriptionQuotaAllocationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a SubscriptionQuotaAllocationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSubscriptionQuotaAllocationResource(ResourceIdentifier) instead. |
GetSubscriptionQuotaAllocations(ManagementGroupResource, String, String) |
Gets a collection of SubscriptionQuotaAllocationResources in the ManagementGroupResource. MockingTo mock this method, please mock GetSubscriptionQuotaAllocations(String, String) instead. |
UpdateGroupQuotaSubscriptionAllocationRequest(ManagementGroupResource, WaitUntil, String, String, String, String, QuotaAllocationRequestStatusData, CancellationToken) |
Request to assign quota from group quota to a specific Subscription. The assign GroupQuota to subscriptions or reduce the quota allocated to subscription to give back the unused quota ( quota >= usages) to the groupQuota. So, this API can be used to assign Quota to subscriptions and assign back unused quota to group quota, which can be assigned to another subscriptions in the GroupQuota. User can collect unused quotas from multiple subscriptions within the groupQuota and assign the groupQuota to the subscription, where it's needed.
|
UpdateGroupQuotaSubscriptionAllocationRequestAsync(ManagementGroupResource, WaitUntil, String, String, String, String, QuotaAllocationRequestStatusData, CancellationToken) |
Request to assign quota from group quota to a specific Subscription. The assign GroupQuota to subscriptions or reduce the quota allocated to subscription to give back the unused quota ( quota >= usages) to the groupQuota. So, this API can be used to assign Quota to subscriptions and assign back unused quota to group quota, which can be assigned to another subscriptions in the GroupQuota. User can collect unused quotas from multiple subscriptions within the groupQuota and assign the groupQuota to the subscription, where it's needed.
|
Applies to
Azure SDK for .NET