Group Quotas - Update
更新传递的名称的新 GroupQuotas。
更新所传递名称的 GroupQuotas。 Service将返回 GroupQuotas RequestId。 可以定期轮询状态。 状态 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. 使用 Azure-AsyncOperation 标头中提供的 OperationsStatus URI,持续时间将在 retry-after 标头中指定。 作进入终端状态后 - 成功 |失败,则 URI 将更改为 Get URI,并且可以检查完整详细信息。
筛选器中的任何更改都将适用于将来的配额分配,从 GroupQuotas 分配给订阅的现有配额保持不变。
PATCH https://management.azure.com/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}?api-version=2025-03-01
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
group
|
path | True |
string minLength: 3maxLength: 63 pattern: ^[a-z][a-z0-9]*$ |
GroupQuota 名称。 名称对于提供的上下文 tenantId/MgId 应是唯一的。 |
management
|
path | True |
string minLength: 3maxLength: 63 |
管理组 ID。 |
api-version
|
query | True |
string minLength: 1 |
要用于此操作的 API 版本。 |
请求正文
名称 | 类型 | 说明 |
---|---|---|
properties |
性能 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
还行。 |
|
202 Accepted |
请求已接受 标头
|
|
Other Status Codes |
错误的请求 |
安全性
azure_auth
Azure Active Directory OAuth 2.0 授权
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
GroupQuotas_Patch_Request_ForCompute
示例请求
示例响应
{
"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
定义
名称 | 说明 |
---|---|
created |
创建资源的标识的类型。 |
Error |
资源管理错误附加信息。 |
Error |
错误详细信息。 |
Error |
错误响应 |
Group |
ShareQuota 的属性和筛选器。 如果未指定筛选器,则请求参数是可选的。 |
Group |
ShareQuota 的属性和筛选器。 如果未指定筛选器,则请求参数是可选的。 |
Properties | |
Request |
请求状态。 |
system |
与创建和上次修改资源相关的元数据。 |
createdByType
创建资源的标识的类型。
值 | 说明 |
---|---|
Application | |
Key | |
ManagedIdentity | |
User |
ErrorAdditionalInfo
资源管理错误附加信息。
名称 | 类型 | 说明 |
---|---|---|
info |
object |
其他信息。 |
type |
string |
其他信息类型。 |
ErrorDetail
错误详细信息。
名称 | 类型 | 说明 |
---|---|---|
additionalInfo |
错误附加信息。 |
|
code |
string |
错误代码。 |
details |
错误详细信息。 |
|
message |
string |
错误消息。 |
target |
string |
错误目标。 |
ErrorResponse
错误响应
名称 | 类型 | 说明 |
---|---|---|
error |
错误对象。 |
GroupQuotasEntity
ShareQuota 的属性和筛选器。 如果未指定筛选器,则请求参数是可选的。
名称 | 类型 | 说明 |
---|---|---|
id |
string (arm-id) |
资源的完全限定资源 ID。 例如“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}” |
name |
string |
资源的名称 |
properties |
性能 |
|
systemData |
包含 createdBy 和 modifiedBy 信息的 Azure 资源管理器元数据。 |
|
type |
string |
资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts” |
GroupQuotasEntityPatch
ShareQuota 的属性和筛选器。 如果未指定筛选器,则请求参数是可选的。
名称 | 类型 | 说明 |
---|---|---|
id |
string (arm-id) |
资源的完全限定资源 ID。 例如“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}” |
name |
string |
资源的名称 |
properties |
性能 |
|
systemData |
包含 createdBy 和 modifiedBy 信息的 Azure 资源管理器元数据。 |
|
type |
string |
资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts” |
Properties
名称 | 类型 | 说明 |
---|---|---|
provisioningState |
请求状态。 |
RequestState
请求状态。
值 | 说明 |
---|---|
Accepted | |
Canceled | |
Created | |
Failed | |
InProgress | |
Invalid | |
Succeeded |
systemData
与创建和上次修改资源相关的元数据。
名称 | 类型 | 说明 |
---|---|---|
createdAt |
string (date-time) |
资源创建时间戳(UTC)。 |
createdBy |
string |
创建资源的标识。 |
createdByType |
创建资源的标识的类型。 |
|
lastModifiedAt |
string (date-time) |
上次修改的资源时间戳(UTC) |
lastModifiedBy |
string |
上次修改资源的标识。 |
lastModifiedByType |
上次修改资源的标识的类型。 |