Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev cost management microsoft.cost management 2023 04 01 preview #23334

Conversation

alprosms
Copy link
Contributor

ARM API Information (Control Plane)

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

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

Changelog

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

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  4. By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

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

ARM API Review Checklist

Applicability: ⚠️

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

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

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

  • Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[x] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.
  • Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

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

Breaking Change Review Checklist

If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.

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

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

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

alprosms added 5 commits March 1, 2023 18:09
#22866)

* Adding Budgets API translated from 2022-10-01 stable version of Microsoft.Consumption/budgets

* Updating api-version in examples to 2023-04-01-preview

* Adding costmanagement.budgets.json to readme

* Addressing Swagger LintDiff errors

* Updating budget name pattern

* Adding suppression for R4011

* Adding budget name pattern regex for only alphanumeric, underscore, or hyphen characters

* fixing readme.go.md for budgets

* removing "object" type from notifications dictionary keys

* removing tags

* removing mismatching enum values

* updating notifications key type

* Revert "updating notifications key type"

This reverts commit eeb504b.

* Revert "removing mismatching enum values"

This reverts commit cba0132.

* updates to enum name

* Removing incorrect/outdated description info

* fixing BudgetsList example

* Updating example Ids to use Microsoft.CostManagement RP

* updating min & max length of budget name per conversations with PMs

* Adding suppressions for DeleteOperationResponses, TopLevelResourcesListBySubscription, and NoDuplicatePathsForScopeParameter

* fixing indentation in readme

* fixing formatting of suppressions in readme

* Adding paging back in, specifying as null for future use
* Updating budgets swagger definition to include modifications from RU Alert category

* Adding new examples for all scenarios of RU Alerts, added new examples for all scopes for Cost Budgets

* Spelling & lintdiff fixes

* prettier-fix

* Added more descriptions, and some light markdown to larger descripitons

* Addressing comments

* prettier-fix

* Updating description for amount property

* addressing Shravan's offline comments

* spell check

* removing aws scopes from scope description

* Addressing comments from internal review, removed legacy tags for EA
@alprosms alprosms requested a review from ArcturusZhang as a code owner March 28, 2023 22:52
@openapi-workflow-bot
Copy link

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

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

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

    @openapi-workflow-bot openapi-workflow-bot bot added ARMReview WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Mar 28, 2023
    @openapi-workflow-bot
    Copy link

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

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Mar 28, 2023

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️Breaking Change(Cross-Version): 138 Warnings warning [Detail]
    compared swaggers (via Oad v0.10.4)] new version base version
    common-types.json 2023-04-01-preview(fb6e27e) 2022-10-01(main)
    common-types.json 2023-04-01-preview(fb6e27e) 2022-10-05-preview(main)
    costmanagement.benefits.json 2023-04-01-preview(fb6e27e) 2022-10-01(main)
    costmanagement.exports.json 2023-04-01-preview(fb6e27e) 2022-10-01(main)
    costmanagement.exports.json 2023-04-01-preview(fb6e27e) 2020-12-01-preview(main)
    costmanagement.generatecostdetailsreport.json 2023-04-01-preview(fb6e27e) 2022-10-01(main)
    costmanagement.generatedetailedcostreport.json 2023-04-01-preview(fb6e27e) 2022-10-01(main)
    costmanagement.generatedetailedcostreport.json 2023-04-01-preview(fb6e27e) 2020-12-01-preview(main)
    costmanagement.json 2023-04-01-preview(fb6e27e) 2022-10-01(main)
    costmanagement.json 2023-04-01-preview(fb6e27e) 2022-10-05-preview(main)
    costmanagement.pricesheets.json 2023-04-01-preview(fb6e27e) 2022-10-01(main)
    costmanagement.pricesheets.json 2023-04-01-preview(fb6e27e) 2022-02-01-preview(main)
    scheduledActions.json 2023-04-01-preview(fb6e27e) 2022-10-01(main)
    scheduledActions.json 2023-04-01-preview(fb6e27e) 2022-06-01-preview(main)

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

    Rule Message
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.CostManagement/preview/2023-04-01-preview/common-types.json#L166:5
    Old: Microsoft.CostManagement/stable/2022-10-01/common-types.json#L166:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.CostManagement/preview/2023-04-01-preview/common-types.json#L166:5
    Old: Microsoft.CostManagement/stable/2022-10-01/common-types.json#L166:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.CostManagement/preview/2023-04-01-preview/common-types.json#L166:5
    Old: Microsoft.CostManagement/stable/2022-10-01/common-types.json#L166:5


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

    Only 28 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 '/providers/Microsoft.CostManagement/operations' removed or restructured?
    Old: Microsoft.CostManagement/preview/2022-10-05-preview/costmanagement.json#L1255:5
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/{scope}/providers/Microsoft.CostManagement/settings' removed or restructured?
    Old: Microsoft.CostManagement/preview/2022-10-05-preview/costmanagement.json#L1291:5
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/{scope}/providers/Microsoft.CostManagement/settings/{type}' removed or restructured?
    Old: Microsoft.CostManagement/preview/2022-10-05-preview/costmanagement.json#L1330:5
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.CostManagement/markupRules' removed or restructured?
    Old: Microsoft.CostManagement/preview/2022-10-05-preview/costmanagement.json#L1464:5
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.CostManagement/markupRules/{name}' removed or restructured?
    Old: Microsoft.CostManagement/preview/2022-10-05-preview/costmanagement.json#L1509:5
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/providers/Microsoft.CostManagement/operations' removed or restructured?
    Old: Microsoft.CostManagement/preview/2022-02-01-preview/costmanagement.pricesheets.json#L159:5
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'CustomerMetadata' removed or renamed?
    New: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.json#L1242:3
    Old: Microsoft.CostManagement/preview/2022-10-05-preview/costmanagement.json#L1653:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'MarkupRule' removed or renamed?
    New: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.json#L1242:3
    Old: Microsoft.CostManagement/preview/2022-10-05-preview/costmanagement.json#L1653:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'MarkupRuleProperties' removed or renamed?
    New: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.json#L1242:3
    Old: Microsoft.CostManagement/preview/2022-10-05-preview/costmanagement.json#L1653:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'Setting' removed or renamed?
    New: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.json#L1242:3
    Old: Microsoft.CostManagement/preview/2022-10-05-preview/costmanagement.json#L1653:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'TagInheritanceSetting' removed or renamed?
    New: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.json#L1242:3
    Old: Microsoft.CostManagement/preview/2022-10-05-preview/costmanagement.json#L1653:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'TagInheritanceProperties' removed or renamed?
    New: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.json#L1242:3
    Old: Microsoft.CostManagement/preview/2022-10-05-preview/costmanagement.json#L1653:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'apiVersionParameter' removed or renamed?
    New: Microsoft.CostManagement/preview/2023-04-01-preview/common-types.json#L204:3
    Old: Microsoft.CostManagement/preview/2022-10-05-preview/common-types.json#L62:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'apiVersionParameter' removed or renamed?
    New: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.exports.json#L780:3
    Old: Microsoft.CostManagement/preview/2020-12-01-preview/costmanagement.exports.json#L859:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'apiVersionParameter' removed or renamed?
    New: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.generatedetailedcostreport.json#L357:3
    Old: Microsoft.CostManagement/preview/2020-12-01-preview/costmanagement.generatedetailedcostreport.json#L389:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'markupRuleNameParameter' removed or renamed?
    New: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.json#L2829:3
    Old: Microsoft.CostManagement/preview/2022-10-05-preview/costmanagement.json#L3376:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'settingTypeParameter' removed or renamed?
    New: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.json#L2829:3
    Old: Microsoft.CostManagement/preview/2022-10-05-preview/costmanagement.json#L3376:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'scopeSettingParameter' removed or renamed?
    New: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.json#L2829:3
    Old: Microsoft.CostManagement/preview/2022-10-05-preview/costmanagement.json#L3376:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'apiVersionParameter' removed or renamed?
    New: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.json#L2829:3
    Old: Microsoft.CostManagement/preview/2022-10-05-preview/costmanagement.json#L3376:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'apiVersionParameter' removed or renamed?
    New: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.pricesheets.json#L160:3
    Old: Microsoft.CostManagement/preview/2022-02-01-preview/costmanagement.pricesheets.json#L351:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'operationIdParameter' removed or renamed?
    New: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.pricesheets.json#L160:3
    Old: Microsoft.CostManagement/preview/2022-02-01-preview/costmanagement.pricesheets.json#L351:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'billingAccountIdParameter' removed or renamed?
    New: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.pricesheets.json#L160:3
    Old: Microsoft.CostManagement/preview/2022-02-01-preview/costmanagement.pricesheets.json#L351:3
    ⚠️ 1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'apiVersionParameter' removed or renamed?
    New: Microsoft.CostManagement/preview/2023-04-01-preview/scheduledActions.json#L906:3
    Old: Microsoft.CostManagement/preview/2022-06-01-preview/scheduledActions.json#L961:3
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'ScheduledActions_Execute' to 'ScheduledActions_Run'. This will impact generated code.
    New: Microsoft.CostManagement/preview/2023-04-01-preview/scheduledActions.json#L406:7
    Old: Microsoft.CostManagement/preview/2022-06-01-preview/scheduledActions.json#L400:7
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'ScheduledActions_ExecuteByScope' to 'ScheduledActions_RunByScope'. This will impact generated code.
    New: Microsoft.CostManagement/preview/2023-04-01-preview/scheduledActions.json#L439:7
    Old: Microsoft.CostManagement/preview/2022-06-01-preview/scheduledActions.json#L433:7
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.exports.json#L691:11
    Old: Microsoft.CostManagement/preview/2020-12-01-preview/costmanagement.exports.json#L770:11
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.exports.json#L706:9
    Old: Microsoft.CostManagement/preview/2020-12-01-preview/costmanagement.exports.json#L785:9
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.json#L2282:9
    Old: Microsoft.CostManagement/preview/2022-10-05-preview/costmanagement.json#L2774:9
    ️❌CredScan: 0 Errors, 0 Warnings failed [Detail]
    ️⚠️LintDiff: 3 Warnings warning [Detail]
    compared tags (via openapi-validator v2.0.1) new version base version
    package-preview-2023-04 package-preview-2023-04(fb6e27e) default(main)

    [must fix]The following errors/warnings are introduced by current PR:

    Rule Message Related RPC [For API reviewers]
    ⚠️ RequiredReadOnlySystemData The response of operation:'Budgets_Get' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.budgets.json#L122
    ⚠️ RequiredReadOnlySystemData The response of operation:'Budgets_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.budgets.json#L165
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.budgets.json#L574


    The following errors/warnings exist before current PR submission:

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

    Rule Message
    ValidFormats 'decimal' is not a known format.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.benefits.json#L407
    ValidFormats 'decimal' is not a known format.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.benefits.json#L477
    ValidFormats 'decimal' is not a known format.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.benefits.json#L509
    ValidFormats 'decimal' is not a known format.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.benefits.json#L515
    ValidFormats 'decimal' is not a known format.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.benefits.json#L521
    ValidFormats 'decimal' is not a known format.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.benefits.json#L527
    ValidFormats 'decimal' is not a known format.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.benefits.json#L533
    ValidFormats 'decimal' is not a known format.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.benefits.json#L540
    ValidFormats 'decimal' is not a known format.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.benefits.json#L546
    ValidFormats 'decimal' is not a known format.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.benefits.json#L552
    ValidFormats 'decimal' is not a known format.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.benefits.json#L558
    ValidFormats 'decimal' is not a known format.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.benefits.json#L816
    ValidFormats 'decimal' is not a known format.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.benefits.json#L850
    ValidFormats 'decimal' is not a known format.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.benefits.json#L856
    ValidFormats 'decimal' is not a known format.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.benefits.json#L862
    ResourceNameRestriction The resource name parameter 'exportName' should be defined with a 'pattern' restriction.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.exports.json#L97
    DeleteOperationResponses The delete operation is defined without a 200 or 204 error response implementation,please add it.'
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.exports.json#L270
    ResourceNameRestriction The resource name parameter 'exportName' should be defined with a 'pattern' restriction.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.exports.json#L283
    ResourceNameRestriction The resource name parameter 'exportName' should be defined with a 'pattern' restriction.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.exports.json#L337
    TopLevelResourcesListBySubscription The top-level resource 'Export' does not have list by subscription operation, please add it.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.exports.json#L410
    GetOperation200 The get operation should only return 200.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.generatecostdetailsreport.json#L158
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.generatecostdetailsreport.json#L158
    ParametersOrder The parameters:operationId,scope should be kept in the same order as they present in the path.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.generatedetailedcostreport.json#L123
    GetOperation200 The get operation should only return 200.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.generatedetailedcostreport.json#L157
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.generatedetailedcostreport.json#L157
    ParametersOrder The parameters:operationId,scope should be kept in the same order as they present in the path.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.generatedetailedcostreport.json#L170
    MissingTypeObject The schema 'GenerateDetailedCostReportDefinition' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.generatedetailedcostreport.json#L224
    MissingTypeObject The schema 'GenerateDetailedCostReportTimePeriod' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.generatedetailedcostreport.json#L257
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️❌ApiReadinessCheck: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    API Readiness check failed. Please make sure your service is deployed. "code: InvalidResourceType,
    message: The resource type 'operations' could not be found in the namespace 'Microsoft.CostManagement' for api version '2023-04-01-preview'. The supported api-versions are '2018-08-31,
    2019-01-01,
    2018-08-01-preview,
    2018-10-01,
    2019-10-01,
    2021-10-01,
    2022-10-01'."
    ️❌~[Staging] ServiceAPIReadinessTest: 114 Errors, 0 Warnings failed [Detail]

    Tag package-preview-2023-04; Prod region: Not deployed; Canary region: Deployed

    Test run on region: eastus2euap; Operation coverage: total: 55, untested: 0, failed: 55, passed: 0

    Service API Readiness Test failed. Check pipeline artifact for detail report.

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

    Rule Message
    CLIENT_ERROR statusCode: 404,
    errorCode: InvalidResourceType,
    errorMessage: The resource type 'CheckNameAvailability' could not be found in the namespace 'Microsoft.CostManagement' for api version '2023-04-01-preview'. The supported api-versions are '2020-03-01-preview,2022-04-01-preview,2022-06-01-preview,2022-10-01'.
    Source: runtime
    OperationId: ScheduledActions_CheckNameAvailability
    INVALID_TYPE Expected type integer but found type string
    Source: response
    OperationId: ScheduledActions_CheckNameAvailability
    CLIENT_ERROR statusCode: 404,
    errorCode: MissingSubscription,
    errorMessage: The request did not have a subscription or a valid tenant level resource provider.
    Source: runtime
    OperationId: ScheduledActions_CheckNameAvailabilityByScope
    INVALID_TYPE Expected type integer but found type string
    Source: response
    OperationId: ScheduledActions_CheckNameAvailabilityByScope
    CLIENT_ERROR statusCode: 404,
    errorCode: MissingSubscription,
    errorMessage: The request did not have a subscription or a valid tenant level resource provider.
    Source: runtime
    OperationId: Exports_CreateOrUpdate
    INVALID_TYPE Expected type integer but found type string
    Source: response
    OperationId: Exports_CreateOrUpdate
    CLIENT_ERROR statusCode: 404,
    errorCode: MissingSubscription,
    errorMessage: The request did not have a subscription or a valid tenant level resource provider.
    Source: runtime
    OperationId: Exports_List
    INVALID_TYPE Expected type integer but found type string
    Source: response
    OperationId: Exports_List
    CLIENT_ERROR statusCode: 404,
    errorCode: MissingSubscription,
    errorMessage: The request did not have a subscription or a valid tenant level resource provider.
    Source: runtime
    OperationId: Exports_Get
    INVALID_TYPE Expected type integer but found type string
    Source: response
    OperationId: Exports_Get
    CLIENT_ERROR statusCode: 404,
    errorCode: MissingSubscription,
    errorMessage: The request did not have a subscription or a valid tenant level resource provider.
    Source: runtime
    OperationId: Exports_GetExecutionHistory
    INVALID_TYPE Expected type integer but found type string
    Source: response
    OperationId: Exports_GetExecutionHistory
    CLIENT_ERROR statusCode: 404,
    errorCode: MissingSubscription,
    errorMessage: The request did not have a subscription or a valid tenant level resource provider.
    Source: runtime
    OperationId: Exports_Execute
    INVALID_TYPE Expected type integer but found type string
    Source: response
    OperationId: Exports_Execute
    CLIENT_ERROR statusCode: 404,
    errorCode: InvalidResourceType,
    errorMessage: The resource type 'ScheduledActions' could not be found in the namespace 'Microsoft.CostManagement' for api version '2023-04-01-preview'. The supported api-versions are '2020-03-01-preview,2022-04-01-preview,2022-06-01-preview,2022-10-01'.
    Source: runtime
    OperationId: ScheduledActions_CreateOrUpdate
    INVALID_TYPE Expected type integer but found type string
    Source: response
    OperationId: ScheduledActions_CreateOrUpdate
    CLIENT_ERROR statusCode: 404,
    errorCode: InvalidResourceType,
    errorMessage: The resource type 'ScheduledActions' could not be found in the namespace 'Microsoft.CostManagement' for api version '2023-04-01-preview'. The supported api-versions are '2020-03-01-preview,2022-04-01-preview,2022-06-01-preview,2022-10-01'.
    Source: runtime
    OperationId: ScheduledActions_List
    INVALID_TYPE Expected type integer but found type string
    Source: response
    OperationId: ScheduledActions_List
    CLIENT_ERROR statusCode: 404,
    errorCode: InvalidResourceType,
    errorMessage: The resource type 'ScheduledActions' could not be found in the namespace 'Microsoft.CostManagement' for api version '2023-04-01-preview'. The supported api-versions are '2020-03-01-preview,2022-04-01-preview,2022-06-01-preview,2022-10-01'.
    Source: runtime
    OperationId: ScheduledActions_Get
    INVALID_TYPE Expected type integer but found type string
    Source: response
    OperationId: ScheduledActions_Get
    CLIENT_ERROR statusCode: 404,
    errorCode: MissingSubscription,
    errorMessage: The request did not have a subscription or a valid tenant level resource provider.
    Source: runtime
    OperationId: ScheduledActions_ListByScope
    INVALID_TYPE Expected type integer but found type string
    Source: response
    OperationId: ScheduledActions_ListByScope
    CLIENT_ERROR statusCode: 404,
    errorCode: InvalidResourceType,
    errorMessage: The resource type 'ScheduledActions' could not be found in the namespace 'Microsoft.CostManagement' for api version '2023-04-01-preview'. The supported api-versions are '2020-03-01-preview,2022-04-01-preview,2022-06-01-preview,2022-10-01'.
    Source: runtime
    OperationId: ScheduledActions_Run
    INVALID_TYPE Expected type integer but found type string
    Source: response
    OperationId: ScheduledActions_Run
    CLIENT_ERROR statusCode: 404,
    errorCode: MissingSubscription,
    errorMessage: The request did not have a subscription or a valid tenant level resource provider.
    Source: runtime
    OperationId: ScheduledActions_CreateOrUpdateByScope
    INVALID_TYPE Expected type integer but found type string
    Source: response
    OperationId: ScheduledActions_CreateOrUpdateByScope
    CLIENT_ERROR statusCode: 404,
    errorCode: MissingSubscription,
    errorMessage: The request did not have a subscription or a valid tenant level resource provider.
    Source: runtime
    OperationId: ScheduledActions_GetByScope
    INVALID_TYPE Expected type integer but found type string
    Source: response
    OperationId: ScheduledActions_GetByScope
    ️️✔️SwaggerAPIView succeeded [Detail] [Expand]
    ️️✔️CadlAPIView succeeded [Detail] [Expand]
    ️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PoliCheck succeeded [Detail] [Expand]
    Validation passed for PoliCheck.
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    ️️✔️TypeSpec Validation succeeded [Detail] [Expand]
    Validation passes for TypeSpec Validation.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Mar 28, 2023

    Swagger Generation Artifacts

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

    Breaking Changes Tracking

    azure-sdk-for-go - sdk/resourcemanager/costmanagement/armcostmanagement - Approved - 2.0.0
    -	Const `QueryColumnTypeTag` from type alias `QueryColumnType` has been removed
    +	Enum `ForecastTimeframeType` has been removed
    +	Enum `ReportConfigColumnType` has been removed
    -	Field `ETag` of struct `Resource` has been removed
    +	Field `ETag`, `Location`, `SKU`, `Tags` of struct `Resource` has been removed
    -	Field `Location` of struct `Resource` has been removed
    -	Field `SKU` of struct `Resource` has been removed
    -	Field `Tags` of struct `Resource` has been removed
    -	Type alias `ForecastTimeframeType` has been removed
    -	Type alias `ReportConfigColumnType` has been removed
    +	Type of `ErrorDetails.Code` has been changed from `*string` to `*int32`
    +	`QueryColumnTypeTag` from enum `QueryColumnType` has been removed
    azure-sdk-for-python-track2 - track2_azure-mgmt-costmanagement - Approved - 3.0.0
    +	Model Alert no longer has parameter tags
    +	Model ProxyResource no longer has parameter e_tag
    +	Model ReportConfigFilter no longer has parameter tag_key
    +	Model ReportConfigFilter no longer has parameter tag_value
    +	Model Resource no longer has parameter tags
    +	Removed operation group SettingsOperations
    ️❌ azure-sdk-for-net-track2 failed [Detail]
    • Failed [Logs]Release - Generate from c2103f6. SDK Automation 14.0.0
      command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
      command	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:712
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 712 | �[0m         �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mFailed to generate sdk. exit code: False
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGet-ChildItem: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:800
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 800 | �[0m … rtifacts += �[36;1mGet-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mCannot find path
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m'/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1mit does not exist.
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:712
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 712 | �[0m         �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mFailed to generate sdk artifact
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
    • Azure.ResourceManager.Cost-Management [View full logs]  [Release SDK Changes]
      info	[Changelog]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from c2103f6. SDK Automation 14.0.0
      command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️sdk/resourcemanager/costmanagement/armcostmanagement [View full logs]  [Release SDK Changes] Breaking Change Detected
      Only show 120 items here, please refer to log for details.
      info	[Changelog] - Field `QueryResult` of struct `ForecastClientUsageResponse` has been removed
      info	[Changelog] - Field `ID` of struct `Operation` has been removed
      info	[Changelog] - Field `ETag` of struct `ProxyResource` has been removed
      info	[Changelog] - Field `ETag`, `Location`, `SKU`, `Tags` of struct `Resource` has been removed
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New value `QueryColumnTypeTagKey` added to enum type `QueryColumnType`
      info	[Changelog] - New enum type `ActionType` with values `ActionTypeInternal`
      info	[Changelog] - New enum type `BenefitKind` with values `BenefitKindIncludedQuantity`, `BenefitKindReservation`, `BenefitKindSavingsPlan`
      info	[Changelog] - New enum type `CheckNameAvailabilityReason` with values `CheckNameAvailabilityReasonAlreadyExists`, `CheckNameAvailabilityReasonInvalid`
      info	[Changelog] - New enum type `CostDetailsDataFormat` with values `CostDetailsDataFormatCSVCostDetailsDataFormat`
      info	[Changelog] - New enum type `CostDetailsMetricType` with values `CostDetailsMetricTypeActualCostCostDetailsMetricType`, `CostDetailsMetricTypeAmortizedCostCostDetailsMetricType`
      info	[Changelog] - New enum type `CostDetailsStatusType` with values `CostDetailsStatusTypeCompletedCostDetailsStatusType`, `CostDetailsStatusTypeFailedCostDetailsStatusType`, `CostDetailsStatusTypeNoDataFoundCostDetailsStatusType`
      info	[Changelog] - New enum type `CreatedByType` with values `CreatedByTypeApplication`, `CreatedByTypeKey`, `CreatedByTypeManagedIdentity`, `CreatedByTypeUser`
      info	[Changelog] - New enum type `DaysOfWeek` with values `DaysOfWeekFriday`, `DaysOfWeekMonday`, `DaysOfWeekSaturday`, `DaysOfWeekSunday`, `DaysOfWeekThursday`, `DaysOfWeekTuesday`, `DaysOfWeekWednesday`
      info	[Changelog] - New enum type `FileFormat` with values `FileFormatCSV`
      info	[Changelog] - New enum type `ForecastOperatorType` with values `ForecastOperatorTypeIn`
      info	[Changelog] - New enum type `ForecastTimeframe` with values `ForecastTimeframeCustom`
      info	[Changelog] - New enum type `FunctionName` with values `FunctionNameCost`, `FunctionNameCostUSD`, `FunctionNamePreTaxCost`, `FunctionNamePreTaxCostUSD`
      info	[Changelog] - New enum type `Grain` with values `GrainDaily`, `GrainHourly`, `GrainMonthly`
      info	[Changelog] - New enum type `GrainParameter` with values `GrainParameterDaily`, `GrainParameterHourly`, `GrainParameterMonthly`
      info	[Changelog] - New enum type `LookBackPeriod` with values `LookBackPeriodLast30Days`, `LookBackPeriodLast60Days`, `LookBackPeriodLast7Days`
      info	[Changelog] - New enum type `Origin` with values `OriginSystem`, `OriginUser`, `OriginUserSystem`
      info	[Changelog] - New enum type `ScheduleFrequency` with values `ScheduleFrequencyDaily`, `ScheduleFrequencyMonthly`, `ScheduleFrequencyWeekly`
      info	[Changelog] - New enum type `ScheduledActionKind` with values `ScheduledActionKindEmail`, `ScheduledActionKindInsightAlert`
      info	[Changelog] - New enum type `ScheduledActionStatus` with values `ScheduledActionStatusDisabled`, `ScheduledActionStatusEnabled`, `ScheduledActionStatusExpired`
      info	[Changelog] - New enum type `Scope` with values `ScopeShared`, `ScopeSingle`
      info	[Changelog] - New enum type `Term` with values `TermP1Y`, `TermP3Y`
      info	[Changelog] - New enum type `WeeksOfMonth` with values `WeeksOfMonthFirst`, `WeeksOfMonthFourth`, `WeeksOfMonthLast`, `WeeksOfMonthSecond`, `WeeksOfMonthThird`
      info	[Changelog] - New function `*BenefitRecommendationProperties.GetBenefitRecommendationProperties() *BenefitRecommendationProperties`
      info	[Changelog] - New function `NewBenefitRecommendationsClient(azcore.TokenCredential, *arm.ClientOptions) (*BenefitRecommendationsClient, error)`
      info	[Changelog] - New function `*BenefitRecommendationsClient.NewListPager(string, *BenefitRecommendationsClientListOptions) *runtime.Pager[BenefitRecommendationsClientListResponse]`
      info	[Changelog] - New function `NewBenefitUtilizationSummariesClient(azcore.TokenCredential, *arm.ClientOptions) (*BenefitUtilizationSummariesClient, error)`
      info	[Changelog] - New function `*BenefitUtilizationSummariesClient.NewListByBillingAccountIDPager(string, *BenefitUtilizationSummariesClientListByBillingAccountIDOptions) *runtime.Pager[BenefitUtilizationSummariesClientListByBillingAccountIDResponse]`
      info	[Changelog] - New function `*BenefitUtilizationSummariesClient.NewListByBillingProfileIDPager(string, string, *BenefitUtilizationSummariesClientListByBillingProfileIDOptions) *runtime.Pager[BenefitUtilizationSummariesClientListByBillingProfileIDResponse]`
      info	[Changelog] - New function `*BenefitUtilizationSummariesClient.NewListBySavingsPlanIDPager(string, string, *BenefitUtilizationSummariesClientListBySavingsPlanIDOptions) *runtime.Pager[BenefitUtilizationSummariesClientListBySavingsPlanIDResponse]`
      info	[Changelog] - New function `*BenefitUtilizationSummariesClient.NewListBySavingsPlanOrderPager(string, *BenefitUtilizationSummariesClientListBySavingsPlanOrderOptions) *runtime.Pager[BenefitUtilizationSummariesClientListBySavingsPlanOrderResponse]`
      info	[Changelog] - New function `*BenefitUtilizationSummary.GetBenefitUtilizationSummary() *BenefitUtilizationSummary`
      info	[Changelog] - New function `*ClientFactory.NewBenefitRecommendationsClient() *BenefitRecommendationsClient`
      info	[Changelog] - New function `*ClientFactory.NewBenefitUtilizationSummariesClient() *BenefitUtilizationSummariesClient`
      info	[Changelog] - New function `*ClientFactory.NewGenerateCostDetailsReportClient() *GenerateCostDetailsReportClient`
      info	[Changelog] - New function `*ClientFactory.NewPriceSheetClient() *PriceSheetClient`
      info	[Changelog] - New function `*ClientFactory.NewScheduledActionsClient() *ScheduledActionsClient`
      info	[Changelog] - New function `NewGenerateCostDetailsReportClient(azcore.TokenCredential, *arm.ClientOptions) (*GenerateCostDetailsReportClient, error)`
      info	[Changelog] - New function `*GenerateCostDetailsReportClient.BeginCreateOperation(context.Context, string, GenerateCostDetailsReportRequestDefinition, *GenerateCostDetailsReportClientBeginCreateOperationOptions) (*runtime.Poller[GenerateCostDetailsReportClientCreateOperationResponse], error)`
      info	[Changelog] - New function `*GenerateCostDetailsReportClient.BeginGetOperationResults(context.Context, string, string, *GenerateCostDetailsReportClientBeginGetOperationResultsOptions) (*runtime.Poller[GenerateCostDetailsReportClientGetOperationResultsResponse], error)`
      info	[Changelog] - New function `*IncludedQuantityUtilizationSummary.GetBenefitUtilizationSummary() *BenefitUtilizationSummary`
      info	[Changelog] - New function `NewPriceSheetClient(azcore.TokenCredential, *arm.ClientOptions) (*PriceSheetClient, error)`
      info	[Changelog] - New function `*PriceSheetClient.BeginDownload(context.Context, string, string, string, *PriceSheetClientBeginDownloadOptions) (*runtime.Poller[PriceSheetClientDownloadResponse], error)`
      info	[Changelog] - New function `*PriceSheetClient.BeginDownloadByBillingProfile(context.Context, string, string, *PriceSheetClientBeginDownloadByBillingProfileOptions) (*runtime.Poller[PriceSheetClientDownloadByBillingProfileResponse], error)`
      info	[Changelog] - New function `*SavingsPlanUtilizationSummary.GetBenefitUtilizationSummary() *BenefitUtilizationSummary`
      info	[Changelog] - New function `NewScheduledActionsClient(azcore.TokenCredential, *arm.ClientOptions) (*ScheduledActionsClient, error)`
      info	[Changelog] - New function `*ScheduledActionsClient.CheckNameAvailability(context.Context, CheckNameAvailabilityRequest, *ScheduledActionsClientCheckNameAvailabilityOptions) (ScheduledActionsClientCheckNameAvailabilityResponse, error)`
      info	[Changelog] - New function `*ScheduledActionsClient.CheckNameAvailabilityByScope(context.Context, string, CheckNameAvailabilityRequest, *ScheduledActionsClientCheckNameAvailabilityByScopeOptions) (ScheduledActionsClientCheckNameAvailabilityByScopeResponse, error)`
      info	[Changelog] - New function `*ScheduledActionsClient.CreateOrUpdate(context.Context, string, ScheduledAction, *ScheduledActionsClientCreateOrUpdateOptions) (ScheduledActionsClientCreateOrUpdateResponse, error)`
      info	[Changelog] - New function `*ScheduledActionsClient.CreateOrUpdateByScope(context.Context, string, string, ScheduledAction, *ScheduledActionsClientCreateOrUpdateByScopeOptions) (ScheduledActionsClientCreateOrUpdateByScopeResponse, error)`
      info	[Changelog] - New function `*ScheduledActionsClient.Delete(context.Context, string, *ScheduledActionsClientDeleteOptions) (ScheduledActionsClientDeleteResponse, error)`
      info	[Changelog] - New function `*ScheduledActionsClient.DeleteByScope(context.Context, string, string, *ScheduledActionsClientDeleteByScopeOptions) (ScheduledActionsClientDeleteByScopeResponse, error)`
      info	[Changelog] - New function `*ScheduledActionsClient.Get(context.Context, string, *ScheduledActionsClientGetOptions) (ScheduledActionsClientGetResponse, error)`
      info	[Changelog] - New function `*ScheduledActionsClient.GetByScope(context.Context, string, string, *ScheduledActionsClientGetByScopeOptions) (ScheduledActionsClientGetByScopeResponse, error)`
      info	[Changelog] - New function `*ScheduledActionsClient.NewListByScopePager(string, *ScheduledActionsClientListByScopeOptions) *runtime.Pager[ScheduledActionsClientListByScopeResponse]`
      info	[Changelog] - New function `*ScheduledActionsClient.NewListPager(*ScheduledActionsClientListOptions) *runtime.Pager[ScheduledActionsClientListResponse]`
      info	[Changelog] - New function `*ScheduledActionsClient.Run(context.Context, string, *ScheduledActionsClientRunOptions) (ScheduledActionsClientRunResponse, error)`
      info	[Changelog] - New function `*ScheduledActionsClient.RunByScope(context.Context, string, string, *ScheduledActionsClientRunByScopeOptions) (ScheduledActionsClientRunByScopeResponse, error)`
      info	[Changelog] - New function `*SharedScopeBenefitRecommendationProperties.GetBenefitRecommendationProperties() *BenefitRecommendationProperties`
      info	[Changelog] - New function `*SingleScopeBenefitRecommendationProperties.GetBenefitRecommendationProperties() *BenefitRecommendationProperties`
      info	[Changelog] - New struct `AllSavingsBenefitDetails`
      info	[Changelog] - New struct `AllSavingsList`
      info	[Changelog] - New struct `BenefitRecommendationModel`
      info	[Changelog] - New struct `BenefitRecommendationsListResult`
      info	[Changelog] - New struct `BenefitResource`
      info	[Changelog] - New struct `BenefitUtilizationSummariesListResult`
      info	[Changelog] - New struct `BenefitUtilizationSummaryProperties`
      info	[Changelog] - New struct `BlobInfo`
      info	[Changelog] - New struct `CheckNameAvailabilityRequest`
      info	[Changelog] - New struct `CheckNameAvailabilityResponse`
      info	[Changelog] - New struct `CostDetailsOperationResults`
      info	[Changelog] - New struct `CostDetailsTimePeriod`
      info	[Changelog] - New struct `ErrorDetailsWithNestedDetails`
      info	[Changelog] - New struct `ErrorResponseWithNestedDetails`
      info	[Changelog] - New struct `ExportRun`
      info	[Changelog] - New struct `ExportRunProperties`
      info	[Changelog] - New struct `FileDestination`
      info	[Changelog] - New struct `ForecastAggregation`
      info	[Changelog] - New struct `ForecastColumn`
      info	[Changelog] - New struct `ForecastComparisonExpression`
      info	[Changelog] - New struct `ForecastDatasetConfiguration`
      info	[Changelog] - New struct `ForecastFilter`
      info	[Changelog] - New struct `ForecastProperties`
      info	[Changelog] - New struct `ForecastResult`
      info	[Changelog] - New struct `ForecastTimePeriod`
      info	[Changelog] - New struct `GenerateCostDetailsReportErrorResponse`
      info	[Changelog] - New struct `GenerateCostDetailsReportRequestDefinition`
      info	[Changelog] - New struct `IncludedQuantityUtilizationSummary`
      info	[Changelog] - New struct `IncludedQuantityUtilizationSummaryProperties`
      info	[Changelog] - New struct `NotificationProperties`
      info	[Changelog] - New struct `OperationForCostManagement`
      info	[Changelog] - New struct `ProxyResourceForCostManagement`
      info	[Changelog] - New struct `RecommendationUsageDetails`
      info	[Changelog] - New struct `ReportManifest`
      info	[Changelog] - New struct `RequestContext`
      info	[Changelog] - New struct `ResourceForCostManagement`
      info	[Changelog] - New struct `SavingsPlanUtilizationSummary`
      info	[Changelog] - New struct `SavingsPlanUtilizationSummaryProperties`
      info	[Changelog] - New struct `ScheduleProperties`
      info	[Changelog] - New struct `ScheduledAction`
      info	[Changelog] - New struct `ScheduledActionListResult`
      info	[Changelog] - New struct `ScheduledActionProperties`
      info	[Changelog] - New struct `ScheduledActionProxyResource`
      info	[Changelog] - New struct `SharedScopeBenefitRecommendationProperties`
      info	[Changelog] - New struct `SingleScopeBenefitRecommendationProperties`
      info	[Changelog] - New struct `SystemData`
      info	[Changelog] - New field `ExpiryTime` in struct `DownloadURL`
      info	[Changelog] - New anonymous field `ForecastResult` in struct `ForecastClientExternalCloudProviderUsageResponse`
      info	[Changelog] - New anonymous field `ForecastResult` in struct `ForecastClientUsageResponse`
      info	[Changelog] - New field `EndTime`, `StartTime` in struct `GenerateDetailedCostReportOperationStatuses`
      info	[Changelog] - New field `ActionType`, `IsDataAction`, `Origin` in struct `Operation`
      info	[Changelog]
      info	[Changelog] Total 18 breaking change(s), 218 additive change(s).
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from c2103f6. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
      cmderr	[automation_generate.sh]  notice
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 9.5.1 -> 9.6.6
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.6.6>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-costmanagement [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Added operation group BenefitRecommendationsOperations
      info	[Changelog]   - Added operation group BenefitUtilizationSummariesOperations
      info	[Changelog]   - Added operation group GenerateCostDetailsReportOperations
      info	[Changelog]   - Added operation group GenerateDetailedCostReportOperationResultsOperations
      info	[Changelog]   - Added operation group GenerateDetailedCostReportOperationStatusOperations
      info	[Changelog]   - Added operation group GenerateDetailedCostReportOperations
      info	[Changelog]   - Added operation group PriceSheetOperations
      info	[Changelog]   - Added operation group ScheduledActionsOperations
      info	[Changelog]   - Model Alert has a new parameter e_tag
      info	[Changelog]   - Model AlertPropertiesDetails has a new parameter company_name
      info	[Changelog]   - Model AlertPropertiesDetails has a new parameter department_name
      info	[Changelog]   - Model AlertPropertiesDetails has a new parameter enrollment_end_date
      info	[Changelog]   - Model AlertPropertiesDetails has a new parameter enrollment_number
      info	[Changelog]   - Model AlertPropertiesDetails has a new parameter enrollment_start_date
      info	[Changelog]   - Model AlertPropertiesDetails has a new parameter invoicing_threshold
      info	[Changelog]   - Model CommonExportProperties 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 Dimension has a new parameter e_tag
      info	[Changelog]   - Model Dimension has a new parameter location
      info	[Changelog]   - Model Dimension has a new parameter sku
      info	[Changelog]   - Model Export has a new parameter next_run_time_estimate
      info	[Changelog]   - Model Export has a new parameter partition_data
      info	[Changelog]   - Model Export has a new parameter run_history
      info	[Changelog]   - Model ExportDeliveryDestination has a new parameter sas_token
      info	[Changelog]   - Model ExportDeliveryDestination has a new parameter storage_account
      info	[Changelog]   - Model ExportProperties 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 Operation has a new parameter action_type
      info	[Changelog]   - Model Operation has a new parameter is_data_action
      info	[Changelog]   - Model Operation has a new parameter origin
      info	[Changelog]   - Model OperationDisplay has a new parameter description
      info	[Changelog]   - Operation ExportsOperations.get has a new optional parameter expand
      info	[Changelog]   - Operation ExportsOperations.list has a new optional parameter expand
      info	[Changelog]
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog]   - Model Alert no longer has parameter tags
      info	[Changelog]   - Model ProxyResource no longer has parameter e_tag
      info	[Changelog]   - Model ReportConfigFilter no longer has parameter tag_key
      info	[Changelog]   - Model ReportConfigFilter no longer has parameter tag_value
      info	[Changelog]   - Model Resource no longer has parameter tags
      info	[Changelog]   - Removed operation group SettingsOperations
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from c2103f6. 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
    • ️✔️cost-management [View full logs]  [Release Schema Changes]
    ️❌ azure-powershell failed [Detail]
    • Pipeline Framework Failed [Logs]Release - Generate from c2103f6. SDK Automation 14.0.0
      command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
      command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
      SSL error: syscall failure: Broken pipe
      Error: SSL error: syscall failure: Broken pipe
    • Az.cost-management.DefaultTag [View full logs
      error	Fatal error: SSL error: syscall failure: Broken pipe
      error	The following packages are still pending:
      error		Az.cost-management.DefaultTag
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Mar 28, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/costmanagement/armcostmanagement https://apiview.dev/Assemblies/Review/c4e549044dcb4b049a4c16f99c67a169

    @openapi-workflow-bot
    Copy link

    Hi @alprosms, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff. If you have any questions, please post your questions in this channel https://aka.ms/swaggersupport.

    TaskHow to fixPriority
    AvocadoFix-AvocadoHigh
    Semantic validationFix-SemanticValidation-ErrorHigh
    Model validationFix-ModelValidation-ErrorHigh
    LintDiffFix-LintDiffhigh
    If you need further help, please feedback via swagger feedback.

    @openapi-workflow-bot
    Copy link

    Hi, @alprosms, For review efficiency consideration, when creating a new api version, it is required to place API specs of the base version in the first commit, and push new version updates into successive commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki. Or you could onboard API spec pipeline

    @openapi-workflow-bot
    Copy link

    Hi @alprosms, one or multiple validation error/warning suppression(s) is detected in your PR. Please follow the Swagger-Suppression-Process to get approval.

    @AzureRestAPISpecReview AzureRestAPISpecReview added ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test and removed CI-FixRequiredOnFailure labels Apr 11, 2023
    Copy link
    Member

    Choose a reason for hiding this comment

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

    Could we change the azure-sdk-for-net on line 404 in this file to azure-sdk-for-net-track2?

    @tadelesh tadelesh added the Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go label Apr 12, 2023
    @ghost
    Copy link

    ghost commented Apr 30, 2023

    Hi, @alprosms. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove no-recent-activity label.

    …ew (#23770)
    
    * changing azure-sdk-for-net to azure-sdk-for-net-track2 per ask from comment on main branch PR
    
    * Adding in descriptions + examples for RU Alerts support at the customer scope
    
    * fixing json formatting
    
    * fixing example references
    
    * Updating costmanagementproxyresource to reference ARM common proxy resource. Minor formatting change on scope parameter
    
    * Updating common-types with updates to common-types from 2022-10-01 version
    
    * prettier-fix
    @AzureRestAPISpecReview AzureRestAPISpecReview added BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required CI-FixRequiredOnFailure labels May 2, 2023
    @openapi-workflow-bot
    Copy link

    Hi @alprosms, 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.
    Note: To avoid breaking change, you can refer to Shift Left Solution for detecting breaking change in early phase at your service code repository.

    …#23795)
    
    * updating costdetailreport swaggers from recent changes to 2022-10-01 version
    
    * suppressing invalid LintDiff errors
    @AzureRestAPISpecReview AzureRestAPISpecReview removed BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required CI-FixRequiredOnFailure labels May 3, 2023
    @alprosms
    Copy link
    Contributor Author

    alprosms commented May 3, 2023

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @alprosms alprosms requested a review from ArcturusZhang May 4, 2023 00:00
    @weshaggard
    Copy link
    Member

    @alprosms @ArcturusZhang these changes have started causing long file path issues for folks working in this repo on windows.

    error: unable to create file specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/examples/Budgets/CreateOrUpdate/ReservationUtilization/EA/CreateOrUpdate-ReservationUtilization-BillingAccountEA-AlertRule-ReservationIdFilter.json: Filename too long
    error: unable to create file specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/examples/Budgets/CreateOrUpdate/ReservationUtilization/EA/CreateOrUpdate-ReservationUtilization-BillingAccountEA-AlertRule-ReservedResourceTypeFilter.json: Filename too long
    error: unable to create file specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/examples/Budgets/CreateOrUpdate/ReservationUtilization/MCA/CreateOrUpdate-ReservationUtilization-BillingProfile-AlertRule-ReservationIdFilter.json: Filename too long
    error: unable to create file specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/examples/Budgets/CreateOrUpdate/ReservationUtilization/MCA/CreateOrUpdate-ReservationUtilization-BillingProfile-AlertRule-ReservedResourceTypeFilter.json: Filename too long
    error: unable to create file specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/examples/Budgets/CreateOrUpdate/ReservationUtilization/MCA/CreateOrUpdate-ReservationUtilization-Customer-AlertRule-ReservationIdFilter.json: Filename too long
    error: unable to create file specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/examples/Budgets/CreateOrUpdate/ReservationUtilization/MCA/CreateOrUpdate-ReservationUtilization-Customer-AlertRule-ReservedResourceTypeFilter.json: Filename too long
    

    Is there any reason we cannot shorten these paths?

    @weshaggard
    Copy link
    Member

    I've submitted PR #23834 to reduce the paths of these examles.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go Approved-SdkBreakingChange-Python ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-Go CI-MissingBaseCommit new-api-version ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test resource-manager SuppressionReviewRequired
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    8 participants