Skip to content

Commit 06fc79e

Browse files
committed
[Consumption] Update consumption commands to API 2024-08-01
Generated via aaz-dev-mcp using new rename_command_group + rename_command tools to preserve legacy CLI command names: - usage-detail -> usage - reservation-detail -> reservation detail - reservation-summary -> reservation summary - pricesheet default show -> pricesheet show All 7 consumption resources from the 2024-08-01 spec are added.
1 parent 3c77193 commit 06fc79e

33 files changed

Lines changed: 2234 additions & 24 deletions

File tree

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
# [Command] _consumption budget create_
22

3-
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.
3+
Create operation to create or update a budget. You can optionally provide an eTag if desired as a form of concurrency control. To obtain the latest eTag for a given budget, perform a get operation prior to your put operation.
44

55
## Versions
66

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

99
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.consumption/budgets/{} 2018-01-31 -->
10+
11+
### [2024-08-01](/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2024-08-01.xml) **Stable**
12+
13+
<!-- mgmt-plane /{scope}/providers/microsoft.consumption/budgets/{} 2024-08-01 -->

Commands/consumption/budget/_delete.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ Delete operation to delete a budget.
77
### [2018-01-31](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2018-01-31.xml) **Preview**
88

99
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.consumption/budgets/{} 2018-01-31 -->
10+
11+
### [2024-08-01](/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2024-08-01.xml) **Stable**
12+
13+
<!-- mgmt-plane /{scope}/providers/microsoft.consumption/budgets/{} 2024-08-01 -->
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# [Command] _consumption budget list_
22

3-
List budgets for an Azure subscription.
3+
List all budgets for the defined scope.
44

55
## Versions
66

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

99
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.consumption/budgets 2018-01-31 -->
1010
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.consumption/budgets 2018-01-31 -->
11+
12+
### [2024-08-01](/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRz/2024-08-01.xml) **Stable**
13+
14+
<!-- mgmt-plane /{scope}/providers/microsoft.consumption/budgets 2024-08-01 -->
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
# [Command] _consumption budget show_
22

3-
Get the budget for a subscription by budget name.
3+
Get the budget for the scope by budget name.
44

55
## Versions
66

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

99
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.consumption/budgets/{} 2018-01-31 -->
10+
11+
### [2024-08-01](/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2024-08-01.xml) **Stable**
12+
13+
<!-- mgmt-plane /{scope}/providers/microsoft.consumption/budgets/{} 2024-08-01 -->
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
# [Command] _consumption budget update_
22

3-
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.
3+
Update operation to create or update a budget. You can optionally provide an eTag if desired as a form of concurrency control. To obtain the latest eTag for a given budget, perform a get operation prior to your put operation.
44

55
## Versions
66

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

99
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.consumption/budgets/{} 2018-01-31 -->
10+
11+
### [2024-08-01](/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2024-08-01.xml) **Stable**
12+
13+
<!-- mgmt-plane /{scope}/providers/microsoft.consumption/budgets/{} 2024-08-01 -->

Commands/consumption/budget/readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Manage budgets for an Azure subscription.
55
## Commands
66

77
- [create](/Commands/consumption/budget/_create.md)
8-
: 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.
8+
: Create operation to create or update a budget. You can optionally provide an eTag if desired as a form of concurrency control. To obtain the latest eTag for a given budget, perform a get operation prior to your put operation.
99

1010
- [create-with-rg](/Commands/consumption/budget/_create-with-rg.md)
1111
: 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.
@@ -17,16 +17,16 @@ Manage budgets for an Azure subscription.
1717
: Delete operation to delete a budget.
1818

1919
- [list](/Commands/consumption/budget/_list.md)
20-
: List budgets for an Azure subscription.
20+
: List all budgets for the defined scope.
2121

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

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

2828
- [update](/Commands/consumption/budget/_update.md)
29-
: 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.
29+
: Update operation to create or update a budget. You can optionally provide an eTag if desired as a form of concurrency control. To obtain the latest eTag for a given budget, perform a get operation prior to your put operation.
3030

3131
- [update-with-rg](/Commands/consumption/budget/_update-with-rg.md)
3232
: 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.
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# [Command] _consumption marketplace list_
22

3-
List the marketplace for an Azure subscription within a billing period.
3+
List the marketplaces for a scope at the defined scope. Marketplaces are available via this API only for May 1, 2014 or later.
44

55
## Versions
66

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

99
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.billing/billingperiods/{}/providers/microsoft.consumption/marketplaces 2018-01-31 -->
1010
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.consumption/marketplaces 2018-01-31 -->
11+
12+
### [2024-08-01](/Resources/mgmt-plane/L3tzY29wZX0vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9tYXJrZXRwbGFjZXM=/2024-08-01.xml) **Stable**
13+
14+
<!-- mgmt-plane /{scope}/providers/microsoft.consumption/marketplaces 2024-08-01 -->

Commands/consumption/marketplace/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ Inspect the marketplace usage data of an Azure subscription within a billing per
55
## Commands
66

77
- [list](/Commands/consumption/marketplace/_list.md)
8-
: List the marketplace for an Azure subscription within a billing period.
8+
: List the marketplaces for a scope at the defined scope. Marketplaces are available via this API only for May 1, 2014 or later.
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# [Command] _consumption pricesheet show_
22

3-
Show the price sheet for an Azure subscription within a billing period.
3+
Get the price sheet for a subscription. Price sheet is available via this API only for May 1, 2014 or later.
44

55
## Versions
66

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

99
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.billing/billingperiods/{}/providers/microsoft.consumption/pricesheets/default 2018-01-31 -->
1010
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.consumption/pricesheets/default 2018-01-31 -->
11+
12+
### [2024-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9wcmljZXNoZWV0cy9kZWZhdWx0/2024-08-01.xml) **Stable**
13+
14+
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.consumption/pricesheets/default 2024-08-01 -->
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# [Group] _consumption pricesheet default_
2+
3+
Manage Default

0 commit comments

Comments
 (0)