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

[python]track2 config for some services #15007

Merged
merged 2 commits into from
Jun 29, 2021

Conversation

msyyc
Copy link
Member

@msyyc msyyc commented Jun 28, 2021

azure-mgmt-consumption
azure-mgmt-advisor
azure-mgmt-reservations
azure-mgmt-commerce
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Changelog

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

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

Contribution checklist:

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

ARM API Review Checklist

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

    • Adding new API(s)
    • Adding a new API version
    • Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.
    • Adding a new service
  • Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

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

Breaking Change Review Checklist

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

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

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

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

@msyyc msyyc self-assigned this Jun 28, 2021
@openapi-workflow-bot
Copy link

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

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

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

    @openapi-workflow-bot
    Copy link

    [Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 28, 2021

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️LintDiff succeeded [Detail] [Expand]
    Validation passes for LintDiff.
    ️⚠️Avocado: 1 Warnings warning [Detail]
    Rule Message
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/reservations/resource-manager/readme.md
    tag: specification/reservations/resource-manager/readme.md#tag-package-2020-10-25
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️Cross-Version Breaking Changes succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️[Staging] SDK Track2 Validation succeeded [Detail] [Expand]
    Validation passes for SDKTrack2Validation
    ️️✔️[Staging] PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️[Staging] SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️[Staging] Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 28, 2021

    Swagger Generation Artifacts

    ️️✔️[Staging] ApiDocPreview succeeded [Detail] [Expand]
    ️❌[Staging] SDK Breaking Change Tracking failed [Detail]

    Breaking Changes Tracking

    ️✔️azure-sdk-for-python-track2 - track2_azure-mgmt-advisor - 9.0.0
    ️✔️azure-sdk-for-python-track2 - track2_azure-mgmt-commerce - 6.0.0
    azure-sdk-for-python-track2 - track2_azure-mgmt-consumption - 8.0.0
    ️✔️azure-sdk-for-python-track2 - track2_azure-mgmt-reservations - 1.0.0
    azure-sdk-for-go - advisor/mgmt/2020-01-01/advisor - v55.4.0
    +	Function `RecommendationMetadataClient.GetResponder` return value(s) have been changed from `(SetObject, error)` to `(MetadataEntity, error)`
    +	Function `RecommendationMetadataClient.Get` return value(s) have been changed from `(SetObject, error)` to `(MetadataEntity, error)`
    +	Function `SuppressionsClient.GetResponder` return value(s) have been changed from `(SetObject, error)` to `(SuppressionContract, error)`
    +	Function `SuppressionsClient.Get` return value(s) have been changed from `(SetObject, error)` to `(SuppressionContract, error)`
    +	Struct `SetObject` has been removed
    ️✔️azure-sdk-for-go - advisor/mgmt/2017-04-19/advisor - v55.4.0
    ️✔️azure-sdk-for-go - advisor/mgmt/2017-03-31/advisor - v55.4.0
    ️✔️azure-sdk-for-go - preview/advisor/mgmt/2016-07-12-preview/advisor - v55.4.0
    ️✔️azure-sdk-for-go - preview/commerce/mgmt/2015-06-01-preview/commerce - v55.4.0
    azure-sdk-for-go - consumption/mgmt/2019-10-01/consumption - v55.4.0
    +	Const `Scope9Shared` has been removed
    +	Const `Scope9Single` has been removed
    +	Const `Shared` type has been changed from `Scope11` to `Scope12`
    +	Const `Single` type has been changed from `Scope11` to `Scope12`
    +	Function `CreditsClient.GetPreparer` parameter(s) have been changed from `(context.Context, string, string)` to `(context.Context, string)`
    +	Function `CreditsClient.Get` parameter(s) have been changed from `(context.Context, string, string)` to `(context.Context, string)`
    +	Function `EventsClient.ListComplete` parameter(s) have been changed from `(context.Context, string, string, string, string)` to `(context.Context, string, string, string)`
    +	Function `EventsClient.ListPreparer` parameter(s) have been changed from `(context.Context, string, string, string, string)` to `(context.Context, string, string, string)`
    +	Function `EventsClient.List` parameter(s) have been changed from `(context.Context, string, string, string, string)` to `(context.Context, string, string, string)`
    +	Function `LotsClient.ListComplete` parameter(s) have been changed from `(context.Context, string, string)` to `(context.Context, string)`
    +	Function `LotsClient.ListPreparer` parameter(s) have been changed from `(context.Context, string, string)` to `(context.Context, string)`
    +	Function `LotsClient.List` parameter(s) have been changed from `(context.Context, string, string)` to `(context.Context, string)`
    +	Function `PossibleScope11Values` has been removed
    +	Function `PossibleScope9Values` has been removed
    +	Function `ReservationRecommendationDetailsClient.GetPreparer` parameter(s) have been changed from `(context.Context, string, Scope11, string, Term, LookBackPeriod, string)` to `(context.Context, string, Scope14, string, Term, LookBackPeriod, string)`
    +	Function `ReservationRecommendationDetailsClient.Get` parameter(s) have been changed from `(context.Context, string, Scope11, string, Term, LookBackPeriod, string)` to `(context.Context, string, Scope14, string, Term, LookBackPeriod, string)`
    +	Type of `LegacyReservationRecommendationProperties.InstanceFlexibilityRatio` has been changed from `*int32` to `*float64`
    +	Type of `ModernReservationRecommendationProperties.InstanceFlexibilityRatio` has been changed from `*int32` to `*float64`
    +	Type of `ModernReservationRecommendationProperties.LookBackPeriod` has been changed from `*string` to `*int32`
    +	Type of `ModernUsageDetailProperties.MeterID` has been changed from `*uuid.UUID` to `*string`
    ️✔️azure-sdk-for-go - consumption/mgmt/2019-01-01/consumption - v55.4.0
    ️✔️azure-sdk-for-go - consumption/mgmt/2018-10-01/consumption - v55.4.0
    ️✔️azure-sdk-for-go - consumption/mgmt/2018-08-31/consumption - v55.4.0
    ️✔️azure-sdk-for-go - consumption/mgmt/2018-06-30/consumption - v55.4.0
    ️✔️azure-sdk-for-go - consumption/mgmt/2018-05-31/consumption - v55.4.0
    ️✔️azure-sdk-for-go - consumption/mgmt/2018-03-31/consumption - v55.4.0
    ️✔️azure-sdk-for-go - consumption/mgmt/2018-01-31/consumption - v55.4.0
    ️✔️azure-sdk-for-go - consumption/mgmt/2017-11-30/consumption - v55.4.0
    ️✔️azure-sdk-for-go - preview/consumption/mgmt/2017-12-30-preview/consumption - v55.4.0
    ️✔️azure-sdk-for-go - preview/consumption/mgmt/2017-04-24-preview/consumption - v55.4.0
    ️✔️azure-sdk-for-go - reservations/mgmt/2017-11-01/reservations - v55.4.0
    ️✔️azure-sdk-for-go - preview/reservations/mgmt/2020-10-25/reservations - v55.4.0
    ️✔️azure-sdk-for-go - preview/reservations/mgmt/2019-07-19-preview/reservations - v55.4.0
    ️✔️azure-sdk-for-go - preview/reservations/mgmt/2019-04-01/reservations - v55.4.0
    ️✔️azure-sdk-for-go - preview/reservations/mgmt/2018-06-01/reservations - v55.4.0
    ️❌ azure-sdk-for-net failed [Detail]
    • Failed [Logs]Release - Generate from 0abc049. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-5.0
      warn		specification/commerce/resource-manager/readme.md skipped due to azure-sdk-for-net not found in swagger-to-sdk
      command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION [email protected]/[email protected] --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/advisor/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
      command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION [email protected]/[email protected] --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/consumption/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
      command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION [email protected]/[email protected] --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/reservations/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.Advisor [View full logs]  [Release SDK Changes]
      cmdout	[msbuild] /home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/SuppressionsOperations.cs(248,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ArmErrorResponse' to 'Microsoft.Azure.Management.Advisor.Models.SuppressionContract' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]      2>/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/SuppressionsOperations.cs(478,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ArmErrorResponse' to 'Microsoft.Azure.Management.Advisor.Models.SuppressionContract' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]      2>/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/RecommendationMetadataOperations.cs(229,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ARMErrorResponseBody' to 'Microsoft.Azure.Management.Advisor.Models.MetadataEntity' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]      2>/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/SuppressionsOperations.cs(248,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ArmErrorResponse' to 'Microsoft.Azure.Management.Advisor.Models.SuppressionContract' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]      2>/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/RecommendationMetadataOperations.cs(229,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ARMErrorResponseBody' to 'Microsoft.Azure.Management.Advisor.Models.MetadataEntity' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]      2>/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/SuppressionsOperations.cs(478,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ArmErrorResponse' to 'Microsoft.Azure.Management.Advisor.Models.SuppressionContract' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]      2>/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/RecommendationMetadataOperations.cs(229,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ARMErrorResponseBody' to 'Microsoft.Azure.Management.Advisor.Models.MetadataEntity' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]      2>/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/SuppressionsOperations.cs(248,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ArmErrorResponse' to 'Microsoft.Azure.Management.Advisor.Models.SuppressionContract' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]      2>/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/SuppressionsOperations.cs(478,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ArmErrorResponse' to 'Microsoft.Azure.Management.Advisor.Models.SuppressionContract' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]      2>/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/RecommendationMetadataOperations.cs(229,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ARMErrorResponseBody' to 'Microsoft.Azure.Management.Advisor.Models.MetadataEntity' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]      2>/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/SuppressionsOperations.cs(248,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ArmErrorResponse' to 'Microsoft.Azure.Management.Advisor.Models.SuppressionContract' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]      2>/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/SuppressionsOperations.cs(478,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ArmErrorResponse' to 'Microsoft.Azure.Management.Advisor.Models.SuppressionContract' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/SuppressionsOperations.cs(248,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ArmErrorResponse' to 'Microsoft.Azure.Management.Advisor.Models.SuppressionContract' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/SuppressionsOperations.cs(478,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ArmErrorResponse' to 'Microsoft.Azure.Management.Advisor.Models.SuppressionContract' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/RecommendationMetadataOperations.cs(229,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ARMErrorResponseBody' to 'Microsoft.Azure.Management.Advisor.Models.MetadataEntity' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/SuppressionsOperations.cs(248,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ArmErrorResponse' to 'Microsoft.Azure.Management.Advisor.Models.SuppressionContract' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/RecommendationMetadataOperations.cs(229,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ARMErrorResponseBody' to 'Microsoft.Azure.Management.Advisor.Models.MetadataEntity' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/SuppressionsOperations.cs(478,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ArmErrorResponse' to 'Microsoft.Azure.Management.Advisor.Models.SuppressionContract' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/RecommendationMetadataOperations.cs(229,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ARMErrorResponseBody' to 'Microsoft.Azure.Management.Advisor.Models.MetadataEntity' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/SuppressionsOperations.cs(248,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ArmErrorResponse' to 'Microsoft.Azure.Management.Advisor.Models.SuppressionContract' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/SuppressionsOperations.cs(478,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ArmErrorResponse' to 'Microsoft.Azure.Management.Advisor.Models.SuppressionContract' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/RecommendationMetadataOperations.cs(229,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ARMErrorResponseBody' to 'Microsoft.Azure.Management.Advisor.Models.MetadataEntity' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/SuppressionsOperations.cs(248,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ArmErrorResponse' to 'Microsoft.Azure.Management.Advisor.Models.SuppressionContract' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Generated/SuppressionsOperations.cs(478,36): error CS0029: Cannot implicitly convert type 'Microsoft.Azure.Management.Advisor.Models.ArmErrorResponse' to 'Microsoft.Azure.Management.Advisor.Models.SuppressionContract' [/home/vsts/work/1/s/azure-sdk-for-net/sdk/advisor/Microsoft.Azure.Management.Advisor/src/Microsoft.Azure.Management.Advisor.csproj]
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-net]: dotnet
    • ️✔️Microsoft.Azure.Management.Consumption [View full logs]  [Release SDK Changes]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 0abc049. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
    • ️✔️track2_azure-mgmt-advisor [View full logs]  [Release SDK Changes]
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Model ResourceRecommendationBase has a new parameter actions
      info	[Changelog]   - Model ResourceRecommendationBase has a new parameter remediation
      info	[Changelog]   - Model ResourceRecommendationBase has a new parameter learn_more_link
      info	[Changelog]   - Model ResourceRecommendationBase has a new parameter exposed_metadata_properties
      info	[Changelog]   - Model ResourceRecommendationBase has a new parameter label
      info	[Changelog]   - Model ResourceRecommendationBase has a new parameter potential_benefits
      info	[Changelog]   - Model ResourceRecommendationBase has a new parameter description
      info	[Changelog]   - Model ResourceMetadata has a new parameter singular
      info	[Changelog]   - Model ResourceMetadata has a new parameter plural
      info	[Changelog]   - Model ResourceMetadata has a new parameter action
    • ️✔️track2_azure-mgmt-commerce [View full logs]  [Release SDK Changes]
      info	[Changelog]
    • ️✔️track2_azure-mgmt-consumption [View full logs]  [Release SDK Changes] Breaking Change Detected
      Only show 30 items here, please refer to log for details.
      info	[Changelog]   - Model Budget has a new parameter forecast_spend
      info	[Changelog]   - Model Tag has a new parameter value
      info	[Changelog]   - Model ChargeSummary has a new parameter etag
      info	[Changelog]   - Model ReservationRecommendation has a new parameter etag
      info	[Changelog]   - Model Resource has a new parameter etag
      info	[Changelog]   - Model CreditBalanceSummary has a new parameter estimated_balance_in_billing_currency
      info	[Changelog]   - Model ModernUsageDetail has a new parameter pay_g_price
      info	[Changelog]   - Model ModernUsageDetail has a new parameter etag
      info	[Changelog]   - Model LegacyReservationRecommendation has a new parameter resource_type
      info	[Changelog]   - Model LegacyReservationRecommendation has a new parameter etag
      info	[Changelog]   - Model CreditSummary has a new parameter billing_currency
      info	[Changelog]   - Model CreditSummary has a new parameter reseller
      info	[Changelog]   - Model CreditSummary has a new parameter credit_currency
      info	[Changelog]   - Model CreditSummary has a new parameter etag
      info	[Changelog]   - Model TagsResult has a new parameter next_link
      info	[Changelog]   - Model TagsResult has a new parameter previous_link
      info	[Changelog]   - Model ModernChargeSummary has a new parameter etag
      info	[Changelog]   - Model PriceSheetResult has a new parameter download
      info	[Changelog]   - Model PriceSheetResult has a new parameter etag
      info	[Changelog]   - Model ReservationRecommendationDetailsModel has a new parameter etag
      info	[Changelog]   - Added operation ReservationRecommendationDetailsOperations.get
      info	[Changelog]   - Added operation EventsOperations.list_by_billing_profile
      info	[Changelog]   - Added operation EventsOperations.list_by_billing_account
      info	[Changelog]   - Added operation LotsOperations.list_by_billing_profile
      info	[Changelog]   - Added operation LotsOperations.list_by_billing_account
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Removed operation EventsOperations.list
      info	[Changelog]   - Removed operation LotsOperations.list
    • ️✔️track2_azure-mgmt-reservations [View full logs]  [Release SDK Changes]
      info	[Changelog]
    ️🔄 azure-sdk-for-java inProgress [Detail]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 0abc049. SDK Automation 14.0.0
      command	sh ./initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️advisor/mgmt/2020-01-01/advisor [View full logs]  [Release SDK Changes] Breaking Change Detected
      Only show 6 items here, please refer to log for details.
      info	[Changelog] - New field `Singular` in struct `ResourceMetadata`
      info	[Changelog] - New field `Plural` in struct `ResourceMetadata`
      info	[Changelog] - New anonymous field `autorest.Response` in struct `MetadataEntity`
      info	[Changelog]
      info	[Changelog] Total 6 breaking change(s), 4 additive change(s).
      info	[Changelog]
    • ️✔️advisor/mgmt/2017-04-19/advisor [View full logs
      info	[Changelog] No exported changes
    • ️✔️advisor/mgmt/2017-03-31/advisor [View full logs
      info	[Changelog] No exported changes
    • ️✔️preview/advisor/mgmt/2016-07-12-preview/advisor [View full logs
      info	[Changelog] No exported changes
    • ️✔️preview/commerce/mgmt/2015-06-01-preview/commerce [View full logs
      info	[Changelog] No exported changes
    • ️✔️consumption/mgmt/2019-10-01/consumption [View full logsBreaking Change Detected
      Only show 6 items here, please refer to log for details.
      info	[Changelog] - New field `Etag` in struct `EventSummary`
      info	[Changelog] - New field `Etag` in struct `LegacyChargeSummary`
      info	[Changelog] - New field `Etag` in struct `LotSummary`
      info	[Changelog]
      info	[Changelog] Total 19 breaking change(s), 81 additive change(s).
      info	[Changelog]
    • ️✔️consumption/mgmt/2019-01-01/consumption [View full logs
      info	[Changelog] No exported changes
    • ️✔️consumption/mgmt/2018-10-01/consumption [View full logs
      info	[Changelog] No exported changes
    • ️✔️consumption/mgmt/2018-08-31/consumption [View full logs
      info	[Changelog] No exported changes
    • ️✔️consumption/mgmt/2018-06-30/consumption [View full logs
      info	[Changelog] No exported changes
    • ️✔️consumption/mgmt/2018-05-31/consumption [View full logs
      info	[Changelog] No exported changes
    • ️✔️consumption/mgmt/2018-03-31/consumption [View full logs
      info	[Changelog] No exported changes
    • ️✔️consumption/mgmt/2018-01-31/consumption [View full logs
      info	[Changelog] No exported changes
    • ️✔️consumption/mgmt/2017-11-30/consumption [View full logs
      info	[Changelog] No exported changes
    • ️✔️preview/consumption/mgmt/2017-12-30-preview/consumption [View full logs
      info	[Changelog] No exported changes
    • ️✔️preview/consumption/mgmt/2017-04-24-preview/consumption [View full logs
      info	[Changelog] No exported changes
    • ️✔️reservations/mgmt/2017-11-01/reservations [View full logs
      info	[Changelog] No exported changes
    • ️✔️preview/reservations/mgmt/2020-10-25/reservations [View full logs
      info	[Changelog] No exported changes
    • ️✔️preview/reservations/mgmt/2019-07-19-preview/reservations [View full logs
      info	[Changelog] No exported changes
    • ️✔️preview/reservations/mgmt/2019-04-01/reservations [View full logs
      info	[Changelog] No exported changes
    • ️✔️preview/reservations/mgmt/2018-06-01/reservations [View full logs
      info	[Changelog] No exported changes
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 0abc049. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION [email protected]/[email protected] --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/advisor/resource-manager/readme.md
      command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION [email protected]/[email protected] --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/commerce/resource-manager/readme.md
      command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION [email protected]/[email protected] --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/consumption/resource-manager/readme.md
      command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION [email protected]/[email protected] --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/reservations/resource-manager/readme.md
    • ️✔️@azure/arm-advisor [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/advisorManagementClient.js → ./dist/arm-advisor.js...
      cmderr	[npmPack] created ./dist/arm-advisor.js in 234ms
    • ️✔️@azure/arm-commerce [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/usageManagementClient.js → ./dist/arm-commerce.js...
      cmderr	[npmPack] created ./dist/arm-commerce.js in 151ms
    • ️✔️@azure/arm-consumption [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/consumptionManagementClient.js → ./dist/arm-consumption.js...
      cmderr	[npmPack] created ./dist/arm-consumption.js in 508ms
    • ️✔️@azure/arm-reservations [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/azureReservationAPI.js → ./dist/arm-reservations.js...
      cmderr	[npmPack] created ./dist/arm-reservations.js in 367ms
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 0abc049. 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
      warn	No file changes detected after generation
      warn	Skip detect changed packages
    • ️✔️commerce [View full logs
    • ️✔️consumption [View full logs
    • ️✔️reservations [View full logs
    ️️✔️ azure-cli-extensions succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 0abc049. Azure CLI Automation 14.0.0
      warn	Skip initScript due to not configured
      command	npx n 12
      command	python3 -m venv venv
      command	pip install --upgrade setuptools wheel pip
      command	pip install pathlib jinja2 msrestazure
      warn		specification/advisor/resource-manager/readme.md skipped due to azure-cli-extensions not found in swagger-to-sdk
      warn		specification/commerce/resource-manager/readme.md skipped due to azure-cli-extensions not found in swagger-to-sdk
      warn		specification/consumption/resource-manager/readme.md skipped due to azure-cli-extensions not found in swagger-to-sdk
      command	autorest --az --use=@autorest/az@latest --version=3.0.6271 --clear-output-folder=true --azure-cli-extension-folder=/home/vsts/work/1/s/azure-cli-extensions ../azure-rest-api-specs/specification/reservations/resource-manager/readme.md
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'ResourceName' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'QuotaLimits' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'QuotaLimitsResponse' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      cmdout	[Autorest] WARNING (PreCheck/CheckDuplicateSchemas): Checking for duplicate schemas, this could take a (long) while.  Run with --verbose for more detail.
      cmdout	[Autorest] WARNING (Modeler/MissingType): The enum schema 'ResourceType' with an undefined type and enum values is ambigious. This has been auto-corrected to 'type:string'
      cmdout	[Autorest] WARNING (Modeler/MissingType): The enum schema 'QuotaRequestState' with an undefined type and enum values is ambigious. This has been auto-corrected to 'type:string'
      cmdout	[Autorest] WARNING (): Operation Update has already existed in group! Skip split!
      cmdout	[Autorest] WARNING (): cli.auto-parameter-hidden is not true, skip visibility cleaner
      cmderr	[Autorest] BELOW TEST SCENARIO SECTION CAN BE USED IN readme.cli.md
      cmderr	[Autorest] --------------------------------------------------------
      cmderr	[Autorest]   test-scenario:
      cmderr	[Autorest]     - name: /CalculateExchange/post/CalculateExchange
      cmderr	[Autorest]     - name: /Exchange/post/Exchange
      cmderr	[Autorest]     - name: /Operation/get/GetOperations
      cmderr	[Autorest]     - name: /quota/get/AppliedReservationList
      cmderr	[Autorest]     - name: /quota/get/Catalog
      cmderr	[Autorest]     - name: /Quota/put/Quotas_Request_PutForCompute
      cmderr	[Autorest]     - name: /Quota/put/Quotas_Request_PutForMachineLearningServices_DedicatedResource
      cmderr	[Autorest]     - name: /Quota/put/Quotas_Request_PutForMachineLearningServices_LowPriorityResource
      cmderr	[Autorest]     - name: /Quota/get/Quotas_listUsagesForCompute
      cmderr	[Autorest]     - name: /Quota/get/Quotas_listUsagesMachineLearningServices
      cmderr	[Autorest]     - name: /Quota/get/Quotas_Request_ForCompute
      cmderr	[Autorest]     - name: /Quota/patch/Quotas_Request_PatchForCompute
      cmderr	[Autorest]     - name: /QuotaRequestStatus/get/QuotaRequestFailed
      cmderr	[Autorest]     - name: /QuotaRequestStatus/get/QuotaRequestHistory
      cmderr	[Autorest]     - name: /QuotaRequestStatus/get/QuotaRequestInProgress
      cmderr	[Autorest]     - name: /QuotaRequestStatus/get/QuotaRequestStatus
      cmderr	[Autorest]     - name: /Reservation/get/GetReservation
      cmderr	[Autorest]     - name: /Reservation/get/ReservationList
      cmderr	[Autorest]     - name: /Reservation/get/ReservationRevisions
      cmderr	[Autorest]     - name: /Reservation/patch/PatchReservation
      cmderr	[Autorest]     - name: /Reservation/post/AvailableScopes
      cmderr	[Autorest]     - name: /Reservation/post/Merge
      cmderr	[Autorest]     - name: /Reservation/post/Split
      cmderr	[Autorest]     - name: /ReservationOrder/put/Purchase
      cmderr	[Autorest]     - name: /ReservationOrder/get/GetReservation
      cmderr	[Autorest]     - name: /ReservationOrder/get/GetReservationWithExpandPayments
      cmderr	[Autorest]     - name: /ReservationOrder/get/ReservationOrderList
      cmderr	[Autorest]     - name: /ReservationOrder/post/Purchase
      cmderr	[Autorest] --------------------------------------------------------
      cmdout	[Autorest] WARNING: [autorest.codegen.models.lro_operation.set_lro_response_type:78] Multiple schema types in responses: [<SchemaResponse [200]>, <SchemaResponse [201]>]. Choosing: QuotaRequestOneResourceSubmitResponse
      cmdout	[Autorest] WARNING: [autorest.codegen.models.lro_operation.set_lro_response_type:78] Multiple schema types in responses: [<SchemaResponse [200]>, <SchemaResponse [201]>]. Choosing: QuotaRequestOneResourceSubmitResponse
    • ️✔️reservations [View full logs]  [Release Azure CLI Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @msyyc
    Copy link
    Member Author

    msyyc commented Jun 28, 2021

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @msyyc msyyc merged commit 0abc049 into Azure:master Jun 29, 2021
    This was referenced Jun 29, 2021
    mkarmark pushed a commit to mkarmark/azure-rest-api-specs that referenced this pull request Jul 21, 2021
    * consumption
    
    * delete track1 config
    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