Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[consumption]Update readme.python.md(Do not merge) #3016

Closed
wants to merge 4 commits into from

Conversation

msyyc
Copy link

@msyyc msyyc commented Jan 14, 2022

No description provided.

@openapi-pipeline-app-test
Copy link

openapi-pipeline-app-test bot commented Jan 14, 2022

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️LintDiff succeeded [Detail] [Expand]
Validation passes for LintDiff.
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️~[Staging] ApiReadinessCheck succeeded [Detail] [Expand]
️️✔️Cross-Version Breaking Changes succeeded [Detail] [Expand]
There are no breaking changes.
️❌CredScan: 0 Errors, 0 Warnings failed [Detail]
️️✔️[Staging] PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️[Staging] SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️[Staging] SDK Track2 Validation succeeded [Detail] [Expand]
Validation passes for SDKTrack2Validation
Posted by Swagger Pipeline | How to fix these errors?

@openapi-pipeline-app-test
Copy link

openapi-pipeline-app-test bot commented Jan 14, 2022

Swagger Generation Artifacts

️️✔️[Staging] ApiDocPreview succeeded [Detail] [Expand]
️️✔️[Staging] SDK Breaking Change Tracking succeeded [Detail] [Expand]

Breaking Changes Tracking

️✔️azure-sdk-for-go-track2 - armconsumption - 0.1.0
️✔️azure-sdk-for-go - consumption/mgmt/2019-10-01/consumption - v61.1.0
️✔️azure-sdk-for-go - consumption/mgmt/2019-01-01/consumption - v61.1.0
️✔️azure-sdk-for-go - consumption/mgmt/2018-10-01/consumption - v61.1.0
️✔️azure-sdk-for-go - consumption/mgmt/2018-08-31/consumption - v61.1.0
️✔️azure-sdk-for-go - consumption/mgmt/2018-06-30/consumption - v61.1.0
️✔️azure-sdk-for-go - consumption/mgmt/2018-05-31/consumption - v61.1.0
️✔️azure-sdk-for-go - consumption/mgmt/2018-03-31/consumption - v61.1.0
️✔️azure-sdk-for-go - consumption/mgmt/2018-01-31/consumption - v61.1.0
️✔️azure-sdk-for-go - consumption/mgmt/2017-11-30/consumption - v61.1.0
️✔️azure-sdk-for-go - preview/consumption/mgmt/2017-12-30-preview/consumption - v61.1.0
️✔️azure-sdk-for-go - preview/consumption/mgmt/2017-04-24-preview/consumption - v61.1.0
️✔️azure-sdk-for-python-track2 - track2_azure-mgmt-consumption - 9.0.0
️️✔️ azure-sdk-for-net succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from 39758b3496c8096ab9fe067f9dd434b4a88dc9ce. SDK Automation 14.0.0
    warn	Skip initScript due to not configured
    command	sudo apt-get install -y dotnet-sdk-6.0
    command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.84 --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/consumption/resource-manager/readme.md
    cmderr	[Autorest] realpath(): Permission denied
    cmderr	[Autorest] realpath(): Permission denied
    cmderr	[Autorest] realpath(): Permission denied
    cmderr	[Autorest] realpath(): Permission denied
    cmderr	[Autorest] realpath(): Permission denied
    cmderr	[Autorest] realpath(): Permission denied
  • ️✔️Microsoft.Azure.Management.Consumption [View full logs]  [Preview SDK Changes]
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from 39758b3496c8096ab9fe067f9dd434b4a88dc9ce. SDK Automation 14.0.0
    command	sh ./eng/initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
    command	generator automation ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
  • ️✔️consumption/mgmt/2019-10-01/consumption [View full logs]  [Preview SDK Changes]
    info	[Changelog] ### Other Changes
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
  • ️✔️consumption/mgmt/2019-01-01/consumption [View full logs
    info	[Changelog] ### Other Changes
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
  • ️✔️consumption/mgmt/2018-10-01/consumption [View full logs
    info	[Changelog] ### Other Changes
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
  • ️✔️consumption/mgmt/2018-08-31/consumption [View full logs
    info	[Changelog] ### Other Changes
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
  • ️✔️consumption/mgmt/2018-06-30/consumption [View full logs
    info	[Changelog] ### Other Changes
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
  • ️✔️consumption/mgmt/2018-05-31/consumption [View full logs
    info	[Changelog] ### Other Changes
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
  • ️✔️consumption/mgmt/2018-03-31/consumption [View full logs
    info	[Changelog] ### Other Changes
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
  • ️✔️consumption/mgmt/2018-01-31/consumption [View full logs
    info	[Changelog] ### Other Changes
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
  • ️✔️consumption/mgmt/2017-11-30/consumption [View full logs
    info	[Changelog] ### Other Changes
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
  • ️✔️preview/consumption/mgmt/2017-12-30-preview/consumption [View full logs
    info	[Changelog] ### Other Changes
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
  • ️✔️preview/consumption/mgmt/2017-04-24-preview/consumption [View full logs
    info	[Changelog] ### Other Changes
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
️️✔️ azure-sdk-for-go-track2 succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from 39758b3496c8096ab9fe067f9dd434b4a88dc9ce. 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
  • ️✔️armconsumption [View full logs]  [Preview SDK Changes]
    Only show 120 items here, please refer to log for details.
    info	[Changelog] - New struct `MarketplaceProperties`
    info	[Changelog] - New struct `MarketplacesClient`
    info	[Changelog] - New struct `MarketplacesListOptions`
    info	[Changelog] - New struct `MarketplacesListPager`
    info	[Changelog] - New struct `MarketplacesListResponse`
    info	[Changelog] - New struct `MarketplacesListResult`
    info	[Changelog] - New struct `MarketplacesListResultEnvelope`
    info	[Changelog] - New struct `MeterDetails`
    info	[Changelog] - New struct `MeterDetailsResponse`
    info	[Changelog] - New struct `ModernChargeSummary`
    info	[Changelog] - New struct `ModernChargeSummaryProperties`
    info	[Changelog] - New struct `ModernReservationRecommendation`
    info	[Changelog] - New struct `ModernReservationRecommendationProperties`
    info	[Changelog] - New struct `ModernReservationTransaction`
    info	[Changelog] - New struct `ModernReservationTransactionProperties`
    info	[Changelog] - New struct `ModernReservationTransactionsListResult`
    info	[Changelog] - New struct `ModernUsageDetail`
    info	[Changelog] - New struct `ModernUsageDetailProperties`
    info	[Changelog] - New struct `Notification`
    info	[Changelog] - New struct `Operation`
    info	[Changelog] - New struct `OperationDisplay`
    info	[Changelog] - New struct `OperationListResult`
    info	[Changelog] - New struct `OperationsClient`
    info	[Changelog] - New struct `OperationsListOptions`
    info	[Changelog] - New struct `OperationsListPager`
    info	[Changelog] - New struct `OperationsListResponse`
    info	[Changelog] - New struct `OperationsListResult`
    info	[Changelog] - New struct `PriceSheetClient`
    info	[Changelog] - New struct `PriceSheetGetByBillingPeriodOptions`
    info	[Changelog] - New struct `PriceSheetGetByBillingPeriodResponse`
    info	[Changelog] - New struct `PriceSheetGetByBillingPeriodResult`
    info	[Changelog] - New struct `PriceSheetGetOptions`
    info	[Changelog] - New struct `PriceSheetGetResponse`
    info	[Changelog] - New struct `PriceSheetGetResult`
    info	[Changelog] - New struct `PriceSheetModel`
    info	[Changelog] - New struct `PriceSheetProperties`
    info	[Changelog] - New struct `PriceSheetResult`
    info	[Changelog] - New struct `ProxyResource`
    info	[Changelog] - New struct `Reseller`
    info	[Changelog] - New struct `ReservationDetail`
    info	[Changelog] - New struct `ReservationDetailProperties`
    info	[Changelog] - New struct `ReservationDetailsListResult`
    info	[Changelog] - New struct `ReservationRecommendation`
    info	[Changelog] - New struct `ReservationRecommendationDetailsCalculatedSavingsProperties`
    info	[Changelog] - New struct `ReservationRecommendationDetailsClient`
    info	[Changelog] - New struct `ReservationRecommendationDetailsGetOptions`
    info	[Changelog] - New struct `ReservationRecommendationDetailsGetResponse`
    info	[Changelog] - New struct `ReservationRecommendationDetailsGetResult`
    info	[Changelog] - New struct `ReservationRecommendationDetailsModel`
    info	[Changelog] - New struct `ReservationRecommendationDetailsProperties`
    info	[Changelog] - New struct `ReservationRecommendationDetailsResourceProperties`
    info	[Changelog] - New struct `ReservationRecommendationDetailsSavingsProperties`
    info	[Changelog] - New struct `ReservationRecommendationDetailsUsageProperties`
    info	[Changelog] - New struct `ReservationRecommendationsClient`
    info	[Changelog] - New struct `ReservationRecommendationsListOptions`
    info	[Changelog] - New struct `ReservationRecommendationsListPager`
    info	[Changelog] - New struct `ReservationRecommendationsListResponse`
    info	[Changelog] - New struct `ReservationRecommendationsListResult`
    info	[Changelog] - New struct `ReservationRecommendationsListResultEnvelope`
    info	[Changelog] - New struct `ReservationSummariesListResult`
    info	[Changelog] - New struct `ReservationSummary`
    info	[Changelog] - New struct `ReservationSummaryProperties`
    info	[Changelog] - New struct `ReservationTransaction`
    info	[Changelog] - New struct `ReservationTransactionResource`
    info	[Changelog] - New struct `ReservationTransactionsClient`
    info	[Changelog] - New struct `ReservationTransactionsListByBillingProfileOptions`
    info	[Changelog] - New struct `ReservationTransactionsListByBillingProfilePager`
    info	[Changelog] - New struct `ReservationTransactionsListByBillingProfileResponse`
    info	[Changelog] - New struct `ReservationTransactionsListByBillingProfileResult`
    info	[Changelog] - New struct `ReservationTransactionsListOptions`
    info	[Changelog] - New struct `ReservationTransactionsListPager`
    info	[Changelog] - New struct `ReservationTransactionsListResponse`
    info	[Changelog] - New struct `ReservationTransactionsListResult`
    info	[Changelog] - New struct `ReservationTransactionsListResultEnvelope`
    info	[Changelog] - New struct `ReservationsDetailsClient`
    info	[Changelog] - New struct `ReservationsDetailsListByReservationOrderAndReservationOptions`
    info	[Changelog] - New struct `ReservationsDetailsListByReservationOrderAndReservationPager`
    info	[Changelog] - New struct `ReservationsDetailsListByReservationOrderAndReservationResponse`
    info	[Changelog] - New struct `ReservationsDetailsListByReservationOrderAndReservationResult`
    info	[Changelog] - New struct `ReservationsDetailsListByReservationOrderOptions`
    info	[Changelog] - New struct `ReservationsDetailsListByReservationOrderPager`
    info	[Changelog] - New struct `ReservationsDetailsListByReservationOrderResponse`
    info	[Changelog] - New struct `ReservationsDetailsListByReservationOrderResult`
    info	[Changelog] - New struct `ReservationsDetailsListOptions`
    info	[Changelog] - New struct `ReservationsDetailsListPager`
    info	[Changelog] - New struct `ReservationsDetailsListResponse`
    info	[Changelog] - New struct `ReservationsDetailsListResult`
    info	[Changelog] - New struct `ReservationsSummariesClient`
    info	[Changelog] - New struct `ReservationsSummariesListByReservationOrderAndReservationOptions`
    info	[Changelog] - New struct `ReservationsSummariesListByReservationOrderAndReservationPager`
    info	[Changelog] - New struct `ReservationsSummariesListByReservationOrderAndReservationResponse`
    info	[Changelog] - New struct `ReservationsSummariesListByReservationOrderAndReservationResult`
    info	[Changelog] - New struct `ReservationsSummariesListByReservationOrderOptions`
    info	[Changelog] - New struct `ReservationsSummariesListByReservationOrderPager`
    info	[Changelog] - New struct `ReservationsSummariesListByReservationOrderResponse`
    info	[Changelog] - New struct `ReservationsSummariesListByReservationOrderResult`
    info	[Changelog] - New struct `ReservationsSummariesListOptions`
    info	[Changelog] - New struct `ReservationsSummariesListPager`
    info	[Changelog] - New struct `ReservationsSummariesListResponse`
    info	[Changelog] - New struct `ReservationsSummariesListResult`
    info	[Changelog] - New struct `Resource`
    info	[Changelog] - New struct `ResourceAttributes`
    info	[Changelog] - New struct `SKUProperty`
    info	[Changelog] - New struct `Tag`
    info	[Changelog] - New struct `TagProperties`
    info	[Changelog] - New struct `TagsClient`
    info	[Changelog] - New struct `TagsGetOptions`
    info	[Changelog] - New struct `TagsGetResponse`
    info	[Changelog] - New struct `TagsGetResult`
    info	[Changelog] - New struct `TagsResult`
    info	[Changelog] - New struct `UsageDetail`
    info	[Changelog] - New struct `UsageDetailsClient`
    info	[Changelog] - New struct `UsageDetailsListOptions`
    info	[Changelog] - New struct `UsageDetailsListPager`
    info	[Changelog] - New struct `UsageDetailsListResponse`
    info	[Changelog] - New struct `UsageDetailsListResult`
    info	[Changelog] - New struct `UsageDetailsListResultEnvelope`
    info	[Changelog]
    info	[Changelog] Total 0 breaking change(s), 749 additive change(s).
    info	[Changelog]
️⚠️ azure-sdk-for-python-track2 warning [Detail]
  • ⚠️Warning [Logs] Generate from 39758b3496c8096ab9fe067f9dd434b4a88dc9ce. SDK Automation 14.0.0
    command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
    cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
    command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
    cmderr	[automation_generate.sh] npm notice
    cmderr	[automation_generate.sh] npm notice New minor version of npm available! 8.1.2 -> 8.3.1
    cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.3.1>
    cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@8.3.1` to update!
    cmderr	[automation_generate.sh] npm notice
  • ️✔️track2_azure-mgmt-consumption [View full logs]  [Preview SDK Changes]
    info	[Changelog]
️⚠️ azure-sdk-for-java warning [Detail]
  • ⚠️Warning [Logs] Generate from 39758b3496c8096ab9fe067f9dd434b4a88dc9ce. 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
    cmderr	[generate.py] 2022-01-14 06:07:38 INFO [VERSION][Found] current version "com.azure.resourcemanager:azure-resourcemanager-consumption;1.0.0-beta.2;1.0.0-beta.3"
    cmderr	[generate.py] 2022-01-14 06:07:38 INFO [VERSION][Not Found] cannot find stable version, current version "1.0.0-beta.3"
    cmderr	[generate.py] 2022-01-14 06:07:38 INFO autorest --version=3.6.0 --use=@autorest/java@4.0.40 --java.azure-libraries-for-java-folder=/home/vsts/work/1/s/azure-sdk-for-java --java.output-folder=/home/vsts/work/1/s/azure-sdk-for-java/sdk/consumption/azure-resourcemanager-consumption --java.namespace=com.azure.resourcemanager.consumption   --java --pipeline.modelerfour.additional-checks=false --pipeline.modelerfour.lenient-model-deduplication=true --azure-arm --verbose --sdk-integration --generate-samples --fluent=lite --java.fluent=lite --java.license-header=MICROSOFT_MIT_SMALL  ../azure-rest-api-specs/specification/consumption/resource-manager/readme.md
    cmderr	[generate.py] 2022-01-14 06:08:11 INFO [CI][Skip] ci.yml already has module azure-resourcemanager-consumption
    cmderr	[generate.py] 2022-01-14 06:08:11 INFO [POM][Process] dealing with pom.xml
    cmderr	[generate.py] 2022-01-14 06:08:11 INFO [POM][Skip] pom already has module azure-resourcemanager-consumption
    cmderr	[generate.py] 2022-01-14 06:08:11 INFO [POM][Success] Write to pom.xml
    cmderr	[generate.py] 2022-01-14 06:08:11 INFO [POM][Process] dealing with root pom
    cmderr	[generate.py] 2022-01-14 06:08:11 INFO [POM][Skip] pom already has module sdk/consumption
    cmderr	[generate.py] 2022-01-14 06:08:11 INFO [POM][Success] Write to root pom
  • ️✔️azure-resourcemanager-consumption [View full logs]  [Preview SDK Changes]
    cmderr	[Inst] 2022-01-14 06:09:30 DEBUG Got artifact_id: azure-resourcemanager-consumption
    cmderr	[Inst] 2022-01-14 06:09:30 DEBUG Got artifact: pom.xml
    cmderr	[Inst] 2022-01-14 06:09:30 DEBUG Got artifact: azure-resourcemanager-consumption-1.0.0-beta.3.jar
    cmderr	[Inst] 2022-01-14 06:09:30 DEBUG Match jar package: azure-resourcemanager-consumption-1.0.0-beta.3.jar
    cmderr	[Inst] 2022-01-14 06:09:30 DEBUG output: {"full": "```sh\ncurl -L \"https://openapihub.test.azure-devex-tools.com/api/sdk-dl-pub?p=openapi-env-test/3016/azure-sdk-for-java/azure-resourcemanager-consumption/azure-resourcemanager-consumption-1.0.0-beta.3.jar\" -o azure-resourcemanager-consumption-1.0.0-beta.3.jar\nmvn install:install-file -DgroupId=com.azure.resourcemanager -DartifactId=azure-resourcemanager-consumption -Dversion=1.0.0-beta.0 -Dfile=azure-resourcemanager-consumption-1.0.0-beta.3.jar -Dpackaging=jar -DgeneratePom=true
    ```"}
️⚠️ azure-sdk-for-js warning [Detail]
  • ⚠️Warning [Logs] Generate from 39758b3496c8096ab9fe067f9dd434b4a88dc9ce. 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
    cmderr	[automation_init.sh]  read-package-tree@5.1.6: The functionality that this package provided is now in @npmcli/arborist
    cmderr	[automation_init.sh]  uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
    cmderr	[automation_init.sh] npm WARN deprecated @opentelemetry/types@0.2.0: Package renamed to @opentelemetry/api, see https://github.com/open-telemetry/opentelemetry-js
    cmderr	[automation_init.sh]  created a lockfile as package-lock.json. You should commit this file.
    cmderr	[automation_init.sh]  @octokit/plugin-request-log@1.0.4 requires a peer of @octokit/core@>=3 but none is installed. You must install peer dependencies yourself.
    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
  • ️✔️track2_@azure/arm-consumption [View full logs]  [Preview SDK Changes]
    info	[Changelog] **Features**
    info	[Changelog]
    info	[Changelog]   - Type Alias LegacyUsageDetail has a new parameter benefitId
    info	[Changelog]   - Type Alias LegacyUsageDetail has a new parameter benefitName
    error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
Posted by Swagger Pipeline | How to fix these errors?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant