GroupQuotasClient Interface

public interface GroupQuotasClient

An instance of this class provides access to all the operations defined in GroupQuotasClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<GroupQuotasEntityInner>,GroupQuotasEntityInner> beginCreateOrUpdate(String managementGroupId, String groupQuotaName)

Creates a new GroupQuota for the name passed.

abstract SyncPoller<PollResult<GroupQuotasEntityInner>,GroupQuotasEntityInner> beginCreateOrUpdate(String managementGroupId, String groupQuotaName, GroupQuotasEntityInner groupQuotaPutRequestBody, Context context)

Creates a new GroupQuota for the name passed.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String managementGroupId, String groupQuotaName)

Deletes the GroupQuotas for the name passed.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String managementGroupId, String groupQuotaName, Context context)

Deletes the GroupQuotas for the name passed.

abstract SyncPoller<PollResult<GroupQuotasEntityInner>,GroupQuotasEntityInner> beginUpdate(String managementGroupId, String groupQuotaName)

Updates the GroupQuotas for the name passed.

abstract SyncPoller<PollResult<GroupQuotasEntityInner>,GroupQuotasEntityInner> beginUpdate(String managementGroupId, String groupQuotaName, GroupQuotasEntityPatch groupQuotasPatchRequestBody, Context context)

Updates the GroupQuotas for the name passed.

abstract GroupQuotasEntityInner createOrUpdate(String managementGroupId, String groupQuotaName)

Creates a new GroupQuota for the name passed.

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

Creates a new GroupQuota for the name passed.

abstract void delete(String managementGroupId, String groupQuotaName)

Deletes the GroupQuotas for the name passed.

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

Deletes the GroupQuotas for the name passed.

abstract GroupQuotasEntityInner get(String managementGroupId, String groupQuotaName)

Gets the GroupQuotas for the name passed.

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

Gets the GroupQuotas for the name passed.

abstract PagedIterable<GroupQuotasEntityInner> list(String managementGroupId)

Lists GroupQuotas for the scope passed.

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

Lists GroupQuotas for the scope passed.

abstract GroupQuotasEntityInner update(String managementGroupId, String groupQuotaName)

Updates the GroupQuotas for the name passed.

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

Updates the GroupQuotas for the name passed.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<GroupQuotasEntityInner>,GroupQuotasEntityInner> beginCreateOrUpdate(String managementGroupId, String groupQuotaName)

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 - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.

Returns:

the SyncPoller<T,U> for polling of properties and filters for ShareQuota.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<GroupQuotasEntityInner>,GroupQuotasEntityInner> beginCreateOrUpdate(String managementGroupId, String groupQuotaName, GroupQuotasEntityInner groupQuotaPutRequestBody, Context context)

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 - The 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:

the SyncPoller<T,U> for polling of properties and filters for ShareQuota.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String managementGroupId, String groupQuotaName)

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

Parameters:

managementGroupId - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String managementGroupId, String groupQuotaName, Context context)

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

Parameters:

managementGroupId - The 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 SyncPoller<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller<PollResult<GroupQuotasEntityInner>,GroupQuotasEntityInner> beginUpdate(String managementGroupId, String groupQuotaName)

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 - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.

Returns:

the SyncPoller<T,U> for polling of properties and filters for ShareQuota.

beginUpdate

public abstract SyncPoller<PollResult<GroupQuotasEntityInner>,GroupQuotasEntityInner> beginUpdate(String managementGroupId, String groupQuotaName, GroupQuotasEntityPatch groupQuotasPatchRequestBody, Context context)

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 - The 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:

the SyncPoller<T,U> for polling of properties and filters for ShareQuota.

createOrUpdate

public abstract GroupQuotasEntityInner createOrUpdate(String managementGroupId, String groupQuotaName)

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 - The 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 GroupQuotasEntityInner createOrUpdate(String managementGroupId, String groupQuotaName, GroupQuotasEntityInner groupQuotaPutRequestBody, Context context)

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 - The 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)

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

Parameters:

managementGroupId - The management group ID.
groupQuotaName - The GroupQuota name. The name should be unique for the provided context tenantId/MgId.

delete

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

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

Parameters:

managementGroupId - The 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.

get

public abstract GroupQuotasEntityInner get(String managementGroupId, String groupQuotaName)

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 - The 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<GroupQuotasEntityInner> getWithResponse(String managementGroupId, String groupQuotaName, Context context)

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 - The 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<GroupQuotasEntityInner> list(String managementGroupId)

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 - The management group ID.

Returns:

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

list

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

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 - The 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 GroupQuotasEntityInner update(String managementGroupId, String groupQuotaName)

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 - The 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 GroupQuotasEntityInner update(String managementGroupId, String groupQuotaName, GroupQuotasEntityPatch groupQuotasPatchRequestBody, Context context)

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 - The 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