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

{HDInsight}Fix some roundtrip S360 issues in api version 2015-03-01-preview #13342

Merged
merged 19 commits into from
Mar 10, 2021

Conversation

aim-for-better
Copy link
Member

@aim-for-better aim-for-better commented Mar 9, 2021

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

Changelog

Please ensure to add changelog with this PR by answering the following questions.

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

Contribution checklist:

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

  • Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

    • Adding new API(s)
    • Adding a new API version
    • Adding a new service
  • Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

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

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

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

@openapi-workflow-bot
Copy link

Hi, @aim-for-better 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. vsswagger@microsoft.com

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Mar 9, 2021

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.

    ️️✔️LintDiff succeeded [Detail] [Expand]
    Validation passes for LintDiff.

    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️[Staging] Cross Version BreakingChange (Base on preview version) succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️[Staging] Cross Version BreakingChange (Base on stable version) succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️❌[Staging] SDK Track2 Validation: 2 Errors, 75 Warnings failed [Detail] Only 10 items are listed, please refer to log for more details.

    Rule Message
    PreCheck/DuplicateSchema "readme":"hdinsight/resource-manager/readme.md",
    "tag":"package-2015-03-preview",
    "details":"Duplicate Schema named ClusterListRuntimeScriptActionDetailResult -- properties.value.description: undefined => "The list of persisted script action details for the cluster." ; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    AutorestCore/Exception "readme":"hdinsight/resource-manager/readme.md",
    "tag":"package-2015-03-preview",
    "details":"Error: Plugin prechecker reported failure."
    ⚠️ PreCheck/SchemaMissingType "readme":"hdinsight/resource-manager/readme.md",
    "tag":"package-2015-03-preview",
    "details":"The schema 'ClusterDefinition' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'"
    ⚠️ PreCheck/SchemaMissingType "readme":"hdinsight/resource-manager/readme.md",
    "tag":"package-2015-03-preview",
    "details":"The schema 'ClientGroupInfo' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'"
    ⚠️ PreCheck/SchemaMissingType "readme":"hdinsight/resource-manager/readme.md",
    "tag":"package-2015-03-preview",
    "details":"The schema 'KafkaRestProperties' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'"
    ⚠️ PreCheck/SchemaMissingType "readme":"hdinsight/resource-manager/readme.md",
    "tag":"package-2015-03-preview",
    "details":"The schema 'SecurityProfile' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'"
    ⚠️ PreCheck/SchemaMissingType "readme":"hdinsight/resource-manager/readme.md",
    "tag":"package-2015-03-preview",
    "details":"The schema 'AutoscaleTimeAndCapacity' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'"
    ⚠️ PreCheck/SchemaMissingType "readme":"hdinsight/resource-manager/readme.md",
    "tag":"package-2015-03-preview",
    "details":"The schema 'AutoscaleSchedule' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'"
    ⚠️ PreCheck/SchemaMissingType "readme":"hdinsight/resource-manager/readme.md",
    "tag":"package-2015-03-preview",
    "details":"The schema 'AutoscaleCapacity' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'"
    ⚠️ PreCheck/SchemaMissingType "readme":"hdinsight/resource-manager/readme.md",
    "tag":"package-2015-03-preview",
    "details":"The schema 'AutoscaleRecurrence' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'"
    ️️✔️[Staging] PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️[Staging] SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Mar 9, 2021

    Swagger Generation Artifacts

    ️❌ azure-sdk-for-net failed [Detail]
    • Failed [Logs]Release - Generate from 4b6316b. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-5.0
      command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/hdinsight/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
    • Microsoft.Azure.Management.HDInsight [View full logs]  [Release SDK Changes]
      cmdout	[msbuild] /home/vsts/work/1/s/azure-sdk-for-net/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/ScenarioTests/LocationOperationTests.cs(44,47): error CS1061: 'CapabilitiesResult' does not contain a definition for 'VmSizeFilters' and no accessible extension method 'VmSizeFilters' accepting a first argument of type 'CapabilitiesResult' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/Microsoft.Azure.Management.HDInsight.Tests.csproj]
      cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/ScenarioTests/LocationOperationTests.cs(45,47): error CS1061: 'CapabilitiesResult' does not contain a definition for 'VmSizes' and no accessible extension method 'VmSizes' accepting a first argument of type 'CapabilitiesResult' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/Microsoft.Azure.Management.HDInsight.Tests.csproj]
      cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/ScenarioTests/LocationOperationTests.cs(67,55): error CS1061: 'CapabilitiesResult' does not contain a definition for 'VmSizeFilters' and no accessible extension method 'VmSizeFilters' accepting a first argument of type 'CapabilitiesResult' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/Microsoft.Azure.Management.HDInsight.Tests.csproj]
      cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/ScenarioTests/LocationOperationTests.cs(72,57): error CS1061: 'CapabilitiesResult' does not contain a definition for 'VmSizes' and no accessible extension method 'VmSizes' accepting a first argument of type 'CapabilitiesResult' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/Microsoft.Azure.Management.HDInsight.Tests.csproj]
      cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/ScenarioTests/LocationOperationTests.cs(74,51): error CS1061: 'CapabilitiesResult' does not contain a definition for 'VmSizes' and no accessible extension method 'VmSizes' accepting a first argument of type 'CapabilitiesResult' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/Microsoft.Azure.Management.HDInsight.Tests.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/ScenarioTests/LocationOperationTests.cs(44,47): error CS1061: 'CapabilitiesResult' does not contain a definition for 'VmSizeFilters' and no accessible extension method 'VmSizeFilters' accepting a first argument of type 'CapabilitiesResult' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/Microsoft.Azure.Management.HDInsight.Tests.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/ScenarioTests/LocationOperationTests.cs(45,47): error CS1061: 'CapabilitiesResult' does not contain a definition for 'VmSizes' and no accessible extension method 'VmSizes' accepting a first argument of type 'CapabilitiesResult' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/Microsoft.Azure.Management.HDInsight.Tests.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/ScenarioTests/LocationOperationTests.cs(67,55): error CS1061: 'CapabilitiesResult' does not contain a definition for 'VmSizeFilters' and no accessible extension method 'VmSizeFilters' accepting a first argument of type 'CapabilitiesResult' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/Microsoft.Azure.Management.HDInsight.Tests.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/ScenarioTests/LocationOperationTests.cs(72,57): error CS1061: 'CapabilitiesResult' does not contain a definition for 'VmSizes' and no accessible extension method 'VmSizes' accepting a first argument of type 'CapabilitiesResult' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/Microsoft.Azure.Management.HDInsight.Tests.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/ScenarioTests/LocationOperationTests.cs(74,51): error CS1061: 'CapabilitiesResult' does not contain a definition for 'VmSizes' and no accessible extension method 'VmSizes' accepting a first argument of type 'CapabilitiesResult' could be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/Microsoft.Azure.Management.HDInsight.Tests.csproj]
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-net]: dotnet
    ️⚠️ azure-sdk-for-python warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 4b6316b. 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
    • ️✔️azure-mgmt-hdinsight [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Model ApplicationGetHttpsEndpoint has a new parameter private_ip_address
      info	[Changelog]   - Model Role has a new parameter vm_group_name
      info	[Changelog]   - Model StorageAccount has a new parameter saskey
      info	[Changelog]   - Model StorageAccount has a new parameter fileshare
      info	[Changelog]   - Model VmSizeCompatibilityFilter has a new parameter vm_sizes
      info	[Changelog]   - Model VmSizeCompatibilityFilter has a new parameter compute_isolation_supported
      info	[Changelog]   - Model VmSizeCompatibilityFilter has a new parameter esp_applied
      info	[Changelog]   - Model VmSizeCompatibilityFilter has a new parameter os_type
      info	[Changelog]   - Model KafkaRestProperties has a new parameter configuration_override
      info	[Changelog]   - Model CapabilitiesResult has a new parameter vmsizes
      info	[Changelog]   - Model CapabilitiesResult has a new parameter vmsize_filters
      info	[Changelog]   - Added operation LocationsOperations.check_name_availability
      info	[Changelog]   - Added operation LocationsOperations.get_azure_async_operation_status
      info	[Changelog]   - Added operation LocationsOperations.validate_cluster_create_request
      info	[Changelog]   - Added operation ClustersOperations.update_identity_certificate
      info	[Changelog]   - Added operation ClustersOperations.get_azure_async_operation_status
      info	[Changelog]   - Added operation VirtualMachinesOperations.get_async_operation_status
      info	[Changelog]   - Added operation ExtensionsOperations.get_azure_async_operation_status
      info	[Changelog]   - Added operation ScriptActionsOperations.get_execution_async_operation_status
      info	[Changelog]   - Added operation ApplicationsOperations.get_azure_async_operation_status
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Model VmSizeCompatibilityFilter no longer has parameter vmsizes
      info	[Changelog]   - Model CapabilitiesResult no longer has parameter vm_size_filters
      info	[Changelog]   - Model CapabilitiesResult no longer has parameter vm_sizes
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 4b6316b. SDK Automation 14.0.0
      command	sh ./initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	go run ./tools/generator/main.go ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️hdinsight/mgmt/2018-06-01/hdinsight [View full logs]  [Release SDK Changes] Breaking Change Detected
      Only show 60 items here, please refer to log for details.
      info	[Changelog] - New function `LocationsClient.CheckNameAvailabilitySender(*http.Request) (*http.Response, error)`
      info	[Changelog] - New function `ExtensionsClient.GetAzureAsyncOperationStatus(context.Context, string, string, string, string) (AsyncOperationResult, error)`
      info	[Changelog] - New function `VirtualMachinesClient.GetAsyncOperationStatusPreparer(context.Context, string, string, string) (*http.Request, error)`
      info	[Changelog] - New function `LocationsClient.CheckNameAvailability(context.Context, string, NameAvailabilityCheckRequestParameters) (NameAvailabilityCheckResult, error)`
      info	[Changelog] - New function `LocationsClient.ValidateClusterCreateRequestResponder(*http.Response) (ClusterCreateValidationResult, error)`
      info	[Changelog] - New function `ApplicationGetHTTPSEndpoint.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `LocationsClient.GetAzureAsyncOperationStatusSender(*http.Request) (*http.Response, error)`
      info	[Changelog] - New function `VirtualMachinesClient.GetAsyncOperationStatusResponder(*http.Response) (AsyncOperationResult, error)`
      info	[Changelog] - New function `ClustersClient.UpdateIdentityCertificateResponder(*http.Response) (autorest.Response, error)`
      info	[Changelog] - New function `KafkaRestProperties.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `LocationsClient.CheckNameAvailabilityResponder(*http.Response) (NameAvailabilityCheckResult, error)`
      info	[Changelog] - New function `ExtensionsClient.GetAzureAsyncOperationStatusPreparer(context.Context, string, string, string, string) (*http.Request, error)`
      info	[Changelog] - New function `ExtensionsClient.GetAzureAsyncOperationStatusResponder(*http.Response) (AsyncOperationResult, error)`
      info	[Changelog] - New function `NameAvailabilityCheckResult.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `ScriptActionsClient.GetExecutionAsyncOperationStatusSender(*http.Request) (*http.Response, error)`
      info	[Changelog] - New function `ClustersClient.UpdateIdentityCertificateSender(*http.Request) (ClustersUpdateIdentityCertificateFuture, error)`
      info	[Changelog] - New function `ClusterCreateRequestValidationParameters.MarshalJSON() ([]byte, error)`
      info	[Changelog] - New function `ClustersClient.GetAzureAsyncOperationStatusResponder(*http.Response) (AsyncOperationResult, error)`
      info	[Changelog] - New function `ExtensionsClient.GetAzureAsyncOperationStatusSender(*http.Request) (*http.Response, error)`
      info	[Changelog] - New function `LocationsClient.ValidateClusterCreateRequestSender(*http.Request) (*http.Response, error)`
      info	[Changelog] - New function `ScriptActionsClient.GetExecutionAsyncOperationStatusResponder(*http.Response) (AsyncOperationResult, error)`
      info	[Changelog] - New function `VirtualMachinesClient.GetAsyncOperationStatus(context.Context, string, string, string) (AsyncOperationResult, error)`
      info	[Changelog] - New function `ClustersClient.GetAzureAsyncOperationStatus(context.Context, string, string, string) (AsyncOperationResult, error)`
      info	[Changelog] - New function `ClustersClient.UpdateIdentityCertificate(context.Context, string, string, UpdateClusterIdentityCertificateParameters) (ClustersUpdateIdentityCertificateFuture, error)`
      info	[Changelog] - New function `ClustersClient.UpdateIdentityCertificatePreparer(context.Context, string, string, UpdateClusterIdentityCertificateParameters) (*http.Request, error)`
      info	[Changelog] - New function `LocationsClient.ValidateClusterCreateRequestPreparer(context.Context, string, ClusterCreateRequestValidationParameters) (*http.Request, error)`
      info	[Changelog] - New function `VirtualMachinesClient.GetAsyncOperationStatusSender(*http.Request) (*http.Response, error)`
      info	[Changelog] - New function `ApplicationsClient.GetAzureAsyncOperationStatusResponder(*http.Response) (AsyncOperationResult, error)`
      info	[Changelog] - New function `ScriptActionsClient.GetExecutionAsyncOperationStatusPreparer(context.Context, string, string, string) (*http.Request, error)`
      info	[Changelog] - New function `ApplicationsClient.GetAzureAsyncOperationStatusPreparer(context.Context, string, string, string, string) (*http.Request, error)`
      info	[Changelog] - New function `LocationsClient.GetAzureAsyncOperationStatusPreparer(context.Context, string, string) (*http.Request, error)`
      info	[Changelog] - New function `ClustersClient.GetAzureAsyncOperationStatusSender(*http.Request) (*http.Response, error)`
      info	[Changelog] - New function `LocationsClient.CheckNameAvailabilityPreparer(context.Context, string, NameAvailabilityCheckRequestParameters) (*http.Request, error)`
      info	[Changelog] - New function `ClustersClient.GetAzureAsyncOperationStatusPreparer(context.Context, string, string, string) (*http.Request, error)`
      info	[Changelog] - New function `LocationsClient.ValidateClusterCreateRequest(context.Context, string, ClusterCreateRequestValidationParameters) (ClusterCreateValidationResult, error)`
      info	[Changelog] - New function `LocationsClient.GetAzureAsyncOperationStatus(context.Context, string, string) (AsyncOperationResult, error)`
      info	[Changelog] - New function `LocationsClient.GetAzureAsyncOperationStatusResponder(*http.Response) (AsyncOperationResult, error)`
      info	[Changelog] - New struct `AaddsResourceDetails`
      info	[Changelog] - New struct `AsyncOperationResult`
      info	[Changelog] - New struct `ClusterCreateRequestValidationParameters`
      info	[Changelog] - New struct `ClusterCreateValidationResult`
      info	[Changelog] - New struct `ClustersUpdateIdentityCertificateFuture`
      info	[Changelog] - New struct `NameAvailabilityCheckRequestParameters`
      info	[Changelog] - New struct `NameAvailabilityCheckResult`
      info	[Changelog] - New struct `UpdateClusterIdentityCertificateParameters`
      info	[Changelog] - New struct `ValidationErrorInfo`
      info	[Changelog] - New field `PrivateIPAddress` in struct `ApplicationGetHTTPSEndpoint`
      info	[Changelog] - New field `Vmsizes` in struct `CapabilitiesResult`
      info	[Changelog] - New field `VmsizeFilters` in struct `CapabilitiesResult`
      info	[Changelog] - New field `ComputeIsolationSupported` in struct `VMSizeCompatibilityFilter`
      info	[Changelog] - New field `OsType` in struct `VMSizeCompatibilityFilter`
      info	[Changelog] - New field `VMSizes` in struct `VMSizeCompatibilityFilter`
      info	[Changelog] - New field `ESPApplied` in struct `VMSizeCompatibilityFilter`
      info	[Changelog] - New field `VMGroupName` in struct `Role`
      info	[Changelog] - New field `Saskey` in struct `StorageAccount`
      info	[Changelog] - New field `Fileshare` in struct `StorageAccount`
      info	[Changelog] - New field `ConfigurationOverride` in struct `KafkaRestProperties`
      info	[Changelog]
      info	[Changelog] Total 9 breaking change(s), 64 additive change(s).
      info	[Changelog]
    • ️✔️preview/hdinsight/mgmt/2015-03-01-preview/hdinsight [View full logs]  [Release SDK Changes] Breaking Change Detected
      Only show 60 items here, please refer to log for details.
      info	[Changelog] - New function `NewExtensionsClientWithBaseURI(string, string) ExtensionsClient`
      info	[Changelog] - New function `VirtualMachinesClient.RestartHostsResponder(*http.Response) (autorest.Response, error)`
      info	[Changelog] - New function `NewVirtualMachinesClient(string) VirtualMachinesClient`
      info	[Changelog] - New function `ClustersClient.GetAzureAsyncOperationStatusPreparer(context.Context, string, string, string) (*http.Request, error)`
      info	[Changelog] - New function `ClustersClient.UpdateIdentityCertificateSender(*http.Request) (ClustersUpdateIdentityCertificateFuture, error)`
      info	[Changelog] - New function `VirtualMachinesClient.GetAsyncOperationStatusResponder(*http.Response) (AsyncOperationResult, error)`
      info	[Changelog] - New function `NewVirtualMachinesClientWithBaseURI(string, string) VirtualMachinesClient`
      info	[Changelog] - New function `NewExtensionsClient(string) ExtensionsClient`
      info	[Changelog] - New function `LocationsClient.CheckNameAvailability(context.Context, string, NameAvailabilityCheckRequestParameters) (NameAvailabilityCheckResult, error)`
      info	[Changelog] - New function `LocationsClient.GetAzureAsyncOperationStatus(context.Context, string, string) (AsyncOperationResult, error)`
      info	[Changelog] - New struct `AaddsResourceDetails`
      info	[Changelog] - New struct `AsyncOperationResult`
      info	[Changelog] - New struct `ClusterCreateRequestValidationParameters`
      info	[Changelog] - New struct `ClusterCreateValidationResult`
      info	[Changelog] - New struct `ClustersUpdateIdentityCertificateFuture`
      info	[Changelog] - New struct `ComputeIsolationProperties`
      info	[Changelog] - New struct `Dimension`
      info	[Changelog] - New struct `ExcludedServicesConfig`
      info	[Changelog] - New struct `ExtensionCreateFuture`
      info	[Changelog] - New struct `ExtensionDeleteFuture`
      info	[Changelog] - New struct `ExtensionsClient`
      info	[Changelog] - New struct `HostInfo`
      info	[Changelog] - New struct `ListHostInfo`
      info	[Changelog] - New struct `MetricSpecifications`
      info	[Changelog] - New struct `NameAvailabilityCheckRequestParameters`
      info	[Changelog] - New struct `NameAvailabilityCheckResult`
      info	[Changelog] - New struct `OperationProperties`
      info	[Changelog] - New struct `ServiceSpecification`
      info	[Changelog] - New struct `UpdateClusterIdentityCertificateParameters`
      info	[Changelog] - New struct `VMSizeProperty`
      info	[Changelog] - New struct `ValidationErrorInfo`
      info	[Changelog] - New struct `VirtualMachinesClient`
      info	[Changelog] - New struct `VirtualMachinesRestartHostsFuture`
      info	[Changelog] - New field `Vmsizes` in struct `CapabilitiesResult`
      info	[Changelog] - New field `VmsizeFilters` in struct `CapabilitiesResult`
      info	[Changelog] - New field `Description` in struct `OperationDisplay`
      info	[Changelog] - New field `PrivateIPAddress` in struct `ConnectivityEndpoint`
      info	[Changelog] - New field `Properties` in struct `Operation`
      info	[Changelog] - New field `ConfigurationOverride` in struct `KafkaRestProperties`
      info	[Changelog] - New field `Fileshare` in struct `StorageAccount`
      info	[Changelog] - New field `Saskey` in struct `StorageAccount`
      info	[Changelog] - New field `PrivateIPAddress` in struct `ApplicationGetHTTPSEndpoint`
      info	[Changelog] - New field `PrivateIPAddress` in struct `ApplicationGetEndpoint`
      info	[Changelog] - New field `ExcludedServicesConfig` in struct `ClusterGetProperties`
      info	[Changelog] - New field `ClusterHdpVersion` in struct `ClusterGetProperties`
      info	[Changelog] - New field `StorageProfile` in struct `ClusterGetProperties`
      info	[Changelog] - New field `ComputeIsolationProperties` in struct `ClusterGetProperties`
      info	[Changelog] - New field `VMSizeProperties` in struct `BillingResponseListResult`
      info	[Changelog] - New field `VMSizesWithEncryptionAtHost` in struct `BillingResponseListResult`
      info	[Changelog] - New field `TenantID` in struct `ClusterIdentityUserAssignedIdentitiesValue`
      info	[Changelog] - New field `VMGroupName` in struct `Role`
      info	[Changelog] - New field `EncryptDataDisks` in struct `Role`
      info	[Changelog] - New field `ComputeIsolationProperties` in struct `ClusterCreateProperties`
      info	[Changelog] - New field `ESPApplied` in struct `VMSizeCompatibilityFilter`
      info	[Changelog] - New field `ComputeIsolationSupported` in struct `VMSizeCompatibilityFilter`
      info	[Changelog] - New field `VMSizes` in struct `VMSizeCompatibilityFilter`
      info	[Changelog] - New field `OsType` in struct `VMSizeCompatibilityFilter`
      info	[Changelog]
      info	[Changelog] Total 13 breaking change(s), 116 additive change(s).
      info	[Changelog]
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 4b6316b. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
      cmderr	[generate.py] 2021-03-10 10:34:46 INFO [VERSION][Found] current version "com.azure.resourcemanager:azure-resourcemanager-hdinsight;1.0.0-beta.1;1.0.0-beta.2"
      cmderr	[generate.py] 2021-03-10 10:34:46 INFO [VERSION][Not Found] cannot find stable version, current version "1.0.0-beta.2"
      cmderr	[generate.py] 2021-03-10 10:34:46 INFO autorest --version=3.1.0 --use=@autorest/java@4.0.19 --java.azure-libraries-for-java-folder=/home/vsts/work/1/s/azure-sdk-for-java --java.output-folder=/home/vsts/work/1/s/azure-sdk-for-java/sdk/hdinsight/azure-resourcemanager-hdinsight --java.namespace=com.azure.resourcemanager.hdinsight   --java --pipeline.modelerfour.additional-checks=false --pipeline.modelerfour.lenient-model-deduplication=true --azure-arm --verbose --sdk-integration --fluent=lite --java.fluent=lite --java.license-header=MICROSOFT_MIT_SMALL ../azure-rest-api-specs/specification/hdinsight/resource-manager/readme.md
      cmderr	[generate.py] 2021-03-10 10:35:37 INFO [CI][Skip] ci.yml already has module azure-resourcemanager-hdinsight
      cmderr	[generate.py] 2021-03-10 10:35:37 INFO [POM][Process] dealing with pom.xml
      cmderr	[generate.py] 2021-03-10 10:35:37 INFO [POM][Skip] pom already has module azure-resourcemanager-hdinsight
      cmderr	[generate.py] 2021-03-10 10:35:37 INFO [POM][Success] Write to pom.xml
      cmderr	[generate.py] 2021-03-10 10:35:37 INFO [POM][Process] dealing with root pom
      cmderr	[generate.py] 2021-03-10 10:35:37 INFO [POM][Skip] pom already has module sdk/hdinsight
      cmderr	[generate.py] 2021-03-10 10:35:37 INFO [POM][Success] Write to root pom
    • ️✔️azure-resourcemanager-hdinsight [View full logs]  [Release SDK Changes]
      cmderr	[Inst] 2021-03-10 10:38:56 DEBUG Got artifact_id: azure-resourcemanager-hdinsight
      cmderr	[Inst] 2021-03-10 10:38:56 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2021-03-10 10:38:56 DEBUG Got artifact: azure-resourcemanager-hdinsight-1.0.0-beta.2-javadoc.jar
      cmderr	[Inst] 2021-03-10 10:38:56 DEBUG Got artifact: azure-resourcemanager-hdinsight-1.0.0-beta.2-sources.jar
      cmderr	[Inst] 2021-03-10 10:38:56 DEBUG Got artifact: azure-resourcemanager-hdinsight-1.0.0-beta.2.jar
      cmderr	[Inst] 2021-03-10 10:38:56 DEBUG Match jar package: azure-resourcemanager-hdinsight-1.0.0-beta.2.jar
      cmderr	[Inst] 2021-03-10 10:38:56 DEBUG output: {"full": "```sh\ncurl -L \"https://portal.azure-devex-tools.com/api/sdk-dl-pub?p=Azure/13342/azure-sdk-for-java/azure-resourcemanager-hdinsight/azure-resourcemanager-hdinsight-1.0.0-beta.2.jar\" -o azure-resourcemanager-hdinsight-1.0.0-beta.2.jar\nmvn install:install-file -DgroupId=com.azure.resourcemanager -DartifactId=azure-resourcemanager-hdinsight -Dversion=1.0.0-beta.0 -Dfile=azure-resourcemanager-hdinsight-1.0.0-beta.2.jar -Dpackaging=jar -DgeneratePom=true
      ```"}
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 4b6316b. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.typescript@4.4.4 --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/hdinsight/resource-manager/readme.md
    • ️✔️@azure/arm-hdinsight [View full logs]  [Release SDK Changes]
      cmderr	[npmPack] loaded rollup.config.js with warnings
      cmderr	[npmPack] (!) Unused external imports
      cmderr	[npmPack] default imported from external module 'rollup' but never used
      cmderr	[npmPack] ./esm/hDInsightManagementClient.js → ./dist/arm-hdinsight.js...
      cmderr	[npmPack] created ./dist/arm-hdinsight.js in 542ms
    ️️✔️ azure-resource-manager-schemas succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 4b6316b. Schema Automation 14.0.0
      warn	Skip initScript due to not configured
      command	npx n 12
      command	autorest --use=@autorest/azureresourceschema@3.0.92 --version=3.0.6374 --azureresourceschema --multiapi --title=none --pass-thru:subset-reducer --azureresourceschema-folder=/home/vsts/work/1/s/azure-resource-manager-schemas/azure-resource-manager-schemas ../../azure-rest-api-specs/specification/hdinsight/resource-manager/readme.md
      cmdout	[Autorest] WARNING: Found duplicate definition for type Microsoft.HDInsight/clusters/extensions in scope ResourceGroup
      cmdout	[Autorest] WARNING: Found duplicate definition for type Microsoft.HDInsight/clusters/extensions in scope ResourceGroup
    • ️✔️hdinsight [View full logs]  [Release Schema Changes]
      cmderr	[resource-manager] node-pre-gyp
      cmderr	[resource-manager] WARN
      cmderr	[resource-manager] Using request for node-pre-gyp https download
      cmderr	[resource-manager]  WARN template-schema-validation-tools@1.0.0 No repository field.
      cmderr	[resource-manager] WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
      cmderr	[resource-manager] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
    ️🔄[Staging] ApiDocPreview inProgress [Detail]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    Hi @aim-for-better, 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.

    @aim-for-better
    Copy link
    Member Author

    Hi @leni-msft Could you please help review this PR? This PR is in order to fix some S360 issues but there is not breaking change. Thank you very much~

    @leni-msft leni-msft merged commit 4b6316b into Azure:master Mar 10, 2021
    MirzaSikander pushed a commit to MirzaSikander/azure-rest-api-specs that referenced this pull request Mar 22, 2021
    …review (Azure#13342)
    
    * Add networkProperties and clusterId
    
    * Fixed round trip errors
    
    * remove default value because it is breaking change
    
    Co-authored-by: Zhenyu Zhou <zhezhou@microsoft.com>
    mkarmark pushed a commit to mkarmark/azure-rest-api-specs that referenced this pull request Jul 21, 2021
    …review (Azure#13342)
    
    * Add networkProperties and clusterId
    
    * Fixed round trip errors
    
    * remove default value because it is breaking change
    
    Co-authored-by: Zhenyu Zhou <zhezhou@microsoft.com>
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    2 participants