Aracılığıyla paylaş


GroupQuotaSubscriptionAllocationRequests Interface

public interface GroupQuotaSubscriptionAllocationRequests

Resource collection API of GroupQuotaSubscriptionAllocationRequests.

Method Summary

Modifier and Type Method and Description
abstract QuotaAllocationRequestStatus get(String managementGroupId, String groupQuotaName, String resourceProviderName, String allocationId)

Get the status of the quota allocation request for the subscriptionId.

abstract Response<QuotaAllocationRequestStatus> getWithResponse(String managementGroupId, String groupQuotaName, String resourceProviderName, String allocationId, Context context)

Get the status of the quota allocation request for the subscriptionId.

abstract PagedIterable<QuotaAllocationRequestStatus> list(String managementGroupId, String groupQuotaName, String resourceProviderName, String filter)

Get all the quotaAllocationRequests for a resourceProvider/location.

abstract PagedIterable<QuotaAllocationRequestStatus> list(String managementGroupId, String groupQuotaName, String resourceProviderName, String filter, Context context)

Get all the quotaAllocationRequests for a resourceProvider/location.

abstract SubscriptionQuotaAllocationsList update(String managementGroupId, String groupQuotaName, String resourceProviderName, String location, SubscriptionQuotaAllocationsListInner allocateQuotaRequest)

Request to assign quota from group quota to a specific Subscription.

abstract SubscriptionQuotaAllocationsList update(String managementGroupId, String groupQuotaName, String resourceProviderName, String location, SubscriptionQuotaAllocationsListInner allocateQuotaRequest, Context context)

Request to assign quota from group quota to a specific Subscription.

Method Details

get

public abstract QuotaAllocationRequestStatus get(String managementGroupId, String groupQuotaName, String resourceProviderName, String allocationId)

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

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
resourceProviderName - The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.
allocationId - Request Id.

Returns:

the quota allocation request status for the subscriptionId by allocationId.

getWithResponse

public abstract Response<QuotaAllocationRequestStatus> getWithResponse(String managementGroupId, String groupQuotaName, String resourceProviderName, String allocationId, Context context)

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

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
resourceProviderName - The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.
allocationId - Request Id.
context - The context to associate with this operation.

Returns:

the quota allocation request status for the subscriptionId by allocationId along with Response<T>.

list

public abstract PagedIterable<QuotaAllocationRequestStatus> list(String managementGroupId, String groupQuotaName, String resourceProviderName, String filter)

Get all the quotaAllocationRequests for a resourceProvider/location. Get all the quotaAllocationRequests for a resourceProvider/location. The filter paramter for location is required.

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
resourceProviderName - The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.
filter -
Field Supported operators
location eq {location} Example: $filter=location eq eastus.

Returns:

all the quotaAllocationRequests for a resourceProvider/location as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<QuotaAllocationRequestStatus> list(String managementGroupId, String groupQuotaName, String resourceProviderName, String filter, Context context)

Get all the quotaAllocationRequests for a resourceProvider/location. Get all the quotaAllocationRequests for a resourceProvider/location. The filter paramter for location is required.

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
resourceProviderName - The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.
filter -
Field Supported operators
location eq {location} Example: $filter=location eq eastus.
context - The context to associate with this operation.

Returns:

all the quotaAllocationRequests for a resourceProvider/location as paginated response with PagedIterable<T>.

update

public abstract SubscriptionQuotaAllocationsList update(String managementGroupId, String groupQuotaName, String resourceProviderName, String location, SubscriptionQuotaAllocationsListInner allocateQuotaRequest)

Request to assign quota from group quota to a specific Subscription. This request will use Asynchronous pattern with 202 response and status polling API. 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.

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
resourceProviderName - The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.
location - The name of the Azure region.
allocateQuotaRequest - Quota requests payload.

Returns:

subscription quota list.

update

public abstract SubscriptionQuotaAllocationsList update(String managementGroupId, String groupQuotaName, String resourceProviderName, String location, SubscriptionQuotaAllocationsListInner allocateQuotaRequest, Context context)

Request to assign quota from group quota to a specific Subscription. This request will use Asynchronous pattern with 202 response and status polling API. 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.

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
resourceProviderName - The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.
location - The name of the Azure region.
allocateQuotaRequest - Quota requests payload.
context - The context to associate with this operation.

Returns:

subscription quota list.

Applies to