azure-rest-api-specs icon indicating copy to clipboard operation
azure-rest-api-specs copied to clipboard

Dev consumption microsoft.consumption 2024 04 01

Open MattEberhart-MSFTE opened this issue 1 year ago • 5 comments

ARM (Control Plane) API Specification Update Pull Request

[!TIP] Overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

[!NOTE] As of January 2024 there is no PR assignee. This is expected. See https://aka.ms/azsdk/pr-arm-review.

PR review workflow diagram

Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

diagram

Click here to see the details of Step 1, Breaking Changes review

If you are in purview of Step 1 of the diagram, follow the Breaking Changes review process.
IMPORTANT! This applies even if you believe your PR was mislabeled, for any reason, including tool failure.

Click here to see the details of Step 2, ARM review

See https://aka.ms/azsdk/pr-arm-review.

Click here to see the diagram footnotes

Diagram footnotes

[1] See ARM review queue (for PR merge queues, see [2]).
[2] public repo merge queue, private repo merge queue (for ARM review queue, [1])
The ARM reviewer on-call engineer visits the merge queue twice a day, so the approximate ETA for merges is 12 - 24 hours.

Purpose of this PR

What's the purpose of this PR? Check the specific option that applies. This is mandatory!

  • [ ] New resource provider.
  • [x] New API version for an existing resource provider. (If API spec is not defined in TypeSpec, the PR should have been generated using OpenAPI Hub).
  • [ ] Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
  • [ ] Update existing version to fix OpenAPI spec quality issues in S360.
  • [ ] Other, please clarify:
    • edit this with your clarification

Due diligence checklist

To merge this PR, you must go through the following checklist and confirm you understood and followed the instructions by checking all the boxes:

  • [x] I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
  • [x] I have reviewed following Resource Provider guidelines, including ARM resource provider contract and REST guidelines (estimated time: 4 hours).
    I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.

Additional information

Viewing API changes

For convenient view of the API changes made by this PR, refer to the URLs provided in the table in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures

If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the suppressions guide to get approval.

Getting help

  • First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
  • To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
  • For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure and https://aka.ms/ci-fix.
  • For help with PR workflow diagram Step 2 (ARM review), see https://aka.ms/azsdk/pr-arm-review.
  • If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run. This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
  • If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

MattEberhart-MSFTE avatar Mar 19 '24 16:03 MattEberhart-MSFTE

Next Steps to Merge

Next steps that must be taken to merge this PR:
  • ❌ This PR has at least one breaking change (label: BreakingChangeReviewRequired).
    To unblock this PR, follow the process at aka.ms/brch.
  • ❌ This PR is in purview of the ARM review (label: ARMReview). This PR must get ARMSignedOff label from an ARM reviewer.
    This PR has ARMChangesRequested label. Please address or respond to feedback from the ARM API reviewer.
    When you are ready to continue the ARM API review, please remove the ARMChangesRequested label.
    Automation should then add WaitForARMFeedback label.
    ❗If you don't have permissions to remove the label, request write access per aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositories.
    For details of the ARM review, see aka.ms/azsdk/pr-arm-review
  • ❌ The required check named Breaking Change(Cross-Version) has failed. To unblock this PR, follow the process at aka.ms/brch.

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️❌Breaking Change(Cross-Version): 2 Errors, 48 Warnings failed [Detail]
Compared specs (v0.10.5) new version base version
consumption.json 2024-04-01(97f7ae3) 2023-11-01(main)
consumption.json 2024-04-01(97f7ae3) 2019-05-01-preview(main)
consumption_pricesheet.json 2024-04-01(97f7ae3) 2023-11-01(main)

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

Rule Message
1049 - RemovedXmsEnum The new version is missing a 'x-ms-enum' found in the old version.
Old: Microsoft.Consumption/stable/2023-11-01/consumption.json#L1152:9
1049 - RemovedXmsEnum The new version is missing a 'x-ms-enum' found in the old version.
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L5982:5
Old: Microsoft.Consumption/stable/2023-11-01/consumption.json#L5982:5


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

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

Rule Message
:warning: 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/{scope}/providers/Microsoft.Consumption/usageDetails/download' removed or restructured?
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L154:5
:warning: 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/balances' removed or restructured?
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L620:5
:warning: 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/reservationRecommendations' removed or restructured?
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L876:5
:warning: 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/forecasts' removed or restructured?
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L1058:5
:warning: 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/Microsoft.Consumption/aggregatedcost' removed or restructured?
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L1194:5
:warning: 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'Filters' removed or renamed?
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L1888:3
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L1237:3
:warning: 1008 - ModifiedOperationId The operation id has been changed from 'Charges_ListByScope' to 'Charges_List'. This will impact generated code.
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L486:7
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L533:7
:warning: 1011 - AddingResponseCode The new version adds a response code '204'.
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L155:11
:warning: 1011 - AddingResponseCode The new version adds a response code '204'.
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L252:11
:warning: 1011 - AddingResponseCode The new version adds a response code '204'.
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L473:11
:warning: 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L577:13
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L568:13
:warning: 1019 - RemovedEnumValue The new version is removing enum value(s) 'Usage' from the old version.
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L4247:9
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L2238:9
:warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L131:11
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L119:11
:warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L221:11
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L275:11
:warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L1334:11
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L958:11
:warning: 1023 - TypeFormatChanged The new version has a different format than the previous one.
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L1400:11
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L1023:11
:warning: 1026 - TypeChanged The new version has a different type '' than the previous one 'object'.
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L577:13
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L568:13
:warning: 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L1998:11
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L1313:11
:warning: 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L1964:5
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L1290:5
:warning: 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L3486:5
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L2071:5
:warning: 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L3470:11
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L2097:11
:warning: 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L4769:11
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L2724:11
:warning: 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L4775:5
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L2730:5
:warning: 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L577:13
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L568:13
:warning: 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L4769:11
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L2724:11
:warning: 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L4775:5
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L2730:5
:warning: 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'properties' renamed or removed?
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L1973:7
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L1298:7
:warning: 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'filters' renamed or removed?
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L4246:7
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L2237:7
:warning: 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'properties' renamed or removed?
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L4764:7
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L2738:7
:warning: 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'id' renamed or removed?
New: Microsoft.Consumption/stable/2024-04-01/consumption.json#L4764:7
Old: Microsoft.Consumption/preview/2019-05-01-preview/consumption.json#L2738:7
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️LintDiff: 0 Warnings warning [Detail]
Compared specs (v2.2.0) new version base version
package-2024-04 package-2024-04(97f7ae3) default(main)

The following errors/warnings exist before current PR submission:

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

Rule Message
PathForResourceAction Path for 'post' method on a resource type MUST follow valid resource naming.
Location: Microsoft.Consumption/stable/2024-04-01/consumption_pricesheet.json#L37
GetResponseCodes GET operation must have response codes 200 and default. In addition, can have 202 if the GET represents the location header polling url.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L38
GetResponseCodes GET operation must have response codes 200 and default. In addition, can have 202 if the GET represents the location header polling url.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L171
ResourceNameRestriction The resource name parameter 'budgetName' should be defined with a 'pattern' restriction.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L309
DeleteResponseCodes Synchronous delete operations must have responses with 200, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L405
DeleteOperationResponses The delete operation is defined without a 200 or 204 error response implementation,please add it.'
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L430
GetResponseCodes GET operation must have response codes 200 and default. In addition, can have 202 if the GET represents the location header polling url.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L444
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L444
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L469
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L486
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L577
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L591
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L616
ResourceNameRestriction The resource name parameter 'billingPeriodName' should be defined with a 'pattern' restriction.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L629
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L630
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L658
GetResponseCodes GET operation must have response codes 200 and default. In addition, can have 202 if the GET represents the location header polling url.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L1069
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L1109
PathForTrackedResourceTypes The path must be under a subscription and resource group for tracked resource types.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L1128
GetResponseCodes GET operation must have response codes 200 and default. In addition, can have 202 if the GET represents the location header polling url.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L1129
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L1129
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L1181
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L1305
ParametersInPointGet Query parameter $expand should be removed. Point Get's MUST not have query parameters other than api version.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L1319
ParametersInPointGet Query parameter $skiptoken should be removed. Point Get's MUST not have query parameters other than api version.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L1319
ParametersInPointGet Query parameter $top should be removed. Point Get's MUST not have query parameters other than api version.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L1319
ResourceNameRestriction The resource name parameter 'billingPeriodName' should be defined with a 'pattern' restriction.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L1367
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L1368
ParametersInPointGet Query parameter $expand should be removed. Point Get's MUST not have query parameters other than api version.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L1385
ParametersInPointGet Query parameter $skiptoken should be removed. Point Get's MUST not have query parameters other than api version.
Location: Microsoft.Consumption/stable/2024-04-01/consumption.json#L1385
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️SwaggerAPIView 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.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

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
+	Enum `Term` has been removed
+	Field `Etag`, `Tags` of struct `CreditSummary` has been removed
+	Field `MarketplaceCharges` of struct `LegacyChargeSummaryProperties` has been removed
+	Function `*ReservationRecommendationDetailsClient.Get` parameter(s) have been changed from `(context.Context, string, Scope, string, Term, LookBackPeriod, string, *ReservationRecommendationDetailsClientGetOptions)` to `(context.Context, string, Scope, string, string, LookBackPeriod, string, *ReservationRecommendationDetailsClientGetOptions)`
+	Type of `ModernReservationRecommendation.Properties` has been changed from `*ModernReservationRecommendationProperties` to `ModernReservationRecommendationPropertiesClassification`
azure-sdk-for-js - @azure/arm-consumption - 10.0.0
+	Class ConsumptionManagementClient has a new signature
+	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
+	Removed Enum KnownTerm
️❌ azure-sdk-for-net-track2 failed [Detail]
  • Failed [Logs] Generate from 1841d5057018ca0a7d713fb8747fe3c68df6b1a1. 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:714[0m
    cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1m[0m[36;1mLine |[0m
    cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1m[0m[36;1m[36;1m 714 | [0m         [36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s[0m …[0m
    cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1m[0m[36;1m[36;1m[0m[36;1m[0m[36;1m     | [31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m
    cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1m[0m[36;1m[36;1m[0m[36;1m[0m[36;1m[31;1m[31;1m[36;1m     | [31;1mFailed to generate sdk. exit code: False[0m
    cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1mGet-ChildItem: [0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:807[0m
    cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1m[0m[36;1mLine |[0m
    cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1m[0m[36;1m[36;1m 807 | [0m … rtifacts += [36;1mGet-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s[0m …[0m
    cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1m[0m[36;1m[36;1m[0m[36;1m[0m[36;1m     | [31;1m               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m
    cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1m[0m[36;1m[36;1m[0m[36;1m[0m[36;1m[31;1m[31;1m[36;1m     | [31;1mCannot find path[0m
    cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1m[0m[36;1m[36;1m[0m[36;1m[0m[36;1m[31;1m[31;1m[36;1m[31;1m[36;1m     | [31;1m'/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because[0m
    cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1m[0m[36;1m[36;1m[0m[36;1m[0m[36;1m[31;1m[31;1m[36;1m[31;1m[36;1m[31;1m[36;1m     | [31;1mit does not exist.[0m
    cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1mGeneratePackage: [0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:714[0m
    cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1m[0m[36;1mLine |[0m
    cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1m[0m[36;1m[36;1m 714 | [0m         [36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s[0m …[0m
    cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1m[0m[36;1m[36;1m[0m[36;1m[0m[36;1m     | [31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m
    cmderr	[Invoke-GenerateAndBuildV2.ps1] [31;1m[0m[36;1m[36;1m[0m[36;1m[0m[36;1m[31;1m[31;1m[36;1m     | [31;1mFailed to generate sdk artifact[0m
  • Azure.ResourceManager.Consumption [View full logs]  [Preview SDK Changes]
    info	[Changelog]
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from 1841d5057018ca0a7d713fb8747fe3c68df6b1a1. 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] - Function `*ReservationRecommendationDetailsClient.Get` parameter(s) have been changed from `(context.Context, string, Scope, string, Term, LookBackPeriod, string, *ReservationRecommendationDetailsClientGetOptions)` to `(context.Context, string, Scope, string, string, LookBackPeriod, string, *ReservationRecommendationDetailsClientGetOptions)`
    info	[Changelog] - Type of `ModernReservationRecommendation.Properties` has been changed from `*ModernReservationRecommendationProperties` to `ModernReservationRecommendationPropertiesClassification`
    info	[Changelog] - Enum `Term` has been removed
    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 enum type `OperationStatusType` with values `OperationStatusTypeCompleted`, `OperationStatusTypeFailed`, `OperationStatusTypeRunning`
    info	[Changelog] - New enum type `OrganizationType` with values `OrganizationTypeContributorOrganizationType`, `OrganizationTypePrimaryOrganizationType`
    info	[Changelog] - New function `*ModernReservationRecommendationProperties.GetModernReservationRecommendationProperties() *ModernReservationRecommendationProperties`
    info	[Changelog] - New function `*ModernSharedScopeReservationRecommendationProperties.GetModernReservationRecommendationProperties() *ModernReservationRecommendationProperties`
    info	[Changelog] - New function `*ModernSingleScopeReservationRecommendationProperties.GetModernReservationRecommendationProperties() *ModernReservationRecommendationProperties`
    info	[Changelog] - New function `*PriceSheetClient.BeginDownloadByBillingAccountPeriod(context.Context, string, string, *PriceSheetClientBeginDownloadByBillingAccountPeriodOptions) (*runtime.Poller[PriceSheetClientDownloadByBillingAccountPeriodResponse], error)`
    info	[Changelog] - New struct `ModernSharedScopeReservationRecommendationProperties`
    info	[Changelog] - New struct `ModernSingleScopeReservationRecommendationProperties`
    info	[Changelog] - New struct `OperationStatus`
    info	[Changelog] - New struct `PricesheetDownloadProperties`
    info	[Changelog] - New struct `SavingsPlan`
    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 `BillingAccountDisplayName`, `BillingAccountID`, `IsEstimatedBalance` in struct `EventProperties`
    info	[Changelog] - New field `AzureMarketplaceCharges` in struct `LegacyChargeSummaryProperties`
    info	[Changelog] - New field `IsEstimatedBalance`, `OrganizationType`, `UsedAmount` in struct `LotProperties`
    info	[Changelog] - New field `SubscriptionID` in struct `ModernChargeSummaryProperties`
    info	[Changelog] - New field `SavingsPlan` in struct `PriceSheetProperties`
    info	[Changelog] - New field `Filter` in struct `ReservationRecommendationDetailsClientGetOptions`
    info	[Changelog] - New field `PreviewMarkupPercentage`, `UseMarkupIfPartner` in struct `ReservationTransactionsClientListOptions`
    info	[Changelog]
    info	[Changelog] Total 5 breaking change(s), 33 additive change(s).
️❌ azure-sdk-for-python-track2 failed [Detail]
  • Code Generator Failed [Logs] Generate from 1841d5057018ca0a7d713fb8747fe3c68df6b1a1. 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: azure-devtools 1.2.1 does not provide the extra 'ci-tools'
    cmderr	[automation_init.sh] WARNING: azure-devtools 1.2.1 does not provide the extra 'ci-tools'
    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]  New minor version of npm available! 10.2.4 -> 10.5.0
    cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.0>
    cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[automation_generate.sh] npm notice
    cmdout	[automation_generate.sh] [Autorest] 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'
    cmdout	[automation_generate.sh] [Autorest]     - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2024-04-01/consumption.json:5545:5
    cmdout	[automation_generate.sh] [Autorest] 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'
    cmdout	[automation_generate.sh] [Autorest]     - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2024-04-01/consumption.json:5579:5
    cmdout	[automation_generate.sh] [Autorest] 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'
    cmdout	[automation_generate.sh] [Autorest]     - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2024-04-01/consumption.json:5608:5
    cmdout	[automation_generate.sh] [Autorest] 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'
    cmdout	[automation_generate.sh] [Autorest]     - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2024-04-01/consumption.json:5623:5
    cmdout	[automation_generate.sh] [Autorest] 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'
    cmdout	[automation_generate.sh] [Autorest]     - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2024-04-01/consumption.json:5648:5
    cmdout	[automation_generate.sh] [Autorest] warning | PreCheck/CheckDuplicateSchemas | Checking for duplicate schemas, this could take a (long) while.  Run with --verbose for more detail.
    cmdout	[automation_generate.sh] [Autorest] error   | PreCheck/DuplicateSchema | Duplicate Schema named 'ErrorResponse' (3 differences):
    cmdout	[automation_generate.sh] [Autorest]   - properties.error.description: "The details of the error." => "The error object."
    cmdout	[automation_generate.sh] [Autorest]   - properties.error.$ref: "#/components/schemas/schemas:468" => "#/components/schemas/schemas:679"
    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] 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'
    cmdout	[automation_generate.sh] [Autorest]     - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2024-04-01/consumption.json:5545:5
    cmdout	[automation_generate.sh] [Autorest] 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'
    cmdout	[automation_generate.sh] [Autorest]     - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2024-04-01/consumption.json:5579:5
    cmdout	[automation_generate.sh] [Autorest] 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'
    cmdout	[automation_generate.sh] [Autorest]     - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2024-04-01/consumption.json:5608:5
    cmdout	[automation_generate.sh] [Autorest] 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'
    cmdout	[automation_generate.sh] [Autorest]     - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2024-04-01/consumption.json:5623:5
    cmdout	[automation_generate.sh] [Autorest] 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'
    cmdout	[automation_generate.sh] [Autorest]     - file:///mnt/vss/_work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2024-04-01/consumption.json:5648:5
    cmdout	[automation_generate.sh] [Autorest] warning | PreCheck/CheckDuplicateSchemas | Checking for duplicate schemas, this could take a (long) while.  Run with --verbose for more detail.
    cmdout	[automation_generate.sh] [Autorest] error   | PreCheck/DuplicateSchema | Duplicate Schema named 'ErrorResponse' (3 differences):
    cmdout	[automation_generate.sh] [Autorest]   - properties.error.description: "The details of the error." => "The error object."
    cmdout	[automation_generate.sh] [Autorest]   - properties.error.$ref: "#/components/schemas/schemas:468" => "#/components/schemas/schemas:679"
    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 warning [Detail]
  • ⚠️Warning [Logs] Generate from 1841d5057018ca0a7d713fb8747fe3c68df6b1a1. SDK Automation 14.0.0
    command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
    cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 24.0
    cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
    cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 24.0
    cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
    cmderr	[init.sh] d   Time    Time     Time  Current
    cmderr	[init.sh]                                  Dload  Upload   Total   Spent    Left  Speed
    cmderr	[init.sh] 
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0k
    cmderr	[init.sh] Downloading https://nodejs.org/dist/v18.15.0/node-v18.15.0-linux-x64.tar.xz...
    cmderr	[init.sh] Computing checksum with sha256sum
    cmderr	[init.sh] Checksums matched!
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
  • ️✔️azure-resourcemanager-consumption [View full logs]  [Preview SDK Changes]
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from 1841d5057018ca0a7d713fb8747fe3c68df6b1a1. 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]
️⚠️ azure-resource-manager-schemas warning [Detail]
  • ⚠️Warning [Logs] Generate from 1841d5057018ca0a7d713fb8747fe3c68df6b1a1. 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] npm notice
    cmderr	[initScript.sh] npm notice New minor version of npm available! 10.2.4 -> 10.5.0
    cmderr	[initScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.0>
    cmderr	[initScript.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[initScript.sh] npm notice
    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
  • ️✔️consumption [View full logs]  [Preview Schema Changes]
️️✔️ azure-powershell succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from 1841d5057018ca0a7d713fb8747fe3c68df6b1a1. 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
  • ️✔️Az.consumption.DefaultTag [View full logs]  [Preview SDK Changes]
Posted by Swagger Pipeline | How to fix these errors?

Please address or respond to feedback from the ARM API reviewer.
When you are ready to continue the ARM API review, please remove the ARMChangesRequested label.
This will notify the reviewer to have another look.
If the feedback provided needs further discussion, please use this Teams channel to post your questions - aka.ms/azsdk/support/specreview-channel.
Please include [ARM Query] in the title of your question to indicate that it is ARM-related.

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

Hi, @MattEberhart-MSFTE. The PR will be closed since the PR has no update for 28 days. If you still need the PR review to proceed, please reopen it and @ mention PR assignee.