共用方式為


GroupQuotas Interface

public interface GroupQuotas

Resource collection API of GroupQuotas.

Method Summary

Modifier and Type Method and Description
abstract ProxyResource createOrUpdate(String managementGroupId, String groupQuotaName)

Creates a new GroupQuota for the name passed.

abstract ProxyResource createOrUpdate(String managementGroupId, String groupQuotaName, GroupQuotasEntityInner groupQuotaPutRequestBody, Context context)

Creates a new GroupQuota for the name passed.

abstract void delete(String managementGroupId, String groupQuotaName, Context context)

Deletes GroupQuotas for the name passed.

abstract void deleteByResourceGroup(String managementGroupId, String groupQuotaName)

Deletes GroupQuotas for the name passed.

abstract GroupQuotasEntity get(String managementGroupId, String groupQuotaName)

Gets GroupQuotas for the name passed.

abstract Response<GroupQuotasEntity> getWithResponse(String managementGroupId, String groupQuotaName, Context context)

Gets GroupQuotas for the name passed.

abstract PagedIterable<GroupQuotasEntity> list(String managementGroupId)

Lists GroupQuotas for the scope passed.

abstract PagedIterable<GroupQuotasEntity> list(String managementGroupId, Context context)

Lists GroupQuotas for the scope passed.

abstract GroupQuotasEntity update(String managementGroupId, String groupQuotaName)

Updates a new GroupQuotas for the name passed.

abstract GroupQuotasEntity update(String managementGroupId, String groupQuotaName, GroupQuotasEntityPatch groupQuotasPatchRequestBody, Context context)

Updates a new GroupQuotas for the name passed.

Method Details

createOrUpdate

public abstract ProxyResource createOrUpdate(String managementGroupId, String groupQuotaName)

Creates a new GroupQuota for the name passed. Creates a new GroupQuota for the name passed. A RequestId will be returned by the Service. The status can be polled periodically. The status Async polling is using standards defined at - https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/async-api-reference.md\#asynchronous-operations. Use the OperationsStatus URI provided in Azure-AsyncOperation header, the duration will be specified in retry-after header. Once the operation gets to terminal state - Succeeded | Failed, then the URI will change to Get URI and full details can be checked.

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.

Returns:

properties and filters for ShareQuota.

createOrUpdate

public abstract ProxyResource createOrUpdate(String managementGroupId, String groupQuotaName, GroupQuotasEntityInner groupQuotaPutRequestBody, Context context)

Creates a new GroupQuota for the name passed. Creates a new GroupQuota for the name passed. A RequestId will be returned by the Service. The status can be polled periodically. The status Async polling is using standards defined at - https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/async-api-reference.md\#asynchronous-operations. Use the OperationsStatus URI provided in Azure-AsyncOperation header, the duration will be specified in retry-after header. Once the operation gets to terminal state - Succeeded | Failed, then the URI will change to Get URI and full details can be checked.

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
groupQuotaPutRequestBody - The GroupQuota body details for creation or update of a GroupQuota entity.
context - The context to associate with this operation.

Returns:

properties and filters for ShareQuota.

delete

public abstract void delete(String managementGroupId, String groupQuotaName, Context context)

Deletes GroupQuotas for the name passed. Deletes the GroupQuotas for the name passed. All the remaining shareQuota in the GroupQuotas will be lost.

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
context - The context to associate with this operation.

deleteByResourceGroup

public abstract void deleteByResourceGroup(String managementGroupId, String groupQuotaName)

Deletes GroupQuotas for the name passed. Deletes the GroupQuotas for the name passed. All the remaining shareQuota in the GroupQuotas will be lost.

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.

get

public abstract GroupQuotasEntity get(String managementGroupId, String groupQuotaName)

Gets GroupQuotas for the name passed. 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.

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.

Returns:

the GroupQuotas for the name passed.

getWithResponse

public abstract Response<GroupQuotasEntity> getWithResponse(String managementGroupId, String groupQuotaName, Context context)

Gets GroupQuotas for the name passed. 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.

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
context - The context to associate with this operation.

Returns:

the GroupQuotas for the name passed along with Response<T>.

list

public abstract PagedIterable<GroupQuotasEntity> list(String managementGroupId)

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

Parameters:

managementGroupId - Management Group Id.

Returns:

list of Group Quotas at MG level as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<GroupQuotasEntity> list(String managementGroupId, Context context)

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

Parameters:

managementGroupId - Management Group Id.
context - The context to associate with this operation.

Returns:

list of Group Quotas at MG level as paginated response with PagedIterable<T>.

update

public abstract GroupQuotasEntity update(String managementGroupId, String groupQuotaName)

Updates a new GroupQuotas for the name passed. Updates the GroupQuotas for the name passed. A GroupQuotas RequestId will be returned by the Service. The status can be polled periodically. The status Async polling is using standards defined at - https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/async-api-reference.md\#asynchronous-operations. Use the OperationsStatus URI provided in Azure-AsyncOperation header, the duration will be specified in retry-after header. Once the operation gets to terminal state - Succeeded | Failed, then the URI will change to Get URI and full details can be checked. Any change in the filters will be applicable to the future quota assignments, existing quota allocated to subscriptions from the GroupQuotas remains unchanged.

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.

Returns:

properties and filters for ShareQuota.

update

public abstract GroupQuotasEntity update(String managementGroupId, String groupQuotaName, GroupQuotasEntityPatch groupQuotasPatchRequestBody, Context context)

Updates a new GroupQuotas for the name passed. Updates the GroupQuotas for the name passed. A GroupQuotas RequestId will be returned by the Service. The status can be polled periodically. The status Async polling is using standards defined at - https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/async-api-reference.md\#asynchronous-operations. Use the OperationsStatus URI provided in Azure-AsyncOperation header, the duration will be specified in retry-after header. Once the operation gets to terminal state - Succeeded | Failed, then the URI will change to Get URI and full details can be checked. Any change in the filters will be applicable to the future quota assignments, existing quota allocated to subscriptions from the GroupQuotas remains unchanged.

Parameters:

managementGroupId - Management Group Id.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
groupQuotasPatchRequestBody - The GroupQuotas Patch Request.
context - The context to associate with this operation.

Returns:

properties and filters for ShareQuota.

Applies to