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

Dev labservices microsoft.lab services 2022 08 01 #20121

Merged

Conversation

kamperiadis
Copy link
Contributor

@kamperiadis kamperiadis commented Aug 5, 2022

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

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo. If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.

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.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  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, @kamperiadis 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-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Aug 5, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️Breaking Change(Cross-Version): 2 Warnings warning [Detail]
    compared swaggers (via Oad v0.9.6)] new version base version
    Images.json 2022-08-01(d4a2cea) 2021-11-15-preview(main)
    LabPlans.json 2022-08-01(d4a2cea) 2021-11-15-preview(main)
    LabServices.json 2022-08-01(d4a2cea) 2021-11-15-preview(main)
    Labs.json 2022-08-01(d4a2cea) 2021-11-15-preview(main)
    OperationResults.json 2022-08-01(d4a2cea) 2021-11-15-preview(main)
    Schedules.json 2022-08-01(d4a2cea) 2021-11-15-preview(main)
    Skus.json 2022-08-01(d4a2cea) 2021-11-15-preview(main)
    Usages.json 2022-08-01(d4a2cea) 2021-11-15-preview(main)
    Users.json 2022-08-01(d4a2cea) 2021-11-15-preview(main)
    VirtualMachines.json 2022-08-01(d4a2cea) 2021-11-15-preview(main)

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

    Rule Message
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.LabServices/stable/2022-08-01/Schedules.json#L376:9
    Old: Microsoft.LabServices/preview/2021-11-15-preview/Schedules.json#L376:9
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'true' to 'false'.
    New: Microsoft.LabServices/stable/2022-08-01/Usages.json#L85:9
    Old: Microsoft.LabServices/preview/2021-11-15-preview/Usages.json#L85:9
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 0 Warnings warning [Detail]
    compared tags (via openapi-validator v1.13.0) new version base version
    package-2022-08 package-2022-08(d4a2cea) default(main)

    The following errors/warnings exist before current PR submission:

    Rule Message
    ⚠️ R4006 - DeprecatedXmsCodeGenerationSetting The x-ms-code-generation-setting extension is being deprecated. Please remove it and move settings to readme file for code generation.
    Location: Microsoft.LabServices/stable/2022-08-01/LabServices.json#L7
    ⚠️ R4006 - DeprecatedXmsCodeGenerationSetting The x-ms-code-generation-setting extension is being deprecated. Please remove it and move settings to readme file for code generation.
    Location: Microsoft.LabServices/stable/2022-08-01/OperationResults.json#L7
    ️❌Avocado: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    MISSING_APIS_IN_DEFAULT_TAG The default tag does not contain all APIs in this RP. Please make sure the missing API swaggers are in the default tag.
    readme: specification/labservices/resource-manager/readme.md
    json: Microsoft.LabServices/stable/2018-10-15/ML.json
    ️❌ApiReadinessCheck: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    API Readiness check failed. Please make sure your service is deployed. "code: MissingApiVersionParameter,
    message: The api-version query parameter (?api-version=) is required for all requests."
    ️❌~[Staging] ServiceAPIReadinessTest: 2 Errors, 0 Warnings failed [Detail]
    Rule Message
    RUNTIME_ERROR "errorCode: AssertionError,
    errorMessage: ResourceType 'labPlans' should be deployed in 'West Central US' on apiVersion '2022-08-01'.: expected [ Array(9) ] to satisfy [Function]"
    RUNTIME_ERROR "errorCode: AssertionError,
    errorMessage: ResourceType 'labPlans' should be deployed in 'West Central US' on apiVersion '2022-08-01'.: expected [ Array(9) ] 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: 1 Warnings warning [Detail]
    • The following tags are being changed in this PR
      • "https://github.com/Azure/azure-rest-api-specs/blob/d4a2ceae8dee937042a4bcd897279570e38174a0/specification/labservices/resource-manager/readme.md#tag-package-2022-08">labservices/resource-manager/readme.md#package-2022-08
    The following errors/warnings are introduced by current PR:
    Rule Message
    ⚠️ UnkownSecurityScheme "readme":"labservices/resource-manager/readme.md",
    "tag":"package-2022-08",
    "details":"Security scheme azure_auth is unknown and will not be processed. Only supported types are AADToken,
    AzureKey,
    Anonymous"
    ️️✔️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 Aug 5, 2022

    Swagger Generation Artifacts

    ️🔄ApiDocPreview inProgress [Detail]
    ️❌SDK Breaking Change Tracking failed [Detail]

    Breaking Changes Tracking

    ️✔️azure-sdk-for-go - armlabservices - 1.0.0
    azure-sdk-for-python-track2 - track2_azure-mgmt-labservices - 2.0.0b1
    -	Client name is changed
    +	Model Lab no longer has parameter created_by_object_id
    +	Model Lab no longer has parameter created_by_user_principal_name
    +	Model Lab no longer has parameter created_date
    +	Model Lab no longer has parameter invitation_code
    +	Model Lab no longer has parameter latest_operation_result
    +	Model Lab no longer has parameter max_users_in_lab
    +	Model Lab no longer has parameter unique_identifier
    +	Model Lab no longer has parameter usage_quota
    +	Model Lab no longer has parameter user_access_mode
    +	Model Lab no longer has parameter user_quota
    +	Model Resource no longer has parameter location
    +	Model Resource no longer has parameter tags
    +	Model User no longer has parameter family_name
    +	Model User no longer has parameter given_name
    +	Model User no longer has parameter latest_operation_result
    +	Model User no longer has parameter location
    +	Model User no longer has parameter tags
    +	Model User no longer has parameter tenant_id
    +	Model User no longer has parameter unique_identifier
    +	Operation LabsOperations.begin_delete no longer has parameter lab_account_name
    +	Operation LabsOperations.get no longer has parameter expand
    +	Operation LabsOperations.get no longer has parameter lab_account_name
    +	Operation UsersOperations.begin_delete no longer has parameter lab_account_name
    +	Operation UsersOperations.get no longer has parameter expand
    +	Operation UsersOperations.get no longer has parameter lab_account_name
    +	Parameter email of model User is now required
    +	Parameter location of model Lab is now required
    +	Parameter status of model OperationResult is now required
    +	Removed operation LabsOperations.add_users
    +	Removed operation LabsOperations.create_or_update
    +	Removed operation LabsOperations.list
    +	Removed operation LabsOperations.register
    +	Removed operation LabsOperations.update
    +	Removed operation Operations.get
    +	Removed operation UsersOperations.create_or_update
    +	Removed operation UsersOperations.list
    +	Removed operation UsersOperations.update
    +	Removed operation group EnvironmentSettingsOperations
    +	Removed operation group EnvironmentsOperations
    +	Removed operation group GalleryImagesOperations
    +	Removed operation group GlobalUsersOperations
    +	Removed operation group LabAccountsOperations
    +	Removed operation group ProviderOperationsOperations
    ️❌ azure-sdk-for-net failed [Detail]
    • Failed [Logs]Release - Generate from 37c9b56. 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 [email protected]/[email protected] --csharp-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/labservices/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 37c9b56. 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
      cmderr	[automation_generate.sh]  config global `--global`, `--local` are deprecated. Use `--location=global` instead.
    • ️✔️track2_azure-mgmt-labservices [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Added operation LabsOperations.begin_create_or_update
      info	[Changelog]   - Added operation LabsOperations.begin_publish
      info	[Changelog]   - Added operation LabsOperations.begin_sync_group
      info	[Changelog]   - Added operation LabsOperations.begin_update
      info	[Changelog]   - Added operation LabsOperations.list_by_resource_group
      info	[Changelog]   - Added operation LabsOperations.list_by_subscription
      info	[Changelog]   - Added operation Operations.list
      info	[Changelog]   - Added operation UsersOperations.begin_create_or_update
      info	[Changelog]   - Added operation UsersOperations.begin_invite
      info	[Changelog]   - Added operation UsersOperations.begin_update
      info	[Changelog]   - Added operation UsersOperations.list_by_lab
      info	[Changelog]   - Added operation group ImagesOperations
      info	[Changelog]   - Added operation group LabPlansOperations
      info	[Changelog]   - Added operation group OperationResultsOperations
      info	[Changelog]   - Added operation group SchedulesOperations
      info	[Changelog]   - Added operation group SkusOperations
      info	[Changelog]   - Added operation group UsagesOperations
      info	[Changelog]   - Added operation group VirtualMachinesOperations
      info	[Changelog]   - Model Lab has a new parameter auto_shutdown_profile
      info	[Changelog]   - Model Lab has a new parameter connection_profile
      info	[Changelog]   - Model Lab has a new parameter description
      info	[Changelog]   - Model Lab has a new parameter lab_plan_id
      info	[Changelog]   - Model Lab has a new parameter network_profile
      info	[Changelog]   - Model Lab has a new parameter roster_profile
      info	[Changelog]   - Model Lab has a new parameter security_profile
      info	[Changelog]   - Model Lab has a new parameter state
      info	[Changelog]   - Model Lab has a new parameter system_data
      info	[Changelog]   - Model Lab has a new parameter title
      info	[Changelog]   - Model Lab has a new parameter virtual_machine_profile
      info	[Changelog]   - Model OperationResult has a new parameter end_time
      info	[Changelog]   - Model OperationResult has a new parameter id
      info	[Changelog]   - Model OperationResult has a new parameter name
      info	[Changelog]   - Model OperationResult has a new parameter percent_complete
      info	[Changelog]   - Model OperationResult has a new parameter start_time
      info	[Changelog]   - Model User has a new parameter additional_usage_quota
      info	[Changelog]   - Model User has a new parameter display_name
      info	[Changelog]   - Model User has a new parameter invitation_sent
      info	[Changelog]   - Model User has a new parameter invitation_state
      info	[Changelog]   - Model User has a new parameter registration_state
      info	[Changelog]   - Model User has a new parameter system_data
      info	[Changelog]
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog]   - Model Lab no longer has parameter created_by_object_id
      info	[Changelog]   - Model Lab no longer has parameter created_by_user_principal_name
      info	[Changelog]   - Model Lab no longer has parameter created_date
      info	[Changelog]   - Model Lab no longer has parameter invitation_code
      info	[Changelog]   - Model Lab no longer has parameter latest_operation_result
      info	[Changelog]   - Model Lab no longer has parameter max_users_in_lab
      info	[Changelog]   - Model Lab no longer has parameter unique_identifier
      info	[Changelog]   - Model Lab no longer has parameter usage_quota
      info	[Changelog]   - Model Lab no longer has parameter user_access_mode
      info	[Changelog]   - Model Lab no longer has parameter user_quota
      info	[Changelog]   - Model Resource no longer has parameter location
      info	[Changelog]   - Model Resource no longer has parameter tags
      info	[Changelog]   - Model User no longer has parameter family_name
      info	[Changelog]   - Model User no longer has parameter given_name
      info	[Changelog]   - Model User no longer has parameter latest_operation_result
      info	[Changelog]   - Model User no longer has parameter location
      info	[Changelog]   - Model User no longer has parameter tags
      info	[Changelog]   - Model User no longer has parameter tenant_id
      info	[Changelog]   - Model User no longer has parameter unique_identifier
      info	[Changelog]   - Operation LabsOperations.begin_delete no longer has parameter lab_account_name
      info	[Changelog]   - Operation LabsOperations.get no longer has parameter expand
      info	[Changelog]   - Operation LabsOperations.get no longer has parameter lab_account_name
      info	[Changelog]   - Operation UsersOperations.begin_delete no longer has parameter lab_account_name
      info	[Changelog]   - Operation UsersOperations.get no longer has parameter expand
      info	[Changelog]   - Operation UsersOperations.get no longer has parameter lab_account_name
      info	[Changelog]   - Parameter email of model User is now required
      info	[Changelog]   - Parameter location of model Lab is now required
      info	[Changelog]   - Parameter status of model OperationResult is now required
      info	[Changelog]   - Removed operation LabsOperations.add_users
      info	[Changelog]   - Removed operation LabsOperations.create_or_update
      info	[Changelog]   - Removed operation LabsOperations.list
      info	[Changelog]   - Removed operation LabsOperations.register
      info	[Changelog]   - Removed operation LabsOperations.update
      info	[Changelog]   - Removed operation Operations.get
      info	[Changelog]   - Removed operation UsersOperations.create_or_update
      info	[Changelog]   - Removed operation UsersOperations.list
      info	[Changelog]   - Removed operation UsersOperations.update
      info	[Changelog]   - Removed operation group EnvironmentSettingsOperations
      info	[Changelog]   - Removed operation group EnvironmentsOperations
      info	[Changelog]   - Removed operation group GalleryImagesOperations
      info	[Changelog]   - Removed operation group GlobalUsersOperations
      info	[Changelog]   - Removed operation group LabAccountsOperations
      info	[Changelog]   - Removed operation group ProviderOperationsOperations
    ️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 37c9b56. 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
    • ️✔️armlabservices [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New struct `Identity`
      info	[Changelog] - New field `Identity` in struct `LabPlanUpdate`
      info	[Changelog] - New field `SKUInstances` in struct `UsageName`
      info	[Changelog] - New field `Identity` in struct `LabPlan`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 5 additive change(s).
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 37c9b56. SDK Automation 14.0.0
      command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
      warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
    • ️✔️@azure/arm-labservices [View full logs]  [Release SDK Changes]
      info	[Changelog]
      error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 37c9b56. 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
    • ️✔️labservices [View full logs]  [Release Schema Changes]
    ️️✔️ azure-powershell succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 37c9b56. 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.LabServices [View full logs]  [Release SDK Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Aug 5, 2022

    Generated ApiView

    Language Package Name ApiView Link
    Python track2_azure-mgmt-labservices Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    Java azure-resourcemanager-labservices Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    JavaScript @azure/arm-labservices 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 @kamperiadis, 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 openapi-workflow-bot bot added ARMReview WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Aug 10, 2022
    @openapi-workflow-bot
    Copy link

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

    @ruowan
    Copy link
    Member

    ruowan commented Aug 10, 2022

    @ArcturusZhang help to take a look at this go sdk breaking change.

    },
    "paths": {
    "/providers/Microsoft.LabServices/operations": {
    "parameters": [
    Copy link
    Member

    Choose a reason for hiding this comment

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

    The parameters should be in "get", not path level.

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    Mmm is that really the issue? Because that's what we had in the last preview version we released

    "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    Had a separate discussion on this. This should be resolved once we deploy our API in production.

    @jorgecotillo jorgecotillo added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Aug 10, 2022
    Copy link
    Member

    @ArcturusZhang ArcturusZhang left a comment

    Choose a reason for hiding this comment

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

    We should not create duplicate models in the common-types

    @@ -0,0 +1,62 @@
    {
    Copy link
    Member

    Choose a reason for hiding this comment

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

    Why we need this file added here? We already have ErrorResponse and ErrorDetails here which are exactly the same as the things in this file:

    Copy link
    Member

    @ArcturusZhang ArcturusZhang left a comment

    Choose a reason for hiding this comment

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

    Approve since now the PR shows no Go breaking change

    @ruowan ruowan merged commit 37c9b56 into Azure:main Aug 11, 2022
    raktdas pushed a commit that referenced this pull request Aug 11, 2022
    * Adds base for updating Microsoft.LabServices from version preview/2021-11-15-preview to version 2022-08-01
    
    * Updates readme
    
    * Updates API version in new specs and examples
    
    * refactor: update the v2022-08-01 specifications
    
    * Fix prettier issues
    
    * Add missing clouderror.json file
    
    * Add missing xmsidentifier clouderror property
    
    * Add x-ms-identifiers to Skus.json file
    
    * Resolve code style issues in clouderror.json
    
    * Add clouderror to custom-words.txt
    
    * Use ErrorResponse instead of CloudError
    
    * Fix duration format in examples
    
    * Fix duration format in Users examples
    
    * Fix duration format in LabPlans examples
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-Avocado ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-FixRequiredOnFailure resource-manager
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    4 participants