Commit cb6c27c
Adding Group Quota APIs (#23990)
* Adding Group Quota APIs.
* Updated Apis.
* run prettier
* Updates to GroupQuota API.
* Spell check fixes.
* Fix spell check.
* Adding new preview version tag.
* Updating the build configs.
* Fixing file Path.
* Delete file with upper case file name.
* Adding file with lower case.
* Updating the version in the build files.
* Adding pattern to validate parameter.
* run prettier
* Updating Tag
* Updated Readme.md for build.
* Updating the async response and adding default response.
* Adding "x-ms-long-running-operation": true, for Async operations.
* Run prettier.
* Adding "x-ms-error-response": true, to all error responses.
* Adding min, max length limit for sharedQuotaEnity Parameter.
* Removing all errorcodes as per - https://github.com/Azure/azure-openapi-validator/blob/main/docs/no-error-code-responses.md NoErrorCodeResponses
* Fixing Linter errors.
* Revert "Updating the async response and adding default response."
This reverts commit 67ee34c.
* Fix spell
* Fixing Lint Errors.
* Fix ProvisioningStateSpecifiedForLROPut
* Fix LroErrorContent
* Fix ResourceNameRestriction
* Fix Lint Errors
* Fix Lint Errors
* Fix Lint Errors
* Fix Lint Errors - ProvisioningStateSpecifiedForLROPut
* Fix Lint Errors - GetCollectionOnlyHasValueAndNextLink
* Fix Lint Errors - GetCollectionOnlyHasValueAndNextLink
* Fix Lint Errors - ProvisioningStateSpecifiedForLROPut
* Fix Lint Errors - ProvisioningStateSpecifiedForLROPut
* Fix Lint Errors - ProvisioningStateSpecifiedForLROPut
* Fix Lint Errors - GetCollectionOnlyHasValueAndNextLink
* Fix Lint Errors - getCollectionOnlyHasValueAndNextLink
* Fixing ProvisioningStateSpecifiedForLROPut. Change 202 to 201.
* Fixing ProvisioningStateSpecifiedForLROPut. Change 202 to 201.
* Fixing description for 200, 201.
* Update readme.md
* Update for LroPatch202 - Patch response 202.
* Fixing UnSupportedPatchProperties
* Fixing UnSupportedPatchProperties x-ms-mutability
* Making property x-ms-mutability: read
* Different schema for Path request - UnSupportedPatchProperties
* Prettier Check
* Prettier Check
* Update default package.
* Moving the properties bellow level.
* Run prettier.
* Changr Operation name to SharedQuotaEntities.
* Adding subscription list for filter and comments to address 1P requirement using CO APIs, not in ARm/3P APIs. seperation of conerns amkes it simple.
* Making filtervalues as array.
* Fixing Linter error.
* Adding SubscriptionList and attributes to SharedQuotaEntity.
* Adding APIs to manage subscription List for SharedQuotaEntity.
* Adding APIs to manage subscription List for SharedQuotaEntity. comments update for Pt vs Patch.
* Fixing comments.
* Schema Fix.
* Updating Patch request body. Make id, name type readonly.
* Fix linter errors.
* Schema Fix.
* Fixng Patch response.
* Spell fix.
* Fixing ProvisioningStateSpecifiedForLROPatch.
* Fixing ProvisioningStateSpecifiedForLROPatch.
* Fixing ProvisioningStateSpecifiedForLROPatch.
* Fixing ProvisioningStateSpecifiedForLROPatch.
* Fixng XmsIdentifierValidation
* Updating operationsId.
* Remove object from properties.
* Adding Id, name, type as top level property.
* Adding "x-ms-identifiers" to attributeList
* Making all objects definition starting with upper case name.
* Fix spelling.
* Fixing Spelling.
* Removing extra comma and spaces.
* Updating SharedQuotaEntity AdditionalAttributes" properties.
Todo: Remove unused objects Filters.
* Fix Typo.
* Remove duplicate attributes.
* Updated based on suggestions.
* spell check
* Updated to new APIs - GroupQuotas
* add json reference
* prettier fix
* Run Prettier.
* Run Prettier.
* Removing Space from NonProduction enum definition.
* spell Fix.
* add example json and fix semantic validation
* spell check
* prettier
* ProvisioningStateSpecifiedForLROPut LintDiff fix
* ProvisioningStateSpecifiedForLROPut LintDiff fix
* replace get for group quota subscriptions
* add back GroupQuotasEntityBase and new provisioning state in OperationStatus
* add properties field to nesting
* adding DisplayName and changes based on review suggestions.
* add 201, remove 204
* camel case rule fix
* BodyTopLevelProperties fix
* NoDuplicatePathsForScopeParameter fix
* fix nesting of provisioningState in properties bag
* create separate GroupQuotaSubscriptionId definition
* prettiern
* Spell Fix.
* change GroupQuotas-Subscriptions apis to return the GroupQuotasEntity modified
* some renaming and fix list reference for SubmittedResourceRequestStatusList
* update operationId and put response for SubscriptionQuota-Allocation
* add ms identifier
* Add comment field to quota request.
* update GroupQuotas example json
* Making GroupQuota package default.
* Using local Error definition for operations Status schema.
* Fix Error Definition Ref.
* Using common paramteres.
* Adding direct ref to common parameters.
* Using common Parameters.
* Refer to common paramteres. Path fix.
* update example json files
* unmark GroupQuotasEntityBase as a resource
* update error object and properties field
* prettier
* change additionalProperties back to properties
* update operationId for documentation grouping
* more specific example fields
* update put/patch request body to match 200 response schema
* upgrade to v5 types
* update GroupQuotaLimits Put/Patch description
* update GroupQuotaLimit Put/Patch body name/description
* update naming/description for SubscriptionQuota-Allocation endpoint payloads
* remove unused error refs and use common type
* remove error field from operation status and unmark allocation requests as resource
* update examples
* test common ProxyResource type inheritance
* update examples and add array identifier field
* use common type for other resources
* update example
* resolve dupe schema
* remove GroupQuotas-Subscriptions endpoints
* remove - in tags for sdk generation
* update 201 response for puts
* add suppressions
* update suppressions
* testing suppression format
* update suppressions
* make GroupQuotaSubscriptionIds as nested resource
* update subscription list example
* address comments, make subscription api long running
* add int format
* add description and remove unused definition
* fix spellcheck
* prettier
* match title and update description
---------
Co-authored-by: Rahul Singh <rahul.station99@gmail.com>
Co-authored-by: Vincent Vole <vivole@microsoft.com>
Co-authored-by: vivole <67396382+vivole@users.noreply.github.com>1 parent 8181261 commit cb6c27c
File tree
30 files changed
+2679
-12
lines changed- specification/quota/resource-manager
- Microsoft.Quota/preview/2023-06-01-preview
- examples
- GroupQuotaLimitsRequests
- GroupQuotaLimits
- GroupQuotasSubscriptions
- GroupQuotas
- SubscriptionQuotaAllocationRequests
- SubscriptionQuotaAllocation
- SubscriptionRequests
30 files changed
+2679
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1579 | 1579 | | |
1580 | 1580 | | |
1581 | 1581 | | |
| 1582 | + | |
1582 | 1583 | | |
1583 | 1584 | | |
1584 | 1585 | | |
| |||
Lines changed: 36 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
Lines changed: 48 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
Lines changed: 56 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
0 commit comments