-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added new version 2021-06-01-preview to support datasource auth crede… #14792
Added new version 2021-06-01-preview to support datasource auth crede… #14792
Conversation
Hi, @vikramkotturu Thanks for your PR. I am workflow bot for review process. Here are some small tips. Any feedback about review process or workflow bot, pls contact swagger and tools team. [email protected] |
[Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks. |
Swagger Validation Report
|
Rule | Message |
---|---|
Per the Noun_Verb convention for Operation Ids, the noun 'BackupInstances' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.DataProtection/preview/2021-06-01-preview/dataprotection.json#L1797 |
|
Since operation 'BackupVaults_GetResourcesInSubscription' response has model definition 'x-ms-pageable', it should be of the form '_list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.DataProtection/preview/2021-06-01-preview/dataprotection.json#L27 |
|
Since operation 'BackupVaults_GetResourcesInResourceGroup' response has model definition 'x-ms-pageable', it should be of the form '_list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.DataProtection/preview/2021-06-01-preview/dataprotection.json#L190 |
|
Since operation 'RecoveryPoints_GetList' response has model definition 'x-ms-pageable', it should be of the form '_list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.DataProtection/preview/2021-06-01-preview/dataprotection.json#L1239 |
|
'PATCH' operation 'BackupVaults_Patch' should use method name 'Update'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.DataProtection/preview/2021-06-01-preview/dataprotection.json#L392 |
|
OperationId should contain the verb: 'findrestorabletimeranges' in:'FindRestorableTimeRanges_Post'. Consider updating the operationId Location: Microsoft.DataProtection/preview/2021-06-01-preview/dataprotection.json#L2000 |
|
'backupPolicyName' parameter lacks 'description' property. Consider adding a 'description' element. Accurate description is essential for maintaining reference documentation. Location: Microsoft.DataProtection/preview/2021-06-01-preview/dataprotection.json#L759 |
|
'backupInstanceName' parameter lacks 'description' property. Consider adding a 'description' element. Accurate description is essential for maintaining reference documentation. Location: Microsoft.DataProtection/preview/2021-06-01-preview/dataprotection.json#L1546 |
|
'backupInstanceName' parameter lacks 'description' property. Consider adding a 'description' element. Accurate description is essential for maintaining reference documentation. Location: Microsoft.DataProtection/preview/2021-06-01-preview/dataprotection.json#L1613 |
|
'backupInstanceName' parameter lacks 'description' property. Consider adding a 'description' element. Accurate description is essential for maintaining reference documentation. Location: Microsoft.DataProtection/preview/2021-06-01-preview/dataprotection.json#L1680 |
The following errors/warnings exist before current PR submission:
Only 10 items are listed, please refer to log for more details.
Rule | Message |
---|---|
R4037 - MissingTypeObject |
The schema 'AzureBackupFindRestorableTimeRangesRequestResource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataProtection/preview/2021-06-01-preview/dataprotection.json#L2414 |
R4037 - MissingTypeObject |
The schema 'AzureBackupFindRestorableTimeRangesResponseResource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataProtection/preview/2021-06-01-preview/dataprotection.json#L2444 |
R4037 - MissingTypeObject |
The schema 'AzureBackupRecoveryPointResource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataProtection/preview/2021-06-01-preview/dataprotection.json#L2705 |
R4037 - MissingTypeObject |
The schema 'BackupInstanceResource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataProtection/preview/2021-06-01-preview/dataprotection.json#L3002 |
R4037 - MissingTypeObject |
The schema 'BackupVaultResource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataProtection/preview/2021-06-01-preview/dataprotection.json#L3125 |
R4037 - MissingTypeObject |
The schema 'BaseBackupPolicyResource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataProtection/preview/2021-06-01-preview/dataprotection.json#L3185 |
R4037 - MissingTypeObject |
The schema 'CloudError' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataProtection/preview/2021-06-01-preview/dataprotection.json#L3383 |
R4037 - MissingTypeObject |
The schema 'Error' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataProtection/preview/2021-06-01-preview/dataprotection.json#L3813 |
R4037 - MissingTypeObject |
The schema 'ErrorAdditionalInfo' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataProtection/preview/2021-06-01-preview/dataprotection.json#L3849 |
R4037 - MissingTypeObject |
The schema 'additionalDetails' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataProtection/preview/2021-06-01-preview/dataprotection.json#L4069 |
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️
SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️❌
Cross-Version Breaking Changes: 34 Errors, 0 Warnings failed [Detail]
- Compared Swaggers (Based on Oad v0.8.11)
- current:preview/2021-06-01-preview/dataprotection.json compared with base:preview/2021-02-01-preview/dataprotection.json
- current:preview/2021-06-01-preview/dataprotection.json compared with base:stable/2021-01-01/dataprotection.json
Only 10 items are listed, please refer to log for more details.
The following breaking changes are detected by comparison with latest preview version:
Only 10 items are listed, please refer to log for more details.
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️️✔️
[Staging] SDK Track2 Validation succeeded [Detail] [Expand]
Validation passes for SDKTrack2Validation
- The following tags are being changed in this PR
|:speech_balloon: AutorestCore/Exception|"readme":"dataprotection/resource-manager/readme.md",
"tag":"package-2021-06-preview",
"details":"> Installing AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0)"|
|:speech_balloon: AutorestCore/Exception|"readme":"dataprotection/resource-manager/readme.md",
"tag":"package-2021-06-preview",
"details":"> Installed AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0->1.8.0)"|
|:speech_balloon: AutorestCore/Exception|"readme":"dataprotection/resource-manager/readme.md",
"tag":"package-2021-06-preview",
"details":"> Loading AutoRest extension '@autorest/modelerfour' (4.15.456->4.15.456)"|
️️✔️
[Staging] PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️
[Staging] SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️
[Staging] Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
Swagger pipeline restarted successfully, please wait for status update in this comment. |
Thank you for your contribution vikramkotturu! We will review the pull request and get back to you soon. |
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"version": "2021-06-01-preview", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated version @ Line 4
"type": "object", | ||
"x-ms-discriminator-value": "AdhocBasedTriggerContext" | ||
}, | ||
"AuthCredentials": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added AuthCredentials type starting @ line 2320
"type": "string", | ||
"readOnly": true | ||
}, | ||
"datasourceAuthCredentials": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added datasourceAuthCredentials starting @ line 2993
"$ref": "#/definitions/DatasourceSet", | ||
"description": "Information of target DS Set" | ||
}, | ||
"datasourceAuthCredentials": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added datasourceAuthCredentials starting @ line 4059
"$ref": "#/definitions/DatasourceSet", | ||
"description": "Information of target DS Set" | ||
}, | ||
"datasourceAuthCredentials": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added datasourceAuthCredentials starting @ 4423
"type": "object", | ||
"x-ms-discriminator-value": "ScheduleBasedTriggerContext" | ||
}, | ||
"SecretStoreBasedAuthCredentials": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added SecretStoreBasedAuthCredentials defenition starting @ line 4650
}, | ||
"x-ms-discriminator-value": "SecretStoreBasedAuthCredentials" | ||
}, | ||
"SecretStoreResource": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added SecretStoreResource starting @ line 4669
@@ -0,0 +1,20 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,32 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,48 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,39 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,51 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,67 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,150 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
-
Added datasourceAuthCredentials @ line number 30
@@ -0,0 +1,19 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,19 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,19 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,19 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,17 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,200 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,13 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,109 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,112 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,19 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,19 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,33 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,35 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,59 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,56 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,39 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,43 @@ | |||
{ | |||
"parameters": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,74 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
@@ -0,0 +1,76 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated all instances of version 2021-02-01-preview to 2021-06-01-preview in file.
f94188f
to
3fe5da2
Compare
3fe5da2
to
7a4eda1
Compare
Created a different pull request for changes abandoning this #14932 |
abandoning this as I created a new one for same changes that is cleaner #14932 |
…ntials input.
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Changelog
Please ensure to add changelog with this PR by answering the following questions.
Contribution checklist:
If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist
Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.
Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.
If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.