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

[Hub Generated] Review request for Microsoft.Consumption to add version stable/2023-03-01 #23914

Conversation

pthippeswamy
Copy link
Contributor

@pthippeswamy pthippeswamy commented May 10, 2023

Breaking change ADO - approved - https://msazure.visualstudio.com/One/_workitems/edit/23289060


Met with Suhas Rao to discuss about the errors seen on the PR.

Have reached out to Breaking Change team to clarify about the documentation and will update the PR once we get an approval from Breaking change team.
On the Linter error "path-for-resource-action" - This API is a tenant level API that is already in PROD and used by customers and the path cannot be modified. We are documenting the API that was missed.


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

ARM API Information (Control Plane)

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

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

Breaking Change Review Checklist

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

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

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

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

@openapi-workflow-bot
Copy link

Hi, @pthippeswamy 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. vscswagger@microsoft.com

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented May 10, 2023

    Swagger Validation Report

    ️⌛BreakingChange pending [Detail]
    ️⌛Breaking Change(Cross-Version) pending [Detail]
    ️⌛CredScan pending [Detail]
    ️⌛LintDiff pending [Detail]
    ️🔄Avocado inProgress [Detail]
    ️⌛ApiReadinessCheck pending [Detail]
    ️⌛~[Staging] ServiceAPIReadinessTest pending [Detail]
    ️⌛SwaggerAPIView pending [Detail]
    ️⌛CadlAPIView pending [Detail]
    ️⌛TypeSpecAPIView pending [Detail]
    ️⌛ModelValidation pending [Detail]
    ️🔄SemanticValidation inProgress [Detail]
    ️⌛PoliCheck pending [Detail]
    ️⌛PrettierCheck pending [Detail]
    ️🔄SpellCheck inProgress [Detail]
    ️⌛Lint(RPaaS) pending [Detail]
    ️⌛CadlValidation pending [Detail]
    ️⌛TypeSpec Validation pending [Detail]
    ️⌛PR Summary pending [Detail]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented May 10, 2023

    Swagger Generation Artifacts

    ️🔄ApiDocPreview inProgress [Detail]
    ️❌SDK Breaking Change Tracking failed [Detail]

    Breaking Changes Tracking

    azure-sdk-for-go - sdk/resourcemanager/consumption/armconsumption - 2.0.0
    +	Field `Etag`, `Tags` of struct `CreditSummary` has been removed
    +	Field `MarketplaceCharges` of struct `LegacyChargeSummaryProperties` has been removed
    +	Type of `ModernReservationRecommendation.Properties` has been changed from `*ModernReservationRecommendationProperties` to `ModernReservationRecommendationPropertiesClassification`
    azure-sdk-for-python-track2 - track2_azure-mgmt-consumption - 10.0.0
    +	Model CreditSummary no longer has parameter etag
    +	Model CreditSummary no longer has parameter tags
    +	Model LegacyChargeSummary no longer has parameter marketplace_charges
    +	Parameter scope of model ModernReservationRecommendation is now required
    azure-sdk-for-js - @azure/arm-consumption - 10.0.0
    +	Interface BudgetFilter no longer has parameter not
    +	Interface LegacyChargeSummary no longer has parameter marketplaceCharges
    +	Operation ReservationRecommendationDetails.get has a new signature
    +	Parameter scope of interface ModernReservationRecommendation is now required
    ️🔄 azure-sdk-for-net-track2 inProgress [Detail]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 624d3a16f643a60839273684fdc6a03a107520fe. 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/consumption/armconsumption [View full logs]  [Preview SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Type of `ModernReservationRecommendation.Properties` has been changed from `*ModernReservationRecommendationProperties` to `ModernReservationRecommendationPropertiesClassification`
      info	[Changelog] - Field `Etag`, `Tags` of struct `CreditSummary` has been removed
      info	[Changelog] - Field `MarketplaceCharges` of struct `LegacyChargeSummaryProperties` has been removed
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New value `EventTypeCreditExpired` added to enum type `EventType`
      info	[Changelog] - New function `*ModernReservationRecommendationProperties.GetModernReservationRecommendationProperties() *ModernReservationRecommendationProperties`
      info	[Changelog] - New function `*ModernSharedScopeReservationRecommendationProperties.GetModernReservationRecommendationProperties() *ModernReservationRecommendationProperties`
      info	[Changelog] - New function `*ModernSingleScopeReservationRecommendationProperties.GetModernReservationRecommendationProperties() *ModernReservationRecommendationProperties`
      info	[Changelog] - New struct `ModernSharedScopeReservationRecommendationProperties`
      info	[Changelog] - New struct `ModernSingleScopeReservationRecommendationProperties`
      info	[Changelog] - New field `OverageRefund` in struct `BalanceProperties`
      info	[Changelog] - New field `ETag` in struct `CreditSummary`
      info	[Changelog] - New field `IsEstimatedBalance` in struct `CreditSummaryProperties`
      info	[Changelog] - New field `IsEstimatedBalance` in struct `EventProperties`
      info	[Changelog] - New field `AzureMarketplaceCharges` in struct `LegacyChargeSummaryProperties`
      info	[Changelog] - New field `IsEstimatedBalance` in struct `LotProperties`
      info	[Changelog] - New field `SubscriptionID` in struct `ModernChargeSummaryProperties`
      info	[Changelog] - New field `PreviewMarkupPercentage`, `UseMarkupIfPartner` in struct `ReservationTransactionsClientListOptions`
      info	[Changelog]
      info	[Changelog] Total 3 breaking change(s), 17 additive change(s).
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs] Generate from 624d3a16f643a60839273684fdc6a03a107520fe. 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 npm@9.6.6` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-consumption [View full logs]  [Preview SDK Changes] Breaking Change Detected
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Model Balance has a new parameter overage_refund
      info	[Changelog]   - Model CreditSummary has a new parameter e_tag_properties_e_tag
      info	[Changelog]   - Model CreditSummary has a new parameter is_estimated_balance
      info	[Changelog]   - Model EventSummary has a new parameter is_estimated_balance
      info	[Changelog]   - Model LegacyChargeSummary has a new parameter azure_marketplace_charges
      info	[Changelog]   - Model LotSummary has a new parameter is_estimated_balance
      info	[Changelog]   - Model ModernChargeSummary has a new parameter subscription_id
      info	[Changelog]   - Model ModernReservationRecommendation has a new parameter resource_type
      info	[Changelog]   - Operation ReservationTransactionsOperations.list has a new optional parameter preview_markup_percentage
      info	[Changelog]   - Operation ReservationTransactionsOperations.list has a new optional parameter use_markup_if_partner
      info	[Changelog]
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog]   - Model CreditSummary no longer has parameter etag
      info	[Changelog]   - Model CreditSummary no longer has parameter tags
      info	[Changelog]   - Model LegacyChargeSummary no longer has parameter marketplace_charges
      info	[Changelog]   - Parameter scope of model ModernReservationRecommendation is now required
    ️🔄 azure-sdk-for-java inProgress [Detail]
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 624d3a16f643a60839273684fdc6a03a107520fe. SDK Automation 14.0.0
      command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
      warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
    • ️✔️@azure/arm-consumption [View full logs]  [Preview SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation LotsOperations.listByCustomer
      info	[Changelog]   - Added Interface LotsListByCustomerNextOptionalParams
      info	[Changelog]   - Added Interface LotsListByCustomerOptionalParams
      info	[Changelog]   - Added Interface ModernReservationRecommendationProperties
      info	[Changelog]   - Added Interface ModernSharedScopeReservationRecommendationProperties
      info	[Changelog]   - Added Interface ModernSingleScopeReservationRecommendationProperties
      info	[Changelog]   - Added Type Alias LotsListByCustomerNextResponse
      info	[Changelog]   - Added Type Alias LotsListByCustomerResponse
      info	[Changelog]   - Added Type Alias ModernReservationRecommendationPropertiesUnion
      info	[Changelog]   - Interface Balance has a new optional parameter overageRefund
      info	[Changelog]   - Interface CreditSummary has a new optional parameter eTagPropertiesETag
      info	[Changelog]   - Interface CreditSummary has a new optional parameter isEstimatedBalance
      info	[Changelog]   - Interface EventSummary has a new optional parameter isEstimatedBalance
      info	[Changelog]   - Interface LegacyChargeSummary has a new optional parameter azureMarketplaceCharges
      info	[Changelog]   - Interface LegacyUsageDetail has a new optional parameter benefitId
      info	[Changelog]   - Interface LegacyUsageDetail has a new optional parameter benefitName
      info	[Changelog]   - Interface LotSummary has a new optional parameter isEstimatedBalance
      info	[Changelog]   - Interface ModernChargeSummary has a new optional parameter subscriptionId
      info	[Changelog]   - Interface ModernReservationRecommendation has a new optional parameter resourceType
      info	[Changelog]   - Interface ReservationTransactionsListOptionalParams has a new optional parameter previewMarkupPercentage
      info	[Changelog]   - Interface ReservationTransactionsListOptionalParams has a new optional parameter useMarkupIfPartner
      info	[Changelog]   - Enum KnownEventType has a new value CreditExpired
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Operation ReservationRecommendationDetails.get has a new signature
      info	[Changelog]   - Interface BudgetFilter no longer has parameter not
      info	[Changelog]   - Interface LegacyChargeSummary no longer has parameter marketplaceCharges
      info	[Changelog]   - Parameter scope of interface ModernReservationRecommendation is now required
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs] Generate from 624d3a16f643a60839273684fdc6a03a107520fe. 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
    • ️✔️consumption [View full logs
    ️🔄 azure-powershell inProgress [Detail]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented May 10, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/consumption/armconsumption https://apiview.dev/Assemblies/Review/c25e4779575347aca7ffb4bac422a855
    Java azure-resourcemanager-consumption https://apiview.dev/Assemblies/Review/21917e3b413a4ec5a21df9767d58f2a3
    JavaScript @azure/arm-consumption https://apiview.dev/Assemblies/Review/18d8a5a368734b1fa830c98187c824d8

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented May 10, 2023

    Swagger Validation Report

    ️❌BreakingChange: 1 Errors, 0 Warnings failed [Detail]
    compared swaggers (via Oad v0.10.4)] new version base version
    consumption_pricesheet.json 2023-03-01(b48c7ef) 2023-03-01(main)
    Rule Message
    1038 - AddedPath The new version is adding a path that was not found in the old version.
    New: Microsoft.Consumption/stable/2023-03-01/consumption_pricesheet.json#L37:5
    ️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️❌LintDiff: 1 Errors, 0 Warnings failed [Detail]
    compared tags (via openapi-validator v2.1.3) new version base version
    package-2023-03 package-2023-03(b48c7ef) package-2023-03(main)

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

    Rule Message Related RPC [For API reviewers]
    PathForResourceAction Path for 'post' method on a resource type MUST follow valid resource naming.
    Location: Microsoft.Consumption/stable/2023-03-01/consumption_pricesheet.json#L37
    RPC-Uri-V1-07
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️❌~[Staging] ServiceAPIReadinessTest: 34 Errors, 0 Warnings failed [Detail]

    Tag package-2023-03; Prod region: Deployed

    Test run on region: westcentralus; Operation coverage: total: 32, untested: 0, failed: 31, passed: 1

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

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

    Rule Message
    CLIENT_ERROR statusCode: 404,
    errorCode: SubscriptionNotFound,
    errorMessage: The subscription '00000000-0000-0000-0000-000000000000' could not be found.
    Source: runtime
    OperationId: Budgets_CreateOrUpdate
    CLIENT_ERROR statusCode: 404,
    errorCode: SubscriptionNotFound,
    errorMessage: The subscription '00000000-0000-0000-0000-000000000000' could not be found.
    Source: runtime
    OperationId: Budgets_List
    CLIENT_ERROR statusCode: 404,
    errorCode: SubscriptionNotFound,
    errorMessage: The subscription '00000000-0000-0000-0000-000000000000' could not be found.
    Source: runtime
    OperationId: Budgets_Get
    SERVER_ERROR statusCode: 500,
    errorCode: 500,
    errorMessage: An exception occurred during processing the request. Use this request id '489ed80a-9494-4e5f-abf4-fb247e544c96' for follow-up.
    Source: runtime
    OperationId: Balances_GetForBillingPeriodByBillingAccount
    CLIENT_ERROR statusCode: 403,
    errorCode: AuthorizationFailed,
    errorMessage: The client '7904a8be-825f-480e-a728-80a70579dba4' with object id '7904a8be-825f-480e-a728-80a70579dba4' does not have authorization to perform action 'Microsoft.Consumption/pricesheets/action' over scope '/providers/Microsoft.Billing/billingAccounts/billingamvngr7/billingPeriods/billingpmc8fkl/providers/Microsoft.Consumption/pricesheets/download' or the scope is invalid. If access was recently granted, please refresh your credentials.
    Source: runtime
    OperationId: PriceSheet_DownloadByBillingAccountPeriod
    PATTERN String does not match pattern ^[0-9]*$: billingpmc8fkl
    Source: request
    OperationId: PriceSheet_DownloadByBillingAccountPeriod
    SERVER_ERROR statusCode: 500,
    errorCode: 500,
    errorMessage: An exception occurred during processing the request. Use this request id '772110b3-01ad-4127-84f6-2773dc745442' for follow-up.
    Source: runtime
    OperationId: Credits_Get
    SERVER_ERROR statusCode: 500,
    errorCode: 500,
    errorMessage: An exception occurred during processing the request. Use this request id '085b3c8a-cbdf-46a5-b12b-8f48ac0af91a' for follow-up.
    Source: runtime
    OperationId: Events_ListByBillingProfile
    SERVER_ERROR statusCode: 500,
    errorCode: 500,
    errorMessage: An exception occurred during processing the request. Use this request id 'bb1eebab-b656-46a9-8721-d43acce03f40' for follow-up.
    Source: runtime
    OperationId: Lots_ListByBillingProfile
    CLIENT_ERROR statusCode: 401,
    errorCode: 401,
    errorMessage: Caller is not authorized
    Source: runtime
    OperationId: ReservationTransactions_ListByBillingProfile
    SERVER_ERROR statusCode: 500,
    errorCode: 500,
    errorMessage: An exception occurred during processing the request. Use this request id 'f0ec8d81-226d-47ee-b67a-eeb7b95f06b0' for follow-up.
    Source: runtime
    OperationId: Lots_ListByCustomer
    SERVER_ERROR statusCode: 500,
    errorCode: 500,
    errorMessage: An exception occurred during processing the request. Use this request id '20283cb3-cdbb-48c2-a4b6-aa108de60ef5' for follow-up.
    Source: runtime
    OperationId: Balances_GetByBillingAccount
    SERVER_ERROR statusCode: 500,
    errorCode: 500,
    errorMessage: An exception occurred during processing the request. Use this request id 'fc63672f-39f0-4490-980b-148cef671f4c' for follow-up.
    Source: runtime
    OperationId: Events_ListByBillingAccount
    SERVER_ERROR statusCode: 500,
    errorCode: 500,
    errorMessage: An exception occurred during processing the request. Use this request id '68fcdcf8-a54f-4106-bfce-aef5fa25c80e' for follow-up.
    Source: runtime
    OperationId: Lots_ListByBillingAccount
    CLIENT_ERROR statusCode: 401,
    errorCode: 401,
    errorMessage: Caller is not authorized
    Source: runtime
    OperationId: ReservationTransactions_List
    CLIENT_ERROR statusCode: 401,
    errorCode: 401,
    errorMessage: Caller is not authorized
    Source: runtime
    OperationId: ReservationsDetails_ListByReservationOrder
    CLIENT_ERROR statusCode: 401,
    errorCode: 401,
    errorMessage: Caller is not authorized
    Source: runtime
    OperationId: ReservationsSummaries_ListByReservationOrder
    CLIENT_ERROR statusCode: 401,
    errorCode: 401,
    errorMessage: Caller is not authorized
    Source: runtime
    OperationId: ReservationsDetails_ListByReservationOrderAndReservation
    CLIENT_ERROR statusCode: 401,
    errorCode: 401,
    errorMessage: Caller is not authorized
    Source: runtime
    OperationId: ReservationsSummaries_ListByReservationOrderAndReservation
    CLIENT_ERROR statusCode: 403,
    errorCode: AuthorizationFailed,
    errorMessage: The client '7904a8be-825f-480e-a728-80a70579dba4' with object id '7904a8be-825f-480e-a728-80a70579dba4' does not have authorization to perform action 'Microsoft.Consumption/aggregatedCost/read' over scope '/providers/Microsoft.Management/managementGroups/managemewbjgs4/providers/Microsoft.Billing/billingPeriods/billingpmc8fkl/providers/Microsoft.Consumption' or the scope is invalid. If access was recently granted, please refresh your credentials.
    Source: runtime
    OperationId: AggregatedCost_GetForBillingPeriodByManagementGroup
    CLIENT_ERROR statusCode: 403,
    errorCode: AuthorizationFailed,
    errorMessage: The client '7904a8be-825f-480e-a728-80a70579dba4' with object id '7904a8be-825f-480e-a728-80a70579dba4' does not have authorization to perform action 'Microsoft.Consumption/aggregatedcost/read' over scope '/providers/Microsoft.Management/managementGroups/managemewbjgs4/providers/Microsoft.Consumption' or the scope is invalid. If access was recently granted, please refresh your credentials.
    Source: runtime
    OperationId: AggregatedCost_GetByManagementGroup
    CLIENT_ERROR statusCode: 404,
    errorCode: 404,
    errorMessage: Cost management data is not supported for subscription(s) db5eb68e-73e2-4fa8-b18a-46cd1be4cce5 in the provided api-version. Please use api-version 2019-10-01 or later. (Request ID: 731d37ff-bbf3-48c8-baac-775f5928e040)
    Source: runtime
    OperationId: PriceSheet_GetByBillingPeriod
    CLIENT_ERROR statusCode: 404,
    errorCode: 404,
    errorMessage: Cost management data is not supported for subscription(s) db5eb68e-73e2-4fa8-b18a-46cd1be4cce5 in the provided api-version. Please use api-version 2019-10-01 or later. (Request ID: d892d008-0bc1-46db-bdc8-d4e4c7d120eb)
    Source: runtime
    OperationId: PriceSheet_Get
    CLIENT_ERROR statusCode: 401,
    errorCode: 401,
    errorMessage: Caller is not authorized
    Source: runtime
    OperationId: ReservationsDetails_List
    CLIENT_ERROR statusCode: 400,
    errorCode: InvalidSubscriptionId,
    errorMessage: The provided subscription identifier '00000000-0000-0000-0000-00000000' is malformed or invalid.
    Source: runtime
    OperationId: ReservationRecommendationDetails_Get
    CLIENT_ERROR statusCode: 404,
    errorCode: SubscriptionNotFound,
    errorMessage: The subscription '00000000-0000-0000-0000-000000000000' could not be found.
    Source: runtime
    OperationId: ReservationRecommendations_List
    CLIENT_ERROR statusCode: 401,
    errorCode: 401,
    errorMessage: Caller is not authorized
    Source: runtime
    OperationId: ReservationsSummaries_List
    CLIENT_ERROR statusCode: 401,
    errorCode: 401,
    errorMessage: No claims present for the caller in the system
    Source: runtime
    OperationId: Charges_List
    CLIENT_ERROR statusCode: 404,
    errorCode: SubscriptionNotFound,
    errorMessage: The subscription '00000000-0000-0000-0000-000000000000' could not be found.
    Source: runtime
    OperationId: Marketplaces_List
    CLIENT_ERROR statusCode: 404,
    errorCode: undefined,
    errorMessage: undefined
    Source: runtime
    OperationId: Tags_Get
    ️️✔️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-workflow-bot
    Copy link

    NewApiVersionRequired reason:

    A service’s API is a contract with customers and is represented by using the api-version query parameter. Changes such as adding an optional property to a request/response or introducing a new operation is a change to the service’s contract and therefore requires a new api-version value. This is critically important for documentation, client libraries, and customer support.

    EXAMPLE: if a customer calls a service in the public cloud using api-version=2020-07-27, the new property or operation may exist but if they call the service in a government cloud, air-gapped cloud, or Azure Stack Hub cloud using the same api-version, the property or operation may not exist. Because there is no clear relationship between the service api-version and the new property/operation, customers can’t trust the documentation and Azure customer have difficulty helping customers diagnose issues. In addition, each client library version documents the service version it supports. When an optional property or new operation is added to a service and its Swagger, new client libraries must be produced to expose this functionality to customers. Without updating the api-version, it is unclear to customers which version of a client library supports these new features.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented May 10, 2023

    Swagger pipeline restarted successfully, please wait for status update in this comment.

    @pthippeswamy
    Copy link
    Contributor Author

    /azp run unifiedPipeline

    @azure-pipelines
    Copy link

    No pipelines are associated with this pull request.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented May 10, 2023

    Swagger Generation Artifacts

    ️⌛ApiDocPreview pending [Detail]
    ️❌SDK Breaking Change Tracking failed [Detail]

    Breaking Changes Tracking

    azure-sdk-for-go - sdk/resourcemanager/consumption/armconsumption - 2.0.0
    +	Field `Etag`, `Tags` of struct `CreditSummary` has been removed
    +	Field `MarketplaceCharges` of struct `LegacyChargeSummaryProperties` has been removed
    +	Type of `ModernReservationRecommendation.Properties` has been changed from `*ModernReservationRecommendationProperties` to `ModernReservationRecommendationPropertiesClassification`
    azure-sdk-for-python-track2 - track2_azure-mgmt-consumption - 10.0.0
    +	Model CreditSummary no longer has parameter etag
    +	Model CreditSummary no longer has parameter tags
    +	Model LegacyChargeSummary no longer has parameter marketplace_charges
    +	Parameter scope of model ModernReservationRecommendation is now required
    azure-sdk-for-js - @azure/arm-consumption - 10.0.0
    +	Interface BudgetFilter no longer has parameter not
    +	Interface LegacyChargeSummary no longer has parameter marketplaceCharges
    +	Operation ReservationRecommendationDetails.get has a new signature
    +	Parameter scope of interface ModernReservationRecommendation is now required
    ️⌛ azure-sdk-for-net-track2 pending [Detail]
    ️⌛ azure-sdk-for-go pending [Detail]
    ️⌛ azure-sdk-for-python-track2 pending [Detail]
    Posted by Swagger Pipeline | How to fix these errors?

    @pthippeswamy
    Copy link
    Contributor Author

    /azp run unifiedPipeline

    @azure-pipelines
    Copy link

    No pipelines are associated with this pull request.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented May 10, 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/consumption/armconsumption - 2.0.0
    +	Field `Etag`, `Tags` of struct `CreditSummary` has been removed
    +	Field `MarketplaceCharges` of struct `LegacyChargeSummaryProperties` has been removed
    +	Type of `ModernReservationRecommendation.Properties` has been changed from `*ModernReservationRecommendationProperties` to `ModernReservationRecommendationPropertiesClassification`
    azure-sdk-for-python-track2 - track2_azure-mgmt-consumption - 10.0.0
    +	Model CreditSummary no longer has parameter etag
    +	Model CreditSummary no longer has parameter tags
    +	Model LegacyChargeSummary no longer has parameter marketplace_charges
    +	Parameter scope of model ModernReservationRecommendation is now required
    azure-sdk-for-js - @azure/arm-consumption - 10.0.0
    +	Interface BudgetFilter no longer has parameter not
    +	Interface LegacyChargeSummary no longer has parameter marketplaceCharges
    +	Operation ReservationRecommendationDetails.get has a new signature
    +	Parameter scope of interface ModernReservationRecommendation is now required
    ️🔄 azure-sdk-for-net-track2 inProgress [Detail]
    ️❌ azure-sdk-for-go failed [Detail]
    • Code Generator Failed [Logs] Generate from 09c24c3de37f8c5c0f848aa6d0bdc2d4ffeae3e1. 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
      cmderr	[generator automation-v2] [ERROR] total 1 error(s):
      cmderr	[generator automation-v2] [ERROR] failed to execute `go generate` '�[33;1mWARNING: Unable to find version for /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/consumption/armconsumption�[0m
      cmderr	[generator automation-v2] [ERROR] Cannot find go module under resourcemanager/consumption/armconsumption, try to build in /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/consumption/armconsumption
      cmderr	[generator automation-v2] [ERROR] ##[command]Cleaning auto-generated files in /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/consumption/armconsumption
      cmderr	[generator automation-v2] [ERROR] ##[command]Executing autorest.go in  /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/consumption/armconsumption
      cmderr	[generator automation-v2] [ERROR] autorest --version=3.8.2 --use=@autorest/go@4.0.0-preview.48 --go --track2 --output-folder=/mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/consumption/armconsumption --clear-output-folder=false --go.clear-output-folder=false --honor-body-placement=true --remove-unreferenced-types=false ./autorest.md
      cmderr	[generator automation-v2] [ERROR] AutoRest code generation utility [cli version: 3.6.1; node: v16.20.0]
      cmderr	[generator automation-v2] [ERROR] (C) 2018 Microsoft Corporation.
      cmderr	[generator automation-v2] [ERROR] https://aka.ms/autorest
      cmderr	[generator automation-v2] [ERROR] info    | AutoRest core version selected from configuration: 3.8.2.
      cmderr	[generator automation-v2] [ERROR] There is a new version of AutoRest available (3.6.3).
      cmderr	[generator automation-v2] [ERROR] > You can install the newer version with with npm install -g autorest@latest
      cmderr	[generator automation-v2] [ERROR] info    |    Loading AutoRest core      '/home/cloudtest/.autorest/@autorestcore@3.8.2/nodemodules/@autorest/core/dist' (3.8.2)
      cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.0.suppress which is deprecated and will be removed in the future.
      cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.1.suppress which is deprecated and will be removed in the future.
      cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.0.suppress which is deprecated and will be removed in the future.
      cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.1.suppress which is deprecated and will be removed in the future.
      cmderr	[generator automation-v2] [ERROR] info    |    Installing AutoRest extension '@autorest/go' (4.0.0-preview.48 -> 4.0.0-preview.48)
      cmderr	[generator automation-v2] [ERROR] info    |    Installed AutoRest extension '@autorest/go' (4.0.0-preview.48->4.0.0-preview.48)
      cmderr	[generator automation-v2] [ERROR] info    |    Installing AutoRest extension '@autorest/modelerfour' (4.23.1 -> 4.23.1)
      cmderr	[generator automation-v2] [ERROR] info    |    Installed AutoRest extension '@autorest/modelerfour' (4.23.1->4.23.1)
      cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > BudgetProperties > properties > filter)
      cmderr	[generator automation-v2] [ERROR] keys: [ �[32m'type'�[39m ]
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4233:9
      cmderr	[generator automation-v2] [ERROR] warning | IgnoredPropertyNextToRef | Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > BudgetProperties > properties > notifications > additionalProperties)
      cmderr	[generator automation-v2] [ERROR] keys: [ �[32m'type'�[39m ]
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4246:11
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'MeterDetails' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:1862:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'UsageDetailsListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:1941:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'LegacyUsageDetailProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:1979:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ModernUsageDetailProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:2252:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ReservationSummariesListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:2998:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ReservationSummaryProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:3016:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ReservationDetailsListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:3123:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ReservationDetailProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:3141:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ReservationRecommendationDetailsProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:3229:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ReservationRecommendationDetailsCalculatedSavingsProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:3264:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ReservationRecommendationDetailsResourceProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:3303:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ReservationRecommendationDetailsSavingsProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:3341:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ReservationRecommendationDetailsUsageProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:3380:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ReservationRecommendationsListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:3413:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'SkuProperty' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:3610:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ModernReservationTransactionProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:3777:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'LegacyReservationTransactionProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:3924:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ReservationTransactionsListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4067:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ModernReservationTransactionsListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4085:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'TagProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4119:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'Tag' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4144:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BudgetsListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4160:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BudgetProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4194:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BudgetTimePeriod' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4265:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BudgetFilter' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4283:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BudgetFilterProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4305:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'BudgetComparisonExpression' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4318:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'CurrentSpend' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4351:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ForecastSpend' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4367:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'Notification' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4383:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'PriceSheetModel' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4530:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'DownloadProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4556:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'PriceSheetProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4571:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ChargesListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4707:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'MeterDetailsResponse' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4897:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ErrorDetails' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4927:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'HighCasedErrorDetails' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4942:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'Operation-display' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:4991:9
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'OperationListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:5018:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'Events' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:5036:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'EventProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:5070:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'Lots' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:5209:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'LotProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:5243:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'CreditBalanceSummary' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:5414:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'amount' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:5434:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'Resource' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:5450:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ReservationTransactionResource' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:5484:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ResourceAttributes' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:5513:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'ProxyResource' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:5528:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/SchemaMissingType | The schema 'AmountWithExchangeRate' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
      cmderr	[generator automation-v2] [ERROR] - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json:5553:5
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/CheckDuplicateSchemas | Checking for duplicate schemas, this could take a (long) while.  Run with --verbose for more detail.
      cmderr	[generator automation-v2] [ERROR] error   | PreCheck/DuplicateSchema | Duplicate Schema named 'ErrorResponse' (3 differences):
      cmderr	[generator automation-v2] [ERROR] - properties.error.description: "The details of the error." => "The error object."
      cmderr	[generator automation-v2] [ERROR] - properties.error.$ref: "#/components/schemas/schemas:464" => "#/components/schemas/schemas:672"
      cmderr	[generator automation-v2] [ERROR] - title: <none> => "Error response"; This error can be *temporarily* avoided by using the 'modelerfour.lenient-model-deduplication' setting.  NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that.
      cmderr	[generator automation-v2] [ERROR] warning | PreCheck/PropertyRedeclarationWarning | Schema 'LegacyReservationTransaction' has a property 'properties' that is already declared the parent schema 'ReservationTransaction' but isn't significantly different. The property has been removed from LegacyReservationTransaction
      cmderr	[generator automation-v2] [ERROR] fatal   | Error: 1 errors occured -- cannot continue.
      cmderr	[generator automation-v2] [ERROR] fatal   | Process() cancelled due to failure
      cmderr	[generator automation-v2] [ERROR] error   |   Error: Plugin prechecker reported failure.
      cmderr	[generator automation-v2] [ERROR] error   | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.
      cmderr	[generator automation-v2] [ERROR] ##[error]Error running autorest.go
      cmderr	[generator automation-v2] [ERROR] build.go:5: running "pwsh": exit status 1
      cmderr	[generator automation-v2] [ERROR] ': exit status 1
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go]: generator automation-v2
      warn	Skip package processing as generation is failed
    ️❌ azure-sdk-for-python-track2 failed [Detail]
    • Code Generator Failed [Logs] Generate from 09c24c3de37f8c5c0f848aa6d0bdc2d4ffeae3e1. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
      cmderr	[automation_generate.sh]
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 9.5.1 -> 9.6.7
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.6.7>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@9.6.7` to update!
      cmderr	[automation_generate.sh] npm notice
      cmdout	[automation_generate.sh] [Autorest]   - properties.error.$ref: "#/components/schemas/schemas:464" => "#/components/schemas/schemas:672"
      cmdout	[automation_generate.sh] [Autorest]   - title: <none> => "Error response"; This error can be *temporarily* avoided by using the 'modelerfour.lenient-model-deduplication' setting.  NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that.
      cmdout	[automation_generate.sh] [Autorest] warning | PreCheck/PropertyRedeclarationWarning | Schema 'LegacyReservationTransaction' has a property 'properties' that is already declared the parent schema 'ReservationTransaction' but isn't significantly different. The property has been removed from LegacyReservationTransaction
      cmdout	[automation_generate.sh] [Autorest] fatal   | Error: 1 errors occured -- cannot continue.
      cmdout	[automation_generate.sh] [Autorest] fatal   | Process() cancelled due to failure
      cmdout	[automation_generate.sh] [Autorest] error   |   Error: Plugin prechecker reported failure.
      cmdout	[automation_generate.sh] [Autorest] error   | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.
      cmdout	[automation_generate.sh] [Autorest]   - properties.error.$ref: "#/components/schemas/schemas:464" => "#/components/schemas/schemas:672"
      cmdout	[automation_generate.sh] [Autorest]   - title: <none> => "Error response"; This error can be *temporarily* avoided by using the 'modelerfour.lenient-model-deduplication' setting.  NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that.
      cmdout	[automation_generate.sh] [Autorest] warning | PreCheck/PropertyRedeclarationWarning | Schema 'LegacyReservationTransaction' has a property 'properties' that is already declared the parent schema 'ReservationTransaction' but isn't significantly different. The property has been removed from LegacyReservationTransaction
      cmdout	[automation_generate.sh] [Autorest] fatal   | Error: 1 errors occured -- cannot continue.
      cmdout	[automation_generate.sh] [Autorest] fatal   | Process() cancelled due to failure
      cmdout	[automation_generate.sh] [Autorest] error   |   Error: Plugin prechecker reported failure.
      cmdout	[automation_generate.sh] [Autorest] error   | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.
      cmdout	[automation_generate.sh] [Autorest]/mnt/vss/_work/1/s/azure-sdk-for-python_tmp/venv-sdk/auto_temp.json does not exist!!!Error happened during codegen
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-python]: sh scripts/automation_generate.sh
      warn	Skip package processing as generation is failed
    ️🔄 azure-sdk-for-java inProgress [Detail]
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 09c24c3de37f8c5c0f848aa6d0bdc2d4ffeae3e1. SDK Automation 14.0.0
      command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
      warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
    • ️✔️@azure/arm-consumption [View full logs]  [Preview SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation LotsOperations.listByCustomer
      info	[Changelog]   - Added operation PriceSheet.beginDownloadByBillingAccountPeriod
      info	[Changelog]   - Added operation PriceSheet.beginDownloadByBillingAccountPeriodAndWait
      info	[Changelog]   - Added Interface ErrorAdditionalInfo
      info	[Changelog]   - Added Interface ErrorDetail
      info	[Changelog]   - Added Interface ErrorResponseAutoGenerated
      info	[Changelog]   - Added Interface LotsListByCustomerNextOptionalParams
      info	[Changelog]   - Added Interface LotsListByCustomerOptionalParams
      info	[Changelog]   - Added Interface ModernReservationRecommendationProperties
      info	[Changelog]   - Added Interface ModernSharedScopeReservationRecommendationProperties
      info	[Changelog]   - Added Interface ModernSingleScopeReservationRecommendationProperties
      info	[Changelog]   - Added Interface OperationStatus
      info	[Changelog]   - Added Interface PriceSheetDownloadByBillingAccountPeriodHeaders
      info	[Changelog]   - Added Interface PriceSheetDownloadByBillingAccountPeriodOptionalParams
      info	[Changelog]   - Added Type Alias LotsListByCustomerNextResponse
      info	[Changelog]   - Added Type Alias LotsListByCustomerResponse
      info	[Changelog]   - Added Type Alias ModernReservationRecommendationPropertiesUnion
      info	[Changelog]   - Added Type Alias OperationStatusType
      info	[Changelog]   - Added Type Alias PriceSheetDownloadByBillingAccountPeriodResponse
      info	[Changelog]   - Interface Balance has a new optional parameter overageRefund
      info	[Changelog]   - Interface CreditSummary has a new optional parameter eTagPropertiesETag
      info	[Changelog]   - Interface CreditSummary has a new optional parameter isEstimatedBalance
      info	[Changelog]   - Interface EventSummary has a new optional parameter isEstimatedBalance
      info	[Changelog]   - Interface LegacyChargeSummary has a new optional parameter azureMarketplaceCharges
      info	[Changelog]   - Interface LegacyUsageDetail has a new optional parameter benefitId
      info	[Changelog]   - Interface LegacyUsageDetail has a new optional parameter benefitName
      info	[Changelog]   - Interface LotSummary has a new optional parameter isEstimatedBalance
      info	[Changelog]   - Interface ModernChargeSummary has a new optional parameter subscriptionId
      info	[Changelog]   - Interface ModernReservationRecommendation has a new optional parameter resourceType
      info	[Changelog]   - Interface ReservationTransactionsListOptionalParams has a new optional parameter previewMarkupPercentage
      info	[Changelog]   - Interface ReservationTransactionsListOptionalParams has a new optional parameter useMarkupIfPartner
      info	[Changelog]   - Added Enum KnownOperationStatusType
      info	[Changelog]   - Enum KnownEventType has a new value CreditExpired
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Operation ReservationRecommendationDetails.get has a new signature
      info	[Changelog]   - Interface BudgetFilter no longer has parameter not
      info	[Changelog]   - Interface LegacyChargeSummary no longer has parameter marketplaceCharges
      info	[Changelog]   - Parameter scope of interface ModernReservationRecommendation is now required
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs] Generate from 09c24c3de37f8c5c0f848aa6d0bdc2d4ffeae3e1. 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
    • ️✔️consumption [View full logs
    ️🔄 azure-powershell inProgress [Detail]
    Posted by Swagger Pipeline | How to fix these errors?

    @pthippeswamy
    Copy link
    Contributor Author

    /azp run unifiedPipeline

    @pthippeswamy
    Copy link
    Contributor Author

    /azp run unifiedPipeline

    @azure-pipelines
    Copy link

    No pipelines are associated with this pull request.

    @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 Jun 7, 2023
    @tadelesh
    Copy link
    Member

    tadelesh commented Jun 8, 2023

    tadelesh's

    @tadelesh Chenjie Shi FTE @v-jiaodi Di Jiao (WICRESOFT NORTH AMERICA LTD) Vendor - Regarding the errors due to "consumption.json" file - I tried correcting the errors around "error-response" and checked in the file to mitigate the SDK azure-sdk-for-go error but it resulted in file showing up 88 more errors. Consumption.json file is shared across many teams and has APIs that we are not aware of and are unrelated to the API we are documenting.

    Could you please consider this and provide “Approved-Lint Diff” label on the PR to allow documentation to go forward? thanks.

    I have already added some directive to handle it in Go SDK. Perhaps, you could revert your change.

    @pthippeswamy
    Copy link
    Contributor Author

    tadelesh's

    @tadelesh Chenjie Shi FTE @v-jiaodi Di Jiao (WICRESOFT NORTH AMERICA LTD) Vendor - Regarding the errors due to "consumption.json" file - I tried correcting the errors around "error-response" and checked in the file to mitigate the SDK azure-sdk-for-go error but it resulted in file showing up 88 more errors. Consumption.json file is shared across many teams and has APIs that we are not aware of and are unrelated to the API we are documenting.
    Could you please consider this and provide “Approved-Lint Diff” label on the PR to allow documentation to go forward? thanks.

    I have already added some directive to handle it in Go SDK. Perhaps, you could revert your change.

    Yes, I did not check in anything for the sdk-for-go error.

    @pthippeswamy
    Copy link
    Contributor Author

    @tadelesh Chenjie Shi FTE @v-jiaodi

    @tadelesh Chenjie Shi FTE @v-jiaodi - Could you please let me know if anything is needed from my end on the PR?

    @openapi-workflow-bot
    Copy link

    Hi @pthippeswamy, 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.

    @tadelesh
    Copy link
    Member

    approved lint diff due to arm comment

    @tadelesh tadelesh added the Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go label Jun 13, 2023
    @tadelesh
    Copy link
    Member

    Go SDK breaking changes are not introduced in this PR. Approved.

    @v-jiaodi v-jiaodi added the Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates label Jun 13, 2023
    @weidongxu-microsoft weidongxu-microsoft merged commit f36175f into main Jun 14, 2023
    @weidongxu-microsoft weidongxu-microsoft deleted the pthippeswamy-consumption-Microsoft.Consumption-2023-03-01 branch June 14, 2023 02:08
    harryli0108 pushed a commit to harryli0108/azure-rest-api-specs that referenced this pull request Jul 28, 2023
    …on stable/2023-03-01 (Azure#23914)
    
    * EA Pricesheet download documentation.
    
    * Model validation error fix
    
    * readme edit to add consumption_pricesheet.json
    
    * corrections
    
    * Proper braces
    
    * corrections
    
    * corrections
    
    * edits
    
    * corrections
    
    * edit
    
    * Removed unwanted path and example file
    
    * Added error response back
    
    * Call method correction
    
    * validating Linter error - testing
    
    * Removed errorResponse to common file
    
    * errorResponse
    
    * Adding common-types json to readme
    
    * ErrorDetail addition
    
    * Removed common-types. Edits to correct Linter issues.
    
    * removed the reference to old file
    
    * CI issues fixed
    
    * Corrections based on PR comment
    
    * rename
    
    * SDK error fix
    
    * Delete consumption.json
    
    * Revert "SDK error fix"
    
    This reverts commit e0d3154.
    
    * Suppression for Linter error
    
    * supression
    
    * supression
    
    * supression error
    
    * resolve go duplicate schema issue
    
    * Changes per - https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdev.azure.com%2Fazure-sdk%2Finternal%2F_wiki%2Fwikis%2Finternal.wiki%2F828%2FHow-to-suppress-validation-rules%3Fanchor%3Dnew-guidance-as-of-5%2F15%2F2023&data=05%7C01%7Cpthippeswamy%40microsoft.com%7C1975ac464e674af18df308db672967e8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638217199804383965%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=L6ZelM9GpeDUHthYwX%2Fgb0BCM6aBTNKxMOT548n2rNc%3D&reserved=0
    
    * correction
    
    * correcting suppression format
    
    * revert suppression
    
    ---------
    
    Co-authored-by: Chenjie Shi <tadelesh.shi@live.cn>
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 Approved-LintDiff Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go Approved-SdkBreakingChange-JavaScript Approved-SdkBreakingChange-Python ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-Go CI-BreakingChange-JavaScript CI-FixRequiredOnFailure NewApiVersionRequired 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.