Skip to content

Cost Management - adding an example and updating error responses#28926

Closed
sri- wants to merge 1 commit intoAzure:mainfrom
sri-:sri-consumption-update
Closed

Cost Management - adding an example and updating error responses#28926
sri- wants to merge 1 commit intoAzure:mainfrom
sri-:sri-consumption-update

Conversation

@sri-
Copy link
Contributor

@sri- sri- commented May 1, 2024

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.
  • New API version for an existing resource provider. (If API spec is not defined in TypeSpec, the PR should have been created in adherence to OpenAPI specs PR creation guidance).
  • 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:

  • I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
  • 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.

@sri- sri- requested a review from kjeur as a code owner May 1, 2024 00:31
@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented May 1, 2024

Next Steps to Merge

Next steps that must be taken to merge this PR:
  • ❌ Your PR has breaking changes in the generated SDK for JavaScript (label: BreakingChange-JavaScript-Sdk). Refer to step 3 in the PR workflow diagram.
  • ❌ The required check named Automated merging requirements met has failed. This is the final check that must pass. Refer to the check in the PR's 'Checks' tab for details on how to fix it and consult the aka.ms/ci-fix guide. In addition, refer to step 4 in the PR workflow diagram

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented May 1, 2024

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
Compared specs (v0.10.8) new version base version
consumption.json 2023-11-01(1dc437a) 2023-11-01(main)
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️LintDiff: 0 Warnings warning [Detail]
Compared specs (v2.2.2) new version base version
package-2023-11 package-2023-11(1dc437a) package-2023-11(main)

The following errors/warnings exist before current PR submission:

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

Rule Message
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/2023-11-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/2023-11-01/consumption.json#L171
ResourceNameRestriction The resource name parameter 'budgetName' should be defined with a 'pattern' restriction.
Location: Microsoft.Consumption/stable/2023-11-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/2023-11-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/2023-11-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/2023-11-01/consumption.json#L444
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.Consumption/stable/2023-11-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/2023-11-01/consumption.json#L469
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.Consumption/stable/2023-11-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/2023-11-01/consumption.json#L577
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.Consumption/stable/2023-11-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/2023-11-01/consumption.json#L616
ResourceNameRestriction The resource name parameter 'billingPeriodName' should be defined with a 'pattern' restriction.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L629
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.Consumption/stable/2023-11-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/2023-11-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/2023-11-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/2023-11-01/consumption.json#L1112
PathForTrackedResourceTypes The path must be under a subscription and resource group for tracked resource types.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L1131
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/2023-11-01/consumption.json#L1132
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L1132
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L1184
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L1308
ParametersInPointGet Query parameter $expand should be removed. Point Get's MUST not have query parameters other than api version.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L1322
ParametersInPointGet Query parameter $skiptoken should be removed. Point Get's MUST not have query parameters other than api version.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L1322
ParametersInPointGet Query parameter $top should be removed. Point Get's MUST not have query parameters other than api version.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L1322
ResourceNameRestriction The resource name parameter 'billingPeriodName' should be defined with a 'pattern' restriction.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L1370
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L1371
ParametersInPointGet Query parameter $expand should be removed. Point Get's MUST not have query parameters other than api version.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L1388
ParametersInPointGet Query parameter $skiptoken should be removed. Point Get's MUST not have query parameters other than api version.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L1388
ParametersInPointGet Query parameter $top should be removed. Point Get's MUST not have query parameters other than api version.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L1388
️️✔️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?

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented May 1, 2024

Swagger Generation Artifacts

️️✔️ApiDocPreview succeeded [Detail] [Expand]
 Please click here to preview with your @microsoft account. 
️❌ azure-sdk-for-net-track2 failed [Detail]
  • Failed in generating from 42aa521c634773e82354a80d216c78eb94a53605. 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] GeneratePackage: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:714
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  714 |          GeneratePackage -projectFolder $projectFolder -sdkRootPath $s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Failed to generate sdk. exit code: False
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Get-ChildItem: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:807
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  807 |  … rtifacts += Get-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Cannot find path
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | '/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | it does not exist.
    cmderr	[Invoke-GenerateAndBuildV2.ps1] GeneratePackage: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:714
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  714 |          GeneratePackage -projectFolder $projectFolder -sdkRootPath $s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Failed to generate sdk artifact
    cmderr	[Invoke-GenerateAndBuildV2.ps1] GeneratePackage: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:714
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  714 |          GeneratePackage -projectFolder $projectFolder -sdkRootPath $s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Failed to generate sdk. exit code: False
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Get-ChildItem: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:807
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  807 |  … rtifacts += Get-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Cannot find path
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | '/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | it does not exist.
    cmderr	[Invoke-GenerateAndBuildV2.ps1] GeneratePackage: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:714
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  714 |          GeneratePackage -projectFolder $projectFolder -sdkRootPath $s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Failed to generate sdk artifact
  • Azure.ResourceManager.Consumption [Preview SDK Changes]
    info	[Changelog]
  • Azure.ResourceManager.Cost-Management [Preview SDK Changes]
    info	[Changelog]
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from 42aa521c634773e82354a80d216c78eb94a53605. 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 [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 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 `LastUsageDate`, `TotalHours` in struct `LegacyReservationRecommendationProperties`
    info	[Changelog] - New field `LastUsageDate`, `TotalHours` in struct `LegacySharedScopeReservationRecommendationProperties`
    info	[Changelog] - New field `LastUsageDate`, `TotalHours` in struct `LegacySingleScopeReservationRecommendationProperties`
    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 3 breaking change(s), 36 additive change(s).
    Present SDK breaking changes suppressions
    This package has no defined suppressions.
    Absent SDK breaking changes suppressions
    - 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`
    Please refer to https://aka.ms/azsdk/sdk-suppression for more information.
  • ️✔️sdk/resourcemanager/costmanagement/armcostmanagement [Preview SDK Changes] Breaking Change Detected
    Only showing 60 items here. Refer to log for details.
    info	[Changelog] - New function `*ClientFactory.NewCostAllocationRulesClient() *CostAllocationRulesClient`
    info	[Changelog] - New function `*ClientFactory.NewGenerateBenefitUtilizationSummariesReportClient() *GenerateBenefitUtilizationSummariesReportClient`
    info	[Changelog] - New function `*ClientFactory.NewSettingsClient() *SettingsClient`
    info	[Changelog] - New function `NewCostAllocationRulesClient(azcore.TokenCredential, *arm.ClientOptions) (*CostAllocationRulesClient, error)`
    info	[Changelog] - New function `*CostAllocationRulesClient.CheckNameAvailability(context.Context, string, CostAllocationRuleCheckNameAvailabilityRequest, *CostAllocationRulesClientCheckNameAvailabilityOptions) (CostAllocationRulesClientCheckNameAvailabilityResponse, error)`
    info	[Changelog] - New function `*CostAllocationRulesClient.CreateOrUpdate(context.Context, string, string, CostAllocationRuleDefinition, *CostAllocationRulesClientCreateOrUpdateOptions) (CostAllocationRulesClientCreateOrUpdateResponse, error)`
    info	[Changelog] - New function `*CostAllocationRulesClient.Delete(context.Context, string, string, *CostAllocationRulesClientDeleteOptions) (CostAllocationRulesClientDeleteResponse, error)`
    info	[Changelog] - New function `*CostAllocationRulesClient.Get(context.Context, string, string, *CostAllocationRulesClientGetOptions) (CostAllocationRulesClientGetResponse, error)`
    info	[Changelog] - New function `*CostAllocationRulesClient.NewListPager(string, *CostAllocationRulesClientListOptions) *runtime.Pager[CostAllocationRulesClientListResponse]`
    info	[Changelog] - New function `NewGenerateBenefitUtilizationSummariesReportClient(azcore.TokenCredential, *arm.ClientOptions) (*GenerateBenefitUtilizationSummariesReportClient, error)`
    info	[Changelog] - New function `*GenerateBenefitUtilizationSummariesReportClient.BeginGenerateByBillingAccount(context.Context, string, BenefitUtilizationSummariesRequest, *GenerateBenefitUtilizationSummariesReportClientBeginGenerateByBillingAccountOptions) (*runtime.Poller[GenerateBenefitUtilizationSummariesReportClientGenerateByBillingAccountResponse], error)`
    info	[Changelog] - New function `*GenerateBenefitUtilizationSummariesReportClient.BeginGenerateByBillingProfile(context.Context, string, string, BenefitUtilizationSummariesRequest, *GenerateBenefitUtilizationSummariesReportClientBeginGenerateByBillingProfileOptions) (*runtime.Poller[GenerateBenefitUtilizationSummariesReportClientGenerateByBillingProfileResponse], error)`
    info	[Changelog] - New function `*GenerateBenefitUtilizationSummariesReportClient.BeginGenerateByReservationID(context.Context, string, string, BenefitUtilizationSummariesRequest, *GenerateBenefitUtilizationSummariesReportClientBeginGenerateByReservationIDOptions) (*runtime.Poller[GenerateBenefitUtilizationSummariesReportClientGenerateByReservationIDResponse], error)`
    info	[Changelog] - New function `*GenerateBenefitUtilizationSummariesReportClient.BeginGenerateByReservationOrderID(context.Context, string, BenefitUtilizationSummariesRequest, *GenerateBenefitUtilizationSummariesReportClientBeginGenerateByReservationOrderIDOptions) (*runtime.Poller[GenerateBenefitUtilizationSummariesReportClientGenerateByReservationOrderIDResponse], error)`
    info	[Changelog] - New function `*GenerateBenefitUtilizationSummariesReportClient.BeginGenerateBySavingsPlanID(context.Context, string, string, BenefitUtilizationSummariesRequest, *GenerateBenefitUtilizationSummariesReportClientBeginGenerateBySavingsPlanIDOptions) (*runtime.Poller[GenerateBenefitUtilizationSummariesReportClientGenerateBySavingsPlanIDResponse], error)`
    info	[Changelog] - New function `*GenerateBenefitUtilizationSummariesReportClient.BeginGenerateBySavingsPlanOrderID(context.Context, string, BenefitUtilizationSummariesRequest, *GenerateBenefitUtilizationSummariesReportClientBeginGenerateBySavingsPlanOrderIDOptions) (*runtime.Poller[GenerateBenefitUtilizationSummariesReportClientGenerateBySavingsPlanOrderIDResponse], error)`
    info	[Changelog] - New function `*PriceSheetClient.BeginDownloadByBillingAccount(context.Context, string, string, *PriceSheetClientBeginDownloadByBillingAccountOptions) (*runtime.Poller[PriceSheetClientDownloadByBillingAccountResponse], error)`
    info	[Changelog] - New function `*PriceSheetClient.BeginDownloadByInvoice(context.Context, string, string, string, *PriceSheetClientBeginDownloadByInvoiceOptions) (*runtime.Poller[PriceSheetClientDownloadByInvoiceResponse], error)`
    info	[Changelog] - New function `*Setting.GetSetting() *Setting`
    info	[Changelog] - New function `NewSettingsClient(azcore.TokenCredential, *arm.ClientOptions) (*SettingsClient, error)`
    info	[Changelog] - New function `*SettingsClient.CreateOrUpdateByScope(context.Context, string, SettingType, SettingClassification, *SettingsClientCreateOrUpdateByScopeOptions) (SettingsClientCreateOrUpdateByScopeResponse, error)`
    info	[Changelog] - New function `*SettingsClient.DeleteByScope(context.Context, string, SettingType, *SettingsClientDeleteByScopeOptions) (SettingsClientDeleteByScopeResponse, error)`
    info	[Changelog] - New function `*SettingsClient.GetByScope(context.Context, string, SettingType, *SettingsClientGetByScopeOptions) (SettingsClientGetByScopeResponse, error)`
    info	[Changelog] - New function `*SettingsClient.List(context.Context, string, *SettingsClientListOptions) (SettingsClientListResponse, error)`
    info	[Changelog] - New function `*TagInheritanceSetting.GetSetting() *Setting`
    info	[Changelog] - New struct `AsyncOperationStatusProperties`
    info	[Changelog] - New struct `BenefitUtilizationSummariesOperationStatus`
    info	[Changelog] - New struct `BenefitUtilizationSummariesRequest`
    info	[Changelog] - New struct `Budget`
    info	[Changelog] - New struct `BudgetComparisonExpression`
    info	[Changelog] - New struct `BudgetFilter`
    info	[Changelog] - New struct `BudgetFilterProperties`
    info	[Changelog] - New struct `BudgetProperties`
    info	[Changelog] - New struct `BudgetTimePeriod`
    info	[Changelog] - New struct `BudgetsListResult`
    info	[Changelog] - New struct `CostAllocationProportion`
    info	[Changelog] - New struct `CostAllocationRuleCheckNameAvailabilityRequest`
    info	[Changelog] - New struct `CostAllocationRuleCheckNameAvailabilityResponse`
    info	[Changelog] - New struct `CostAllocationRuleDefinition`
    info	[Changelog] - New struct `CostAllocationRuleDetails`
    info	[Changelog] - New struct `CostAllocationRuleList`
    info	[Changelog] - New struct `CostAllocationRuleProperties`
    info	[Changelog] - New struct `CurrentSpend`
    info	[Changelog] - New struct `EAPriceSheetProperties`
    info	[Changelog] - New struct `EAPricesheetDownloadProperties`
    info	[Changelog] - New struct `ForecastSpend`
    info	[Changelog] - New struct `MCAPriceSheetProperties`
    info	[Changelog] - New struct `Notification`
    info	[Changelog] - New struct `OperationStatusAutoGenerated`
    info	[Changelog] - New struct `PricesheetDownloadProperties`
    info	[Changelog] - New struct `SettingsListResult`
    info	[Changelog] - New struct `SourceCostAllocationResource`
    info	[Changelog] - New struct `SystemAssignedServiceIdentity`
    info	[Changelog] - New struct `TagInheritanceProperties`
    info	[Changelog] - New struct `TagInheritanceSetting`
    info	[Changelog] - New struct `TargetCostAllocationResource`
    info	[Changelog] - New field `Identity`, `Location` in struct `Export`
    info	[Changelog] - New anonymous field `PricesheetDownloadProperties` in struct `PriceSheetClientDownloadByBillingProfileResponse`
    info	[Changelog]
    info	[Changelog] Total 2 breaking change(s), 175 additive change(s).
    Present SDK breaking changes suppressions
    Field `DownloadURL` of struct `PriceSheetClientDownloadByBillingProfileResponse` has been removed
    Function `*PriceSheetClient.BeginDownload` has been removed
    Please refer to https://aka.ms/azsdk/sdk-suppression for more information.
️⚠️ azure-sdk-for-python warning [Detail]
  • ⚠️Warning in generating from 42aa521c634773e82354a80d216c78eb94a53605. 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] W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    cmderr	[automation_init.sh] W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/azure-cli.list:1 and /etc/apt/sources.list.d/azure-cli.sources:1
    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
  • ️✔️azure-mgmt-consumption [Preview SDK Changes] Breaking Change Detected
    • azure_mgmt_consumption-1.0.0b1-py3-none-any.whl
    • azure-mgmt-consumption-1.0.0b1.zip
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog]   - Added operation PriceSheetOperations.begin_download_by_billing_account_period
    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 billing_account_display_name
    info	[Changelog]   - Model EventSummary has a new parameter billing_account_id
    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 LegacyReservationRecommendation has a new parameter last_usage_date
    info	[Changelog]   - Model LegacyReservationRecommendation has a new parameter total_hours
    info	[Changelog]   - Model LegacyReservationRecommendationProperties has a new parameter last_usage_date
    info	[Changelog]   - Model LegacyReservationRecommendationProperties has a new parameter total_hours
    info	[Changelog]   - Model LegacySharedScopeReservationRecommendationProperties has a new parameter last_usage_date
    info	[Changelog]   - Model LegacySharedScopeReservationRecommendationProperties has a new parameter total_hours
    info	[Changelog]   - Model LegacySingleScopeReservationRecommendationProperties has a new parameter last_usage_date
    info	[Changelog]   - Model LegacySingleScopeReservationRecommendationProperties has a new parameter total_hours
    info	[Changelog]   - Model LotSummary has a new parameter is_estimated_balance
    info	[Changelog]   - Model LotSummary has a new parameter organization_type
    info	[Changelog]   - Model LotSummary has a new parameter used_amount
    info	[Changelog]   - Model ModernChargeSummary has a new parameter subscription_id
    info	[Changelog]   - Model ModernReservationRecommendation has a new parameter last_usage_date
    info	[Changelog]   - Model ModernReservationRecommendation has a new parameter resource_type
    info	[Changelog]   - Model ModernReservationRecommendation has a new parameter total_hours
    info	[Changelog]   - Model PriceSheetProperties has a new parameter savings_plan
    info	[Changelog]   - Operation ReservationRecommendationDetailsOperations.get has a new optional parameter filter
    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
    Present SDK breaking changes suppressions
    This package has no defined suppressions.
    Absent SDK breaking changes suppressions
    - 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
    Please refer to https://aka.ms/azsdk/sdk-suppression for more information.
  • ️✔️azure-mgmt-costmanagement [Preview SDK Changes] Breaking Change Detected
    • azure_mgmt_costmanagement-1.0.0b1-py3-none-any.whl
    • azure-mgmt-costmanagement-1.0.0b1.zip
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog]   - Added operation PriceSheetOperations.begin_download_by_billing_account
    info	[Changelog]   - Added operation PriceSheetOperations.begin_download_by_invoice
    info	[Changelog]   - Added operation group BudgetsOperations
    info	[Changelog]   - Added operation group CostAllocationRulesOperations
    info	[Changelog]   - Added operation group GenerateBenefitUtilizationSummariesReportOperations
    info	[Changelog]   - Added operation group SettingsOperations
    info	[Changelog]   - Model Export has a new parameter identity
    info	[Changelog]   - Model Export has a new parameter location
    info	[Changelog]
    info	[Changelog] ### Breaking Changes
    info	[Changelog]
    info	[Changelog]   - Removed operation PriceSheetOperations.begin_download
    Present SDK breaking changes suppressions
    Removed operation PriceSheetOperations.begin_download
    Please refer to https://aka.ms/azsdk/sdk-suppression for more information.
️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from 42aa521c634773e82354a80d216c78eb94a53605. 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
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
  • ️✔️azure-resourcemanager-consumption [Preview SDK Changes]
    • pom.xml
    • azure-resourcemanager-consumption-1.0.0-beta.4-sources.jar
    • azure-resourcemanager-consumption-1.0.0-beta.4.jar
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from 42aa521c634773e82354a80d216c78eb94a53605. 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 [Preview SDK Changes] Breaking Change Detected
    • azure-arm-consumption-10.0.0.tgz
    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 Interface SavingsPlan
    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 OrganizationType
    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 billingAccountDisplayName
    info	[Changelog]   - Interface EventSummary has a new optional parameter billingAccountId
    info	[Changelog]   - Interface EventSummary has a new optional parameter isEstimatedBalance
    info	[Changelog]   - Interface LegacyChargeSummary has a new optional parameter azureMarketplaceCharges
    info	[Changelog]   - Interface LegacyReservationRecommendation has a new optional parameter lastUsageDate
    info	[Changelog]   - Interface LegacyReservationRecommendation has a new optional parameter totalHours
    info	[Changelog]   - Interface LegacyReservationRecommendationProperties has a new optional parameter lastUsageDate
    info	[Changelog]   - Interface LegacyReservationRecommendationProperties has a new optional parameter totalHours
    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 LotSummary has a new optional parameter organizationType
    info	[Changelog]   - Interface LotSummary has a new optional parameter usedAmount
    info	[Changelog]   - Interface ModernChargeSummary has a new optional parameter subscriptionId
    info	[Changelog]   - Interface ModernReservationRecommendation has a new optional parameter lastUsageDate
    info	[Changelog]   - Interface ModernReservationRecommendation has a new optional parameter resourceType
    info	[Changelog]   - Interface ModernReservationRecommendation has a new optional parameter totalHours
    info	[Changelog]   - Interface PriceSheetProperties has a new optional parameter savingsPlan
    info	[Changelog]   - Interface ReservationRecommendationDetailsGetOptionalParams has a new optional parameter filter
    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]   - Added Enum KnownOrganizationType
    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]   - Class ConsumptionManagementClient 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
    Present SDK breaking changes suppressions
    No suppression file added.
    Absent SDK breaking changes suppressions
    - 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
    Parse Suppression File Errors
    No suppression file added.
    Please refer to https://aka.ms/azsdk/sdk-suppression for more information.
️❌ azure-resource-manager-schemas failed [Detail]
  • Code Generator Failed in generating from 42aa521c634773e82354a80d216c78eb94a53605. 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] Submodule 'bicep-types-az' (https://github.com/Azure/bicep-types-az) registered for path 'bicep-types-az'
    cmderr	[initScript.sh] Cloning into '/mnt/vss/_work/1/s/azure-resource-manager-schemas/bicep-types-az'...
    cmderr	[initScript.sh] Submodule 'bicep-types' (https://github.com/Azure/bicep-types) registered for path 'bicep-types-az/bicep-types'
    cmderr	[initScript.sh] Cloning into '/mnt/vss/_work/1/s/azure-resource-manager-schemas/bicep-types-az/bicep-types'...
    cmderr	[initScript.sh]  notice
    cmderr	[initScript.sh] npm notice New minor version of npm available! 10.5.0 -> 10.8.0
    cmderr	[initScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.8.0>
    cmderr	[initScript.sh] npm notice Run `npm install -g npm@10.8.0` to update!
    cmderr	[initScript.sh] npm notice
    error	Script return with result [failed] code [1] signal [null] cwd [azure-resource-manager-schemas]: .sdkauto/initScript.sh
    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
    cmderr	[generateScript.sh] /mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:500
    cmderr	[generateScript.sh]     return new TSError(diagnosticText, diagnosticCodes)
    cmderr	[generateScript.sh]            ^
    cmderr	[generateScript.sh] TSError: ⨯ Unable to compile TypeScript:
    cmderr	[generateScript.sh] cmd/generateall.ts(6,20): error TS2307: Cannot find module 'colors' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(10,19): error TS2307: Cannot find module 'yargs' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(11,18): error TS2307: Cannot find module 'path' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(13,35): error TS2307: Cannot find module 'fs' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(14,23): error TS2307: Cannot find module 'strip-ansi' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(42,9): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(53,9): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(69,67): error TS7006: Parameter 'x' implicitly has an 'any' type.
    cmderr	[generateScript.sh] cmd/generateall.ts(70,49): error TS7006: Parameter 'f' implicitly has an 'any' type.
    cmderr	[generateScript.sh] cmd/generateall.ts(94,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(105,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(106,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(157,13): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
    cmderr	[generateScript.sh]     at createTSError (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:500:12)
    cmderr	[generateScript.sh]     at reportTSError (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:504:19)
    cmderr	[generateScript.sh]     at getOutput (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:739:36)
    cmderr	[generateScript.sh]     at Object.compile (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:955:32)
    cmderr	[generateScript.sh]     at Module.m._compile (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:1043:43)
    cmderr	[generateScript.sh]     at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    cmderr	[generateScript.sh]     at Object.require.extensions.<computed> [as .ts] (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:1046:12)
    cmderr	[generateScript.sh]     at Module.load (node:internal/modules/cjs/loader:1203:32)
    cmderr	[generateScript.sh]     at Function.Module._load (node:internal/modules/cjs/loader:1019:12)
    cmderr	[generateScript.sh]     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
    error	Script return with result [failed] code [1] signal [null] cwd [azure-resource-manager-schemas]: .sdkauto/generateScript.sh
    warn	Skip package processing as generation is failed
    command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    cmderr	[generateScript.sh] /mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:500
    cmderr	[generateScript.sh]     return new TSError(diagnosticText, diagnosticCodes)
    cmderr	[generateScript.sh]            ^
    cmderr	[generateScript.sh] TSError: ⨯ Unable to compile TypeScript:
    cmderr	[generateScript.sh] cmd/generateall.ts(6,20): error TS2307: Cannot find module 'colors' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(10,19): error TS2307: Cannot find module 'yargs' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(11,18): error TS2307: Cannot find module 'path' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(13,35): error TS2307: Cannot find module 'fs' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(14,23): error TS2307: Cannot find module 'strip-ansi' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(42,9): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(53,9): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(69,67): error TS7006: Parameter 'x' implicitly has an 'any' type.
    cmderr	[generateScript.sh] cmd/generateall.ts(70,49): error TS7006: Parameter 'f' implicitly has an 'any' type.
    cmderr	[generateScript.sh] cmd/generateall.ts(94,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(105,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(106,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(157,13): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
    cmderr	[generateScript.sh]     at createTSError (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:500:12)
    cmderr	[generateScript.sh]     at reportTSError (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:504:19)
    cmderr	[generateScript.sh]     at getOutput (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:739:36)
    cmderr	[generateScript.sh]     at Object.compile (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:955:32)
    cmderr	[generateScript.sh]     at Module.m._compile (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:1043:43)
    cmderr	[generateScript.sh]     at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    cmderr	[generateScript.sh]     at Object.require.extensions.<computed> [as .ts] (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:1046:12)
    cmderr	[generateScript.sh]     at Module.load (node:internal/modules/cjs/loader:1203:32)
    cmderr	[generateScript.sh]     at Function.Module._load (node:internal/modules/cjs/loader:1019:12)
    cmderr	[generateScript.sh]     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
    error	Script return with result [failed] code [1] signal [null] cwd [azure-resource-manager-schemas]: .sdkauto/generateScript.sh
    warn	Skip package processing as generation is failed
    error	ERROR: The 'breakingChangesLabel' configuration is missing or incorrect from the 'swagger_to_sdk_config.json file.
️⚠️ azure-powershell warning [Detail]
  • ⚠️Warning in generating from 42aa521c634773e82354a80d216c78eb94a53605. 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 [Preview SDK Changes]
    • Az.Consumption.0.1.0.nupkg
  • ⚠️Az.cost-management.DefaultTag [Preview SDK Changes]
Posted by Swagger Pipeline | How to fix these errors?

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented May 1, 2024

@AzureRestAPISpecReview AzureRestAPISpecReview added ARMReview resource-manager WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels May 1, 2024
@AzureRestAPISpecReview AzureRestAPISpecReview added the ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test label May 2, 2024
@sri- sri- requested a review from sachin-msft-ghub May 6, 2024 19:49
@sri- sri- added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review BreakingChange-Go-Sdk-Approved labels May 6, 2024
@msyyc msyyc mentioned this pull request May 7, 2024
@msyyc
Copy link
Member

msyyc commented May 7, 2024

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@AzureRestAPISpecReview AzureRestAPISpecReview removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label May 7, 2024
@sri-
Copy link
Contributor Author

sri- commented May 8, 2024

Can this be merged?

@mentat9
Copy link
Member

mentat9 commented May 13, 2024

@sri- Please refresh to fix merge failure and re-apply the MergeRequested label.

@sri-
Copy link
Contributor Author

sri- commented May 19, 2024

/pr RequestMerge

@razvanbadea-msft
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@raych1
Copy link
Member

raych1 commented May 22, 2024

@sri- , seems the sdk-suppressions.yaml has been deleted by your force push. The missing of suppression file causes the failure of merging requirements met check.

@msyyc @qiaozha

@msyyc
Copy link
Member

msyyc commented May 22, 2024

Add approval label for python since breakings are not caused by this PR

@raych1
Copy link
Member

raych1 commented May 22, 2024

Add approval label for python since breakings are not caused by this PR

Same for Go.

@razvanbadea-msft
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@razvanbadea-msft
Copy link
Member

There is a BreakingChange-JavaScript-Sdk-Approved needed before merging

CC: @qiaozha

@microsoft-github-policy-service microsoft-github-policy-service bot added no-recent-activity There has been no recent activity on this issue. and removed no-recent-activity There has been no recent activity on this issue. labels Jun 10, 2024
@microsoft-github-policy-service
Copy link
Contributor

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

@microsoft-github-policy-service microsoft-github-policy-service bot added the no-recent-activity There has been no recent activity on this issue. label Jun 24, 2024
@microsoft-github-policy-service
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants