Share via


Group Quotas - Update

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.

PATCH https://management.azure.com/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}?api-version=2025-03-01

URI Parameters

Name In Required Type Description
groupQuotaName
path True

string

minLength: 3
maxLength: 63
pattern: ^[a-z][a-z0-9]*$

The GroupQuota name. The name should be unique for the provided context tenantId/MgId.

managementGroupId
path True

string

minLength: 3
maxLength: 63

Management Group Id.

api-version
query True

string

minLength: 1

The API version to use for this operation.

Request Body

Name Type Description
properties

Properties

Properties

Responses

Name Type Description
200 OK

GroupQuotasEntity

OK.

202 Accepted

Request Accepted

Headers

  • Retry-After: integer
  • Location: string
  • Azure-AsyncOperation: string
Other Status Codes

ErrorResponse

Bad Request

Security

azure_auth

Azure Active Directory OAuth 2.0 authorization

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

GroupQuotas_Patch_Request_ForCompute

Sample request

PATCH https://management.azure.com/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1?api-version=2025-03-01

Sample response

{
  "properties": {
    "displayName": "UpdatedGroupQuota1",
    "provisioningState": "Accepted"
  },
  "id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1",
  "type": "Microsoft.Quota/groupQuotas",
  "name": "groupquota1"
}
location: https://contoso.com/operationstatus
Azure-AsyncOperation: https://contoso.com/operationstatus
Operation-Location: https://contoso.com/operationstatus
retry-after: 30

Definitions

Name Description
createdByType

The type of identity that created the resource.

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

GroupQuotasEntity

Properties and filters for ShareQuota. The request parameter is optional, if there are no filters specified.

GroupQuotasEntityPatch

Properties and filters for ShareQuota. The request parameter is optional, if there are no filters specified.

Properties
RequestState

Request status.

systemData

Metadata pertaining to creation and last modification of the resource.

createdByType

The type of identity that created the resource.

Value Description
User
Application
ManagedIdentity
Key

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.

ErrorDetail

The error detail.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.

GroupQuotasEntity

Properties and filters for ShareQuota. The request parameter is optional, if there are no filters specified.

Name Type Description
id

string (arm-id)

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

name

string

The name of the resource

properties

Properties

Properties

systemData

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type

string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

GroupQuotasEntityPatch

Properties and filters for ShareQuota. The request parameter is optional, if there are no filters specified.

Name Type Description
id

string (arm-id)

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

name

string

The name of the resource

properties

Properties

Properties

systemData

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type

string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Properties

Name Type Description
provisioningState

RequestState

Request status.

RequestState

Request status.

Value Description
Accepted
Created
Invalid
Succeeded
Failed
InProgress
Canceled

systemData

Metadata pertaining to creation and last modification of the resource.

Name Type Description
createdAt

string (date-time)

The timestamp of resource creation (UTC).

createdBy

string

The identity that created the resource.

createdByType

createdByType

The type of identity that created the resource.

lastModifiedAt

string (date-time)

The timestamp of resource last modification (UTC)

lastModifiedBy

string

The identity that last modified the resource.

lastModifiedByType

createdByType

The type of identity that last modified the resource.