Add RecoveryPointState to DataProtection#26426
Conversation
|
Automatic PR validation restarted. This comment will be populated with next steps to merge this PR once validation is completed. Please wait ⌛. |
Swagger Validation Report
|
| compared swaggers (via Oad v0.10.4)] | new version | base version |
|---|---|---|
| dataprotection.json | 2023-11-01(e541243) | 2023-05-01(main) |
| dataprotection.json | 2023-11-01(e541243) | 2023-06-01-preview(main) |
The following breaking changes are detected by comparison with the latest preview version:
️⚠️LintDiff: 0 Warnings warning [Detail]
| compared tags (via openapi-validator v2.1.6) | new version | base version |
|---|---|---|
| package-2023-11 | package-2023-11(e541243) | package-2023-11(asmitt-dataprotection-Microsoft.DataProtection-2023-11-01) |
The following errors/warnings exist before current PR submission:
Only 30 items are listed, please refer to log for more details.
| Rule | Message |
|---|---|
GetCollectionOnlyHasValueAndNextLink |
Get endpoints for collections of resources must only have the value and nextLink properties in their model.Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L42 |
LroExtension |
Operations with a 202 response must specify x-ms-long-running-operation: true.Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L64 |
ParametersOrder |
The parameters:operationId,location should be kept in the same order as they present in the path. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L64 |
GetOperation200 |
The get operation should only return 200. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L94 |
ResourceNameRestriction |
The resource name parameter 'vaultName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L184 |
GetCollectionOnlyHasValueAndNextLink |
Get endpoints for collections of resources must only have the value and nextLink properties in their model.Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L307 |
ResourceNameRestriction |
The resource name parameter 'vaultName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L328 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L426 |
DeleteResponseCodes |
Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L440 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L467 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L476 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L526 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L532 |
ResourceNameRestriction |
The resource name parameter 'vaultName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L544 |
LroExtension |
Operations with a 202 response must specify x-ms-long-running-operation: true.Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L545 |
GetOperation200 |
The get operation should only return 200. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L580 |
OperationsApiSchemaUsesCommonTypes |
Operations API path must follow the schema provided in the common types. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L740 |
ResourceNameRestriction |
The resource name parameter 'vaultName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L761 |
GetCollectionOnlyHasValueAndNextLink |
Get endpoints for collections of resources must only have the value and nextLink properties in their model.Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L788 |
ResourceNameRestriction |
The resource name parameter 'vaultName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L809 |
ResourceNameRestriction |
The resource name parameter 'backupPolicyName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L809 |
PutResponseCodes |
Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L860 |
ResourceNameRestriction |
The resource name parameter 'vaultName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L969 |
GetCollectionOnlyHasValueAndNextLink |
Get endpoints for collections of resources must only have the value and nextLink properties in their model.Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L996 |
ResourceNameRestriction |
The resource name parameter 'vaultName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L1017 |
ResourceNameRestriction |
The resource name parameter 'backupInstanceName' should be defined with a 'pattern' restriction. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L1017 |
PutResponseCodes |
Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L1064 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L1128 |
DeleteResponseCodes |
Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L1139 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DataProtection/stable/2023-11-01/dataprotection.json#L1193 |
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Swagger Generation Artifacts
|
Generated ApiView
|
2329daf
into
Azure:asmitt-dataprotection-Microsoft.DataProtection-2023-11-01
* Add RecoveryPointState to DataProtection * Prettier fixes
* Adds base for updating Microsoft.DataProtection from version preview/2023-04-01-preview to version 2023-06-01-preview * Updates readme * Updates API version in new specs and examples * changes for AKS vault tier restore * address typos * Adds base for updating Microsoft.DataProtection from version stable/2023-05-01 to version 2023-11-01 * Updates readme * Updates API version in new specs and examples * copied changes for CRR from api-version 2023-04-01-preview * added replicated regions to vault and filters to fetch CRR jobs * Adds base for updating Microsoft.DataProtection from version stable/2023-05-01 to version 2023-08-01 * Updates readme * Updates API version in new specs and examples * removed extension routing changes * changes for vault tier * completed with warnings job changes * Add RecoveryPointState to DataProtection (#26426) * Add RecoveryPointState to DataProtection * Prettier fixes * Adds base for updating Microsoft.DataProtection from version stable/2023-05-01 to version 2023-11-01 * Updates readme * Updates API version in new specs and examples * copied changes for CRR from api-version 2023-04-01-preview * added replicated regions to vault and filters to fetch CRR jobs * removed extension routing changes * completed with warnings job changes * Add RecoveryPointState to DataProtection (#26426) * Add RecoveryPointState to DataProtection * Prettier fixes --------- Co-authored-by: Shashank Singh <shashank1306s@gmail.com> Co-authored-by: asmitt <62243673+asmitt@users.noreply.github.com> Co-authored-by: Ashish Mittal <asmitt@microsoft.com> Co-authored-by: nickpacificomsft <144935783+nickpacificomsft@users.noreply.github.com>
…rsion stable/2023-11-01 (#26491) * Adds base for updating Microsoft.DataProtection from version stable/2023-05-01 to version 2023-11-01 * Updates readme * Updates API version in new specs and examples * copied changes for CRR from api-version 2023-04-01-preview * added replicated regions to vault and filters to fetch CRR jobs * removed extension routing changes * completed with warnings job changes * Add RecoveryPointState to DataProtection * Asmitt dataprotection microsoft.data protection 2023 11 01 (#26663) * Adds base for updating Microsoft.DataProtection from version preview/2023-04-01-preview to version 2023-06-01-preview * Updates readme * Updates API version in new specs and examples * changes for AKS vault tier restore * address typos * Adds base for updating Microsoft.DataProtection from version stable/2023-05-01 to version 2023-11-01 * Updates readme * Updates API version in new specs and examples * copied changes for CRR from api-version 2023-04-01-preview * added replicated regions to vault and filters to fetch CRR jobs * Adds base for updating Microsoft.DataProtection from version stable/2023-05-01 to version 2023-08-01 * Updates readme * Updates API version in new specs and examples * removed extension routing changes * changes for vault tier * completed with warnings job changes * Add RecoveryPointState to DataProtection (#26426) * Add RecoveryPointState to DataProtection * Prettier fixes * Adds base for updating Microsoft.DataProtection from version stable/2023-05-01 to version 2023-11-01 * Updates readme * Updates API version in new specs and examples * copied changes for CRR from api-version 2023-04-01-preview * added replicated regions to vault and filters to fetch CRR jobs * removed extension routing changes * completed with warnings job changes * Add RecoveryPointState to DataProtection (#26426) * Add RecoveryPointState to DataProtection * Prettier fixes --------- Co-authored-by: Shashank Singh <shashank1306s@gmail.com> Co-authored-by: asmitt <62243673+asmitt@users.noreply.github.com> Co-authored-by: Ashish Mittal <asmitt@microsoft.com> Co-authored-by: nickpacificomsft <144935783+nickpacificomsft@users.noreply.github.com> * resolved lint issues * added missing operation and schema description * spelling fix * lint error suppressions * resolved warnings * fixed operationId --------- Co-authored-by: soumyapattnaik <33341338+soumyapattnaik@users.noreply.github.com> Co-authored-by: Shashank Singh <shashank1306s@gmail.com> Co-authored-by: nickpacificomsft <144935783+nickpacificomsft@users.noreply.github.com>
Add RecoveryPointState swagger changes