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

Created New Stable API Version for python3 Runbook APIs #19771

Merged
merged 26 commits into from
Sep 23, 2022

Conversation

sushil490023
Copy link
Contributor

@sushil490023 sushil490023 commented Jul 14, 2022

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Changelog

Add a changelog entry for 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 are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
    Its available in all public regions

  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
    This is PR to update swagger.

  4. If updating an existing version, please select the specific language SDKs and CLIs that must be refreshed after the 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 refresh required 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

Applicability: ⚠️

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

  • Check this box if any of the following appy to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.
  • 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 any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in a stable version
  • Removing properties in a stable version
  • Removing API version(s) in a stable version
  • Updating API in a 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, @sushil490023 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. vscswagger@microsoft.com

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 14, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️❌Breaking Change(Cross-Version): 2 Errors, 185 Warnings failed [Detail]
    compared swaggers (via Oad v0.9.7)] new version base version
    account.json 2022-08-08(5e492b9) 2021-06-22(main)
    account.json 2022-08-08(5e492b9) 2020-01-13-preview(main)
    certificate.json 2022-08-08(5e492b9) 2019-06-01(main)
    certificate.json 2022-08-08(5e492b9) 2020-01-13-preview(main)
    connection.json 2022-08-08(5e492b9) 2019-06-01(main)
    connection.json 2022-08-08(5e492b9) 2020-01-13-preview(main)
    connectionType.json 2022-08-08(5e492b9) 2019-06-01(main)
    connectionType.json 2022-08-08(5e492b9) 2020-01-13-preview(main)
    credential.json 2022-08-08(5e492b9) 2019-06-01(main)
    credential.json 2022-08-08(5e492b9) 2020-01-13-preview(main)
    dscConfiguration.json 2022-08-08(5e492b9) 2019-06-01(main)
    dscNodeConfiguration.json 2022-08-08(5e492b9) 2019-06-01(main)
    dscNodeConfiguration.json 2022-08-08(5e492b9) 2020-01-13-preview(main)
    hybridRunbookWorker.json 2022-08-08(5e492b9) 2021-06-22(main)
    hybridRunbookWorkerGroup.json 2022-08-08(5e492b9) 2022-02-22(main)
    hybridRunbookWorkerGroup.json 2022-08-08(5e492b9) 2020-01-13-preview(main)
    job.json 2022-08-08(5e492b9) 2019-06-01(main)
    job.json 2022-08-08(5e492b9) 2017-05-15-preview(main)
    jobSchedule.json 2022-08-08(5e492b9) 2019-06-01(main)
    jobSchedule.json 2022-08-08(5e492b9) 2020-01-13-preview(main)
    linkedWorkspace.json 2022-08-08(5e492b9) 2019-06-01(main)
    linkedWorkspace.json 2022-08-08(5e492b9) 2020-01-13-preview(main)
    module.json 2022-08-08(5e492b9) 2019-06-01(main)
    module.json 2022-08-08(5e492b9) 2020-01-13-preview(main)
    operations.json 2022-08-08(5e492b9) 2021-06-22(main)
    python2package.json 2022-08-08(5e492b9) 2019-06-01(main)
    python2package.json 2022-08-08(5e492b9) 2020-01-13-preview(main)
    runbook.json 2022-08-08(5e492b9) 2019-06-01(main)
    schedule.json 2022-08-08(5e492b9) 2019-06-01(main)
    schedule.json 2022-08-08(5e492b9) 2020-01-13-preview(main)
    softwareUpdateConfigurationMachineRun.json 2022-08-08(5e492b9) 2019-06-01(main)
    softwareUpdateConfigurationMachineRun.json 2022-08-08(5e492b9) 2017-05-15-preview(main)
    softwareUpdateConfigurationRun.json 2022-08-08(5e492b9) 2019-06-01(main)
    softwareUpdateConfigurationRun.json 2022-08-08(5e492b9) 2017-05-15-preview(main)
    sourceControl.json 2022-08-08(5e492b9) 2019-06-01(main)
    sourceControl.json 2022-08-08(5e492b9) 2020-01-13-preview(main)
    sourceControlSyncJob.json 2022-08-08(5e492b9) 2019-06-01(main)
    sourceControlSyncJob.json 2022-08-08(5e492b9) 2020-01-13-preview(main)
    sourceControlSyncJobStreams.json 2022-08-08(5e492b9) 2019-06-01(main)
    sourceControlSyncJobStreams.json 2022-08-08(5e492b9) 2020-01-13-preview(main)
    variable.json 2022-08-08(5e492b9) 2019-06-01(main)
    variable.json 2022-08-08(5e492b9) 2020-01-13-preview(main)

    The following breaking changes are detected by comparison with the latest stable version:

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

    Rule Message
    1011 - AddingResponseCode The new version adds a response code '201'.
    New: Microsoft.Automation/stable/2022-08-08/hybridRunbookWorker.json#L212:11
    1011 - AddingResponseCode The new version adds a response code '201'.
    New: Microsoft.Automation/stable/2022-08-08/hybridRunbookWorkerGroup.json#L188:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/dscConfiguration.json#L426:9
    Old: Microsoft.Automation/stable/2019-06-01/dscConfiguration.json#L425:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'file' than the previous one 'string'.
    New: Microsoft.Automation/stable/2022-08-08/dscConfiguration.json#L308:13
    Old: Microsoft.Automation/stable/2019-06-01/dscConfiguration.json#L308:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/dscConfiguration.json#L406:5
    Old: Microsoft.Automation/stable/2019-06-01/dscConfiguration.json#L406:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/dscNodeConfiguration.json#L306:9
    Old: Microsoft.Automation/stable/2019-06-01/dscNodeConfiguration.json#L305:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/dscNodeConfiguration.json#L286:5
    Old: Microsoft.Automation/stable/2019-06-01/dscNodeConfiguration.json#L286:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/module.json#L85:13
    Old: Microsoft.Automation/stable/2019-06-01/module.json#L85:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/module.json#L756:9
    Old: Microsoft.Automation/stable/2019-06-01/module.json#L742:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/module.json#L710:11
    Old: Microsoft.Automation/stable/2019-06-01/module.json#L700:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/module.json#L666:11
    Old: Microsoft.Automation/stable/2019-06-01/module.json#L662:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/module.json#L648:11
    Old: Microsoft.Automation/stable/2019-06-01/module.json#L646:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/module.json#L720:11
    Old: Microsoft.Automation/stable/2019-06-01/module.json#L707:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/module.json#L137:13
    Old: Microsoft.Automation/stable/2019-06-01/module.json#L137:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/module.json#L769:11
    Old: Microsoft.Automation/stable/2019-06-01/module.json#L754:11


    The following breaking changes are detected by comparison with the latest preview version:

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

    Rule Message
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'HybridRunbookWorkerGroupUpdateParameters' removed or renamed?
    New: Microsoft.Automation/stable/2022-08-08/hybridRunbookWorkerGroup.json#L319:3
    Old: Microsoft.Automation/preview/2020-01-13-preview/hybridRunbookWorkerGroup.json#L254:3
    ⚠️ 1009 - RemovedRequiredParameter The required parameter 'parameters' was removed in the new version.
    Old: Microsoft.Automation/preview/2020-01-13-preview/hybridRunbookWorkerGroup.json#L165:11
    ⚠️ 1010 - AddingRequiredParameter The required parameter 'HybridRunbookWorkerGroupUpdationParameters' was added in the new version.
    New: Microsoft.Automation/stable/2022-08-08/hybridRunbookWorkerGroup.json#L230:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/dscNodeConfiguration.json#L306:9
    Old: Microsoft.Automation/preview/2020-01-13-preview/dscNodeConfiguration.json#L305:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/dscNodeConfiguration.json#L286:5
    Old: Microsoft.Automation/preview/2020-01-13-preview/dscNodeConfiguration.json#L286:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'string' than the previous one 'file'.
    New: Microsoft.Automation/stable/2022-08-08/job.json#L84:13
    Old: Microsoft.Automation/preview/2017-05-15-preview/job.json#L84:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'string' than the previous one 'file'.
    New: Microsoft.Automation/stable/2022-08-08/job.json#L142:13
    Old: Microsoft.Automation/preview/2017-05-15-preview/job.json#L139:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/module.json#L85:13
    Old: Microsoft.Automation/preview/2020-01-13-preview/module.json#L85:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/module.json#L756:9
    Old: Microsoft.Automation/preview/2020-01-13-preview/module.json#L750:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/module.json#L710:11
    Old: Microsoft.Automation/preview/2020-01-13-preview/module.json#L702:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/module.json#L666:11
    Old: Microsoft.Automation/preview/2020-01-13-preview/module.json#L663:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/module.json#L648:11
    Old: Microsoft.Automation/preview/2020-01-13-preview/module.json#L646:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/module.json#L720:11
    Old: Microsoft.Automation/preview/2020-01-13-preview/module.json#L712:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/module.json#L137:13
    Old: Microsoft.Automation/preview/2020-01-13-preview/module.json#L137:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Automation/stable/2022-08-08/module.json#L769:11
    Old: Microsoft.Automation/preview/2020-01-13-preview/module.json#L762:11
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 16 Warnings warning [Detail]
    compared tags (via openapi-validator v1.13.0) new version base version
    package-2022-08-08 package-2022-08-08(5e492b9) default(main)

    [must fix]The following errors/warnings are introduced by current PR:

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

    Rule Message Related RPC [For API reviewers]
    ⚠️ R2017 - PutRequestResponseScheme A PUT operation request body schema should be the same as its 200 response schema, to allow reusing the same entity between GET and PUT. If the schema of the PUT request body is a superset of the GET response body, make sure you have a PATCH operation to make the resource updatable. Operation: 'Python3Package_CreateOrUpdate' Request Model: 'PythonPackageCreateParameters' Response Model: 'Module'
    Location: Microsoft.Automation/stable/2022-08-08/python3package.json#L140
    ⚠️ R2017 - PutRequestResponseScheme A PUT operation request body schema should be the same as its 200 response schema, to allow reusing the same entity between GET and PUT. If the schema of the PUT request body is a superset of the GET response body, make sure you have a PATCH operation to make the resource updatable. Operation: 'Python3Package_CreateOrUpdate' Request Model: 'PythonPackageCreateParameters' Response Model: 'Module'
    Location: Microsoft.Automation/stable/2022-08-08/python3package.json#L140
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'activities' with immediate parent 'Module', must have a list by immediate parent operation.
    Location: Microsoft.Automation/stable/2022-08-08/python3package.json#L454
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'python3Packages' with immediate parent 'AutomationAccount', must have a list by immediate parent operation.
    Location: Microsoft.Automation/stable/2022-08-08/python3package.json#L683
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'modules' with immediate parent 'AutomationAccount', must have a list by immediate parent operation.
    Location: Microsoft.Automation/stable/2022-08-08/python3package.json#L683
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'python2Packages' with immediate parent 'AutomationAccount', must have a list by immediate parent operation.
    Location: Microsoft.Automation/stable/2022-08-08/python3package.json#L683
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: isMandatory
    Location: Microsoft.Automation/stable/2022-08-08/python3package.json#L326
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: isDynamic
    Location: Microsoft.Automation/stable/2022-08-08/python3package.json#L330
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: valueFromPipeline
    Location: Microsoft.Automation/stable/2022-08-08/python3package.json#L339
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: valueFromPipelineByPropertyName
    Location: Microsoft.Automation/stable/2022-08-08/python3package.json#L343
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: valueFromRemainingArguments
    Location: Microsoft.Automation/stable/2022-08-08/python3package.json#L347
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: isGlobal
    Location: Microsoft.Automation/stable/2022-08-08/python3package.json#L595
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: isComposite
    Location: Microsoft.Automation/stable/2022-08-08/python3package.json#L663
    ⚠️ R4021 - DescriptionAndTitleMissing 'UserAssignedIdentitiesProperties' model/property lacks 'description' and 'title' property. Consider adding a 'description'/'title' element. Accurate description/title is essential for maintaining reference documentation.
    Location: Microsoft.Automation/stable/2022-08-08/account.json#L947
    ⚠️ R4030 - UniqueXmsExample Do not have duplicate name of x-ms-example, make sure every x-ms-example name unique. Duplicate x-ms-example: Update a module
    Location: Microsoft.Automation/stable/2022-08-08/python2package.json#L211


    The following errors/warnings exist before current PR submission:

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

    Rule Message
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.Automation/stable/2022-08-08/credential.json#L294
    R4013 - IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: Microsoft.Automation/stable/2022-08-08/dscConfiguration.json#L362
    R4013 - IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: Microsoft.Automation/stable/2022-08-08/dscConfiguration.json#L369
    R4013 - IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: Microsoft.Automation/stable/2022-08-08/dscConfiguration.json#L494
    R4013 - IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: Microsoft.Automation/stable/2022-08-08/dscConfiguration.json#L633
    R4013 - IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: Microsoft.Automation/stable/2022-08-08/dscNodeConfiguration.json#L242
    R4013 - IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: Microsoft.Automation/stable/2022-08-08/dscNodeConfiguration.json#L249
    R4013 - IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: Microsoft.Automation/stable/2022-08-08/dscNodeConfiguration.json#L396
    R4013 - IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: Microsoft.Automation/stable/2022-08-08/softwareUpdateConfigurationRun.json#L232
    R4013 - IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: Microsoft.Automation/stable/2022-08-08/softwareUpdateConfigurationRun.json#L237
    R4018 - OperationsApiResponseSchema The response schema of operations API '/providers/Microsoft.Automation/operations' does not match the ARM specification. Please standardize the schema.
    Location: Microsoft.Automation/stable/2022-08-08/operations.json#L39
    R4019 - GetCollectionResponseSchema The response in the GET collection operation 'JobListByAutomationAccount' does not match the response definition in the individual GET operation 'JobGet' .
    Location: Microsoft.Automation/stable/2022-08-08/job.json#L376
    R4032 - MissingXmsErrorResponse Response code 409 is defined without a x-ms-error-response.
    Location: Microsoft.Automation/stable/2022-08-08/schedule.json#L97
    R4037 - MissingTypeObject The schema 'AutomationAccount' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Automation/stable/2022-08-08/account.json#L469
    R4037 - MissingTypeObject The schema 'AutomationAccountProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Automation/stable/2022-08-08/account.json#L495
    ️⚠️Avocado: 1 Warnings warning [Detail]
    Rule Message
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/automation/resource-manager/readme.md
    tag: specification/automation/resource-manager/readme.md#tag-package-2022-08-08
    ️❌ApiReadinessCheck: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    API Readiness check failed. Please make sure your service is deployed. "code: InvalidResourceType,
    message: The resource type 'operations' could not be found in the namespace 'Microsoft.Automation' for api version '2022-08-08'. The supported api-versions are '2015-01-01-preview,
    2015-10-31,
    2017-05-15-preview,
    2018-01-15,
    2018-06-30,
    2019-06-01,
    2020-01-13-preview'."
    ️❌~[Staging] ServiceAPIReadinessTest: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    ASSERTION_ERROR "ResourceType 'automationAccounts' should be deployed in 'West Central US' on apiVersion '2022-08-08'.: expected [ Array(16) ] to satisfy [Function]"
    ️❌~[Staging] TrafficValidation: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    ASSERTION_ERROR "ResourceType 'automationAccounts' should be deployed in 'West Central US' on apiVersion '2022-08-08'.: expected [ Array(16) ] to satisfy [Function]"
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PoliCheck succeeded [Detail] [Expand]
    Validation passed for PoliCheck.
    ️⚠️SDK Track2 Validation: 3 Warnings warning [Detail]
    • The following tags are being changed in this PR
      • "https://github.com/Azure/azure-rest-api-specs/blob/5e492b974bf1381301cf60a67f300b11046e8db0/specification/automation/resource-manager/readme.md#tag-package-2022-08-08">automation/resource-manager/readme.md#package-2022-08-08
    The following errors/warnings are introduced by current PR:
    Rule Message
    ⚠️ UnkownSecurityScheme "readme":"automation/resource-manager/readme.md",
    "tag":"package-2022-08-08",
    "details":"Security scheme azure_auth is unknown and will not be processed. Only supported types are AADToken,
    AzureKey,
    Anonymous"
    ⚠️ Modeler/MissingType "readme":"automation/resource-manager/readme.md",
    "tag":"package-2022-08-08",
    "details":"The schema 'ScheduleCreateOrUpdateProperties-interval' has no type or format information whatsoever. Location:\n file:///mnt/vss/_work/1/azure-rest-api-specs/specification/automation/resource-manager/Microsoft.Automation/stable/2022-08-08/schedule.json#/components/schemas/ScheduleCreateOrUpdateProperties-interval"
    ⚠️ Modeler/MissingType "readme":"automation/resource-manager/readme.md",
    "tag":"package-2022-08-08",
    "details":"The schema 'ScheduleProperties-interval' has no type or format information whatsoever. Location:\n file:///mnt/vss/_work/1/azure-rest-api-specs/specification/automation/resource-manager/Microsoft.Automation/stable/2022-08-08/schedule.json#/components/schemas/ScheduleProperties-interval"
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 14, 2022

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️❌SDK Breaking Change Tracking failed [Detail]

    Breaking Changes Tracking

    azure-sdk-for-go - armautomation - 0.8.0
    +	Function `*DscConfigurationClient.UpdateWithJSON` parameter(s) have been changed from `(context.Context, string, string, string, DscConfigurationUpdateParameters, *DscConfigurationClientUpdateWithJSONOptions)` to `(context.Context, string, string, string, *DscConfigurationClientUpdateWithJSONOptions)`
    +	Function `*DscConfigurationClient.UpdateWithText` parameter(s) have been changed from `(context.Context, string, string, string, string, *DscConfigurationClientUpdateWithTextOptions)` to `(context.Context, string, string, string, *DscConfigurationClientUpdateWithTextOptions)`
    azure-sdk-for-go - sdk/resourcemanager/automation/armautomation - 0.8.0
    +	Field `Body` of struct `RunbookDraftClientReplaceContentResponse` has been removed
    +	Field `RunbookDraftUndoEditResult` of struct `RunbookDraftClientUndoEditResponse` has been removed
    +	Field `Value` of struct `DscConfigurationClientGetContentResponse` has been removed
    +	Struct `ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties` has been removed
    +	Type of `Identity.UserAssignedIdentities` has been changed from `map[string]*ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties` to `map[string]*UserAssignedIdentitiesProperties`
    ️❌ azure-sdk-for-net failed [Detail]
    • Failed [Logs]Release - Generate from 0f161c7. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-6.0
      command	autorest --version=2.0.4421 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/automation/resource-manager/readme.md
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] No usable version of the libssl was found
      cmderr	[Autorest] FATAL: csharp/simplifier - FAILED
      cmderr	[Autorest] FATAL: Error: [Exception] AutoRest extension '@microsoft.azure/autorest.csharp' terminated.
      cmderr	[Autorest] Process() cancelled due to exception : [Exception] AutoRest extension '@microsoft.azure/autorest.csharp' terminated.
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-net]: autorest
      warn	Skip package processing as generation is failed
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 0f161c7. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
    • ️✔️track2_azure-mgmt-automation [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Added operation group DeletedAutomationAccountsOperations
      info	[Changelog]   - Added operation group Python3PackageOperations
      info	[Changelog]   - Model HybridRunbookWorkerGroupCreateOrUpdateParameters has a new parameter name
      info	[Changelog]   - Model Operation has a new parameter origin
      info	[Changelog]   - Model Operation has a new parameter service_specification
      info	[Changelog]   - Model OperationDisplay has a new parameter description
      info	[Changelog]
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog]   - Model HybridRunbookWorkerGroup no longer has parameter hybrid_runbook_workers
      info	[Changelog]   - Operation DscConfigurationOperations.create_or_update no longer has parameter content_type
      info	[Changelog]   - Operation DscConfigurationOperations.update no longer has parameter content_type
      info	[Changelog]   - Operation HybridRunbookWorkerGroupOperations.update has a new parameter hybrid_runbook_worker_group_updation_parameters
      info	[Changelog]   - Operation HybridRunbookWorkerGroupOperations.update no longer has parameter parameters
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 0f161c7. SDK Automation 14.0.0
      command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️sdk/resourcemanager/automation/armautomation [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Function `*DscConfigurationClient.UpdateWithJSON` parameter(s) have been changed from `(context.Context, string, string, string, DscConfigurationUpdateParameters, *DscConfigurationClientUpdateWithJSONOptions)` to `(context.Context, string, string, string, *DscConfigurationClientUpdateWithJSONOptions)`
      info	[Changelog] - Function `*DscConfigurationClient.UpdateWithText` parameter(s) have been changed from `(context.Context, string, string, string, string, *DscConfigurationClientUpdateWithTextOptions)` to `(context.Context, string, string, string, *DscConfigurationClientUpdateWithTextOptions)`
      info	[Changelog] - Type of `Identity.UserAssignedIdentities` has been changed from `map[string]*ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties` to `map[string]*UserAssignedIdentitiesProperties`
      info	[Changelog] - Struct `ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties` has been removed
      info	[Changelog] - Field `Body` of struct `RunbookDraftClientReplaceContentResponse` has been removed
      info	[Changelog] - Field `Value` of struct `DscConfigurationClientGetContentResponse` has been removed
      info	[Changelog] - Field `RunbookDraftUndoEditResult` of struct `RunbookDraftClientUndoEditResponse` has been removed
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New function `NewPython3PackageClient(string, azcore.TokenCredential, *arm.ClientOptions) (*Python3PackageClient, error)`
      info	[Changelog] - New function `*Python3PackageClient.CreateOrUpdate(context.Context, string, string, string, PythonPackageCreateParameters, *Python3PackageClientCreateOrUpdateOptions) (Python3PackageClientCreateOrUpdateResponse, error)`
      info	[Changelog] - New function `*Python3PackageClient.Update(context.Context, string, string, string, PythonPackageUpdateParameters, *Python3PackageClientUpdateOptions) (Python3PackageClientUpdateResponse, error)`
      info	[Changelog] - New function `*Python3PackageClient.Delete(context.Context, string, string, string, *Python3PackageClientDeleteOptions) (Python3PackageClientDeleteResponse, error)`
      info	[Changelog] - New function `*Python3PackageClient.Get(context.Context, string, string, string, *Python3PackageClientGetOptions) (Python3PackageClientGetResponse, error)`
      info	[Changelog] - New function `*Python3PackageClient.NewListByAutomationAccountPager(string, string, *Python3PackageClientListByAutomationAccountOptions) *runtime.Pager[Python3PackageClientListByAutomationAccountResponse]`
      info	[Changelog] - New struct `Dimension`
      info	[Changelog] - New struct `LogSpecification`
      info	[Changelog] - New struct `MetricSpecification`
      info	[Changelog] - New struct `OperationPropertiesFormat`
      info	[Changelog] - New struct `OperationPropertiesFormatServiceSpecification`
      info	[Changelog] - New struct `Python3PackageClient`
      info	[Changelog] - New struct `Python3PackageClientCreateOrUpdateOptions`
      info	[Changelog] - New struct `Python3PackageClientCreateOrUpdateResponse`
      info	[Changelog] - New struct `Python3PackageClientDeleteOptions`
      info	[Changelog] - New struct `Python3PackageClientDeleteResponse`
      info	[Changelog] - New struct `Python3PackageClientGetOptions`
      info	[Changelog] - New struct `Python3PackageClientGetResponse`
      info	[Changelog] - New struct `Python3PackageClientListByAutomationAccountOptions`
      info	[Changelog] - New struct `Python3PackageClientListByAutomationAccountResponse`
      info	[Changelog] - New struct `Python3PackageClientUpdateOptions`
      info	[Changelog] - New struct `Python3PackageClientUpdateResponse`
      info	[Changelog] - New struct `UserAssignedIdentitiesProperties`
      info	[Changelog] - New field `Parameters` in struct `DscConfigurationClientUpdateWithTextOptions`
      info	[Changelog] - New field `Description` in struct `OperationDisplay`
      info	[Changelog] - New field `Origin` in struct `Operation`
      info	[Changelog] - New field `Properties` in struct `Operation`
      info	[Changelog] - New field `Parameters` in struct `DscConfigurationClientUpdateWithJSONOptions`
      info	[Changelog]
      info	[Changelog] Total 8 breaking change(s), 44 additive change(s).
    ️🔄 azure-sdk-for-js inProgress [Detail]
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 0f161c7. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      cmderr	[initScript.sh] WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    • ️✔️automation [View full logs]  [Release Schema Changes]
    ️❌ azure-powershell failed [Detail]
    • Failed [Logs]Release - Generate from 0f161c7. SDK Automation 14.0.0
      command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
      command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
    • Az.automation [View full logs]  [Release SDK Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    Hi @sushil490023, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff. If you have any questions, please post your questions in this channel https://aka.ms/swaggersupport.

    TaskHow to fixPriority
    AvocadoFix-AvocadoHigh
    Semantic validationFix-SemanticValidation-ErrorHigh
    Model validationFix-ModelValidation-ErrorHigh
    LintDiffFix-LintDiffhigh
    If you need further help, please feedback via swagger feedback.

    @openapi-workflow-bot
    Copy link

    Hi, @sushil490023 your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board(armapireview@microsoft.com).

    @openapi-workflow-bot openapi-workflow-bot bot added ARMReview WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Jul 19, 2022
    @raych1
    Copy link
    Member

    raych1 commented Jul 19, 2022

    @sushil490023 , can you resolve avocado check errors?

    @rkmanda rkmanda added the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Jul 20, 2022
    @openapi-workflow-bot
    Copy link

    Please ensure to respond feedbacks from the ARM API reviewer. When you are ready to continue the ARM API review, please remove ARMChangesRequested

    @openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Jul 20, 2022
    @openapi-workflow-bot
    Copy link

    NewApiVersionRequired reason:

    A service’s API is a contract with customers and is represented by using the api-version query parameter. Changes such as adding an optional property to a request/response or introducing a new operation is a change to the service’s contract and therefore requires a new api-version value. This is critically important for documentation, client libraries, and customer support.

    EXAMPLE: if a customer calls a service in the public cloud using api-version=2020-07-27, the new property or operation may exist but if they call the service in a government cloud, air-gapped cloud, or Azure Stack Hub cloud using the same api-version, the property or operation may not exist. Because there is no clear relationship between the service api-version and the new property/operation, customers can’t trust the documentation and Azure customer have difficulty helping customers diagnose issues. In addition, each client library version documents the service version it supports. When an optional property or new operation is added to a service and its Swagger, new client libraries must be produced to expose this functionality to customers. Without updating the api-version, it is unclear to customers which version of a client library supports these new features.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Aug 4, 2022

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/automation/armautomation Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    Python track2_azure-mgmt-automation Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.

    @openapi-workflow-bot
    Copy link

    Hi @sushil490023, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow breaking change policy to request breaking change review and approval before proceeding swagger PR review.
    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.
    If you want to know the production traffic statistic, please see ARM Traffic statistic.
    If you think it is false positive breaking change, please provide the reasons in the PR comment, report to Swagger Tooling Team via https://aka.ms/swaggerfeedback.
    Note: To avoid breaking change, you can refer to Shift Left Solution for detecting breaking change in early phase at your service code repository.

    @raych1
    Copy link
    Member

    raych1 commented Aug 8, 2022

    @sushil490023 , can you fix prettierCheck error and get breaking change review approval?

    @jianyexi , can you guide on the 'duplicated model' lintDiff error?

    @azure-pipelines
    Copy link

    Commenter does not have sufficient privileges for PR 19771 in repo Azure/azure-rest-api-specs

    @sushil490023
    Copy link
    Contributor Author

    /azp run

    @azure-pipelines
    Copy link

    Commenter does not have sufficient privileges for PR 19771 in repo Azure/azure-rest-api-specs

    @sushil490023
    Copy link
    Contributor Author

    /azp run

    @azure-pipelines
    Copy link

    Commenter does not have sufficient privileges for PR 19771 in repo Azure/azure-rest-api-specs

    @sushil490023
    Copy link
    Contributor Author

    /azp run

    @azure-pipelines
    Copy link

    Commenter does not have sufficient privileges for PR 19771 in repo Azure/azure-rest-api-specs

    @sushil490023
    Copy link
    Contributor Author

    /azp run

    @azure-pipelines
    Copy link

    Commenter does not have sufficient privileges for PR 19771 in repo Azure/azure-rest-api-specs

    @sushil490023
    Copy link
    Contributor Author

    /azp run

    @azure-pipelines
    Copy link

    Commenter does not have sufficient privileges for PR 19771 in repo Azure/azure-rest-api-specs

    @JeffreyRichter JeffreyRichter added the Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 label Sep 1, 2022
    @jianyexi jianyexi added the Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates label Sep 2, 2022
    @ghost
    Copy link

    ghost commented Sep 18, 2022

    Hi, @sushil490023. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove no-recent-activity label.

    @ghost ghost added the no-recent-activity label Sep 18, 2022
    @sushil490023
    Copy link
    Contributor Author

    @raych1 Now ARM Manifest changes has been deployed in all the public region and we can merge this PR.

    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 Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-Go CI-FixRequiredOnFailure resource-manager
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    8 participants