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

Cost Management: Add typescript support and add more aggregation functions #14600

Merged

Conversation

bobalong79
Copy link
Contributor

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Changelog

Please ensure to add changelog with this PR by answering the following questions.

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
  3. When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
  4. If it's an update to existing version, please select SDKs of specific language and CLIs that require refresh after swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No, no need to refresh for updates in this PR

Contribution checklist:

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

  • Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

    • Adding new API(s)
    • Adding a new API version
    • Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.
    • Adding a new service
  • Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

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

Breaking Change Review Checklist

If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in stable version
  • Removing properties in stable version
  • Removing API version(s) in stable version
  • Updating API in stable or public preview version with Breaking Change Validation errors
  • Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

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

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

Signed-off-by: Rob Long <Robert.Long@lv.com>
Add Avg, Max and Min to set of available aggregation functions.

Signed-off-by: Rob Long <Robert.Long@lv.com>
@bobalong79 bobalong79 requested a review from qiaozha as a code owner May 30, 2021 11:53
@openapi-workflow-bot
Copy link

Hi, @bobalong79 Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. vsswagger@microsoft.com

    @openapi-workflow-bot
    Copy link

    [Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented May 30, 2021

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.

    ️⚠️LintDiff: 0 Warnings warning [Detail]
    The following errors/warnings exist before current PR submission:

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

    Rule Message
    R4005 - UniqueXmsEnumName Must not have duplicate name of x-ms-enum extension , make sure every x-ms-enum name unique. The duplicate x-ms-enum name: operatortype, path: $.ReportConfigComparisonExpression.properties.operator
    Location: Microsoft.CostManagement/stable/2019-11-01/costmanagement.exports.json#L672
    R4011 - DeleteOperationResponses The delete operation is defined without a 200 or 204 error response implementation,please add it.'
    Location: Microsoft.CostManagement/stable/2019-11-01/costmanagement.exports.json#L256
    R4013 - IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: Microsoft.CostManagement/stable/2019-11-01/costmanagement.json#L1004
    R4013 - IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
    Location: Microsoft.CostManagement/stable/2019-11-01/costmanagement.json#L1086
    R4018 - OperationsApiResponseSchema The response schema of operations API '/providers/Microsoft.CostManagement/operations' does not match the ARM specification. Please standardize the schema.
    Location: Microsoft.CostManagement/stable/2019-11-01/costmanagement.json#L1406
    ⚠️ R1003 - ListInOperationName Since operation 'Dimensions_ByExternalCloudProviderType' response has model definition 'x-ms-pageable', it should be of the form '_list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.CostManagement/stable/2019-11-01/costmanagement.json#L1042
    ⚠️ R1003 - ListInOperationName Since operation 'Exports_GetExecutionHistory' response has model definition 'array', it should be of the form '_list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.CostManagement/stable/2019-11-01/costmanagement.exports.json#L328
    ⚠️ R1005 - GetInOperationName 'GET' operation 'Dimensions_ByExternalCloudProviderType' should use method name 'Get' or Method name start with 'List'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.CostManagement/stable/2019-11-01/costmanagement.json#L1042
    ⚠️ R1007 - PatchInOperationName 'PATCH' operation 'Alerts_Dismiss' should use method name 'Update'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.CostManagement/stable/2019-11-01/costmanagement.json#L654
    ⚠️ R2018 - XmsEnumValidation The enum types should have x-ms-enum type extension set with appropriate options. Property name: direction
    Location: Microsoft.CostManagement/stable/2019-11-01/costmanagement.json#L1597
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️Cross-Version Breaking Changes succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️[Staging] SDK Track2 Validation succeeded [Detail]
    The following errors/warnings are introduced by current PR:

    |:speech_balloon: AutorestCore/Exception|"readme":"cost-management/resource-manager/readme.md",
    "tag":"package-2019-11",
    "details":"> Installing AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0)"|
    |:speech_balloon: AutorestCore/Exception|"readme":"cost-management/resource-manager/readme.md",
    "tag":"package-2019-11",
    "details":"> Installed AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0->1.8.0)"|


    The following errors/warnings exist before current PR submission:

    Rule Message
    PreCheck/DuplicateSchema "readme":"cost-management/resource-manager/readme.md",
    "tag":"package-2019-11",
    "details":"Duplicate Schema named QueryDataset -- properties.filter.$ref: undefined => "#/components/schemas/schemas:268" ; 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."
    PreCheck/DuplicateSchema "readme":"cost-management/resource-manager/readme.md",
    "tag":"package-2019-11",
    "details":"Duplicate Schema named QueryFilter -- properties.and.$ref: undefined => "#/components/schemas/schemas:269",
    properties.or.$ref: undefined => "#/components/schemas/schemas:270" ; 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."
    AutorestCore/Exception "readme":"cost-management/resource-manager/readme.md",
    "tag":"package-2019-11",
    "details":"Error: Plugin prechecker reported failure."
    💬 AutorestCore/Exception "readme":"cost-management/resource-manager/readme.md",
    "tag":"package-2019-11",
    "details":"> Loading AutoRest extension '@autorest/modelerfour' (4.15.456->4.15.456)"
    ️️✔️[Staging] PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️[Staging] SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️[Staging] Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    Posted by Swagger Pipeline | How to fix these errors?

    @ghost ghost added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label May 30, 2021
    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented May 30, 2021

    Swagger Generation Artifacts

    ️️✔️[Staging] ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️❌[Staging] SDK Breaking Change Tracking failed [Detail]

    Breaking Changes Tracking

    azure-sdk-for-python-track2 - track2_azure-mgmt-costmanagement - 1.0.0
    ️✔️azure-sdk-for-go - costmanagement/mgmt/2021-01-01/costmanagement - v55.0.0
    ️✔️azure-sdk-for-go - costmanagement/mgmt/2020-06-01/costmanagement - v55.0.0
    ️✔️azure-sdk-for-go - costmanagement/mgmt/2019-10-01/costmanagement - v55.0.0
    ️✔️azure-sdk-for-go - costmanagement/mgmt/2019-01-01/costmanagement - v55.0.0
    ️✔️azure-sdk-for-go - costmanagement/mgmt/2018-05-31/costmanagement - v55.0.0
    ️✔️azure-sdk-for-go - preview/costmanagement/mgmt/2019-03-01/costmanagement - v55.0.0
    ️✔️azure-sdk-for-go - preview/costmanagement/mgmt/2018-08-01-preview/costmanagement - v55.0.0
    ️️✔️ azure-sdk-for-net succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 4b2c62f. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-5.0
      command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/cost-management/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.CostManagement [View full logs]  [Release SDK Changes]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 4b2c62f. SDK Automation 14.0.0
      command	sh ./initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	go run ./tools/generator/main.go ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️costmanagement/mgmt/2021-01-01/costmanagement [View full logs]  [Release SDK Changes]
      info	[Changelog] This is a new package
    • ️✔️costmanagement/mgmt/2020-06-01/costmanagement [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️costmanagement/mgmt/2019-10-01/costmanagement [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️costmanagement/mgmt/2019-01-01/costmanagement [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️costmanagement/mgmt/2018-05-31/costmanagement [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️preview/costmanagement/mgmt/2019-03-01/costmanagement [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️preview/costmanagement/mgmt/2018-08-01-preview/costmanagement [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    ️⚠️ azure-sdk-for-python warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 4b2c62f. 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] ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
      cmderr	[automation_init.sh] azure-mgmt-core 1.2.2 requires azure-core<2.0.0,>=1.9.0, but you have azure-core 1.6.0 which is incompatible.
      cmderr	[automation_init.sh] ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
      cmderr	[automation_init.sh] azure-mgmt-core 1.2.2 requires azure-core<2.0.0,>=1.9.0, but you have azure-core 1.6.0 which is incompatible.
      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-costmanagement [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Model QueryResult has a new parameter sku
      info	[Changelog]   - Model QueryResult has a new parameter location
      info	[Changelog]   - Model QueryResult has a new parameter e_tag
      info	[Changelog]   - Model Export has a new parameter e_tag
      info	[Changelog]   - Added operation QueryOperations.usage_by_external_cloud_provider_type
      info	[Changelog]   - Added operation DimensionsOperations.by_external_cloud_provider_type
      info	[Changelog]   - Added operation group GenerateReservationDetailsReportOperations
      info	[Changelog]   - Added operation group ForecastOperations
      info	[Changelog]   - Added operation group SettingsOperations
      info	[Changelog]   - Added operation group AlertsOperations
      info	[Changelog]   - Added operation group ViewsOperations
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Model Export no longer has parameter tags
      info	[Changelog]   - Model QueryFilter has a new signature
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 4b2c62f. 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
    • ️✔️track2_azure-mgmt-costmanagement [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Model View has a new parameter include_monetary_commitment
      info	[Changelog]   - Model View has a new parameter data_set
      info	[Changelog]   - Model View has a new parameter date_range
      info	[Changelog]   - Model View has a new parameter currency
      info	[Changelog]   - Model ExportExecution has a new parameter tags
      info	[Changelog]   - Model QueryResult has a new parameter location
      info	[Changelog]   - Model QueryResult has a new parameter sku
      info	[Changelog]   - Model QueryResult has a new parameter e_tag
      info	[Changelog]   - Added operation group SettingsOperations
      info	[Changelog]   - Added operation group GenerateReservationDetailsReportOperations
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Parameter recurrence of model ExportSchedule is now required
      info	[Changelog]   - Operation ExportsOperations.list has a new signature
      info	[Changelog]   - Operation ExportsOperations.get has a new signature
      info	[Changelog]   - Model Export no longer has parameter next_run_time_estimate
      info	[Changelog]   - Model Export no longer has parameter run_history
      info	[Changelog]   - Model View no longer has parameter dataset
      info	[Changelog]   - Model ExportExecution no longer has parameter error
      info	[Changelog]   - Model ExportExecution no longer has parameter e_tag
      info	[Changelog]   - Model CommonExportProperties no longer has parameter next_run_time_estimate
      info	[Changelog]   - Model CommonExportProperties no longer has parameter run_history
      info	[Changelog]   - Model ExportProperties no longer has parameter next_run_time_estimate
      info	[Changelog]   - Model ExportProperties no longer has parameter run_history
      info	[Changelog]   - Model ReportConfigFilter has a new signature
      info	[Changelog]   - Model QueryFilter has a new signature
    ️️✔️ azure-cli-extensions succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 4b2c62f. Azure CLI Automation 14.0.0
      Only show 120 items here, please refer to log for details.
      cmderr	[Autorest]     - name: /Alerts/get/EnrollmentAccountAlerts
      cmderr	[Autorest]     - name: /Alerts/get/ExternalBillingAccountAlerts
      cmderr	[Autorest]     - name: /Alerts/get/ExternalSubscriptionAlerts
      cmderr	[Autorest]     - name: /Alerts/get/InvoiceSectionAlerts
      cmderr	[Autorest]     - name: /Alerts/get/ResourceGroupAlerts
      cmderr	[Autorest]     - name: /Alerts/get/ResourceGroupAlerts
      cmderr	[Autorest]     - name: /Alerts/get/SubscriptionAlerts
      cmderr	[Autorest]     - name: /Alerts/get/SubscriptionAlerts
      cmderr	[Autorest]     - name: /Alerts/patch/ResourceGroupAlerts
      cmderr	[Autorest]     - name: /Alerts/patch/SubscriptionAlerts
      cmderr	[Autorest]     - name: /Dimensions/get/BillingAccountDimensionsList-Legacy
      cmderr	[Autorest]     - name: /Dimensions/get/BillingAccountDimensionsList-Modern
      cmderr	[Autorest]     - name: /Dimensions/get/BillingAccountDimensionsListExpandAndTop-Legacy
      cmderr	[Autorest]     - name: /Dimensions/get/BillingAccountDimensionsListExpandAndTop-Modern
      cmderr	[Autorest]     - name: /Dimensions/get/BillingAccountDimensionsListWithFilter-Legacy
      cmderr	[Autorest]     - name: /Dimensions/get/BillingAccountDimensionsListWithFilter-Modern
      cmderr	[Autorest]     - name: /Dimensions/get/BillingProfileDimensionsList-Modern
      cmderr	[Autorest]     - name: /Dimensions/get/BillingProfileDimensionsListExpandAndTop-Modern
      cmderr	[Autorest]     - name: /Dimensions/get/BillingProfileDimensionsListWithFilter-Modern
      cmderr	[Autorest]     - name: /Dimensions/get/CustomerDimensionsList-Modern
      cmderr	[Autorest]     - name: /Dimensions/get/CustomerDimensionsListExpandAndTop-Modern
      cmderr	[Autorest]     - name: /Dimensions/get/CustomerDimensionsListWithFilter-Modern
      cmderr	[Autorest]     - name: /Dimensions/get/DepartmentDimensionsList-Legacy
      cmderr	[Autorest]     - name: /Dimensions/get/DepartmentDimensionsListExpandAndTop-Legacy
      cmderr	[Autorest]     - name: /Dimensions/get/DepartmentDimensionsListWithFilter-Legacy
      cmderr	[Autorest]     - name: /Dimensions/get/EnrollmentAccountDimensionsList-Legacy
      cmderr	[Autorest]     - name: /Dimensions/get/EnrollmentAccountDimensionsListExpandAndTop-Legacy
      cmderr	[Autorest]     - name: /Dimensions/get/EnrollmentAccountDimensionsListWithFilter-Legacy
      cmderr	[Autorest]     - name: /Dimensions/get/ExternalBillingAccountDimensionList
      cmderr	[Autorest]     - name: /Dimensions/get/ExternalSubscriptionDimensionList
      cmderr	[Autorest]     - name: /Dimensions/get/InvoiceSectionDimensionsList-Modern
      cmderr	[Autorest]     - name: /Dimensions/get/InvoiceSectionDimensionsListExpandAndTop-Modern
      cmderr	[Autorest]     - name: /Dimensions/get/InvoiceSectionDimensionsListWithFilter-Modern
      cmderr	[Autorest]     - name: /Dimensions/get/ManagementGroupDimensionsList-Legacy
      cmderr	[Autorest]     - name: /Dimensions/get/ManagementGroupDimensionsListExpandAndTop-Legacy
      cmderr	[Autorest]     - name: /Dimensions/get/ManagementGroupDimensionsListWithFilter-Legacy
      cmderr	[Autorest]     - name: /Dimensions/get/ResourceGroupDimensionsList-Legacy
      cmderr	[Autorest]     - name: /Dimensions/get/SubscriptionDimensionsList-Legacy
      cmderr	[Autorest]     - name: /Exports/put/BillingAccountCreateOrUpdateExport
      cmderr	[Autorest]     - name: /Exports/put/DepartmentCreateOrUpdateExport
      cmderr	[Autorest]     - name: /Exports/put/EnrollmentAccountCreateOrUpdateExport
      cmderr	[Autorest]     - name: /Exports/put/ManagementGroupCreateOrUpdateExport
      cmderr	[Autorest]     - name: /Exports/put/ResourceGroupCreateOrUpdateExport
      cmderr	[Autorest]     - name: /Exports/put/SubscriptionCreateOrUpdateExport
      cmderr	[Autorest]     - name: /Exports/get/BillingAccountExecutionHistoryExport
      cmderr	[Autorest]     - name: /Exports/get/BillingAccountExport
      cmderr	[Autorest]     - name: /Exports/get/BillingAccountExportList
      cmderr	[Autorest]     - name: /Exports/get/DepartmentExecutionHistoryExport
      cmderr	[Autorest]     - name: /Exports/get/DepartmentExport
      cmderr	[Autorest]     - name: /Exports/get/DepartmentExportList
      cmderr	[Autorest]     - name: /Exports/get/EnrollmentAccountExecutionHistoryExport
      cmderr	[Autorest]     - name: /Exports/get/EnrollmentAccountExport
      cmderr	[Autorest]     - name: /Exports/get/EnrollmentAccountExportList
      cmderr	[Autorest]     - name: /Exports/get/ManagementGroupExecutionHistoryExport
      cmderr	[Autorest]     - name: /Exports/get/ManagementGroupExport
      cmderr	[Autorest]     - name: /Exports/get/ManagementGroupExportList
      cmderr	[Autorest]     - name: /Exports/get/ResourceGroupExecutionHistoryExport
      cmderr	[Autorest]     - name: /Exports/get/ResourceGroupExport
      cmderr	[Autorest]     - name: /Exports/get/ResourceGroupExportList
      cmderr	[Autorest]     - name: /Exports/get/SubscriptionExecutionHistoryExport
      cmderr	[Autorest]     - name: /Exports/get/SubscriptionExport
      cmderr	[Autorest]     - name: /Exports/get/SubscriptionExportList
      cmderr	[Autorest]     - name: /Exports/post/BillingAccountExecuteExport
      cmderr	[Autorest]     - name: /Exports/post/DepartmentExecuteExport
      cmderr	[Autorest]     - name: /Exports/post/EnrollmentAccountExecuteExport
      cmderr	[Autorest]     - name: /Exports/post/ManagementGroupExecuteExport
      cmderr	[Autorest]     - name: /Exports/post/ResourceGroupExecuteExport
      cmderr	[Autorest]     - name: /Exports/post/SubscriptionExecuteExport
      cmderr	[Autorest]     - name: /Exports/delete/BillingAccountDeleteExport
      cmderr	[Autorest]     - name: /Exports/delete/DepartmentDeleteExport
      cmderr	[Autorest]     - name: /Exports/delete/EnrollmentAccountDeleteExport
      cmderr	[Autorest]     - name: /Exports/delete/ManagementGroupDeleteExport
      cmderr	[Autorest]     - name: /Exports/delete/ResourceGroupDeleteExport
      cmderr	[Autorest]     - name: /Exports/delete/SubscriptionDeleteExport
      cmderr	[Autorest]     - name: /Forecast/post/BillingAccountForecast
      cmderr	[Autorest]     - name: /Forecast/post/BillingProfileForecast
      cmderr	[Autorest]     - name: /Forecast/post/DepartmentForecast
      cmderr	[Autorest]     - name: /Forecast/post/EnrollmentAccountForecast
      cmderr	[Autorest]     - name: /Forecast/post/ExternalBillingAccountForecast
      cmderr	[Autorest]     - name: /Forecast/post/ExternalSubscriptionForecast
      cmderr	[Autorest]     - name: /Forecast/post/InvoiceSectionForecast
      cmderr	[Autorest]     - name: /Forecast/post/ResourceGroupForecast
      cmderr	[Autorest]     - name: /Forecast/post/SubscriptionForecast
      cmderr	[Autorest]     - name: /GenerateReservationDetailsReport/post/ReservationDetails
      cmderr	[Autorest]     - name: /GenerateReservationDetailsReport/post/ReservationDetails
      cmderr	[Autorest]     - name: /Query/post/BillingAccountQuery-Legacy
      cmderr	[Autorest]     - name: /Query/post/BillingAccountQuery-Modern
      cmderr	[Autorest]     - name: /Query/post/BillingAccountQueryGrouping-Legacy
      cmderr	[Autorest]     - name: /Query/post/BillingAccountQueryGrouping-Modern
      cmderr	[Autorest]     - name: /Query/post/BillingProfileQuery-Modern
      cmderr	[Autorest]     - name: /Query/post/BillingProfileQueryGrouping-Modern
      cmderr	[Autorest]     - name: /Query/post/CustomerQuery-Modern
      cmderr	[Autorest]     - name: /Query/post/CustomerQueryGrouping-Modern
      cmderr	[Autorest]     - name: /Query/post/DepartmentQuery-Legacy
      cmderr	[Autorest]     - name: /Query/post/DepartmentQueryGrouping-Legacy
      cmderr	[Autorest]     - name: /Query/post/EnrollmentAccountQuery-Legacy
      cmderr	[Autorest]     - name: /Query/post/EnrollmentAccountQueryGrouping-Legacy
      cmderr	[Autorest]     - name: /Query/post/ExternalBillingAccountQueryList
      cmderr	[Autorest]     - name: /Query/post/ExternalSubscriptionsQuery
      cmderr	[Autorest]     - name: /Query/post/InvoiceSectionQuery-Modern
      cmderr	[Autorest]     - name: /Query/post/InvoiceSectionQueryGrouping-Modern
      cmderr	[Autorest]     - name: /Query/post/ManagementGroupQuery-Legacy
      cmderr	[Autorest]     - name: /Query/post/ManagementGroupQueryGrouping-Legacy
      cmderr	[Autorest]     - name: /Query/post/ResourceGroupQuery-Legacy
      cmderr	[Autorest]     - name: /Query/post/ResourceGroupQueryGrouping-Legacy
      cmderr	[Autorest]     - name: /Query/post/SubscriptionQuery-Legacy
      cmderr	[Autorest]     - name: /Query/post/SubscriptionQueryGrouping-Legacy
      cmderr	[Autorest]     - name: /Settings/put/CreateOrUpdateSetting
      cmderr	[Autorest]     - name: /Settings/get/SettingList
      cmderr	[Autorest]     - name: /Settings/get/Settings
      cmderr	[Autorest]     - name: /Settings/delete/DeleteSetting
      cmderr	[Autorest]     - name: /Views/put/CreateOrUpdatePrivateView
      cmderr	[Autorest]     - name: /Views/put/ResourceGroupCreateOrUpdateView
      cmderr	[Autorest]     - name: /Views/get/PrivateView
      cmderr	[Autorest]     - name: /Views/get/PrivateViewList
      cmderr	[Autorest]     - name: /Views/get/ResourceGroupView
      cmderr	[Autorest]     - name: /Views/get/ResourceGroupViewList
      cmderr	[Autorest]     - name: /Views/delete/DeletePrivateView
      cmderr	[Autorest]     - name: /Views/delete/ResourceGroupDeleteView
      cmderr	[Autorest] --------------------------------------------------------
    • ️✔️costmanagement [View full logs]  [Release Azure CLI Changes]
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 4b2c62f. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
      warn	No file changes detected after generation
      warn	Skip detect changed packages
    Posted by Swagger Pipeline | How to fix these errors?

    @ghost
    Copy link

    ghost commented May 30, 2021

    Thank you for your contribution bobalong79! We will review the pull request and get back to you soon.

    @ghost
    Copy link

    ghost commented May 30, 2021

    CLA assistant check
    All CLA requirements met.

    @ArcturusZhang
    Copy link
    Member

    @bobalong79 please let me know when this is ready to merge

    @bobalong79
    Copy link
    Contributor Author

    Hi @ArcturusZhang please go ahead and merge it now as it's a prerequisite for Azure/azure-sdk-for-js#15469

    Many thanks

    @bobalong79 bobalong79 deleted the cost-management-updates branch June 2, 2021 08:20
    mkarmark pushed a commit to mkarmark/azure-rest-api-specs that referenced this pull request Jul 21, 2021
    …tions (Azure#14600)
    
    * Add typescript support to Cost Management
    
    Signed-off-by: Rob Long <Robert.Long@lv.com>
    
    * Extend set of aggregation functions
    
    Add Avg, Max and Min to set of available aggregation functions.
    
    Signed-off-by: Rob Long <Robert.Long@lv.com>
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    CI-BreakingChange-Python customer-reported Issues that are reported by GitHub users external to the Azure organization.
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    2 participants