Skip to content
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

Supporting User MSI in CMK #14048

Merged
merged 7 commits into from
May 18, 2021
Merged

Supporting User MSI in CMK #14048

merged 7 commits into from
May 18, 2021

Conversation

asmaskar
Copy link
Contributor

@asmaskar asmaskar commented Apr 21, 2021

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.

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
  3. When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
  4. If it's an update to existing version, please select SDKs of specific language and CLIs that require refresh after swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No, no need to refresh for updates in this PR

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.

    • Adding new API(s)
    • Adding a new API version
    • Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.
    • Adding a new service
  • 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.

  • Removing API(s) in stable version
  • Removing properties in stable version
  • Removing API version(s) in stable version
  • Updating API in stable or public preview version with Breaking Change Validation errors
  • Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

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.

@openapi-workflow-bot
Copy link

Hi, @asmaskar Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. [email protected]

    @openapi-workflow-bot
    Copy link

    [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.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Apr 21, 2021

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️LintDiff: 4 Warnings warning [Detail]
    The following errors/warnings are introduced by current PR:
    Rule Message
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.RecoveryServices/stable/2021-04-01/bms.json#L4002
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: useSystemAssignedIdentity
    Location: Microsoft.RecoveryServices/stable/2021-04-01/bms.json#L3989
    ⚠️ R4021 - DescriptionAndTitleMissing 'BackupResourceEncryptionConfigExtended' model/property lacks 'description' and 'title' property. Consider adding a 'description'/'title' element. Accurate description/title is essential for maintaining reference documentation.
    Location: Microsoft.RecoveryServices/stable/2021-04-01/bms.json#L3977
    ⚠️ R4021 - DescriptionAndTitleMissing 'BackupResourceEncryptionConfigExtendedResource' model/property lacks 'description' and 'title' property. Consider adding a 'description'/'title' element. Accurate description/title is essential for maintaining reference documentation.
    Location: Microsoft.RecoveryServices/stable/2021-04-01/bms.json#L3995


    The following errors/warnings exist before current PR submission:

    Only 10 items are listed, please refer to log for more details.

    Rule Message
    R3021 - PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/Subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupPreValidateProtection'
    Location: Microsoft.RecoveryServices/stable/2021-04-01/bms.json#L21
    R3021 - PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/Subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupStatus'
    Location: Microsoft.RecoveryServices/stable/2021-04-01/bms.json#L66
    R3021 - PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/Subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupValidateFeatures'
    Location: Microsoft.RecoveryServices/stable/2021-04-01/bms.json#L111
    R3021 - PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/backupProtectionIntent/{intentObjectName}'
    Location: Microsoft.RecoveryServices/stable/2021-04-01/bms.json#L156
    R3021 - PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupProtectionIntents'
    Location: Microsoft.RecoveryServices/stable/2021-04-01/bms.json#L317
    R3021 - PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupUsageSummaries'
    Location: Microsoft.RecoveryServices/stable/2021-04-01/bms.json#L374
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.RecoveryServices/stable/2021-04-01/bms.json#L51
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.RecoveryServices/stable/2021-04-01/bms.json#L96
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.RecoveryServices/stable/2021-04-01/bms.json#L141
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.RecoveryServices/stable/2021-04-01/bms.json#L194
    ️⚠️Avocado: 1 Warnings warning [Detail]
    Rule Message
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/recoveryservicesbackup/resource-manager/readme.md
    tag: specification/recoveryservicesbackup/resource-manager/readme.md#tag-package-2021-03
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️❌Cross Version BreakingChange (Base on preview version): 6 Errors, 1 Warnings failed [Detail]
    Rule Message
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupResourceGuardProxies' removed or restructured?
    Old: Microsoft.RecoveryServices/preview/2021-02-01-preview/bms.json#L3920:5
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}' removed or restructured?
    Old: Microsoft.RecoveryServices/preview/2021-02-01-preview/bms.json#L3968:5
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}/unlockDelete' removed or restructured?
    Old: Microsoft.RecoveryServices/preview/2021-02-01-preview/bms.json#L4117:5
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'UnlockDeleteRequest' removed or renamed?
    New: Microsoft.RecoveryServices/stable/2021-04-01/bms.json#L3921:3
    Old: Microsoft.RecoveryServices/preview/2021-02-01-preview/bms.json#L4178:3
    1033 - RemovedProperty The new version is missing a property found in the old version. Was 'resourceGuardOperationRequests' renamed or removed?
    New: Microsoft.RecoveryServices/stable/2021-04-01/bms.json#L8286:7
    Old: Microsoft.RecoveryServices/preview/2021-02-01-preview/bms.json#L8506:7
    1037 - ConstraintIsWeaker The new version has a less constraining 'enum' value than the previous one.
    New: Microsoft.RecoveryServices/stable/2021-04-01/bms.json#L3946:9
    Old: Microsoft.RecoveryServices/preview/2021-02-01-preview/bms.json#L4203:9
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.RecoveryServices/stable/2021-04-01/bms.json#L4002:9
    Old: Microsoft.RecoveryServices/preview/2021-02-01-preview/bms.json#L4239:9
    ️❌Cross Version BreakingChange (Base on stable version): 1 Errors, 1 Warnings failed [Detail]
    Rule Message
    1037 - ConstraintIsWeaker The new version has a less constraining 'enum' value than the previous one.
    New: Microsoft.RecoveryServices/stable/2021-04-01/bms.json#L3946:9
    Old: Microsoft.RecoveryServices/stable/2021-03-01/bms.json#L3946:9
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.RecoveryServices/stable/2021-04-01/bms.json#L4002:9
    Old: Microsoft.RecoveryServices/stable/2021-03-01/bms.json#L3982:9
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️❌[Staging] SDK Track2 Validation: 13 Errors, 0 Warnings failed [Detail]
    The following errors/warnings are introduced by current PR:

    Only 10 items are listed, please refer to log for more details.

    Rule Message
    PreCheck/DuplicateSchema "readme":"recoveryservicesbackup/resource-manager/readme.md",
    "tag":"package-2021-04",
    "details":"Duplicate Schema named NewErrorResponse -- properties.error.$ref: undefined => "#/components/schemas/schemas:1069" ; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    PreCheck/DuplicateSchema "readme":"recoveryservicesbackup/resource-manager/readme.md",
    "tag":"package-2021-04",
    "details":"Duplicate Schema named NewErrorResponse-error -- properties.details.$ref: undefined => "#/components/schemas/schemas:1073" ; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    PreCheck/DuplicateSchema "readme":"recoveryservicesbackup/resource-manager/readme.md",
    "tag":"package-2021-04",
    "details":"Duplicate Schema named AzureFileshareProtectedItem -- properties.healthStatus: undefined => "$ref":"#/components/schemas/HealthStatus",
    "description":"backups running status for this backup item." ; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    PreCheck/DuplicateSchema "readme":"recoveryservicesbackup/resource-manager/readme.md",
    "tag":"package-2021-04",
    "details":"Duplicate Schema named AzureFileShareRecoveryPoint -- properties.recoveryPointType.$ref: undefined => "#/components/schemas/schemas:1097",
    properties.recoveryPointType.readOnly: undefined => true,
    properties.recoveryPointTime.$ref: undefined => "#/components/schemas/schemas:1098",
    properties.recoveryPointTime.readOnly: undefined => true,
    properties.fileShareSnapshotUri.$ref: undefined => "#/components/schemas/schemas:1099",
    properties.fileShareSnapshotUri.readOnly: undefined => true,
    properties.recoveryPointSizeInGB.$ref: undefined => "#/components/schemas/schemas:1100",
    properties.recoveryPointSizeInGB.readOnly: undefined => true ; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    PreCheck/DuplicateSchema "readme":"recoveryservicesbackup/resource-manager/readme.md",
    "tag":"package-2021-04",
    "details":"Duplicate Schema named AzureWorkloadPointInTimeRecoveryPoint -- allOf.0.$ref: undefined => "#/components/schemas/schemas:1234" ; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    PreCheck/DuplicateSchema "readme":"recoveryservicesbackup/resource-manager/readme.md",
    "tag":"package-2021-04",
    "details":"Duplicate Schema named AzureWorkloadRecoveryPoint -- properties.recoveryPointTimeInUTC.$ref: undefined => "#/components/schemas/schemas:1235",
    properties.recoveryPointTimeInUTC.readOnly: undefined => true,
    properties.type.readOnly: undefined => true ; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    PreCheck/DuplicateSchema "readme":"recoveryservicesbackup/resource-manager/readme.md",
    "tag":"package-2021-04",
    "details":"Duplicate Schema named AzureWorkloadSAPHanaPointInTimeRecoveryPoint -- allOf.0.$ref: undefined => "#/components/schemas/schemas:1230" ; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    PreCheck/DuplicateSchema "readme":"recoveryservicesbackup/resource-manager/readme.md",
    "tag":"package-2021-04",
    "details":"Duplicate Schema named AzureWorkloadSAPHanaRecoveryPoint -- allOf.0.$ref: undefined => "#/components/schemas/schemas:1234" ; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    PreCheck/DuplicateSchema "readme":"recoveryservicesbackup/resource-manager/readme.md",
    "tag":"package-2021-04",
    "details":"Duplicate Schema named AzureWorkloadSQLPointInTimeRecoveryPoint -- allOf.0.$ref: undefined => "#/components/schemas/schemas:1255" ; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    PreCheck/DuplicateSchema "readme":"recoveryservicesbackup/resource-manager/readme.md",
    "tag":"package-2021-04",
    "details":"Duplicate Schema named AzureWorkloadSQLRecoveryPoint -- allOf.0.$ref: undefined => "#/components/schemas/schemas:1234",
    properties.extendedInfo.$ref: undefined => "#/components/schemas/schemas:1256" ; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    ️️✔️[Staging] PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️[Staging] SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Apr 21, 2021

    Swagger Generation Artifacts

    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from c886d4e. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION [email protected]/[email protected] --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/recoveryservicesbackup/resource-manager/readme.md
    • ️✔️@azure/arm-recoveryservicesbackup [View full logs]  [Release SDK Changes]
      cmderr	[npmPack] loaded rollup.config.js with warnings
      cmderr	[npmPack] (!) Unused external imports
      cmderr	[npmPack] default imported from external module 'rollup' but never used
      cmderr	[npmPack] ./esm/recoveryServicesBackupClient.js → ./dist/arm-recoveryservicesbackup.js...
      cmderr	[npmPack] created ./dist/arm-recoveryservicesbackup.js in 992ms
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    Hi, @asmaskar your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board([email protected]). cc @chunyu3

    @j5lim
    Copy link
    Contributor

    j5lim commented Apr 21, 2021

            "description": "OK"
    

    PUT should return the original request at least. Please see the RPC: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md#put-resource


    Refers to: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-04-01/bms.json:692 in 129ac3e. [](commit_id = 129ac3e, deletion_comment = False)

    @j5lim
    Copy link
    Contributor

    j5lim commented Apr 21, 2021

    "BackupResourceEncryptionConfigExtended": {
    

    Why not actually extending BackupResourceEnruptionConfig using 'allof'?


    In reply to: 824378108


    In reply to: 824378108


    Refers to: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-04-01/bms.json:3977 in 129ac3e. [](commit_id = 129ac3e, deletion_comment = False)

    "vaultName": "source-rsv",
    "api-version": "2021-01-01",
    "parameters": {
    "properties": {
    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    "properties":

    Can userAssignedIdentity and useSystemAssignedIdentity be set by user? Can we update the example?

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    Made a fix. User is not supposed to set the fields using this API. The information will only be received as a part of GET call

    Copy link
    Contributor

    @j5lim j5lim left a comment

    Choose a reason for hiding this comment

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

    Left comments.

    @j5lim j5lim added ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Apr 21, 2021
    @asmaskar
    Copy link
    Contributor Author

    Hi @j5lim ,

    I have made a fix in the PR. I made a mistake by changing the Put Request. The Put request is supposed to be the same as in customer is not supposed to set userAssignedIdentity using this API. Although in GET he will receive those information as it is modified using some other API.

    @asmaskar
    Copy link
    Contributor Author

    asmaskar commented Apr 21, 2021

    with respect to the other comments, the PUT call response was checked in may be more than an year ago, changing that, wont it be a breaking change? as SDK is released , is it ideal to make the change there?

    Regarding the other comment of using allof, i generated this swagger using a tool. I have made the changes. Please have a check if thats what you asked for.

    @j5lim
    Copy link
    Contributor

    j5lim commented Apr 22, 2021

          "type": "boolean"
    

    Please mark them as read-only since the user is not allowed to set those in PUT.


    Refers to: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-04-01/bms.json:3991 in 263ee96. [](commit_id = 263ee96, deletion_comment = False)

    @j5lim
    Copy link
    Contributor

    j5lim commented Apr 22, 2021

    Right, the service code need to be fixed before updating the swagger. Can you please create a WI for that so that it can be fixed in the next release?


    In reply to: 824402975

    Copy link
    Contributor

    @j5lim j5lim left a comment

    Choose a reason for hiding this comment

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

    Added new comments.

    @chunyu3
    Copy link
    Member

    chunyu3 commented Apr 30, 2021

    @asmaskar There are cross version breaking changes, and it need to acquire breaking change approve.
    And there are some 'duplicate schema' issues ( see details in SDK Track2 validation), would you please fix this also? Thanks

    @pratimaupadhyay02
    Copy link
    Contributor

    @asmaskar There are cross version breaking changes, and it need to acquire breaking change approve.
    And there are some 'duplicate schema' issues ( see details in SDK Track2 validation), would you please fix this also? Thanks

    @chunyu3 We are making fix for the issue "Duplicate Schema named NewErrorResponse -- properties.error.$ref: undefined => "#/components/schemas/schemas:1024"". Seems like the NewErrorResponse schema in our spec and the Error Response under common json have same definition so we are making changes to use the ErrorResponse from common schema as itself.

    Regarding the Duplicated schema issues, I suspect it is due to the fact that in our package, we have a version 2021-03-01 that contains definitions of all APIs(all these APIs are being routed to active stamp), and another version 2018-12-20 in the same package which contains APIs which are Cross Region restore specific which need to be routed to passive stamp based on the API version, So it is expected that the same API definitions are present in both these version hence the validation issue. Since this is expected for other API definitions apart from NewErrorResponse, is there a provision to ignore this issue for the other APIs?

    @openapi-workflow-bot
    Copy link

    Hi @asmaskar, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff.

    TaskHow to fixPrioritySupport (Microsoft alias)
    AvocadoFix-AvocadoHighruowan
    Semantic validationFix-SemanticValidation-ErrorHighraychen, jianyxi
    Model validationFix-ModelValidation-ErrorHighraychen,jianyxi
    LintDiffFix-LintDiffhighjianyxi, ruoxuan
    If you need further help, please feedback via swagger feedback."

    @asmaskar
    Copy link
    Contributor Author

    asmaskar commented May 6, 2021

    Hi @chunyu3 , the SDK Track2 validation issue is not in our control, as in its related to some other issue. And as far as the breaking change is concerned the error there is shown due to weaker enum constraint but we havent removed any values from the enum. We have added values. Can you please let us know if there are any other issues in it

    @chunyu3
    Copy link
    Member

    chunyu3 commented May 8, 2021

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @chunyu3
    Copy link
    Member

    chunyu3 commented May 8, 2021

    Hi @chunyu3 , the SDK Track2 validation issue is not in our control, as in its related to some other issue. And as far as the breaking change is concerned the error there is shown due to weaker enum constraint but we havent removed any values from the enum. We have added values. Can you please let us know if there are any other issues in it

    Hi @asmaskar For the enum breaking change, yes, it may not be the issue of your PR, you can ignore this. I will confirm with the breakingchange detect owner about it. If there still issue, I will contact you.
    For other breaking changes (such as remove path comparing with preview version) (see Cross Version BreakingChange (Base on preview version) ), those breaking change need approve, please take a look at them and follow breaking change approve process. Thanks,

    @JeffreyRichter JeffreyRichter added the Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 label May 17, 2021
    @chunyu3 chunyu3 merged commit c886d4e into Azure:master May 18, 2021
    This was referenced May 18, 2021
    mkarmark pushed a commit to mkarmark/azure-rest-api-specs that referenced this pull request Jul 21, 2021
    * Added New Api-Version 2021-04-01
    
    * Changes for Supporting User MSI in CMK
    
    * Fixing Prettier check
    
    * Fix for Put BackupEncryptionConfig
    
    * Resolving the comments provided.
    
    * Fixing duplicate schema error
    
    * Reverting changes to error response
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-Python
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    5 participants