Skip to content

Conversation

@Youri970410
Copy link
Contributor

Description

Generate CostManagement code base on Version '2020-06-01' and test all cmdlets except one Syntax of 'Invoke-AzCostManagementQuery'.

Checklist

  • I have read the Submitting Changes section of CONTRIBUTING.md
  • The title of the PR is clear and informative
  • The appropriate ChangeLog.md file(s) has been updated:
    • For any service, the ChangeLog.md file can be found at src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
    • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header -- no new version header should be added
  • The PR does not introduce breaking changes
  • If applicable, the changes made in the PR have proper test coverage
  • For public API changes to cmdlets:
    • a cmdlet design review was approved for the changes in this repository (Microsoft internal only)
      • {Please put the link here}
    • the markdown help files have been regenerated using the commands listed here

Query the usage data for scope defined.
.Description
Query the usage data for scope defined.
.Example
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove empty examples

@wyunchi-ms wyunchi-ms changed the title Add CostManagement Generated Code and Tests [Costmanagement] Add CostManagement Generated Code and Tests Nov 24, 2020
@wyunchi-ms wyunchi-ms added Cost Management Generator Related to cmdlet generator labels Nov 24, 2020
Copy link
Contributor

@dolauli dolauli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some changes are required

@dolauli
Copy link
Contributor

dolauli commented Nov 26, 2020

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 2 pipeline(s), but failed to run 2 pipeline(s).

@Youri970410
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 2 pipeline(s), but failed to run 2 pipeline(s).

Update operation requires latest eTag to be set in the request.
You may obtain the latest eTag by performing a get operation.
Create operation does not require eTag.
.Example
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove examples, outputs and link from the comments.

Name <String>: The name of the column to group.
Type <QueryColumnType>: Has type of the column to group.
.Link
https://docs.microsoft.com/en-us/powershell/module/az.cost/invoke-azcostmanagementusagequery
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Link is incorrect here. should not az.cost. Just remove the link part.

dolauli
dolauli previously requested changes Dec 2, 2020
Copy link
Contributor

@dolauli dolauli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. some examples are missing
  2. In customized ps1 scripts, examples and link are not needed.

@wyunchi-ms wyunchi-ms merged commit 2fd6558 into Azure:generation Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Generator Related to cmdlet generator needs-revision

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants