Skip to content

Conversation

@cataggar
Copy link
Member

A prior internal review was completed in https://github.com/Azure/azure-rest-api-specs-pr/pull/5032 .

ARM API Information (Control Plane)

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. By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

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 apply 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
      -[x] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For 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 you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.

NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)

Please follow the link to find more details on PR review process.

@openapi-workflow-bot
Copy link

Hi, @cataggar 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 openapi-workflow-bot bot added ARMReview WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Sep 26, 2022
    @openapi-workflow-bot
    Copy link

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

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Sep 26, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️Breaking Change(Cross-Version): 31 Warnings warning [Detail]
    compared swaggers (via Oad v0.9.7)] new version base version
    vmware.json 2022-05-01(d3342cb) 2021-12-01(main)
    vmware.json 2022-05-01(d3342cb) 2021-01-01-preview(main)

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

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

    Rule Message
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'Datastores_Create' to 'Datastores_CreateOrUpdate'. This will impact generated code.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L1224:7
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L1042:7
    ⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'SUCCESS, FAILURE' from the old version.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6798:9
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4881:9
    ⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'SERVER, RELAY' from the old version.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6903:9
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4953:9
    ⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'INGRESS, EGRESS, BIDIRECTIONAL' from the old version.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L7039:9
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L5082:9
    ⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'SUCCESS, FAILURE' from the old version.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L7060:9
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L5101:9
    ⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'SUCCESS, FAILURE' from the old version.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L7147:9
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L5183:9
    ⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'REGULAR, EDGE, SERVICE' from the old version.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L7227:9
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L5258:9
    ⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'SERVER, RELAY' from the old version.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6903:9
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4953:9
    ⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) 'SERVER, RELAY' from the old version.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6903:9
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4953:9
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'true' to 'false'.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6142:9
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4398:9
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'true' to 'false'.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6142:9
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4398:9
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'true' to 'false'.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6142:9
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4398:9
    ⚠️ 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6219:9
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4472:9
    ⚠️ 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6226:5
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4499:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6219:9
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4472:9
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6226:5
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4499:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6268:5
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4538:5
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'nfsProviderIp' renamed or removed?
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6447:7
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4629:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'nfsFilePath' renamed or removed?
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6447:7
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4629:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'endpoints' renamed or removed?
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6460:7
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4642:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'licenseKey' renamed or removed?
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6230:7
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4506:7
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'id' that was not found in the old version.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6447:7
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4629:7
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'id' that was not found in the old version.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6416:9
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4617:9
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'targetId' that was not found in the old version.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6460:7
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4642:7
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'targetId, lunName' that was not found in the old version.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6420:9
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4621:9
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'addonType' that was not found in the old version.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6219:9
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4472:9
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'addonType' that was not found in the old version.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6226:5
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4499:5
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'addonType' that was not found in the old version.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6277:7
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4540:7
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'addonType' that was not found in the old version.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6268:5
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4538:5
    ⚠️ 1034 - AddedRequiredProperty The new version has new required property 'id' that was not found in the old version.
    New: Microsoft.AVS/stable/2022-05-01/vmware.json#L6444:5
    Old: Microsoft.AVS/preview/2021-01-01-preview/vmware.json#L4627:5
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️LintDiff succeeded [Detail] [Expand]
    Validation passes for LintDiff.
    compared tags (via openapi-validator v1.13.0) new version base version
    package-2022-05-01 package-2022-05-01(d3342cb) default(main)
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️️✔️~[Staging] ServiceAPIReadinessTest succeeded [Detail] [Expand]
    Validation passes for ServiceAPIReadinessTest.

    Tag package-2022-05-01; Prod region: Not deployed; Canary region: Not deployed

    ️️✔️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/d3342cb7369489e3e84ca2964727092ead79491d/specification/vmware/resource-manager/readme.md#tag-package-2022-05-01">vmware/resource-manager/readme.md#package-2022-05-01
    The following errors/warnings are introduced by current PR:
    Rule Message
    ⚠️ UnkownSecurityScheme "readme":"vmware/resource-manager/readme.md",
    "tag":"package-2022-05-01",
    "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.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Sep 26, 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 - sdk/resourcemanager/avs/armavs - Approved - 2.0.0
    +	Struct `CloudError` has been removed
    azure-sdk-for-python-track2 - track2_azure-mgmt-avs - Approved - 7.0.0
    +	Operation LocationsOperations.check_trial_availability has a new parameter sku

    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 9e9c5ab. 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-avs [View full logs]  [Release SDK Changes]
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation Clusters.listZones
      info	[Changelog]   - Added operation WorkloadNetworks.get
      info	[Changelog]   - Added operation WorkloadNetworks.list
      info	[Changelog]   - Added Interface AddonArcProperties
      info	[Changelog]   - Added Interface ClustersListZonesOptionalParams
      info	[Changelog]   - Added Interface ClusterZone
      info	[Changelog]   - Added Interface ClusterZoneList
      info	[Changelog]   - Added Interface WorkloadNetwork
      info	[Changelog]   - Added Interface WorkloadNetworkList
      info	[Changelog]   - Added Interface WorkloadNetworksGetOptionalParams
      info	[Changelog]   - Added Interface WorkloadNetworksListNextOptionalParams
      info	[Changelog]   - Added Interface WorkloadNetworksListOptionalParams
      info	[Changelog]   - Added Type Alias AffinityStrength
      info	[Changelog]   - Added Type Alias AzureHybridBenefitType
      info	[Changelog]   - Added Type Alias ClustersListZonesResponse
      info	[Changelog]   - Added Type Alias NsxPublicIpQuotaRaisedEnum
      info	[Changelog]   - Added Type Alias WorkloadNetworkName
      info	[Changelog]   - Added Type Alias WorkloadNetworksGetResponse
      info	[Changelog]   - Added Type Alias WorkloadNetworksListNextResponse
      info	[Changelog]   - Added Type Alias WorkloadNetworksListResponse
      info	[Changelog]   - Interface EncryptionKeyVaultProperties has a new optional parameter autoDetectedKeyVersion
      info	[Changelog]   - Interface LocationsCheckTrialAvailabilityOptionalParams has a new optional parameter sku
      info	[Changelog]   - Interface PlacementPolicyUpdate has a new optional parameter affinityStrength
      info	[Changelog]   - Interface PlacementPolicyUpdate has a new optional parameter azureHybridBenefitType
      info	[Changelog]   - Interface PrivateCloud has a new optional parameter nsxPublicIpQuotaRaised
      info	[Changelog]   - Interface PrivateCloudProperties has a new optional parameter nsxPublicIpQuotaRaised
      info	[Changelog]   - Interface ScriptPackage has a new optional parameter company
      info	[Changelog]   - Interface ScriptPackage has a new optional parameter uri
      info	[Changelog]   - Interface VmHostPlacementPolicyProperties has a new optional parameter affinityStrength
      info	[Changelog]   - Interface VmHostPlacementPolicyProperties has a new optional parameter azureHybridBenefitType
      info	[Changelog]   - Added Enum KnownAffinityStrength
      info	[Changelog]   - Added Enum KnownAzureHybridBenefitType
      info	[Changelog]   - Added Enum KnownNsxPublicIpQuotaRaisedEnum
      info	[Changelog]   - Added Enum KnownWorkloadNetworkName
      info	[Changelog]   - Enum KnownAddonProvisioningState has a new value Canceled
      info	[Changelog]   - Enum KnownAddonType has a new value Arc
      info	[Changelog]   - Enum KnownClusterProvisioningState has a new value Canceled
      info	[Changelog]   - Enum KnownDatastoreProvisioningState has a new value Canceled
      info	[Changelog]   - Enum KnownExpressRouteAuthorizationProvisioningState has a new value Canceled
      info	[Changelog]   - Enum KnownGlobalReachConnectionProvisioningState has a new value Canceled
      info	[Changelog]   - Enum KnownPlacementPolicyProvisioningState has a new value Canceled
      info	[Changelog]   - Enum KnownPrivateCloudProvisioningState has a new value Canceled
      info	[Changelog]   - Enum KnownScriptExecutionProvisioningState has a new value Canceled
      info	[Changelog]   - Enum KnownWorkloadNetworkDhcpProvisioningState has a new value Canceled
      info	[Changelog]   - Enum KnownWorkloadNetworkDnsServiceProvisioningState has a new value Canceled
      info	[Changelog]   - Enum KnownWorkloadNetworkDnsZoneProvisioningState has a new value Canceled
      info	[Changelog]   - Enum KnownWorkloadNetworkPortMirroringProvisioningState has a new value Canceled
      info	[Changelog]   - Enum KnownWorkloadNetworkPublicIPProvisioningState has a new value Canceled
      info	[Changelog]   - Enum KnownWorkloadNetworkSegmentProvisioningState has a new value Canceled
      info	[Changelog]   - Enum KnownWorkloadNetworkVMGroupProvisioningState has a new value Canceled
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 9e9c5ab. 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]
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 8.15.0 -> 8.19.2
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.19.2>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-avs [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Added operation ClustersOperations.list_zones
      info	[Changelog]   - Added operation WorkloadNetworksOperations.get
      info	[Changelog]   - Added operation WorkloadNetworksOperations.list
      info	[Changelog]   - Model EncryptionKeyVaultProperties has a new parameter auto_detected_key_version
      info	[Changelog]   - Model PlacementPolicyUpdate has a new parameter affinity_strength
      info	[Changelog]   - Model PlacementPolicyUpdate has a new parameter azure_hybrid_benefit_type
      info	[Changelog]   - Model PrivateCloud has a new parameter nsx_public_ip_quota_raised
      info	[Changelog]   - Model PrivateCloudProperties has a new parameter nsx_public_ip_quota_raised
      info	[Changelog]   - Model ScriptPackage has a new parameter company
      info	[Changelog]   - Model ScriptPackage has a new parameter uri
      info	[Changelog]   - Model VmHostPlacementPolicyProperties has a new parameter affinity_strength
      info	[Changelog]   - Model VmHostPlacementPolicyProperties has a new parameter azure_hybrid_benefit_type
      info	[Changelog]
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog]   - Operation LocationsOperations.check_trial_availability has a new parameter sku
    ️❌ azure-sdk-for-net failed [Detail]
    • Failed [Logs]Release - Generate from 9e9c5ab. 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/vmware/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-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 9e9c5ab. 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/avs/armavs [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Struct `CloudError` has been removed
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New const `ExpressRouteAuthorizationProvisioningStateCanceled`
      info	[Changelog] - New const `WorkloadNetworkPortMirroringProvisioningStateCanceled`
      info	[Changelog] - New const `ClusterProvisioningStateCanceled`
      info	[Changelog] - New const `WorkloadNetworkDhcpProvisioningStateCanceled`
      info	[Changelog] - New const `WorkloadNetworkDNSZoneProvisioningStateCanceled`
      info	[Changelog] - New const `WorkloadNetworkVMGroupProvisioningStateCanceled`
      info	[Changelog] - New const `GlobalReachConnectionProvisioningStateCanceled`
      info	[Changelog] - New const `DatastoreProvisioningStateCanceled`
      info	[Changelog] - New const `NsxPublicIPQuotaRaisedEnumEnabled`
      info	[Changelog] - New const `AzureHybridBenefitTypeNone`
      info	[Changelog] - New const `AddonProvisioningStateCanceled`
      info	[Changelog] - New const `WorkloadNetworkNameDefault`
      info	[Changelog] - New const `AzureHybridBenefitTypeSQLHost`
      info	[Changelog] - New const `NsxPublicIPQuotaRaisedEnumDisabled`
      info	[Changelog] - New const `PrivateCloudProvisioningStateCanceled`
      info	[Changelog] - New const `WorkloadNetworkDNSServiceProvisioningStateCanceled`
      info	[Changelog] - New const `AffinityStrengthShould`
      info	[Changelog] - New const `WorkloadNetworkSegmentProvisioningStateCanceled`
      info	[Changelog] - New const `AffinityStrengthMust`
      info	[Changelog] - New const `AddonTypeArc`
      info	[Changelog] - New const `WorkloadNetworkPublicIPProvisioningStateCanceled`
      info	[Changelog] - New const `PlacementPolicyProvisioningStateCanceled`
      info	[Changelog] - New const `ScriptExecutionProvisioningStateCanceled`
      info	[Changelog] - New type alias `WorkloadNetworkName`
      info	[Changelog] - New type alias `AffinityStrength`
      info	[Changelog] - New type alias `NsxPublicIPQuotaRaisedEnum`
      info	[Changelog] - New type alias `AzureHybridBenefitType`
      info	[Changelog] - New function `*ClustersClient.ListZones(context.Context, string, string, string, *ClustersClientListZonesOptions) (ClustersClientListZonesResponse, error)`
      info	[Changelog] - New function `*WorkloadNetworksClient.Get(context.Context, string, string, WorkloadNetworkName, *WorkloadNetworksClientGetOptions) (WorkloadNetworksClientGetResponse, error)`
      info	[Changelog] - New function `PossibleNsxPublicIPQuotaRaisedEnumValues() []NsxPublicIPQuotaRaisedEnum`
      info	[Changelog] - New function `PossibleWorkloadNetworkNameValues() []WorkloadNetworkName`
      info	[Changelog] - New function `PossibleAffinityStrengthValues() []AffinityStrength`
      info	[Changelog] - New function `*WorkloadNetworksClient.NewListPager(string, string, *WorkloadNetworksClientListOptions) *runtime.Pager[WorkloadNetworksClientListResponse]`
      info	[Changelog] - New function `PossibleAzureHybridBenefitTypeValues() []AzureHybridBenefitType`
      info	[Changelog] - New function `*AddonArcProperties.GetAddonProperties() *AddonProperties`
      info	[Changelog] - New struct `AddonArcProperties`
      info	[Changelog] - New struct `ClusterZone`
      info	[Changelog] - New struct `ClusterZoneList`
      info	[Changelog] - New struct `ClustersClientListZonesOptions`
      info	[Changelog] - New struct `ClustersClientListZonesResponse`
      info	[Changelog] - New struct `WorkloadNetwork`
      info	[Changelog] - New struct `WorkloadNetworkList`
      info	[Changelog] - New struct `WorkloadNetworksClientGetOptions`
      info	[Changelog] - New struct `WorkloadNetworksClientGetResponse`
      info	[Changelog] - New struct `WorkloadNetworksClientListOptions`
      info	[Changelog] - New struct `WorkloadNetworksClientListResponse`
      info	[Changelog] - New field `AffinityStrength` in struct `VMHostPlacementPolicyProperties`
      info	[Changelog] - New field `AzureHybridBenefitType` in struct `VMHostPlacementPolicyProperties`
      info	[Changelog] - New field `SKU` in struct `LocationsClientCheckTrialAvailabilityOptions`
      info	[Changelog] - New field `AutoDetectedKeyVersion` in struct `EncryptionKeyVaultProperties`
      info	[Changelog] - New field `NsxPublicIPQuotaRaised` in struct `PrivateCloudProperties`
      info	[Changelog] - New field `AffinityStrength` in struct `PlacementPolicyUpdateProperties`
      info	[Changelog] - New field `AzureHybridBenefitType` in struct `PlacementPolicyUpdateProperties`
      info	[Changelog] - New field `Company` in struct `ScriptPackageProperties`
      info	[Changelog] - New field `URI` in struct `ScriptPackageProperties`
      info	[Changelog]
      info	[Changelog] Total 2 breaking change(s), 63 additive change(s).
    ️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 9e9c5ab. 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
    • ️✔️vmware [View full logs]  [Release Schema Changes]
    ️❌ azure-powershell failed [Detail]
    • Failed [Logs]Release - Generate from 9e9c5ab. 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
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Sep 26, 2022

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/avs/armavs 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-avs 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-avs 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-avs 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 @cataggar, 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.

    @AzureRestAPISpecReview AzureRestAPISpecReview removed the BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required label Oct 1, 2022
    @cataggar cataggar marked this pull request as ready for review October 1, 2022 16:09
    @cataggar
    Copy link
    Member Author

    cataggar commented Oct 1, 2022

    I submitted a Swagger Suppression Request just now.

    @leniatgh leniatgh added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Oct 5, 2022
    @leniatgh
    Copy link
    Contributor

    leniatgh commented Oct 5, 2022

    @mentat9 please review the suppression in readme.md, which is made after ARM sign-off

    @mentat9
    Copy link
    Member

    mentat9 commented Oct 5, 2022

    @mentat9 please review the suppression in readme.md, which is made after ARM sign-off

    @leni-msft - I don't really know these rules or even where they are defined, so I reviewed just using the names. I find PatchSkuProperty, LroPatch202, ArmResourcePropertiesBag, UnSupportedPatchProperties to be suspect from the ARM perspective, but AFAICT, those are all flagging existing APIs, not APIs newly added in this PR. There appear to be many issues with this spec from ARM perspective, but the current review only covers the changes in this PR, not the entire API surface.

    @cataggar
    Copy link
    Member Author

    cataggar commented Oct 6, 2022

    AFAICT, those are all flagging existing APIs, not APIs newly added in this PR. There appear to be many issues with this spec from ARM perspective, but the current review only covers the changes in this PR, not the entire API surface.

    That is correct. These suppressions are for existing APIs, not newly added APIs. Most are documented at:
    https://github.com/Azure/azure-openapi-validator/tree/develop/docs

    @cataggar
    Copy link
    Member Author

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @raosuhas raosuhas removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Oct 10, 2022
    @raosuhas
    Copy link

    Review has already been signed off from ARM. Please remove "ARMSignedOff" and add "WaitForARMFeedback" if you need us to take another look

    @xiaoxuqi-ms
    Copy link
    Member

    @jianyexi @josefree could you help to take a look at the suppression request?

    @cataggar
    Copy link
    Member Author

    @qiaozha, can you merge this now that suppression has been approved?

    @qiaozha qiaozha merged commit 9e9c5ab into Azure:main Oct 12, 2022
    anandanthony pushed a commit to anandMicro/azure-rest-api-specs that referenced this pull request Dec 16, 2022
    * copy 2021-12-01
    
    * replace api-version
    and replace subscription-id in examples
    
    * allow specifying a sku in Locations_CheckTrialAvailability
    
    * add Clusters_ListZones
    
    * add WorkloadNetworks_Get & WorkloadNetworks_List
    
    * Arc Addons
    
    * add readOnly nsxPublicIpQuotaRaised flag to PrivateCloudProperties
    
    * add readonly autoDetectedKeyVersion to EncryptionKeyVaultProperties
    
    * definition of WorkloadNetwork & WorkloadNetworkList
    
    * add affinityStrength and azureHybridBenefitType to VmHostPlacementPolicyProperties
    
    * add affinityStrength and azureHybridBenefitType to PlacementPolicyUpdateProperties
    
    * add definitions for ClusterZone and ClusterZoneList
    
    * add company and uri to ScriptPackageProperties
    
    * add to readme
    
    * add x-ms-identifiers
    
    * suppress ParametersOrder
    
    * fix Azure#20902. add Canceled to all provisioningState
    
    * fix trial spelling
    
    * add workloadNetworkName param to WorkloadNetworks_Get
    
    * use v3/types in new operations
    Clusters_ListZones, WorkloadNetworks_Get, WorkloadNetworks_List
    
    * fix response type for WorkloadNetworks_List
    
    * remove empty property bags
    
    * add workloadNetworkName to WorkloadNetworks_Get example
    
    * use suppressions
    
    * restore AutoRest v2 Suppressions
    
    * fix ConsistentPatchProperties by using PlacePolicy resource directly in PlacementPolicies_Update
    
    * Revert "fix ConsistentPatchProperties by using PlacePolicy resource directly in PlacementPolicies_Update"
    
    This reverts commit b88a2c0.
    
    * suppress ConsistentPatchProperties
    
    * suppress DefinitionsPropertiesNamesCamelCase & ArmResourcePropertiesBag
    
    * suppress DeleteOperationAsyncResponseValidation
    
    * add 202 responses to PrivateClouds_Update & Clusters_Update
    
    * just warnings
    
    * suppress PatchSkuProperty
    
    * Revert "add 202 responses to PrivateClouds_Update & Clusters_Update"
    
    This reverts commit 9d6abb1.
    
    * suppress LroPatch202
    
    * suppress UnSupportedPatchProperties `name` & `type`
    
    * suppress XmsLongRunningOperationOptions
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Labels

    Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go Approved-SdkBreakingChange-JavaScript Approved-SdkBreakingChange-Python Approved-Suppression ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-Go CI-BreakingChange-JavaScript CI-FixRequiredOnFailure ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test resource-manager

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    10 participants