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

Add command models for consumption #267

Merged
merged 1 commit into from
Aug 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Commands/consumption/budget/_create-with-rg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _consumption budget create-with-rg_

Create operation to create or update a budget. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.

## Versions

### [2018-01-31](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2018-01-31.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.consumption/budgets/{} 2018-01-31 -->
9 changes: 9 additions & 0 deletions Commands/consumption/budget/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _consumption budget create_

Create operation to create or update a budget. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.

## Versions

### [2018-01-31](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2018-01-31.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.consumption/budgets/{} 2018-01-31 -->
9 changes: 9 additions & 0 deletions Commands/consumption/budget/_delete-with-rg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _consumption budget delete-with-rg_

Delete operation to delete a budget.

## Versions

### [2018-01-31](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2018-01-31.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.consumption/budgets/{} 2018-01-31 -->
9 changes: 9 additions & 0 deletions Commands/consumption/budget/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _consumption budget delete_

Delete operation to delete a budget.

## Versions

### [2018-01-31](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2018-01-31.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.consumption/budgets/{} 2018-01-31 -->
10 changes: 10 additions & 0 deletions Commands/consumption/budget/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# [Command] _consumption budget list_

List budgets for an Azure subscription.

## Versions

### [2018-01-31](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRz/2018-01-31.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.consumption/budgets 2018-01-31 -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.consumption/budgets 2018-01-31 -->
9 changes: 9 additions & 0 deletions Commands/consumption/budget/_show-with-rg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _consumption budget show-with-rg_

Get the budget for a resource group under a subscription by budget name.

## Versions

### [2018-01-31](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2018-01-31.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.consumption/budgets/{} 2018-01-31 -->
9 changes: 9 additions & 0 deletions Commands/consumption/budget/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _consumption budget show_

Get the budget for a subscription by budget name.

## Versions

### [2018-01-31](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2018-01-31.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.consumption/budgets/{} 2018-01-31 -->
9 changes: 9 additions & 0 deletions Commands/consumption/budget/_update-with-rg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _consumption budget update-with-rg_

Update operation to create or update a budget. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.

## Versions

### [2018-01-31](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2018-01-31.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.consumption/budgets/{} 2018-01-31 -->
9 changes: 9 additions & 0 deletions Commands/consumption/budget/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _consumption budget update_

Update operation to create or update a budget. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.

## Versions

### [2018-01-31](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2018-01-31.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.consumption/budgets/{} 2018-01-31 -->
32 changes: 32 additions & 0 deletions Commands/consumption/budget/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# [Group] _consumption budget_

Manage budgets for an Azure subscription.

## Commands

- [create](/Commands/consumption/budget/_create.md)
: Create operation to create or update a budget. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.

- [create-with-rg](/Commands/consumption/budget/_create-with-rg.md)
: Create operation to create or update a budget. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.

- [delete](/Commands/consumption/budget/_delete.md)
: Delete operation to delete a budget.

- [delete-with-rg](/Commands/consumption/budget/_delete-with-rg.md)
: Delete operation to delete a budget.

- [list](/Commands/consumption/budget/_list.md)
: List budgets for an Azure subscription.

- [show](/Commands/consumption/budget/_show.md)
: Get the budget for a subscription by budget name.

- [show-with-rg](/Commands/consumption/budget/_show-with-rg.md)
: Get the budget for a resource group under a subscription by budget name.

- [update](/Commands/consumption/budget/_update.md)
: Update operation to create or update a budget. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.

- [update-with-rg](/Commands/consumption/budget/_update-with-rg.md)
: Update operation to create or update a budget. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.
10 changes: 10 additions & 0 deletions Commands/consumption/marketplace/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# [Command] _consumption marketplace list_

List the marketplace for an Azure subscription within a billing period.

## Versions

### [2018-01-31](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vbWFya2V0cGxhY2Vz/2018-01-31.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.billing/billingperiods/{}/providers/microsoft.consumption/marketplaces 2018-01-31 -->
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.consumption/marketplaces 2018-01-31 -->
8 changes: 8 additions & 0 deletions Commands/consumption/marketplace/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# [Group] _consumption marketplace_

Inspect the marketplace usage data of an Azure subscription within a billing period.

## Commands

- [list](/Commands/consumption/marketplace/_list.md)
: List the marketplace for an Azure subscription within a billing period.
10 changes: 10 additions & 0 deletions Commands/consumption/pricesheet/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# [Command] _consumption pricesheet show_

Show the price sheet for an Azure subscription within a billing period.

## Versions

### [2018-01-31](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vcHJpY2VzaGVldHMvZGVmYXVsdA==/2018-01-31.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.billing/billingperiods/{}/providers/microsoft.consumption/pricesheets/default 2018-01-31 -->
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.consumption/pricesheets/default 2018-01-31 -->
8 changes: 8 additions & 0 deletions Commands/consumption/pricesheet/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# [Group] _consumption pricesheet_

Inspect the price sheet of an Azure subscription within a billing period.

## Commands

- [show](/Commands/consumption/pricesheet/_show.md)
: Show the price sheet for an Azure subscription within a billing period.
20 changes: 20 additions & 0 deletions Commands/consumption/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Group] _consumption_

Manage consumption of Azure resources.

## Subgroups

- [budget](/Commands/consumption/budget/readme.md)
: Manage budgets for an Azure subscription.

- [marketplace](/Commands/consumption/marketplace/readme.md)
: Inspect the marketplace usage data of an Azure subscription within a billing period.

- [pricesheet](/Commands/consumption/pricesheet/readme.md)
: Inspect the price sheet of an Azure subscription within a billing period.

- [reservation](/Commands/consumption/reservation/readme.md)
: Manage reservations for Azure resources.

- [usage](/Commands/consumption/usage/readme.md)
: Inspect the usage of Azure resources.
10 changes: 10 additions & 0 deletions Commands/consumption/reservation/detail/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# [Command] _consumption reservation detail list_

List the details of a reservation by order id or reservation id.

## Versions

### [2018-01-31](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9yZXNlcnZhdGlvbmRldGFpbHM=/2018-01-31.xml) **Stable**

<!-- mgmt-plane /providers/microsoft.capacity/reservationorders/{}/providers/microsoft.consumption/reservationdetails 2018-01-31 -->
<!-- mgmt-plane /providers/microsoft.capacity/reservationorders/{}/reservations/{}/providers/microsoft.consumption/reservationdetails 2018-01-31 -->
8 changes: 8 additions & 0 deletions Commands/consumption/reservation/detail/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# [Group] _consumption reservation detail_

List reservation details.

## Commands

- [list](/Commands/consumption/reservation/detail/_list.md)
: List the details of a reservation by order id or reservation id.
11 changes: 11 additions & 0 deletions Commands/consumption/reservation/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# [Group] _consumption reservation_

Manage reservations for Azure resources.

## Subgroups

- [detail](/Commands/consumption/reservation/detail/readme.md)
: List reservation details.

- [summary](/Commands/consumption/reservation/summary/readme.md)
: List reservation summaries.
10 changes: 10 additions & 0 deletions Commands/consumption/reservation/summary/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# [Command] _consumption reservation summary list_

List reservation summaries for daily or monthly by order Id or reservation id.

## Versions

### [2018-01-31](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9yZXNlcnZhdGlvbnN1bW1hcmllcw==/2018-01-31.xml) **Stable**

<!-- mgmt-plane /providers/microsoft.capacity/reservationorders/{}/providers/microsoft.consumption/reservationsummaries 2018-01-31 -->
<!-- mgmt-plane /providers/microsoft.capacity/reservationorders/{}/reservations/{}/providers/microsoft.consumption/reservationsummaries 2018-01-31 -->
8 changes: 8 additions & 0 deletions Commands/consumption/reservation/summary/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# [Group] _consumption reservation summary_

List reservation summaries.

## Commands

- [list](/Commands/consumption/reservation/summary/_list.md)
: List reservation summaries for daily or monthly by order Id or reservation id.
10 changes: 10 additions & 0 deletions Commands/consumption/usage/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# [Command] _consumption usage list_

List the details of Azure resource consumption, either as an invoice or within a billing period.

## Versions

### [2018-01-31](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vdXNhZ2VkZXRhaWxz/2018-01-31.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.billing/billingperiods/{}/providers/microsoft.consumption/usagedetails 2018-01-31 -->
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.consumption/usagedetails 2018-01-31 -->
8 changes: 8 additions & 0 deletions Commands/consumption/usage/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# [Group] _consumption usage_

Inspect the usage of Azure resources.

## Commands

- [list](/Commands/consumption/usage/_list.md)
: List the details of Azure resource consumption, either as an invoice or within a billing period.
3 changes: 3 additions & 0 deletions Commands/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
- [confidentialledger](/Commands/confidentialledger/readme.md)
: Deploy and manage Azure confidential ledgers.

- [consumption](/Commands/consumption/readme.md)
: Manage consumption of Azure resources.

- [databox](/Commands/databox/readme.md)
: Manage data box

Expand Down
Loading