Skip to content

Conversation

mitagarg
Copy link
Contributor

@mitagarg mitagarg commented Sep 8, 2021

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.

Changelog

Add a changelog entry for this PR by answering the following questions:

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

Contribution checklist:

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

ARM API Review Checklist

Applicability: ⚠️

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

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

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

  • Check this box if any of the following apply to the PR so that label “WaitForARMFeedback” will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] 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.
  • Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

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

Breaking Change Review Checklist

If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

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

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

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

@openapi-workflow-bot
Copy link

Hi, @mitagarg 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 Sep 8, 2021

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️LintDiff: 2 Warnings warning [Detail]
    The following errors/warnings are introduced by current PR:
    Rule Message
    ⚠️ R2007 - LongRunningOperationsWithLongRunningExtension The operation 'GenerateDetailedCostReportOperationResults_Get' returns 202 status code, which indicates a long running operation, please enable 'x-ms-long-running-operation.
    Location: Microsoft.CostManagement/stable/2021-10-01/costmanagement.generatedetailedcostreport.json#L123
    ⚠️ R2066 - PostOperationIdContainsUrlVerb OperationId should contain the verb: 'generatedetailedcostreport' in:'GenerateDetailedCostReport_CreateOperation'. Consider updating the operationId
    Location: Microsoft.CostManagement/stable/2021-10-01/costmanagement.generatedetailedcostreport.json#L41


    The following errors/warnings exist before current PR submission:

    Rule Message
    ⚠️ R1003 - ListInOperationName Since operation 'Exports_GetExecutionHistory' response has model definition 'array', it should be of the form '_list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.CostManagement/stable/2021-10-01/costmanagement.exports.json#L342
    ⚠️ R1003 - ListInOperationName Since operation 'Dimensions_ByExternalCloudProviderType' response has model definition 'x-ms-pageable', it should be of the form '_list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L870
    ⚠️ R1005 - GetInOperationName 'GET' operation 'Dimensions_ByExternalCloudProviderType' should use method name 'Get' or Method name start with 'List'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L870
    ⚠️ R1007 - PatchInOperationName 'PATCH' operation 'Alerts_Dismiss' should use method name 'Update'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L487
    ⚠️ R2018 - XmsEnumValidation The enum types should have x-ms-enum type extension set with appropriate options. Property name: direction
    Location: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1292
    ⚠️ R2029 - PageableOperation Based on the response model schema, operation 'Exports_List' might be pageable. Consider adding the x-ms-pageable extension.
    Location: Microsoft.CostManagement/stable/2021-10-01/costmanagement.exports.json#L37
    ⚠️ R2029 - PageableOperation Based on the response model schema, operation 'Exports_GetExecutionHistory' might be pageable. Consider adding the x-ms-pageable extension.
    Location: Microsoft.CostManagement/stable/2021-10-01/costmanagement.exports.json#L338
    ⚠️ R2029 - PageableOperation Based on the response model schema, operation 'Alerts_List' might be pageable. Consider adding the x-ms-pageable extension.
    Location: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L383
    ⚠️ R2029 - PageableOperation Based on the response model schema, operation 'Alerts_ListExternal' might be pageable. Consider adding the x-ms-pageable extension.
    Location: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L537
    ⚠️ R2066 - PostOperationIdContainsUrlVerb OperationId should contain the verb: 'run' in:'Exports_Execute'. Consider updating the operationId
    Location: Microsoft.CostManagement/stable/2021-10-01/costmanagement.exports.json#L288
    ⚠️ R2066 - PostOperationIdContainsUrlVerb OperationId should contain the verb: 'forecast' in:'Forecast_Usage'. Consider updating the operationId
    Location: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L586
    ⚠️ R2066 - PostOperationIdContainsUrlVerb OperationId should contain the verb: 'forecast' in:'Forecast_ExternalCloudProviderUsage'. Consider updating the operationId
    Location: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L659
    ⚠️ R2066 - PostOperationIdContainsUrlVerb OperationId should contain the verb: 'query' in:'Query_Usage'. Consider updating the operationId
    Location: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L949
    ⚠️ R2066 - PostOperationIdContainsUrlVerb OperationId should contain the verb: 'query' in:'Query_UsageByExternalCloudProviderType'. Consider updating the operationId
    Location: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1054
    ⚠️ R4014 - AllResourcesMustHaveGetOperation The resource 'ExportExecution' does not have get operation, please add it.
    Location: Microsoft.CostManagement/stable/2021-10-01/costmanagement.exports.json#L783
    ⚠️ R4014 - AllResourcesMustHaveGetOperation The resource 'Dimension' does not have get operation, please add it.
    Location: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1673
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️⚠️Cross-Version Breaking Changes: 118 Warnings warning [Detail]
    The following breaking changes are detected by comparison with the latest stable version:

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

    Rule Message
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.exports.json#L859:9
    Old: Microsoft.CostManagement/stable/2021-01-01/costmanagement.exports.json#L856:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.exports.json#L400:9
    Old: Microsoft.CostManagement/stable/2021-01-01/costmanagement.exports.json#L400:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.exports.json#L406:5
    Old: Microsoft.CostManagement/stable/2021-01-01/costmanagement.exports.json#L406:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.exports.json#L422:5
    Old: Microsoft.CostManagement/stable/2021-01-01/costmanagement.exports.json#L421:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.exports.json#L452:5
    Old: Microsoft.CostManagement/stable/2021-01-01/costmanagement.exports.json#L450:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.generatedetailedcostreport.json#L217:9
    Old: Microsoft.CostManagement/stable/2021-01-01/costmanagement.generatedetailedcostreport.json#L217:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.generatedetailedcostreport.json#L361:9
    Old: Microsoft.CostManagement/stable/2021-01-01/costmanagement.generatedetailedcostreport.json#L360:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.generatedetailedcostreport.json#L292:9
    Old: Microsoft.CostManagement/stable/2021-01-01/costmanagement.generatedetailedcostreport.json#L292:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.generatedetailedcostreport.json#L341:5
    Old: Microsoft.CostManagement/stable/2021-01-01/costmanagement.generatedetailedcostreport.json#L341:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1467:9
    Old: Microsoft.CostManagement/stable/2020-06-01/costmanagement.json#L1458:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1165:9
    Old: Microsoft.CostManagement/stable/2020-06-01/costmanagement.json#L1164:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1169:9
    Old: Microsoft.CostManagement/stable/2020-06-01/costmanagement.json#L1168:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1215:9
    Old: Microsoft.CostManagement/stable/2020-06-01/costmanagement.json#L1212:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1222:11
    Old: Microsoft.CostManagement/stable/2020-06-01/costmanagement.json#L1219:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1231:11
    Old: Microsoft.CostManagement/stable/2020-06-01/costmanagement.json#L1228:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1239:11
    Old: Microsoft.CostManagement/stable/2020-06-01/costmanagement.json#L1236:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1243:9
    Old: Microsoft.CostManagement/stable/2020-06-01/costmanagement.json#L1240:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1334:11
    Old: Microsoft.CostManagement/stable/2020-06-01/costmanagement.json#L1326:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1342:11
    Old: Microsoft.CostManagement/stable/2020-06-01/costmanagement.json#L1334:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1347:9
    Old: Microsoft.CostManagement/stable/2020-06-01/costmanagement.json#L1339:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1351:9
    Old: Microsoft.CostManagement/stable/2020-06-01/costmanagement.json#L1343:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1355:9
    Old: Microsoft.CostManagement/stable/2020-06-01/costmanagement.json#L1347:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1597:9
    Old: Microsoft.CostManagement/stable/2020-06-01/costmanagement.json#L1587:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L514:13
    Old: Microsoft.CostManagement/stable/2020-06-01/costmanagement.json#L514:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L632:13
    Old: Microsoft.CostManagement/stable/2020-06-01/costmanagement.json#L632:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L2165:9
    Old: Microsoft.CostManagement/stable/2020-06-01/costmanagement.json#L2143:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L2169:9
    Old: Microsoft.CostManagement/stable/2020-06-01/costmanagement.json#L2147:9


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

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

    Rule Message
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/{scope}/providers/Microsoft.CostManagement/budgets' removed or restructured?
    Old: Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json#L382:5
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/{scope}/providers/Microsoft.CostManagement/budgets/{budgetName}' removed or restructured?
    Old: Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json#L424:5
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'BudgetModel' removed or renamed?
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1135:3
    Old: Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json#L593:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'BudgetProperties' removed or renamed?
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1135:3
    Old: Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json#L593:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'BudgetTimePeriod' removed or renamed?
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1135:3
    Old: Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json#L593:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'CurrentSpend' removed or renamed?
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1135:3
    Old: Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json#L593:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'scopeBudgetParameter' removed or renamed?
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L2471:3
    Old: Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json#L1396:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'budgetNameParameter' removed or renamed?
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L2471:3
    Old: Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json#L1396:3
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.exports.json#L859:9
    Old: Microsoft.CostManagement/preview/2020-12-01-preview/costmanagement.exports.json#L852:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.exports.json#L400:9
    Old: Microsoft.CostManagement/preview/2020-12-01-preview/costmanagement.exports.json#L400:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.exports.json#L406:5
    Old: Microsoft.CostManagement/preview/2020-12-01-preview/costmanagement.exports.json#L406:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.exports.json#L422:5
    Old: Microsoft.CostManagement/preview/2020-12-01-preview/costmanagement.exports.json#L421:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.exports.json#L452:5
    Old: Microsoft.CostManagement/preview/2020-12-01-preview/costmanagement.exports.json#L450:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.generatedetailedcostreport.json#L217:9
    Old: Microsoft.CostManagement/preview/2020-12-01-preview/costmanagement.generatedetailedcostreport.json#L217:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.generatedetailedcostreport.json#L361:9
    Old: Microsoft.CostManagement/preview/2020-12-01-preview/costmanagement.generatedetailedcostreport.json#L360:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.generatedetailedcostreport.json#L292:9
    Old: Microsoft.CostManagement/preview/2020-12-01-preview/costmanagement.generatedetailedcostreport.json#L292:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.generatedetailedcostreport.json#L341:5
    Old: Microsoft.CostManagement/preview/2020-12-01-preview/costmanagement.generatedetailedcostreport.json#L341:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1467:9
    Old: Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json#L1096:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1165:9
    Old: Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json#L732:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1169:9
    Old: Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json#L736:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1215:9
    Old: Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json#L780:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1222:11
    Old: Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json#L787:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1231:11
    Old: Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json#L796:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1239:11
    Old: Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json#L804:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1243:9
    Old: Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json#L808:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1334:11
    Old: Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json#L894:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.CostManagement/stable/2021-10-01/costmanagement.json#L1342:11
    Old: Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json#L902:11
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️[Staging] SDK Track2 Validation succeeded [Detail]
    The following errors/warnings exist before current PR submission:
    Rule Message
    AutorestCore/Exception "readme":"cost-management/resource-manager/readme.md",
    "tag":"package-2020-06",
    "details":"Error: Plugin prechecker reported failure."
    AutorestCore/Exception "readme":"cost-management/resource-manager/readme.md",
    "tag":"package-2019-11",
    "details":"Error: Plugin prechecker reported failure."
    ️️✔️[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 Sep 8, 2021

    Swagger Generation Artifacts

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

    Breaking Changes Tracking

    azure-sdk-for-python-track2 - track2_azure-mgmt-costmanagement - Approved - 3.0.0
    +	Model ExportExecution no longer has parameter tags
    +	Model QueryFilter no longer has parameter dimensions
    +	Model QueryFilter no longer has parameter tags
    +	Model QueryResult no longer has parameter e_tag
    +	Model QueryResult no longer has parameter location
    +	Model QueryResult no longer has parameter sku
    +	Model ReportConfigFilter no longer has parameter dimensions
    +	Model ReportConfigFilter no longer has parameter tag_key
    +	Model ReportConfigFilter no longer has parameter tag_value
    +	Model ReportConfigFilter no longer has parameter tags
    +	Model View no longer has parameter currency
    +	Model View no longer has parameter data_set
    +	Model View no longer has parameter date_range
    +	Model View no longer has parameter include_monetary_commitment
    +	Operation ExportsOperations.get has a new signature
    +	Operation ExportsOperations.list has a new signature
    +	Removed operation group GenerateReservationDetailsReportOperations
    +	Removed operation group SettingsOperations
    ️✔️azure-sdk-for-go - costmanagement/mgmt/2021-01-01/costmanagement - v58.0.0
    ️✔️azure-sdk-for-go - costmanagement/mgmt/2020-06-01/costmanagement - v58.0.0
    ️✔️azure-sdk-for-go - costmanagement/mgmt/2019-11-01/costmanagement - v58.0.0
    ️✔️azure-sdk-for-go - costmanagement/mgmt/2019-10-01/costmanagement - v58.0.0
    ️✔️azure-sdk-for-go - costmanagement/mgmt/2019-01-01/costmanagement - v58.0.0
    ️✔️azure-sdk-for-go - costmanagement/mgmt/2018-05-31/costmanagement - v58.0.0
    ️✔️azure-sdk-for-go - preview/costmanagement/mgmt/2019-03-01/costmanagement - v58.0.0
    ️✔️azure-sdk-for-go - preview/costmanagement/mgmt/2018-08-01-preview/costmanagement - v58.0.0
    ️️✔️ azure-sdk-for-net succeeded [Detail] [Expand]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 28e60e3. 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
    • ️✔️costmanagement/mgmt/2021-01-01/costmanagement [View full logs]  [Release SDK Changes]
      info	[Changelog] This is a new package
    • ️✔️costmanagement/mgmt/2020-06-01/costmanagement [View full logs
      info	[Changelog] No exported changes
    • ️✔️costmanagement/mgmt/2019-11-01/costmanagement [View full logs
      info	[Changelog] No exported changes
    • ️✔️costmanagement/mgmt/2019-10-01/costmanagement [View full logs
      info	[Changelog] No exported changes
    • ️✔️costmanagement/mgmt/2019-01-01/costmanagement [View full logs
      info	[Changelog] No exported changes
    • ️✔️costmanagement/mgmt/2018-05-31/costmanagement [View full logs
      info	[Changelog] No exported changes
    • ️✔️preview/costmanagement/mgmt/2019-03-01/costmanagement [View full logs
      info	[Changelog] No exported changes
    • ️✔️preview/costmanagement/mgmt/2018-08-01-preview/costmanagement [View full logs
      info	[Changelog] No exported changes
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 28e60e3. 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-costmanagement [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Model View has a new parameter dataset
      info	[Changelog]   - Model QueryFilter has a new parameter tag
      info	[Changelog]   - Model QueryFilter has a new parameter not_property
      info	[Changelog]   - Model QueryFilter has a new parameter dimension
      info	[Changelog]   - Model ExportDeliveryDestination has a new parameter storage_account
      info	[Changelog]   - Model ExportDeliveryDestination has a new parameter sas_token
      info	[Changelog]   - Model ReportConfigFilter has a new parameter tag
      info	[Changelog]   - Model ReportConfigFilter has a new parameter not_property
      info	[Changelog]   - Model ReportConfigFilter has a new parameter dimension
      info	[Changelog]   - Model Export has a new parameter partition_data
      info	[Changelog]   - Model Export has a new parameter run_history
      info	[Changelog]   - Model Export has a new parameter next_run_time_estimate
      info	[Changelog]   - Model CommonExportProperties has a new parameter partition_data
      info	[Changelog]   - Model CommonExportProperties has a new parameter run_history
      info	[Changelog]   - Model CommonExportProperties has a new parameter next_run_time_estimate
      info	[Changelog]   - Model ExportProperties has a new parameter partition_data
      info	[Changelog]   - Model ExportProperties has a new parameter run_history
      info	[Changelog]   - Model ExportProperties has a new parameter next_run_time_estimate
      info	[Changelog]   - Model ExportExecution has a new parameter error
      info	[Changelog]   - Model ExportExecution has a new parameter e_tag
      info	[Changelog]   - Added operation group GenerateDetailedCostReportOperationStatusOperations
      info	[Changelog]   - Added operation group GenerateDetailedCostReportOperations
      info	[Changelog]   - Added operation group GenerateDetailedCostReportOperationResultsOperations
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Operation ExportsOperations.get has a new signature
      info	[Changelog]   - Operation ExportsOperations.list has a new signature
      info	[Changelog]   - Model View no longer has parameter currency
      info	[Changelog]   - Model View no longer has parameter date_range
      info	[Changelog]   - Model View no longer has parameter include_monetary_commitment
      info	[Changelog]   - Model View no longer has parameter data_set
      info	[Changelog]   - Model QueryFilter no longer has parameter tags
      info	[Changelog]   - Model QueryFilter no longer has parameter dimensions
      info	[Changelog]   - Model ReportConfigFilter no longer has parameter tag_key
      info	[Changelog]   - Model ReportConfigFilter no longer has parameter tags
      info	[Changelog]   - Model ReportConfigFilter no longer has parameter dimensions
      info	[Changelog]   - Model ReportConfigFilter no longer has parameter tag_value
      info	[Changelog]   - Model QueryResult no longer has parameter location
      info	[Changelog]   - Model QueryResult no longer has parameter e_tag
      info	[Changelog]   - Model QueryResult no longer has parameter sku
      info	[Changelog]   - Model ExportExecution no longer has parameter tags
      info	[Changelog]   - Removed operation group GenerateReservationDetailsReportOperations
      info	[Changelog]   - Removed operation group SettingsOperations
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 28e60e3. 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]  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
    Posted by Swagger Pipeline | How to fix these errors?

    @ghost
    Copy link

    ghost commented Sep 8, 2021

    CLA assistant check
    All CLA requirements met.

    @openapi-workflow-bot
    Copy link

    Hi @mitagarg, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff.

    TaskHow to fixPrioritySupport (Microsoft alias)
    AvocadoFix-AvocadoHighruowan
    Semantic validationFix-SemanticValidation-ErrorHighraychen, jianyxi
    Model validationFix-ModelValidation-ErrorHighraychen,jianyxi
    LintDiffFix-LintDiffhighjianyxi, ruoxuan
    If you need further help, please feedback via swagger feedback."

    @mitagarg mitagarg requested a review from basma-msft September 8, 2021 09:03
    @mitagarg mitagarg removed the NotReadyForReview <valid label in PR review process>It is in draft for swagger or not swagger PR label Sep 14, 2021
    @JeffreyRichter JeffreyRichter added the Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 label Sep 17, 2021
    @mitagarg
    Copy link
    Contributor Author

    /azp run unifiedPipeline

    @azure-pipelines
    Copy link

    No pipelines are associated with this pull request.

    @JeffreyRichter JeffreyRichter removed the Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 label Sep 22, 2021
    @msyyc
    Copy link
    Member

    msyyc commented Sep 23, 2021

    approve for python breaking change.

    @openapi-workflow-bot openapi-workflow-bot bot added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Sep 24, 2021
    @openapi-workflow-bot
    Copy link

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

    @mentat9
    Copy link
    Member

    mentat9 commented Sep 27, 2021

    Turns out this isn't actually an API change, just a consolidation of existing API versions into one new API version, so ARM signoff isn't needed. Removed the WaitForARMFeedback label accordingly.

    @mentat9 mentat9 removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Sep 27, 2021
    @akning-ms
    Copy link
    Contributor

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @akning-ms akning-ms merged commit 28e60e3 into Azure:main Oct 1, 2021
    jovannikolov-msft pushed a commit to jovannikolov-msft/azure-rest-api-specs that referenced this pull request Dec 1, 2021
    …rsion stable/2021-10-01 (Azure#15953)
    
    * Adds base for updating Microsoft.CostManagement from version stable/2021-01-01 to version 2021-10-01
    
    * Updates readme
    
    * Updates API version in new specs and examples
    
    * Added costmanagement.json, examples from 2020-06-01, chnaged readme.md for 2021-10-01
    
    * 1: Deprecate expand forf Dimension    2: Fix linter exception: .parameters.apiVersionParameter.description' has incompatible values - apiVersionParamaDecrip should be same for all the json files
    
    * supress r4011, r3023, r4018
    
    * supress R4011, R3023, R4018
    
    * Supress R3018 - EnumInsteadOfBoolean
    
    * Linter Warning: UniqueXmsExample
    
    * Linter - Fixing  - Missing Description/Title
    
    * Supress R4037 and R4009
    
    * Linter - Fix MisingTypeObject for exports and costmanagement
    
    * removed R3023 from costmanagement.generatedetailedcostreport.json from redme.md file
    
    * Added type:object for autorest exception and added back the supress R3023
    
    * MissingTypeObject ForecastDataSet for costmanagement
    
    * removed R4011, R3023, R4018
    
    * added back R4011, R3023, R4018
    
    * updating the version in the examples
    
    * removing exampls with expand
    
    * adding the expand chnage and examples back in, as this was breaking chnage
    
    Co-authored-by: Mita Garg <[email protected]>
    LeiWang3 pushed a commit to LeiWang3/azure-rest-api-specs that referenced this pull request Mar 31, 2022
    …rsion stable/2021-10-01 (Azure#15953)
    
    * Adds base for updating Microsoft.CostManagement from version stable/2021-01-01 to version 2021-10-01
    
    * Updates readme
    
    * Updates API version in new specs and examples
    
    * Added costmanagement.json, examples from 2020-06-01, chnaged readme.md for 2021-10-01
    
    * 1: Deprecate expand forf Dimension    2: Fix linter exception: .parameters.apiVersionParameter.description' has incompatible values - apiVersionParamaDecrip should be same for all the json files
    
    * supress r4011, r3023, r4018
    
    * supress R4011, R3023, R4018
    
    * Supress R3018 - EnumInsteadOfBoolean
    
    * Linter Warning: UniqueXmsExample
    
    * Linter - Fixing  - Missing Description/Title
    
    * Supress R4037 and R4009
    
    * Linter - Fix MisingTypeObject for exports and costmanagement
    
    * removed R3023 from costmanagement.generatedetailedcostreport.json from redme.md file
    
    * Added type:object for autorest exception and added back the supress R3023
    
    * MissingTypeObject ForecastDataSet for costmanagement
    
    * removed R4011, R3023, R4018
    
    * added back R4011, R3023, R4018
    
    * updating the version in the examples
    
    * removing exampls with expand
    
    * adding the expand chnage and examples back in, as this was breaking chnage
    
    Co-authored-by: Mita Garg <[email protected]>
    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.

    8 participants