Skip to content

[test regexp ] test version is beta for js part #3346

New issue

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

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

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

JackTn
Copy link

@JackTn JackTn commented May 7, 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.

PR review workflow diagram

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

spec_pr_review_workflow_diagram

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 ARM review (PR workflow diagram Step 2), 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.

Konrad Jamrozik and others added 2 commits May 3, 2024 18:32
Copy link

openapi-pipeline-app-test bot commented May 7, 2024

Next Steps to merge

Next steps that must be taken to merge this PR:
  • ❌ This PR is in purview of the ARM review (label: ARMReview). This PR must get ARMSignedOff label from an ARM reviewer.
    This PR is awaiting ARM reviewer feedback (label: WaitForARMFeedback).
    For details of the ARM review, see aka.ms/azsdk/pr-arm-review.
  • ❌ 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. In addition, refer to step 4 in the PR workflow diagram (even if your PR is for data plane, not ARM).

Copy link

openapi-pipeline-app-test bot commented May 7, 2024

Swagger Generation Artifacts

️🔄[ignore this check status; not blocking PR merge] ApiDocPreview inProgress [Detail]
️❌ azure-sdk-for-net-track2 failed [Detail]
  • Failed in generating from 4c7af168cd9ba9db2c3c10db35967d4600b5a013. 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 4c7af168cd9ba9db2c3c10db35967d4600b5a013. 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 failed [Detail]
  • Code Generator Failed in generating from 4c7af168cd9ba9db2c3c10db35967d4600b5a013. SDK Automation 14.0.0
    command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
    cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
    cmderr	[automation_init.sh]  notice
    cmderr	[automation_init.sh] npm notice New minor version of npm available! 10.5.0 -> 10.7.0
    cmderr	[automation_init.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.7.0>
    cmderr	[automation_init.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[automation_init.sh] npm notice
    command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
    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/2023-11-01/consumption.json:5573: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/2023-11-01/consumption.json:5607: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/2023-11-01/consumption.json:5636: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/2023-11-01/consumption.json:5651: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/2023-11-01/consumption.json:5676: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:472" => "#/components/schemas/schemas:683"
    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/2023-11-01/consumption.json:5573: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/2023-11-01/consumption.json:5607: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/2023-11-01/consumption.json:5636: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/2023-11-01/consumption.json:5651: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/2023-11-01/consumption.json:5676: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:472" => "#/components/schemas/schemas:683"
    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 succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from 4c7af168cd9ba9db2c3c10db35967d4600b5a013. 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 4c7af168cd9ba9db2c3c10db35967d4600b5a013. 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]
  • Failed in generating from 4c7af168cd9ba9db2c3c10db35967d4600b5a013. 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]  notice
    cmderr	[initScript.sh] npm notice New minor version of npm available! 10.5.0 -> 10.7.0
    cmderr	[initScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.7.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/resource-manager [Preview Schema Changes]
  • cost-management/resource-manager [Preview Schema Changes]
️⚠️ azure-powershell warning [Detail]
  • ⚠️Warning in generating from 4c7af168cd9ba9db2c3c10db35967d4600b5a013. 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?

Copy link

openapi-pipeline-app-test bot commented May 7, 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(cbd872f) 2023-11-01(main)
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️LintDiff: 0 Warnings warning [Detail]
Compared specs (v2.2.2) new version base version
package-2023-11 package-2023-11(cbd872f) 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
️️✔️[ignore this check status; not blocking PR merge] Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️[ignore this check status; not blocking PR merge] SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️PR Summary succeeded [Detail] [Expand]
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

@JackTn
Copy link
Author

JackTn commented May 7, 2024

/azp run

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@konrad-jamrozik
Copy link

/azp run

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@konrad-jamrozik konrad-jamrozik requested a review from benbp as a code owner June 7, 2024 20:37
@JackTn JackTn closed this Oct 25, 2024
@JackTn JackTn deleted the jacktn/test-sri-consumption-update branch October 25, 2024 06:57
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.

4 participants