Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
f9097e6
Copy files from stable/2025-07-15
tejasm-microsoft Aug 12, 2025
bb4b61c
Update version to stable/2025-09-01
tejasm-microsoft Aug 12, 2025
31f301a
Added tag for 2025-09-01 in readme file
tejasm-microsoft Aug 12, 2025
d39388d
modifies examples and adds enforcedGroupName
tejasm-microsoft Aug 12, 2025
2ad7c75
updates examples and removes list endpoint
tejasm-microsoft Aug 13, 2025
be9d358
removes enforcedGroupName from request body
tejasm-microsoft Aug 18, 2025
4890bb9
adds groupType property
tejasm-microsoft Aug 18, 2025
49b72bc
removes list group quota enforcement endpoint from 2025-07-01
tejasm-microsoft Aug 19, 2025
8a11330
renames ListGroupQuotas and adds appropriate enums
tejasm-microsoft Aug 21, 2025
cf1c282
fixes typo and validation issues
tejasm-microsoft Aug 21, 2025
bd03edc
adds enum type string
tejasm-microsoft Aug 21, 2025
96304ea
runs prettier
tejasm-microsoft Aug 21, 2025
8de7d03
adds display name and groupType
tejasm-microsoft Aug 22, 2025
d25e6b5
adds provisioning State to GetGroupQuotas and ListGroupQuotas
tejasm-microsoft Aug 25, 2025
ea6b55d
resolves model validation issue
tejasm-microsoft Aug 25, 2025
c4c4995
adds retry after,modifies 201 respones, and fixes example quality
tejasm-microsoft Aug 26, 2025
76f2f3b
adds back file that was deleted in previous version
tejasm-microsoft Aug 29, 2025
32b783f
Remove groupquota.json to match main branch
tejasm-microsoft Aug 29, 2025
ea3050f
removes subscriptionId from response body
tejasm-microsoft Aug 29, 2025
71b3c32
Merge branch 'main' into users/tejasma/2025-09-01
tejasm-microsoft Aug 29, 2025
7a53f10
Merge branch 'main' into users/tejasma/2025-09-01
tejasm-microsoft Aug 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
adds retry after,modifies 201 respones, and fixes example quality
  • Loading branch information
tejasm-microsoft committed Aug 26, 2025
commit c4c4995838dd1a75196026e7e9653e95b1372d9b
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"api-version": "2025-09-01",
"resourceProviderName": "Microsoft.Compute",
"location": "westus",
"$filter": "resourceName eq cores"
"$filter": "resourceName eq standardddv4family"
},
"responses": {
"200": {
Expand Down Expand Up @@ -40,26 +40,6 @@
]
}
}
},
{
"properties": {
"limit": 100,
"resourceName": "standardav2family",
"name": {
"value": "standardav2family",
"localizedValue": "Standard AV2 Family vCPUs"
},
"unit": "count",
"availableLimit": 80,
"allocatedToSubscriptions": {
"value": [
{
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"quotaAllocated": 20
}
]
}
}
}
],
"nextLink": "https://yourLinkHere.com"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"location": "https://contoso.com/operationstatus",
"Azure-AsyncOperation": "https://contoso.com/operationstatus",
"Operation-Location": "https://contoso.com/operationstatus",
"retry-after": "30"
"Retry-After": "30"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"location": "https://contoso.com/operationstatus",
"Azure-AsyncOperation": "https://contoso.com/operationstatus",
"Operation-Location": "https://contoso.com/operationstatus",
"retry-after": "30"
"Retry-After": "30"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"location": "https://contoso.com/operationstatus",
"Azure-AsyncOperation": "https://contoso.com/operationstatus",
"Operation-Location": "https://contoso.com/operationstatus",
"retry-after": "30"
"Retry-After": "30"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@
"location": "https://contoso.com/operationstatus",
"Azure-AsyncOperation": "https://contoso.com/operationstatus",
"Operation-Location": "https://contoso.com/operationstatus",
"retry-after": "30"
"Retry-After": "30"
},
"body": {
"id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1",
"type": "Microsoft.Quota/groupQuotas",
"name": "groupquota1",
"properties": {
Copy link
Member

@TimLovellSmith TimLovellSmith Aug 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

p

wouldn't groupType also be returned in your 201 response? #Resolved

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added

"displayName": "GroupQuota1",
"groupType": "AllocationGroup",
"provisioningState": "Accepted"
Copy link
Member

@TimLovellSmith TimLovellSmith Aug 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

displayName should appear in the response, since it was in the request #Resolved

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added in the response

}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"name": "eastus",
"properties": {
"enforcementEnabled": "Enabled",
"provisioningState": "Succeeded"
"provisioningState": "Succeeded",
"enforcedGroupName": "GroupQuota1"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"location": "https://contoso.com/operationstatus",
"Azure-AsyncOperation": "https://contoso.com/operationstatus",
"Operation-Location": "https://contoso.com/operationstatus",
"retry-after": "30"
"Retry-After": "30"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,15 @@
"location": "https://contoso.com/operationstatus",
"Azure-AsyncOperation": "https://contoso.com/operationstatus",
"Operation-Location": "https://contoso.com/operationstatus",
"retry-after": "30"
"Retry-After": "30"
},
"body": {
"id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/eastus",
"type": "Microsoft.Quota/groupQuotas/locationSettings",
"name": "eastus",
"properties": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need the enforcedGroupName here as well.

Copy link
Member

@TimLovellSmith TimLovellSmith Aug 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, all properties supplied in the initial PUT request, and any readonly properties, should appear in the 201 response if possible, as well as the 200

"enforcementEnabled": "Enabled",
"enforcedGroupName": "groupquota1-eastus",
"provisioningState": "InProgress"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,15 @@
"location": "https://contoso.com/operationstatus",
"Azure-AsyncOperation": "https://contoso.com/operationstatus",
"Operation-Location": "https://contoso.com/operationstatus",
"retry-after": "30"
"Retry-After": "30"
},
"body": {
"id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/resourceProviders/Microsoft.Compute/locationSettings/eastus",
"type": "Microsoft.Quota/groupQuotas/locationSettings",
"name": "eastus",
"properties": {
"enforcementEnabled": "Enabled",
"enforcedGroupName": "groupquota1-eastus",
"provisioningState": "InProgress"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"location": "https://contoso.com/operationstatus",
"Azure-AsyncOperation": "https://contoso.com/operationstatus",
"Operation-Location": "https://contoso.com/operationstatus",
"retry-after": "30"
"Retry-After": "30"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"location": "https://contoso.com/operationstatus",
"Azure-AsyncOperation": "https://contoso.com/operationstatus",
"Operation-Location": "https://contoso.com/operationstatus",
"retry-after": "30"
"Retry-After": "30"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@
"location": "https://contoso.com/operationstatus",
"Azure-AsyncOperation": "https://contoso.com/operationstatus",
"Operation-Location": "https://contoso.com/operationstatus",
"retry-after": "30"
"Retry-After": "30"
},
"body": {
"id": "/providers/Microsoft.Management/managementGroups/E7EC67B3-7657-4966-BFFC-41EFD36BAA09/providers/Microsoft.Quota/groupQuotas/groupquota1/subscriptions/00000000-0000-0000-0000-000000000000",
"type": "Microsoft.Quota/groupQuotas/subscriptions",
"name": "00000000-0000-0000-0000-000000000000",
"properties": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"provisioningState": "Accepted"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"resourceProviderName": "Microsoft.Compute",
"location": "westus",
"api-version": "2025-09-01",
"$filter": "resourceName eq cores"
"$filter": "resourceName eq standardddv4family"
},
"responses": {
"200": {
Expand All @@ -28,17 +28,6 @@
"localizedValue": "standard DDv4 Family vCPUs"
}
}
},
{
"properties": {
"limit": 30,
"resourceName": "standardav2family",
"shareableQuota": 0,
"name": {
"value": "standardav2family",
"localizedValue": "standard Av2 Family vCPUs"
}
}
}
],
"nextLink": "https://yourLinkHere.com"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"location": "https://contoso.com/operationstatus",
"Azure-AsyncOperation": "https://contoso.com/operationstatus",
"Operation-Location": "https://contoso.com/operationstatus",
"retry-after": "30"
"Retry-After": "30"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check notice on line 1 in specification/quota/resource-manager/Microsoft.Quota/stable/2025-09-01/groupquota.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Your service description will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.
"swagger": "2.0",
"info": {
"title": "Azure Quota Extension API",
Expand Down Expand Up @@ -95,7 +95,7 @@
}
},
"schema": {
"$ref": "#/definitions/LROResponse"
"$ref": "#/definitions/GroupQuotasEntity"
}
},
"default": {
Expand Down Expand Up @@ -366,7 +366,7 @@
}
},
"schema": {
"$ref": "#/definitions/LROResponse"
"$ref": "#/definitions/GroupQuotaSubscriptionId"
}
},
"default": {
Expand Down Expand Up @@ -1227,7 +1227,7 @@
}
},
"schema": {
"$ref": "#/definitions/LROResponse"
"$ref": "#/definitions/GroupQuotasEnforcementStatus"
}
},
"default": {
Expand Down
Loading