diff --git a/Commands/consumption/budget/_create-with-rg.md b/Commands/consumption/budget/_create-with-rg.md new file mode 100644 index 000000000..4877f1d27 --- /dev/null +++ b/Commands/consumption/budget/_create-with-rg.md @@ -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** + + diff --git a/Commands/consumption/budget/_create.md b/Commands/consumption/budget/_create.md new file mode 100644 index 000000000..2514f74eb --- /dev/null +++ b/Commands/consumption/budget/_create.md @@ -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** + + diff --git a/Commands/consumption/budget/_delete-with-rg.md b/Commands/consumption/budget/_delete-with-rg.md new file mode 100644 index 000000000..eeb14e420 --- /dev/null +++ b/Commands/consumption/budget/_delete-with-rg.md @@ -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** + + diff --git a/Commands/consumption/budget/_delete.md b/Commands/consumption/budget/_delete.md new file mode 100644 index 000000000..a26de403f --- /dev/null +++ b/Commands/consumption/budget/_delete.md @@ -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** + + diff --git a/Commands/consumption/budget/_list.md b/Commands/consumption/budget/_list.md new file mode 100644 index 000000000..30feaaab4 --- /dev/null +++ b/Commands/consumption/budget/_list.md @@ -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** + + + diff --git a/Commands/consumption/budget/_show-with-rg.md b/Commands/consumption/budget/_show-with-rg.md new file mode 100644 index 000000000..c7f3203da --- /dev/null +++ b/Commands/consumption/budget/_show-with-rg.md @@ -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** + + diff --git a/Commands/consumption/budget/_show.md b/Commands/consumption/budget/_show.md new file mode 100644 index 000000000..ef60755ef --- /dev/null +++ b/Commands/consumption/budget/_show.md @@ -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** + + diff --git a/Commands/consumption/budget/_update-with-rg.md b/Commands/consumption/budget/_update-with-rg.md new file mode 100644 index 000000000..4eb4a3cf8 --- /dev/null +++ b/Commands/consumption/budget/_update-with-rg.md @@ -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** + + diff --git a/Commands/consumption/budget/_update.md b/Commands/consumption/budget/_update.md new file mode 100644 index 000000000..86f0499a1 --- /dev/null +++ b/Commands/consumption/budget/_update.md @@ -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** + + diff --git a/Commands/consumption/budget/readme.md b/Commands/consumption/budget/readme.md new file mode 100644 index 000000000..9b76d8bbe --- /dev/null +++ b/Commands/consumption/budget/readme.md @@ -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. diff --git a/Commands/consumption/marketplace/_list.md b/Commands/consumption/marketplace/_list.md new file mode 100644 index 000000000..23a83d16b --- /dev/null +++ b/Commands/consumption/marketplace/_list.md @@ -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** + + + diff --git a/Commands/consumption/marketplace/readme.md b/Commands/consumption/marketplace/readme.md new file mode 100644 index 000000000..4aeb097cb --- /dev/null +++ b/Commands/consumption/marketplace/readme.md @@ -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. diff --git a/Commands/consumption/pricesheet/_show.md b/Commands/consumption/pricesheet/_show.md new file mode 100644 index 000000000..a02c0d9c0 --- /dev/null +++ b/Commands/consumption/pricesheet/_show.md @@ -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** + + + diff --git a/Commands/consumption/pricesheet/readme.md b/Commands/consumption/pricesheet/readme.md new file mode 100644 index 000000000..88546142b --- /dev/null +++ b/Commands/consumption/pricesheet/readme.md @@ -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. diff --git a/Commands/consumption/readme.md b/Commands/consumption/readme.md new file mode 100644 index 000000000..be2fa3ad5 --- /dev/null +++ b/Commands/consumption/readme.md @@ -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. diff --git a/Commands/consumption/reservation/detail/_list.md b/Commands/consumption/reservation/detail/_list.md new file mode 100644 index 000000000..c0ce2b75d --- /dev/null +++ b/Commands/consumption/reservation/detail/_list.md @@ -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** + + + diff --git a/Commands/consumption/reservation/detail/readme.md b/Commands/consumption/reservation/detail/readme.md new file mode 100644 index 000000000..f3d1634bb --- /dev/null +++ b/Commands/consumption/reservation/detail/readme.md @@ -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. diff --git a/Commands/consumption/reservation/readme.md b/Commands/consumption/reservation/readme.md new file mode 100644 index 000000000..ff6d3ec08 --- /dev/null +++ b/Commands/consumption/reservation/readme.md @@ -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. diff --git a/Commands/consumption/reservation/summary/_list.md b/Commands/consumption/reservation/summary/_list.md new file mode 100644 index 000000000..0682971f9 --- /dev/null +++ b/Commands/consumption/reservation/summary/_list.md @@ -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** + + + diff --git a/Commands/consumption/reservation/summary/readme.md b/Commands/consumption/reservation/summary/readme.md new file mode 100644 index 000000000..ecadaf36e --- /dev/null +++ b/Commands/consumption/reservation/summary/readme.md @@ -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. diff --git a/Commands/consumption/usage/_list.md b/Commands/consumption/usage/_list.md new file mode 100644 index 000000000..94c0a5522 --- /dev/null +++ b/Commands/consumption/usage/_list.md @@ -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** + + + diff --git a/Commands/consumption/usage/readme.md b/Commands/consumption/usage/readme.md new file mode 100644 index 000000000..1b904a919 --- /dev/null +++ b/Commands/consumption/usage/readme.md @@ -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. diff --git a/Commands/readme.md b/Commands/readme.md index 5bf4f5521..2ec4305d1 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -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 diff --git a/Commands/tree.json b/Commands/tree.json index 22cda567b..82aabcb02 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -3372,6 +3372,447 @@ "confidentialledger" ] }, + "consumption": { + "commandGroups": { + "budget": { + "commands": { + "create": { + "help": { + "short": "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." + }, + "names": [ + "consumption", + "budget", + "create" + ], + "versions": [ + { + "name": "2018-01-31", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.consumption/budgets/{}", + "plane": "mgmt-plane", + "version": "2018-01-31" + } + ], + "stage": "Preview" + } + ] + }, + "create-with-rg": { + "help": { + "short": "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." + }, + "names": [ + "consumption", + "budget", + "create-with-rg" + ], + "versions": [ + { + "name": "2018-01-31", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.consumption/budgets/{}", + "plane": "mgmt-plane", + "version": "2018-01-31" + } + ], + "stage": "Preview" + } + ] + }, + "delete": { + "help": { + "short": "Delete operation to delete a budget." + }, + "names": [ + "consumption", + "budget", + "delete" + ], + "versions": [ + { + "name": "2018-01-31", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.consumption/budgets/{}", + "plane": "mgmt-plane", + "version": "2018-01-31" + } + ], + "stage": "Preview" + } + ] + }, + "delete-with-rg": { + "help": { + "short": "Delete operation to delete a budget." + }, + "names": [ + "consumption", + "budget", + "delete-with-rg" + ], + "versions": [ + { + "name": "2018-01-31", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.consumption/budgets/{}", + "plane": "mgmt-plane", + "version": "2018-01-31" + } + ], + "stage": "Preview" + } + ] + }, + "list": { + "help": { + "short": "List budgets for an Azure subscription." + }, + "names": [ + "consumption", + "budget", + "list" + ], + "versions": [ + { + "name": "2018-01-31", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.consumption/budgets", + "plane": "mgmt-plane", + "version": "2018-01-31" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.consumption/budgets", + "plane": "mgmt-plane", + "version": "2018-01-31" + } + ], + "stage": "Preview" + } + ] + }, + "show": { + "help": { + "short": "Get the budget for a subscription by budget name." + }, + "names": [ + "consumption", + "budget", + "show" + ], + "versions": [ + { + "name": "2018-01-31", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.consumption/budgets/{}", + "plane": "mgmt-plane", + "version": "2018-01-31" + } + ], + "stage": "Preview" + } + ] + }, + "show-with-rg": { + "help": { + "short": "Get the budget for a resource group under a subscription by budget name." + }, + "names": [ + "consumption", + "budget", + "show-with-rg" + ], + "versions": [ + { + "name": "2018-01-31", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.consumption/budgets/{}", + "plane": "mgmt-plane", + "version": "2018-01-31" + } + ], + "stage": "Preview" + } + ] + }, + "update": { + "help": { + "short": "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." + }, + "names": [ + "consumption", + "budget", + "update" + ], + "versions": [ + { + "name": "2018-01-31", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.consumption/budgets/{}", + "plane": "mgmt-plane", + "version": "2018-01-31" + } + ], + "stage": "Preview" + } + ] + }, + "update-with-rg": { + "help": { + "short": "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." + }, + "names": [ + "consumption", + "budget", + "update-with-rg" + ], + "versions": [ + { + "name": "2018-01-31", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.consumption/budgets/{}", + "plane": "mgmt-plane", + "version": "2018-01-31" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage budgets for an Azure subscription." + }, + "names": [ + "consumption", + "budget" + ] + }, + "marketplace": { + "commands": { + "list": { + "help": { + "short": "List the marketplace for an Azure subscription within a billing period." + }, + "names": [ + "consumption", + "marketplace", + "list" + ], + "versions": [ + { + "name": "2018-01-31", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.billing/billingperiods/{}/providers/microsoft.consumption/marketplaces", + "plane": "mgmt-plane", + "version": "2018-01-31" + }, + { + "id": "/subscriptions/{}/providers/microsoft.consumption/marketplaces", + "plane": "mgmt-plane", + "version": "2018-01-31" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Inspect the marketplace usage data of an Azure subscription within a billing period." + }, + "names": [ + "consumption", + "marketplace" + ] + }, + "pricesheet": { + "commands": { + "show": { + "help": { + "short": "Show the price sheet for an Azure subscription within a billing period." + }, + "names": [ + "consumption", + "pricesheet", + "show" + ], + "versions": [ + { + "name": "2018-01-31", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.billing/billingperiods/{}/providers/microsoft.consumption/pricesheets/default", + "plane": "mgmt-plane", + "version": "2018-01-31" + }, + { + "id": "/subscriptions/{}/providers/microsoft.consumption/pricesheets/default", + "plane": "mgmt-plane", + "version": "2018-01-31" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Inspect the price sheet of an Azure subscription within a billing period." + }, + "names": [ + "consumption", + "pricesheet" + ] + }, + "reservation": { + "commandGroups": { + "detail": { + "commands": { + "list": { + "help": { + "short": "List the details of a reservation by order id or reservation id." + }, + "names": [ + "consumption", + "reservation", + "detail", + "list" + ], + "versions": [ + { + "name": "2018-01-31", + "resources": [ + { + "id": "/providers/microsoft.capacity/reservationorders/{}/providers/microsoft.consumption/reservationdetails", + "plane": "mgmt-plane", + "version": "2018-01-31" + }, + { + "id": "/providers/microsoft.capacity/reservationorders/{}/reservations/{}/providers/microsoft.consumption/reservationdetails", + "plane": "mgmt-plane", + "version": "2018-01-31" + } + ] + } + ] + } + }, + "help": { + "short": "List reservation details." + }, + "names": [ + "consumption", + "reservation", + "detail" + ] + }, + "summary": { + "commands": { + "list": { + "help": { + "short": "List reservation summaries for daily or monthly by order Id or reservation id." + }, + "names": [ + "consumption", + "reservation", + "summary", + "list" + ], + "versions": [ + { + "name": "2018-01-31", + "resources": [ + { + "id": "/providers/microsoft.capacity/reservationorders/{}/providers/microsoft.consumption/reservationsummaries", + "plane": "mgmt-plane", + "version": "2018-01-31" + }, + { + "id": "/providers/microsoft.capacity/reservationorders/{}/reservations/{}/providers/microsoft.consumption/reservationsummaries", + "plane": "mgmt-plane", + "version": "2018-01-31" + } + ] + } + ] + } + }, + "help": { + "short": "List reservation summaries." + }, + "names": [ + "consumption", + "reservation", + "summary" + ] + } + }, + "help": { + "short": "Manage reservations for Azure resources." + }, + "names": [ + "consumption", + "reservation" + ] + }, + "usage": { + "commands": { + "list": { + "help": { + "short": "List the details of Azure resource consumption, either as an invoice or within a billing period." + }, + "names": [ + "consumption", + "usage", + "list" + ], + "versions": [ + { + "name": "2018-01-31", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.billing/billingperiods/{}/providers/microsoft.consumption/usagedetails", + "plane": "mgmt-plane", + "version": "2018-01-31" + }, + { + "id": "/subscriptions/{}/providers/microsoft.consumption/usagedetails", + "plane": "mgmt-plane", + "version": "2018-01-31" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Inspect the usage of Azure resources." + }, + "names": [ + "consumption", + "usage" + ] + } + }, + "help": { + "short": "Manage consumption of Azure resources." + }, + "names": [ + "consumption" + ] + }, "databox": { "commandGroups": { "job": { diff --git a/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9yZXNlcnZhdGlvbmRldGFpbHM=/2018-01-31.json b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9yZXNlcnZhdGlvbmRldGFpbHM=/2018-01-31.json new file mode 100644 index 000000000..486c764eb --- /dev/null +++ b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9yZXNlcnZhdGlvbmRldGFpbHM=/2018-01-31.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.capacity/reservationorders/{}/providers/microsoft.consumption/reservationdetails", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve3Jlc2VydmF0aW9uT3JkZXJJZH0vcHJvdmlkZXJzL01pY3Jvc29mdC5Db25zdW1wdGlvbi9yZXNlcnZhdGlvbkRldGFpbHM=/V/MjAxOC0wMS0zMQ=="}, {"id": "/providers/microsoft.capacity/reservationorders/{}/reservations/{}/providers/microsoft.consumption/reservationdetails", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve3Jlc2VydmF0aW9uT3JkZXJJZH0vcmVzZXJ2YXRpb25zL3tyZXNlcnZhdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL3Jlc2VydmF0aW9uRGV0YWlscw==/V/MjAxOC0wMS0zMQ=="}], "commandGroups": [{"name": "consumption reservation detail", "commands": [{"name": "list", "version": "2018-01-31", "resources": [{"id": "/providers/microsoft.capacity/reservationorders/{}/providers/microsoft.consumption/reservationdetails", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve3Jlc2VydmF0aW9uT3JkZXJJZH0vcHJvdmlkZXJzL01pY3Jvc29mdC5Db25zdW1wdGlvbi9yZXNlcnZhdGlvbkRldGFpbHM=/V/MjAxOC0wMS0zMQ=="}, {"id": "/providers/microsoft.capacity/reservationorders/{}/reservations/{}/providers/microsoft.consumption/reservationdetails", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve3Jlc2VydmF0aW9uT3JkZXJJZH0vcmVzZXJ2YXRpb25zL3tyZXNlcnZhdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL3Jlc2VydmF0aW9uRGV0YWlscw==/V/MjAxOC0wMS0zMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.reservationId", "options": ["reservation-id"], "group": "", "help": {"short": "Reservation id."}}, {"type": "string", "var": "$Path.reservationOrderId", "options": ["reservation-order-id"], "required": true, "group": "", "help": {"short": "Reservation order id."}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "required": true, "help": {"short": "Filter reservation details by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge' "}}]}], "conditions": [{"var": "$Condition_ReservationsDetails_ListByReservationOrderAndReservation", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.reservationId"}, {"type": "hasValue", "arg": "$Path.reservationOrderId"}, {"type": "hasValue", "arg": "$Query.filter"}]}}, {"var": "$Condition_ReservationsDetails_ListByReservationOrder", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.reservationOrderId"}, {"type": "hasValue", "arg": "$Query.filter"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.reservationId"}}]}}], "operations": [{"when": ["$Condition_ReservationsDetails_ListByReservationOrderAndReservation"], "operationId": "ReservationsDetails_ListByReservationOrderAndReservation", "http": {"path": "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/reservations/{reservationId}/providers/Microsoft.Consumption/reservationDetails", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "reservationId", "arg": "$Path.reservationId", "required": true}, {"type": "string", "name": "reservationOrderId", "arg": "$Path.reservationOrderId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter", "required": true}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "instanceId"}, {"readOnly": true, "type": "string", "name": "reservationId"}, {"readOnly": true, "type": "string", "name": "reservationOrderId"}, {"readOnly": true, "type": "float64", "name": "reservedHours"}, {"readOnly": true, "type": "string", "name": "skuName"}, {"readOnly": true, "type": "float64", "name": "totalReservedQuantity"}, {"readOnly": true, "type": "dateTime", "name": "usageDate"}, {"readOnly": true, "type": "float64", "name": "usedHours"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "tags", "additionalProps": {"readOnly": true, "item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_ReservationsDetails_ListByReservationOrder"], "operationId": "ReservationsDetails_ListByReservationOrder", "http": {"path": "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/providers/Microsoft.Consumption/reservationDetails", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "reservationOrderId", "arg": "$Path.reservationOrderId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter", "required": true}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "instanceId"}, {"readOnly": true, "type": "string", "name": "reservationId"}, {"readOnly": true, "type": "string", "name": "reservationOrderId"}, {"readOnly": true, "type": "float64", "name": "reservedHours"}, {"readOnly": true, "type": "string", "name": "skuName"}, {"readOnly": true, "type": "float64", "name": "totalReservedQuantity"}, {"readOnly": true, "type": "dateTime", "name": "usageDate"}, {"readOnly": true, "type": "float64", "name": "usedHours"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "tags", "additionalProps": {"readOnly": true, "item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9yZXNlcnZhdGlvbmRldGFpbHM=/2018-01-31.xml b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9yZXNlcnZhdGlvbmRldGFpbHM=/2018-01-31.xml new file mode 100644 index 000000000..9c67098c8 --- /dev/null +++ b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9yZXNlcnZhdGlvbmRldGFpbHM=/2018-01-31.xml @@ -0,0 +1,146 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9yZXNlcnZhdGlvbnN1bW1hcmllcw==/2018-01-31.json b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9yZXNlcnZhdGlvbnN1bW1hcmllcw==/2018-01-31.json new file mode 100644 index 000000000..5163320cd --- /dev/null +++ b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9yZXNlcnZhdGlvbnN1bW1hcmllcw==/2018-01-31.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/providers/microsoft.capacity/reservationorders/{}/providers/microsoft.consumption/reservationsummaries", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve3Jlc2VydmF0aW9uT3JkZXJJZH0vcHJvdmlkZXJzL01pY3Jvc29mdC5Db25zdW1wdGlvbi9yZXNlcnZhdGlvblN1bW1hcmllcw==/V/MjAxOC0wMS0zMQ=="}, {"id": "/providers/microsoft.capacity/reservationorders/{}/reservations/{}/providers/microsoft.consumption/reservationsummaries", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve3Jlc2VydmF0aW9uT3JkZXJJZH0vcmVzZXJ2YXRpb25zL3tyZXNlcnZhdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL3Jlc2VydmF0aW9uU3VtbWFyaWVz/V/MjAxOC0wMS0zMQ=="}], "commandGroups": [{"name": "consumption reservation summary", "commands": [{"name": "list", "version": "2018-01-31", "resources": [{"id": "/providers/microsoft.capacity/reservationorders/{}/providers/microsoft.consumption/reservationsummaries", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve3Jlc2VydmF0aW9uT3JkZXJJZH0vcHJvdmlkZXJzL01pY3Jvc29mdC5Db25zdW1wdGlvbi9yZXNlcnZhdGlvblN1bW1hcmllcw==/V/MjAxOC0wMS0zMQ=="}, {"id": "/providers/microsoft.capacity/reservationorders/{}/reservations/{}/providers/microsoft.consumption/reservationsummaries", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve3Jlc2VydmF0aW9uT3JkZXJJZH0vcmVzZXJ2YXRpb25zL3tyZXNlcnZhdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL3Jlc2VydmF0aW9uU3VtbWFyaWVz/V/MjAxOC0wMS0zMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.reservationId", "options": ["reservation-id"], "help": {"short": "Id of the reservation"}}, {"type": "string", "var": "$Path.reservationOrderId", "options": ["reservation-order-id"], "required": true, "group": "", "help": {"short": "Reservation order id."}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'"}}, {"type": "string", "var": "$Query.grain", "options": ["grain"], "required": true, "group": "", "help": {"short": "Reservation summary grain. Possible values are daily or monthly."}, "enum": {"items": [{"name": "daily", "value": "daily"}, {"name": "monthly", "value": "monthly"}]}}]}], "conditions": [{"var": "$Condition_ReservationsSummaries_ListByReservationOrderAndReservation", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.reservationId"}, {"type": "hasValue", "arg": "$Path.reservationOrderId"}, {"type": "hasValue", "arg": "$Query.grain"}]}}, {"var": "$Condition_ReservationsSummaries_ListByReservationOrder", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.reservationOrderId"}, {"type": "hasValue", "arg": "$Query.grain"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.reservationId"}}]}}], "operations": [{"when": ["$Condition_ReservationsSummaries_ListByReservationOrderAndReservation"], "operationId": "ReservationsSummaries_ListByReservationOrderAndReservation", "http": {"path": "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/reservations/{reservationId}/providers/Microsoft.Consumption/reservationSummaries", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "reservationId", "arg": "$Path.reservationId", "required": true}, {"type": "string", "name": "reservationOrderId", "arg": "$Path.reservationOrderId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}, {"type": "string", "name": "grain", "arg": "$Query.grain", "required": true, "enum": {"items": [{"value": "daily"}, {"value": "monthly"}]}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "float64", "name": "avgUtilizationPercentage"}, {"readOnly": true, "type": "float64", "name": "maxUtilizationPercentage"}, {"readOnly": true, "type": "float64", "name": "minUtilizationPercentage"}, {"readOnly": true, "type": "string", "name": "reservationId"}, {"readOnly": true, "type": "string", "name": "reservationOrderId"}, {"readOnly": true, "type": "float64", "name": "reservedHours"}, {"readOnly": true, "type": "string", "name": "skuName"}, {"readOnly": true, "type": "dateTime", "name": "usageDate"}, {"readOnly": true, "type": "float64", "name": "usedHours"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "tags", "additionalProps": {"readOnly": true, "item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_ReservationsSummaries_ListByReservationOrder"], "operationId": "ReservationsSummaries_ListByReservationOrder", "http": {"path": "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/providers/Microsoft.Consumption/reservationSummaries", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "reservationOrderId", "arg": "$Path.reservationOrderId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}, {"type": "string", "name": "grain", "arg": "$Query.grain", "required": true, "enum": {"items": [{"value": "daily"}, {"value": "monthly"}]}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "float64", "name": "avgUtilizationPercentage"}, {"readOnly": true, "type": "float64", "name": "maxUtilizationPercentage"}, {"readOnly": true, "type": "float64", "name": "minUtilizationPercentage"}, {"readOnly": true, "type": "string", "name": "reservationId"}, {"readOnly": true, "type": "string", "name": "reservationOrderId"}, {"readOnly": true, "type": "float64", "name": "reservedHours"}, {"readOnly": true, "type": "string", "name": "skuName"}, {"readOnly": true, "type": "dateTime", "name": "usageDate"}, {"readOnly": true, "type": "float64", "name": "usedHours"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "tags", "additionalProps": {"readOnly": true, "item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9yZXNlcnZhdGlvbnN1bW1hcmllcw==/2018-01-31.xml b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9yZXNlcnZhdGlvbnN1bW1hcmllcw==/2018-01-31.xml new file mode 100644 index 000000000..b32b6b066 --- /dev/null +++ b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9yZXNlcnZhdGlvbnN1bW1hcmllcw==/2018-01-31.xml @@ -0,0 +1,167 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcmVzZXJ2YXRpb25zL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vcmVzZXJ2YXRpb25kZXRhaWxz/2018-01-31.md b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcmVzZXJ2YXRpb25zL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vcmVzZXJ2YXRpb25kZXRhaWxz/2018-01-31.md new file mode 100644 index 000000000..8633b83ac --- /dev/null +++ b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcmVzZXJ2YXRpb25zL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vcmVzZXJ2YXRpb25kZXRhaWxz/2018-01-31.md @@ -0,0 +1 @@ +Reference [/providers/microsoft.capacity/reservationorders/{}/providers/microsoft.consumption/reservationdetails 2018-01-31](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9yZXNlcnZhdGlvbmRldGFpbHM=/2018-01-31.xml) diff --git a/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcmVzZXJ2YXRpb25zL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vcmVzZXJ2YXRpb25zdW1tYXJpZXM=/2018-01-31.md b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcmVzZXJ2YXRpb25zL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vcmVzZXJ2YXRpb25zdW1tYXJpZXM=/2018-01-31.md new file mode 100644 index 000000000..40aacb82a --- /dev/null +++ b/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcmVzZXJ2YXRpb25zL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vcmVzZXJ2YXRpb25zdW1tYXJpZXM=/2018-01-31.md @@ -0,0 +1 @@ +Reference [/providers/microsoft.capacity/reservationorders/{}/providers/microsoft.consumption/reservationsummaries 2018-01-31](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQuY2FwYWNpdHkvcmVzZXJ2YXRpb25vcmRlcnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9yZXNlcnZhdGlvbnN1bW1hcmllcw==/2018-01-31.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vbWFya2V0cGxhY2Vz/2018-01-31.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vbWFya2V0cGxhY2Vz/2018-01-31.json new file mode 100644 index 000000000..811e201c1 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vbWFya2V0cGxhY2Vz/2018-01-31.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.billing/billingperiods/{}/providers/microsoft.consumption/marketplaces", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkJpbGxpbmcvYmlsbGluZ1BlcmlvZHMve2JpbGxpbmdQZXJpb2ROYW1lfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL21hcmtldHBsYWNlcw==/V/MjAxOC0wMS0zMQ=="}, {"id": "/subscriptions/{}/providers/microsoft.consumption/marketplaces", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL21hcmtldHBsYWNlcw==/V/MjAxOC0wMS0zMQ=="}], "commandGroups": [{"name": "consumption marketplace", "commands": [{"name": "list", "version": "2018-01-31", "resources": [{"id": "/subscriptions/{}/providers/microsoft.billing/billingperiods/{}/providers/microsoft.consumption/marketplaces", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkJpbGxpbmcvYmlsbGluZ1BlcmlvZHMve2JpbGxpbmdQZXJpb2ROYW1lfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL21hcmtldHBsYWNlcw==/V/MjAxOC0wMS0zMQ=="}, {"id": "/subscriptions/{}/providers/microsoft.consumption/marketplaces", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL21hcmtldHBsYWNlcw==/V/MjAxOC0wMS0zMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.billingPeriodName", "options": ["p", "billing-period-name"], "group": "", "idPart": "name", "help": {"short": "Name of the billing period to get the marketplace."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "May be used to filter marketplaces by properties/usageEnd (Utc time), properties/usageStart (Utc time), properties/resourceGroup, properties/instanceName or properties/instanceId. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'."}}, {"type": "string", "var": "$Query.skiptoken", "options": ["skiptoken"], "help": {"short": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls."}}, {"type": "integer", "var": "$Query.top", "options": ["t", "top"], "group": "", "help": {"short": "Maximum number of items to return. Value range: 1-1000."}, "format": {"maximum": 1000, "minimum": 1}}]}], "conditions": [{"var": "$Condition_Marketplaces_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.billingPeriodName"}}]}}, {"var": "$Condition_Marketplaces_ListByBillingPeriod", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.billingPeriodName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_Marketplaces_List"], "operationId": "Marketplaces_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/marketplaces", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}, {"type": "string", "name": "$skiptoken", "arg": "$Query.skiptoken"}, {"type": "integer", "name": "$top", "arg": "$Query.top", "format": {"maximum": 1000, "minimum": 1}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "additionalProperties"}, {"readOnly": true, "type": "string", "name": "billingPeriodId"}, {"readOnly": true, "type": "float64", "name": "consumedQuantity"}, {"readOnly": true, "type": "string", "name": "consumedService"}, {"readOnly": true, "type": "string", "name": "costCenter"}, {"readOnly": true, "type": "string", "name": "currency"}, {"readOnly": true, "type": "string", "name": "departmentName"}, {"readOnly": true, "type": "string", "name": "instanceId"}, {"readOnly": true, "type": "string", "name": "instanceName"}, {"readOnly": true, "type": "boolean", "name": "isEstimated"}, {"readOnly": true, "type": "string", "name": "meterId"}, {"readOnly": true, "type": "string", "name": "offerName"}, {"readOnly": true, "type": "string", "name": "orderNumber"}, {"readOnly": true, "type": "string", "name": "planName"}, {"readOnly": true, "type": "float64", "name": "pretaxCost"}, {"readOnly": true, "type": "string", "name": "publisherName"}, {"readOnly": true, "type": "string", "name": "resourceGroup"}, {"readOnly": true, "type": "float64", "name": "resourceRate"}, {"readOnly": true, "type": "string", "name": "subscriptionGuid"}, {"readOnly": true, "type": "string", "name": "subscriptionName"}, {"readOnly": true, "type": "string", "name": "unitOfMeasure"}, {"readOnly": true, "type": "dateTime", "name": "usageEnd"}, {"readOnly": true, "type": "dateTime", "name": "usageStart"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "tags", "additionalProps": {"readOnly": true, "item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_Marketplaces_ListByBillingPeriod"], "operationId": "Marketplaces_ListByBillingPeriod", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/marketplaces", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "billingPeriodName", "arg": "$Path.billingPeriodName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}, {"type": "string", "name": "$skiptoken", "arg": "$Query.skiptoken"}, {"type": "integer", "name": "$top", "arg": "$Query.top", "format": {"maximum": 1000, "minimum": 1}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "additionalProperties"}, {"readOnly": true, "type": "string", "name": "billingPeriodId"}, {"readOnly": true, "type": "float64", "name": "consumedQuantity"}, {"readOnly": true, "type": "string", "name": "consumedService"}, {"readOnly": true, "type": "string", "name": "costCenter"}, {"readOnly": true, "type": "string", "name": "currency"}, {"readOnly": true, "type": "string", "name": "departmentName"}, {"readOnly": true, "type": "string", "name": "instanceId"}, {"readOnly": true, "type": "string", "name": "instanceName"}, {"readOnly": true, "type": "boolean", "name": "isEstimated"}, {"readOnly": true, "type": "string", "name": "meterId"}, {"readOnly": true, "type": "string", "name": "offerName"}, {"readOnly": true, "type": "string", "name": "orderNumber"}, {"readOnly": true, "type": "string", "name": "planName"}, {"readOnly": true, "type": "float64", "name": "pretaxCost"}, {"readOnly": true, "type": "string", "name": "publisherName"}, {"readOnly": true, "type": "string", "name": "resourceGroup"}, {"readOnly": true, "type": "float64", "name": "resourceRate"}, {"readOnly": true, "type": "string", "name": "subscriptionGuid"}, {"readOnly": true, "type": "string", "name": "subscriptionName"}, {"readOnly": true, "type": "string", "name": "unitOfMeasure"}, {"readOnly": true, "type": "dateTime", "name": "usageEnd"}, {"readOnly": true, "type": "dateTime", "name": "usageStart"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "tags", "additionalProps": {"readOnly": true, "item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vbWFya2V0cGxhY2Vz/2018-01-31.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vbWFya2V0cGxhY2Vz/2018-01-31.xml new file mode 100644 index 000000000..f10cb38ab --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vbWFya2V0cGxhY2Vz/2018-01-31.xml @@ -0,0 +1,189 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vcHJpY2VzaGVldHMvZGVmYXVsdA==/2018-01-31.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vcHJpY2VzaGVldHMvZGVmYXVsdA==/2018-01-31.json new file mode 100644 index 000000000..12b97f0fb --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vcHJpY2VzaGVldHMvZGVmYXVsdA==/2018-01-31.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.billing/billingperiods/{}/providers/microsoft.consumption/pricesheets/default", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkJpbGxpbmcvYmlsbGluZ1BlcmlvZHMve2JpbGxpbmdQZXJpb2ROYW1lfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL3ByaWNlc2hlZXRzL2RlZmF1bHQ=/V/MjAxOC0wMS0zMQ=="}, {"id": "/subscriptions/{}/providers/microsoft.consumption/pricesheets/default", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL3ByaWNlc2hlZXRzL2RlZmF1bHQ=/V/MjAxOC0wMS0zMQ=="}], "commandGroups": [{"name": "consumption pricesheet", "commands": [{"name": "show", "version": "2018-01-31", "resources": [{"id": "/subscriptions/{}/providers/microsoft.billing/billingperiods/{}/providers/microsoft.consumption/pricesheets/default", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkJpbGxpbmcvYmlsbGluZ1BlcmlvZHMve2JpbGxpbmdQZXJpb2ROYW1lfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL3ByaWNlc2hlZXRzL2RlZmF1bHQ=/V/MjAxOC0wMS0zMQ=="}, {"id": "/subscriptions/{}/providers/microsoft.consumption/pricesheets/default", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL3ByaWNlc2hlZXRzL2RlZmF1bHQ=/V/MjAxOC0wMS0zMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.billingPeriodName", "options": ["p", "billing-period-name"], "group": "", "idPart": "name", "help": {"short": "Name of the billing period to get the price sheet."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "May be used to expand the properties/meterDetails within a price sheet. By default, these fields are not included when returning price sheet."}}, {"type": "string", "var": "$Query.skiptoken", "options": ["skiptoken"], "help": {"short": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls."}}, {"type": "integer", "var": "$Query.top", "options": ["t", "top"], "group": "", "help": {"short": "Maximum number of items to return. Value range: 1-1000."}, "format": {"maximum": 1000, "minimum": 1}}]}], "conditions": [{"var": "$Condition_PriceSheet_Get", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.billingPeriodName"}}]}}, {"var": "$Condition_PriceSheet_GetByBillingPeriod", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.billingPeriodName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_PriceSheet_Get"], "operationId": "PriceSheet_Get", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/pricesheets/default", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}, {"type": "string", "name": "$skiptoken", "arg": "$Query.skiptoken"}, {"type": "integer", "name": "$top", "arg": "$Query.top", "format": {"maximum": 1000, "minimum": 1}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "pricesheets", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "billingPeriodId"}, {"readOnly": true, "type": "string", "name": "currencyCode"}, {"readOnly": true, "type": "float64", "name": "includedQuantity"}, {"type": "object", "name": "meterDetails", "props": [{"readOnly": true, "type": "string", "name": "meterCategory"}, {"readOnly": true, "type": "string", "name": "meterLocation"}, {"readOnly": true, "type": "string", "name": "meterName"}, {"readOnly": true, "type": "string", "name": "meterSubCategory"}, {"readOnly": true, "type": "float64", "name": "pretaxStandardRate"}, {"readOnly": true, "type": "float64", "name": "totalIncludedQuantity"}, {"readOnly": true, "type": "string", "name": "unit"}]}, {"readOnly": true, "type": "string", "name": "meterId"}, {"readOnly": true, "type": "string", "name": "partNumber"}, {"readOnly": true, "type": "string", "name": "unitOfMeasure"}, {"readOnly": true, "type": "float64", "name": "unitPrice"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "tags", "additionalProps": {"readOnly": true, "item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_PriceSheet_GetByBillingPeriod"], "operationId": "PriceSheet_GetByBillingPeriod", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/pricesheets/default", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "billingPeriodName", "arg": "$Path.billingPeriodName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}, {"type": "string", "name": "$skiptoken", "arg": "$Query.skiptoken"}, {"type": "integer", "name": "$top", "arg": "$Query.top", "format": {"maximum": 1000, "minimum": 1}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "pricesheets", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "billingPeriodId"}, {"readOnly": true, "type": "string", "name": "currencyCode"}, {"readOnly": true, "type": "float64", "name": "includedQuantity"}, {"type": "object", "name": "meterDetails", "props": [{"readOnly": true, "type": "string", "name": "meterCategory"}, {"readOnly": true, "type": "string", "name": "meterLocation"}, {"readOnly": true, "type": "string", "name": "meterName"}, {"readOnly": true, "type": "string", "name": "meterSubCategory"}, {"readOnly": true, "type": "float64", "name": "pretaxStandardRate"}, {"readOnly": true, "type": "float64", "name": "totalIncludedQuantity"}, {"readOnly": true, "type": "string", "name": "unit"}]}, {"readOnly": true, "type": "string", "name": "meterId"}, {"readOnly": true, "type": "string", "name": "partNumber"}, {"readOnly": true, "type": "string", "name": "unitOfMeasure"}, {"readOnly": true, "type": "float64", "name": "unitPrice"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "tags", "additionalProps": {"readOnly": true, "item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vcHJpY2VzaGVldHMvZGVmYXVsdA==/2018-01-31.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vcHJpY2VzaGVldHMvZGVmYXVsdA==/2018-01-31.xml new file mode 100644 index 000000000..061df8464 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vcHJpY2VzaGVldHMvZGVmYXVsdA==/2018-01-31.xml @@ -0,0 +1,173 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vdXNhZ2VkZXRhaWxz/2018-01-31.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vdXNhZ2VkZXRhaWxz/2018-01-31.json new file mode 100644 index 000000000..62031f63a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vdXNhZ2VkZXRhaWxz/2018-01-31.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.billing/billingperiods/{}/providers/microsoft.consumption/usagedetails", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkJpbGxpbmcvYmlsbGluZ1BlcmlvZHMve2JpbGxpbmdQZXJpb2ROYW1lfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL3VzYWdlRGV0YWlscw==/V/MjAxOC0wMS0zMQ=="}, {"id": "/subscriptions/{}/providers/microsoft.consumption/usagedetails", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL3VzYWdlRGV0YWlscw==/V/MjAxOC0wMS0zMQ=="}], "commandGroups": [{"name": "consumption usage", "commands": [{"name": "list", "version": "2018-01-31", "resources": [{"id": "/subscriptions/{}/providers/microsoft.billing/billingperiods/{}/providers/microsoft.consumption/usagedetails", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkJpbGxpbmcvYmlsbGluZ1BlcmlvZHMve2JpbGxpbmdQZXJpb2ROYW1lfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL3VzYWdlRGV0YWlscw==/V/MjAxOC0wMS0zMQ=="}, {"id": "/subscriptions/{}/providers/microsoft.consumption/usagedetails", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL3VzYWdlRGV0YWlscw==/V/MjAxOC0wMS0zMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.billingPeriodName", "options": ["p", "billing-period-name"], "group": "", "idPart": "name", "help": {"short": "Name of the billing period to get the usage details that associate with."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.expand", "options": ["expand"], "help": {"short": "May be used to expand the properties/additionalProperties or properties/meterDetails within a list of usage details. By default, these fields are not included when listing usage details."}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "May be used to filter usageDetails by properties/usageEnd (Utc time), properties/usageStart (Utc time), properties/resourceGroup, properties/instanceName or properties/instanceId. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'."}}, {"type": "string", "var": "$Query.skiptoken", "options": ["skiptoken"], "help": {"short": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls."}}, {"type": "integer", "var": "$Query.top", "options": ["t", "top"], "group": "", "help": {"short": "Maximum number of items to return. Value range: 1-1000."}, "format": {"maximum": 1000, "minimum": 1}}]}], "conditions": [{"var": "$Condition_UsageDetails_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.billingPeriodName"}}]}}, {"var": "$Condition_UsageDetails_ListByBillingPeriod", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.billingPeriodName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_UsageDetails_List"], "operationId": "UsageDetails_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/usageDetails", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}, {"type": "string", "name": "$filter", "arg": "$Query.filter"}, {"type": "string", "name": "$skiptoken", "arg": "$Query.skiptoken"}, {"type": "integer", "name": "$top", "arg": "$Query.top", "format": {"maximum": 1000, "minimum": 1}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "additionalProperties"}, {"readOnly": true, "type": "float64", "name": "billableQuantity"}, {"readOnly": true, "type": "string", "name": "billingPeriodId"}, {"readOnly": true, "type": "string", "name": "consumedService"}, {"readOnly": true, "type": "string", "name": "costCenter"}, {"readOnly": true, "type": "string", "name": "currency"}, {"readOnly": true, "type": "string", "name": "departmentName"}, {"readOnly": true, "type": "string", "name": "instanceId"}, {"readOnly": true, "type": "string", "name": "instanceLocation"}, {"readOnly": true, "type": "string", "name": "instanceName"}, {"readOnly": true, "type": "string", "name": "invoiceId"}, {"readOnly": true, "type": "boolean", "name": "isEstimated"}, {"type": "object", "name": "meterDetails", "props": [{"readOnly": true, "type": "string", "name": "meterCategory"}, {"readOnly": true, "type": "string", "name": "meterLocation"}, {"readOnly": true, "type": "string", "name": "meterName"}, {"readOnly": true, "type": "string", "name": "meterSubCategory"}, {"readOnly": true, "type": "float64", "name": "pretaxStandardRate"}, {"readOnly": true, "type": "float64", "name": "totalIncludedQuantity"}, {"readOnly": true, "type": "string", "name": "unit"}]}, {"readOnly": true, "type": "string", "name": "meterId"}, {"readOnly": true, "type": "float64", "name": "pretaxCost"}, {"readOnly": true, "type": "string", "name": "product"}, {"readOnly": true, "type": "string", "name": "subscriptionGuid"}, {"readOnly": true, "type": "string", "name": "subscriptionName"}, {"readOnly": true, "type": "dateTime", "name": "usageEnd"}, {"readOnly": true, "type": "float64", "name": "usageQuantity"}, {"readOnly": true, "type": "dateTime", "name": "usageStart"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "tags", "additionalProps": {"readOnly": true, "item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_UsageDetails_ListByBillingPeriod"], "operationId": "UsageDetails_ListByBillingPeriod", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/usageDetails", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "billingPeriodName", "arg": "$Path.billingPeriodName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "string", "name": "$expand", "arg": "$Query.expand"}, {"type": "string", "name": "$filter", "arg": "$Query.filter"}, {"type": "string", "name": "$skiptoken", "arg": "$Query.skiptoken"}, {"type": "integer", "name": "$top", "arg": "$Query.top", "format": {"maximum": 1000, "minimum": 1}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "accountName"}, {"readOnly": true, "type": "string", "name": "additionalProperties"}, {"readOnly": true, "type": "float64", "name": "billableQuantity"}, {"readOnly": true, "type": "string", "name": "billingPeriodId"}, {"readOnly": true, "type": "string", "name": "consumedService"}, {"readOnly": true, "type": "string", "name": "costCenter"}, {"readOnly": true, "type": "string", "name": "currency"}, {"readOnly": true, "type": "string", "name": "departmentName"}, {"readOnly": true, "type": "string", "name": "instanceId"}, {"readOnly": true, "type": "string", "name": "instanceLocation"}, {"readOnly": true, "type": "string", "name": "instanceName"}, {"readOnly": true, "type": "string", "name": "invoiceId"}, {"readOnly": true, "type": "boolean", "name": "isEstimated"}, {"type": "object", "name": "meterDetails", "props": [{"readOnly": true, "type": "string", "name": "meterCategory"}, {"readOnly": true, "type": "string", "name": "meterLocation"}, {"readOnly": true, "type": "string", "name": "meterName"}, {"readOnly": true, "type": "string", "name": "meterSubCategory"}, {"readOnly": true, "type": "float64", "name": "pretaxStandardRate"}, {"readOnly": true, "type": "float64", "name": "totalIncludedQuantity"}, {"readOnly": true, "type": "string", "name": "unit"}]}, {"readOnly": true, "type": "string", "name": "meterId"}, {"readOnly": true, "type": "float64", "name": "pretaxCost"}, {"readOnly": true, "type": "string", "name": "product"}, {"readOnly": true, "type": "string", "name": "subscriptionGuid"}, {"readOnly": true, "type": "string", "name": "subscriptionName"}, {"readOnly": true, "type": "dateTime", "name": "usageEnd"}, {"readOnly": true, "type": "float64", "name": "usageQuantity"}, {"readOnly": true, "type": "dateTime", "name": "usageStart"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "tags", "additionalProps": {"readOnly": true, "item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vdXNhZ2VkZXRhaWxz/2018-01-31.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vdXNhZ2VkZXRhaWxz/2018-01-31.xml new file mode 100644 index 000000000..6631993dd --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vdXNhZ2VkZXRhaWxz/2018-01-31.xml @@ -0,0 +1,206 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi91c2FnZWRldGFpbHM=/2018-01-31.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi91c2FnZWRldGFpbHM=/2018-01-31.md new file mode 100644 index 000000000..04cc2e8ac --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi91c2FnZWRldGFpbHM=/2018-01-31.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.billing/billingperiods/{}/providers/microsoft.consumption/usagedetails 2018-01-31](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vdXNhZ2VkZXRhaWxz/2018-01-31.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRz/2018-01-31.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRz/2018-01-31.json new file mode 100644 index 000000000..f140cdb2a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRz/2018-01-31.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.consumption/budgets", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL2J1ZGdldHM=/V/MjAxOC0wMS0zMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.consumption/budgets", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29uc3VtcHRpb24vYnVkZ2V0cw==/V/MjAxOC0wMS0zMQ=="}], "commandGroups": [{"name": "consumption budget", "commands": [{"name": "list", "version": "2018-01-31", "resources": [{"id": "/subscriptions/{}/providers/microsoft.consumption/budgets", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL2J1ZGdldHM=/V/MjAxOC0wMS0zMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.consumption/budgets", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29uc3VtcHRpb24vYnVkZ2V0cw==/V/MjAxOC0wMS0zMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_Budgets_ListByResourceGroupName", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_Budgets_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_Budgets_ListByResourceGroupName"], "operationId": "Budgets_ListByResourceGroupName", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Consumption/budgets", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "item": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "float64", "name": "amount", "required": true}, {"type": "string", "name": "category", "required": true, "enum": {"items": [{"value": "Cost"}, {"value": "Usage"}]}}, {"type": "object", "name": "currentSpend", "props": [{"readOnly": true, "type": "float64", "name": "amount"}, {"readOnly": true, "type": "string", "name": "unit"}]}, {"type": "object", "name": "filters", "props": [{"type": "array", "name": "meters", "item": {"type": "string"}}, {"type": "array", "name": "resourceGroups", "item": {"type": "string"}}, {"type": "array", "name": "resources", "item": {"type": "string"}}]}, {"type": "object", "name": "notifications", "additionalProps": {"item": {"type": "object", "props": [{"type": "array", "name": "contactEmails", "required": true, "item": {"type": "string"}}, {"type": "array", "name": "contactGroups", "item": {"type": "string"}}, {"type": "array", "name": "contactRoles", "item": {"type": "string"}}, {"type": "boolean", "name": "enabled", "required": true}, {"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "EqualTo"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqualTo"}]}}, {"type": "float64", "name": "threshold", "required": true}]}}}, {"type": "string", "name": "timeGrain", "required": true, "enum": {"items": [{"value": "Annually"}, {"value": "Monthly"}, {"value": "Quarterly"}]}}, {"type": "object", "name": "timePeriod", "required": true, "props": [{"type": "dateTime", "name": "endDate"}, {"type": "dateTime", "name": "startDate", "required": true}]}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_Budgets_List"], "operationId": "Budgets_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/budgets", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "item": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "float64", "name": "amount", "required": true}, {"type": "string", "name": "category", "required": true, "enum": {"items": [{"value": "Cost"}, {"value": "Usage"}]}}, {"type": "object", "name": "currentSpend", "props": [{"readOnly": true, "type": "float64", "name": "amount"}, {"readOnly": true, "type": "string", "name": "unit"}]}, {"type": "object", "name": "filters", "props": [{"type": "array", "name": "meters", "item": {"type": "string"}}, {"type": "array", "name": "resourceGroups", "item": {"type": "string"}}, {"type": "array", "name": "resources", "item": {"type": "string"}}]}, {"type": "object", "name": "notifications", "additionalProps": {"item": {"type": "object", "props": [{"type": "array", "name": "contactEmails", "required": true, "item": {"type": "string"}}, {"type": "array", "name": "contactGroups", "item": {"type": "string"}}, {"type": "array", "name": "contactRoles", "item": {"type": "string"}}, {"type": "boolean", "name": "enabled", "required": true}, {"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "EqualTo"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqualTo"}]}}, {"type": "float64", "name": "threshold", "required": true}]}}}, {"type": "string", "name": "timeGrain", "required": true, "enum": {"items": [{"value": "Annually"}, {"value": "Monthly"}, {"value": "Quarterly"}]}}, {"type": "object", "name": "timePeriod", "required": true, "props": [{"type": "dateTime", "name": "endDate"}, {"type": "dateTime", "name": "startDate", "required": true}]}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRz/2018-01-31.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRz/2018-01-31.xml new file mode 100644 index 000000000..87ff0e98d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRz/2018-01-31.xml @@ -0,0 +1,225 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2018-01-31.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2018-01-31.json new file mode 100644 index 000000000..84a880375 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2018-01-31.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.consumption/budgets/{}", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL2J1ZGdldHMve2J1ZGdldE5hbWV9/V/MjAxOC0wMS0zMQ=="}], "commandGroups": [{"name": "consumption budget", "commands": [{"name": "show", "version": "2018-01-31", "resources": [{"id": "/subscriptions/{}/providers/microsoft.consumption/budgets/{}", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL2J1ZGdldHMve2J1ZGdldE5hbWV9/V/MjAxOC0wMS0zMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.budgetName", "options": ["n", "name", "budget-name"], "required": true, "idPart": "name", "help": {"short": "Budget Name."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Budgets_Get", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/budgets/{budgetName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "budgetName", "arg": "$Path.budgetName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "float64", "name": "amount", "required": true}, {"type": "string", "name": "category", "required": true, "enum": {"items": [{"value": "Cost"}, {"value": "Usage"}]}}, {"type": "object", "name": "currentSpend", "props": [{"readOnly": true, "type": "float64", "name": "amount"}, {"readOnly": true, "type": "string", "name": "unit"}]}, {"type": "object", "name": "filters", "props": [{"type": "array", "name": "meters", "item": {"type": "string"}}, {"type": "array", "name": "resourceGroups", "item": {"type": "string"}}, {"type": "array", "name": "resources", "item": {"type": "string"}}]}, {"type": "object", "name": "notifications", "additionalProps": {"item": {"type": "object", "props": [{"type": "array", "name": "contactEmails", "required": true, "item": {"type": "string"}}, {"type": "array", "name": "contactGroups", "item": {"type": "string"}}, {"type": "array", "name": "contactRoles", "item": {"type": "string"}}, {"type": "boolean", "name": "enabled", "required": true}, {"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "EqualTo"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqualTo"}]}}, {"type": "float64", "name": "threshold", "required": true}]}}}, {"type": "string", "name": "timeGrain", "required": true, "enum": {"items": [{"value": "Annually"}, {"value": "Monthly"}, {"value": "Quarterly"}]}}, {"type": "object", "name": "timePeriod", "required": true, "props": [{"type": "dateTime", "name": "endDate"}, {"type": "dateTime", "name": "startDate", "required": true}]}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2018-01-31", "resources": [{"id": "/subscriptions/{}/providers/microsoft.consumption/budgets/{}", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL2J1ZGdldHMve2J1ZGdldE5hbWV9/V/MjAxOC0wMS0zMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.budgetName", "options": ["n", "name", "budget-name"], "required": true, "idPart": "name", "help": {"short": "Budget Name."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Budgets_Delete", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/budgets/{budgetName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "budgetName", "arg": "$Path.budgetName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "create", "version": "2018-01-31", "resources": [{"id": "/subscriptions/{}/providers/microsoft.consumption/budgets/{}", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL2J1ZGdldHMve2J1ZGdldE5hbWV9/V/MjAxOC0wMS0zMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.budgetName", "options": ["n", "name", "budget-name"], "required": true, "idPart": "name", "help": {"short": "Budget Name."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "string", "var": "$parameters.eTag", "options": ["e-tag"], "group": "Parameters", "help": {"short": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not."}}]}, {"name": "Properties", "args": [{"type": "float64", "var": "$parameters.properties.amount", "options": ["amount"], "group": "Properties", "help": {"short": "The total amount of cost to track with the budget"}}, {"type": "string", "var": "$parameters.properties.category", "options": ["category"], "group": "Properties", "help": {"short": "The category of the budget, whether the budget tracks cost or usage."}, "enum": {"items": [{"name": "Cost", "value": "Cost"}, {"name": "Usage", "value": "Usage"}]}}, {"type": "object", "var": "$parameters.properties.filters", "options": ["filters"], "group": "Properties", "help": {"short": "May be used to filter budgets by resource group, resource, or meter."}, "args": [{"type": "array", "var": "$parameters.properties.filters.meters", "options": ["meters"], "help": {"short": "The list of filters on meters, mandatory for budgets of usage category. "}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.filters.resourceGroups", "options": ["resource-groups"], "help": {"short": "The list of filters on resource groups, allowed at subscription level only."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.filters.resources", "options": ["resources"], "help": {"short": "The list of filters on resources."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$parameters.properties.notifications", "options": ["notifications"], "group": "Properties", "help": {"short": "Dictionary of notifications associated with the budget. Budget can have up to five notifications."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "array", "var": "$parameters.properties.notifications{}.contactEmails", "options": ["contact-emails"], "required": true, "help": {"short": "Email addresses to send the budget notification to when the threshold is exceeded."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.notifications{}.contactGroups", "options": ["contact-groups"], "help": {"short": "Action groups to send the budget notification to when the threshold is exceeded."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.notifications{}.contactRoles", "options": ["contact-roles"], "help": {"short": "Contact roles to send the budget notification to when the threshold is exceeded."}, "item": {"type": "string"}}, {"type": "boolean", "var": "$parameters.properties.notifications{}.enabled", "options": ["enabled"], "required": true, "help": {"short": "The notification is enabled or not."}}, {"type": "string", "var": "$parameters.properties.notifications{}.operator", "options": ["operator"], "required": true, "help": {"short": "The comparison operator."}, "enum": {"items": [{"name": "EqualTo", "value": "EqualTo"}, {"name": "GreaterThan", "value": "GreaterThan"}, {"name": "GreaterThanOrEqualTo", "value": "GreaterThanOrEqualTo"}]}}, {"type": "float64", "var": "$parameters.properties.notifications{}.threshold", "options": ["threshold"], "required": true, "help": {"short": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000."}}]}}}, {"type": "string", "var": "$parameters.properties.timeGrain", "options": ["time-grain"], "group": "Properties", "help": {"short": "The time covered by a budget. Tracking of the amount will be reset based on the time grain."}, "enum": {"items": [{"name": "Annually", "value": "Annually"}, {"name": "Monthly", "value": "Monthly"}, {"name": "Quarterly", "value": "Quarterly"}]}}, {"type": "object", "var": "$parameters.properties.timePeriod", "options": ["time-period"], "group": "Properties", "help": {"short": "Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than three months. Past start date should be selected within the timegrain period. There are no restrictions on the end date."}, "args": [{"type": "dateTime", "var": "$parameters.properties.timePeriod.endDate", "options": ["end-date"], "help": {"short": "The end date for the budget. If not provided, we default this to 10 years from the start date."}}, {"type": "dateTime", "var": "$parameters.properties.timePeriod.startDate", "options": ["start-date"], "required": true, "help": {"short": "The start date for the budget."}}]}]}], "operations": [{"operationId": "Budgets_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/budgets/{budgetName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "budgetName", "arg": "$Path.budgetName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "eTag", "arg": "$parameters.eTag"}, {"type": "object", "name": "properties", "props": [{"type": "float64", "name": "amount", "arg": "$parameters.properties.amount", "required": true}, {"type": "string", "name": "category", "arg": "$parameters.properties.category", "required": true, "enum": {"items": [{"value": "Cost"}, {"value": "Usage"}]}}, {"type": "object", "name": "filters", "arg": "$parameters.properties.filters", "props": [{"type": "array", "name": "meters", "arg": "$parameters.properties.filters.meters", "item": {"type": "string"}}, {"type": "array", "name": "resourceGroups", "arg": "$parameters.properties.filters.resourceGroups", "item": {"type": "string"}}, {"type": "array", "name": "resources", "arg": "$parameters.properties.filters.resources", "item": {"type": "string"}}]}, {"type": "object", "name": "notifications", "arg": "$parameters.properties.notifications", "additionalProps": {"item": {"type": "object", "props": [{"type": "array", "name": "contactEmails", "arg": "$parameters.properties.notifications{}.contactEmails", "required": true, "item": {"type": "string"}}, {"type": "array", "name": "contactGroups", "arg": "$parameters.properties.notifications{}.contactGroups", "item": {"type": "string"}}, {"type": "array", "name": "contactRoles", "arg": "$parameters.properties.notifications{}.contactRoles", "item": {"type": "string"}}, {"type": "boolean", "name": "enabled", "arg": "$parameters.properties.notifications{}.enabled", "required": true}, {"type": "string", "name": "operator", "arg": "$parameters.properties.notifications{}.operator", "required": true, "enum": {"items": [{"value": "EqualTo"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqualTo"}]}}, {"type": "float64", "name": "threshold", "arg": "$parameters.properties.notifications{}.threshold", "required": true}]}}}, {"type": "string", "name": "timeGrain", "arg": "$parameters.properties.timeGrain", "required": true, "enum": {"items": [{"value": "Annually"}, {"value": "Monthly"}, {"value": "Quarterly"}]}}, {"type": "object", "name": "timePeriod", "arg": "$parameters.properties.timePeriod", "required": true, "props": [{"type": "dateTime", "name": "endDate", "arg": "$parameters.properties.timePeriod.endDate"}, {"type": "dateTime", "name": "startDate", "arg": "$parameters.properties.timePeriod.startDate", "required": true}]}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "float64", "name": "amount", "required": true}, {"type": "string", "name": "category", "required": true, "enum": {"items": [{"value": "Cost"}, {"value": "Usage"}]}}, {"type": "object", "name": "currentSpend", "props": [{"readOnly": true, "type": "float64", "name": "amount"}, {"readOnly": true, "type": "string", "name": "unit"}]}, {"type": "object", "name": "filters", "props": [{"type": "array", "name": "meters", "item": {"type": "string"}}, {"type": "array", "name": "resourceGroups", "item": {"type": "string"}}, {"type": "array", "name": "resources", "item": {"type": "string"}}]}, {"type": "object", "name": "notifications", "additionalProps": {"item": {"type": "object", "props": [{"type": "array", "name": "contactEmails", "required": true, "item": {"type": "string"}}, {"type": "array", "name": "contactGroups", "item": {"type": "string"}}, {"type": "array", "name": "contactRoles", "item": {"type": "string"}}, {"type": "boolean", "name": "enabled", "required": true}, {"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "EqualTo"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqualTo"}]}}, {"type": "float64", "name": "threshold", "required": true}]}}}, {"type": "string", "name": "timeGrain", "required": true, "enum": {"items": [{"value": "Annually"}, {"value": "Monthly"}, {"value": "Quarterly"}]}}, {"type": "object", "name": "timePeriod", "required": true, "props": [{"type": "dateTime", "name": "endDate"}, {"type": "dateTime", "name": "startDate", "required": true}]}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2018-01-31", "resources": [{"id": "/subscriptions/{}/providers/microsoft.consumption/budgets/{}", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbnN1bXB0aW9uL2J1ZGdldHMve2J1ZGdldE5hbWV9/V/MjAxOC0wMS0zMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.budgetName", "options": ["n", "name", "budget-name"], "required": true, "idPart": "name", "help": {"short": "Budget Name."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "string", "var": "$parameters.eTag", "options": ["e-tag"], "group": "Parameters", "help": {"short": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not."}}]}, {"name": "Properties", "args": [{"type": "float64", "var": "$parameters.properties.amount", "options": ["amount"], "group": "Properties", "help": {"short": "The total amount of cost to track with the budget"}}, {"type": "string", "var": "$parameters.properties.category", "options": ["category"], "group": "Properties", "help": {"short": "The category of the budget, whether the budget tracks cost or usage."}, "enum": {"items": [{"name": "Cost", "value": "Cost"}, {"name": "Usage", "value": "Usage"}]}}, {"nullable": true, "type": "object", "var": "$parameters.properties.filters", "options": ["filters"], "group": "Properties", "help": {"short": "May be used to filter budgets by resource group, resource, or meter."}, "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.filters.meters", "options": ["meters"], "help": {"short": "The list of filters on meters, mandatory for budgets of usage category. "}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.filters.resourceGroups", "options": ["resource-groups"], "help": {"short": "The list of filters on resource groups, allowed at subscription level only."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.filters.resources", "options": ["resources"], "help": {"short": "The list of filters on resources."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.notifications", "options": ["notifications"], "group": "Properties", "help": {"short": "Dictionary of notifications associated with the budget. Budget can have up to five notifications."}, "additionalProps": {"item": {"nullable": true, "type": "object", "args": [{"type": "array", "var": "$parameters.properties.notifications{}.contactEmails", "options": ["contact-emails"], "help": {"short": "Email addresses to send the budget notification to when the threshold is exceeded."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.notifications{}.contactGroups", "options": ["contact-groups"], "help": {"short": "Action groups to send the budget notification to when the threshold is exceeded."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.notifications{}.contactRoles", "options": ["contact-roles"], "help": {"short": "Contact roles to send the budget notification to when the threshold is exceeded."}, "item": {"nullable": true, "type": "string"}}, {"type": "boolean", "var": "$parameters.properties.notifications{}.enabled", "options": ["enabled"], "help": {"short": "The notification is enabled or not."}}, {"type": "string", "var": "$parameters.properties.notifications{}.operator", "options": ["operator"], "help": {"short": "The comparison operator."}, "enum": {"items": [{"name": "EqualTo", "value": "EqualTo"}, {"name": "GreaterThan", "value": "GreaterThan"}, {"name": "GreaterThanOrEqualTo", "value": "GreaterThanOrEqualTo"}]}}, {"type": "float64", "var": "$parameters.properties.notifications{}.threshold", "options": ["threshold"], "help": {"short": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000."}}]}}}, {"type": "string", "var": "$parameters.properties.timeGrain", "options": ["time-grain"], "group": "Properties", "help": {"short": "The time covered by a budget. Tracking of the amount will be reset based on the time grain."}, "enum": {"items": [{"name": "Annually", "value": "Annually"}, {"name": "Monthly", "value": "Monthly"}, {"name": "Quarterly", "value": "Quarterly"}]}}, {"type": "object", "var": "$parameters.properties.timePeriod", "options": ["time-period"], "group": "Properties", "help": {"short": "Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than three months. Past start date should be selected within the timegrain period. There are no restrictions on the end date."}, "args": [{"nullable": true, "type": "dateTime", "var": "$parameters.properties.timePeriod.endDate", "options": ["end-date"], "help": {"short": "The end date for the budget. If not provided, we default this to 10 years from the start date."}}, {"type": "dateTime", "var": "$parameters.properties.timePeriod.startDate", "options": ["start-date"], "help": {"short": "The start date for the budget."}}]}]}], "operations": [{"operationId": "Budgets_Get", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/budgets/{budgetName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "budgetName", "arg": "$Path.budgetName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "float64", "name": "amount", "required": true}, {"type": "string", "name": "category", "required": true, "enum": {"items": [{"value": "Cost"}, {"value": "Usage"}]}}, {"type": "object", "name": "currentSpend", "props": [{"readOnly": true, "type": "float64", "name": "amount"}, {"readOnly": true, "type": "string", "name": "unit"}]}, {"type": "object", "name": "filters", "props": [{"type": "array", "name": "meters", "item": {"type": "string"}}, {"type": "array", "name": "resourceGroups", "item": {"type": "string"}}, {"type": "array", "name": "resources", "item": {"type": "string"}}]}, {"type": "object", "name": "notifications", "additionalProps": {"item": {"type": "object", "props": [{"type": "array", "name": "contactEmails", "required": true, "item": {"type": "string"}}, {"type": "array", "name": "contactGroups", "item": {"type": "string"}}, {"type": "array", "name": "contactRoles", "item": {"type": "string"}}, {"type": "boolean", "name": "enabled", "required": true}, {"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "EqualTo"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqualTo"}]}}, {"type": "float64", "name": "threshold", "required": true}]}}}, {"type": "string", "name": "timeGrain", "required": true, "enum": {"items": [{"value": "Annually"}, {"value": "Monthly"}, {"value": "Quarterly"}]}}, {"type": "object", "name": "timePeriod", "required": true, "props": [{"type": "dateTime", "name": "endDate"}, {"type": "dateTime", "name": "startDate", "required": true}]}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Budget_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "eTag", "arg": "$parameters.eTag"}, {"type": "object", "name": "properties", "props": [{"type": "float64", "name": "amount", "arg": "$parameters.properties.amount", "required": true}, {"type": "string", "name": "category", "arg": "$parameters.properties.category", "required": true, "enum": {"items": [{"value": "Cost"}, {"value": "Usage"}]}}, {"type": "object", "name": "filters", "arg": "$parameters.properties.filters", "props": [{"type": "array", "name": "meters", "arg": "$parameters.properties.filters.meters", "item": {"type": "string"}}, {"type": "array", "name": "resourceGroups", "arg": "$parameters.properties.filters.resourceGroups", "item": {"type": "string"}}, {"type": "array", "name": "resources", "arg": "$parameters.properties.filters.resources", "item": {"type": "string"}}]}, {"type": "object", "name": "notifications", "arg": "$parameters.properties.notifications", "additionalProps": {"item": {"type": "object", "props": [{"type": "array", "name": "contactEmails", "arg": "$parameters.properties.notifications{}.contactEmails", "required": true, "item": {"type": "string"}}, {"type": "array", "name": "contactGroups", "arg": "$parameters.properties.notifications{}.contactGroups", "item": {"type": "string"}}, {"type": "array", "name": "contactRoles", "arg": "$parameters.properties.notifications{}.contactRoles", "item": {"type": "string"}}, {"type": "boolean", "name": "enabled", "arg": "$parameters.properties.notifications{}.enabled", "required": true}, {"type": "string", "name": "operator", "arg": "$parameters.properties.notifications{}.operator", "required": true, "enum": {"items": [{"value": "EqualTo"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqualTo"}]}}, {"type": "float64", "name": "threshold", "arg": "$parameters.properties.notifications{}.threshold", "required": true}]}}}, {"type": "string", "name": "timeGrain", "arg": "$parameters.properties.timeGrain", "required": true, "enum": {"items": [{"value": "Annually"}, {"value": "Monthly"}, {"value": "Quarterly"}]}}, {"type": "object", "name": "timePeriod", "arg": "$parameters.properties.timePeriod", "required": true, "props": [{"type": "dateTime", "name": "endDate", "arg": "$parameters.properties.timePeriod.endDate"}, {"type": "dateTime", "name": "startDate", "arg": "$parameters.properties.timePeriod.startDate", "required": true}]}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "Budgets_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/budgets/{budgetName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "budgetName", "arg": "$Path.budgetName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Budget_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2018-01-31.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2018-01-31.xml new file mode 100644 index 000000000..ba39e4f4c --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2018-01-31.xml @@ -0,0 +1,669 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9tYXJrZXRwbGFjZXM=/2018-01-31.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9tYXJrZXRwbGFjZXM=/2018-01-31.md new file mode 100644 index 000000000..945687383 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9tYXJrZXRwbGFjZXM=/2018-01-31.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.billing/billingperiods/{}/providers/microsoft.consumption/marketplaces 2018-01-31](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vbWFya2V0cGxhY2Vz/2018-01-31.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9wcmljZXNoZWV0cy9kZWZhdWx0/2018-01-31.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9wcmljZXNoZWV0cy9kZWZhdWx0/2018-01-31.md new file mode 100644 index 000000000..e3757aac2 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9wcmljZXNoZWV0cy9kZWZhdWx0/2018-01-31.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.billing/billingperiods/{}/providers/microsoft.consumption/pricesheets/default 2018-01-31](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5iaWxsaW5nL2JpbGxpbmdwZXJpb2RzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuY29uc3VtcHRpb24vcHJpY2VzaGVldHMvZGVmYXVsdA==/2018-01-31.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRz/2018-01-31.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRz/2018-01-31.md new file mode 100644 index 000000000..3007e0347 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRz/2018-01-31.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.consumption/budgets 2018-01-31](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRz/2018-01-31.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2018-01-31.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2018-01-31.json new file mode 100644 index 000000000..d1b98b520 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2018-01-31.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.consumption/budgets/{}", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29uc3VtcHRpb24vYnVkZ2V0cy97YnVkZ2V0TmFtZX0=/V/MjAxOC0wMS0zMQ=="}], "commandGroups": [{"name": "consumption budget", "commands": [{"name": "create-with-rg", "version": "2018-01-31", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.consumption/budgets/{}", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29uc3VtcHRpb24vYnVkZ2V0cy97YnVkZ2V0TmFtZX0=/V/MjAxOC0wMS0zMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.budgetName", "options": ["n", "name", "budget-name"], "required": true, "idPart": "name", "help": {"short": "Budget Name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"type": "string", "var": "$parameters.eTag", "options": ["e-tag"], "group": "Parameters", "help": {"short": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not."}}]}, {"name": "Properties", "args": [{"type": "float64", "var": "$parameters.properties.amount", "options": ["amount"], "group": "Properties", "help": {"short": "The total amount of cost to track with the budget"}}, {"type": "string", "var": "$parameters.properties.category", "options": ["category"], "group": "Properties", "help": {"short": "The category of the budget, whether the budget tracks cost or usage."}, "enum": {"items": [{"name": "Cost", "value": "Cost"}, {"name": "Usage", "value": "Usage"}]}}, {"type": "object", "var": "$parameters.properties.filters", "options": ["filters"], "group": "Properties", "help": {"short": "May be used to filter budgets by resource group, resource, or meter."}, "args": [{"type": "array", "var": "$parameters.properties.filters.meters", "options": ["meters"], "help": {"short": "The list of filters on meters, mandatory for budgets of usage category. "}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.filters.resourceGroups", "options": ["resource-groups"], "help": {"short": "The list of filters on resource groups, allowed at subscription level only."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.filters.resources", "options": ["resources"], "help": {"short": "The list of filters on resources."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$parameters.properties.notifications", "options": ["notifications"], "group": "Properties", "help": {"short": "Dictionary of notifications associated with the budget. Budget can have up to five notifications."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "array", "var": "$parameters.properties.notifications{}.contactEmails", "options": ["contact-emails"], "required": true, "help": {"short": "Email addresses to send the budget notification to when the threshold is exceeded."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.notifications{}.contactGroups", "options": ["contact-groups"], "help": {"short": "Action groups to send the budget notification to when the threshold is exceeded."}, "item": {"type": "string"}}, {"type": "array", "var": "$parameters.properties.notifications{}.contactRoles", "options": ["contact-roles"], "help": {"short": "Contact roles to send the budget notification to when the threshold is exceeded."}, "item": {"type": "string"}}, {"type": "boolean", "var": "$parameters.properties.notifications{}.enabled", "options": ["enabled"], "required": true, "help": {"short": "The notification is enabled or not."}}, {"type": "string", "var": "$parameters.properties.notifications{}.operator", "options": ["operator"], "required": true, "help": {"short": "The comparison operator."}, "enum": {"items": [{"name": "EqualTo", "value": "EqualTo"}, {"name": "GreaterThan", "value": "GreaterThan"}, {"name": "GreaterThanOrEqualTo", "value": "GreaterThanOrEqualTo"}]}}, {"type": "float64", "var": "$parameters.properties.notifications{}.threshold", "options": ["threshold"], "required": true, "help": {"short": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000."}}]}}}, {"type": "string", "var": "$parameters.properties.timeGrain", "options": ["time-grain"], "group": "Properties", "help": {"short": "The time covered by a budget. Tracking of the amount will be reset based on the time grain."}, "enum": {"items": [{"name": "Annually", "value": "Annually"}, {"name": "Monthly", "value": "Monthly"}, {"name": "Quarterly", "value": "Quarterly"}]}}, {"type": "object", "var": "$parameters.properties.timePeriod", "options": ["time-period"], "group": "Properties", "help": {"short": "Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than three months. Past start date should be selected within the timegrain period. There are no restrictions on the end date."}, "args": [{"type": "dateTime", "var": "$parameters.properties.timePeriod.endDate", "options": ["end-date"], "help": {"short": "The end date for the budget. If not provided, we default this to 10 years from the start date."}}, {"type": "dateTime", "var": "$parameters.properties.timePeriod.startDate", "options": ["start-date"], "required": true, "help": {"short": "The start date for the budget."}}]}]}], "operations": [{"operationId": "Budgets_CreateOrUpdateByResourceGroupName", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Consumption/budgets/{budgetName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "budgetName", "arg": "$Path.budgetName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "eTag", "arg": "$parameters.eTag"}, {"type": "object", "name": "properties", "props": [{"type": "float64", "name": "amount", "arg": "$parameters.properties.amount", "required": true}, {"type": "string", "name": "category", "arg": "$parameters.properties.category", "required": true, "enum": {"items": [{"value": "Cost"}, {"value": "Usage"}]}}, {"type": "object", "name": "filters", "arg": "$parameters.properties.filters", "props": [{"type": "array", "name": "meters", "arg": "$parameters.properties.filters.meters", "item": {"type": "string"}}, {"type": "array", "name": "resourceGroups", "arg": "$parameters.properties.filters.resourceGroups", "item": {"type": "string"}}, {"type": "array", "name": "resources", "arg": "$parameters.properties.filters.resources", "item": {"type": "string"}}]}, {"type": "object", "name": "notifications", "arg": "$parameters.properties.notifications", "additionalProps": {"item": {"type": "object", "props": [{"type": "array", "name": "contactEmails", "arg": "$parameters.properties.notifications{}.contactEmails", "required": true, "item": {"type": "string"}}, {"type": "array", "name": "contactGroups", "arg": "$parameters.properties.notifications{}.contactGroups", "item": {"type": "string"}}, {"type": "array", "name": "contactRoles", "arg": "$parameters.properties.notifications{}.contactRoles", "item": {"type": "string"}}, {"type": "boolean", "name": "enabled", "arg": "$parameters.properties.notifications{}.enabled", "required": true}, {"type": "string", "name": "operator", "arg": "$parameters.properties.notifications{}.operator", "required": true, "enum": {"items": [{"value": "EqualTo"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqualTo"}]}}, {"type": "float64", "name": "threshold", "arg": "$parameters.properties.notifications{}.threshold", "required": true}]}}}, {"type": "string", "name": "timeGrain", "arg": "$parameters.properties.timeGrain", "required": true, "enum": {"items": [{"value": "Annually"}, {"value": "Monthly"}, {"value": "Quarterly"}]}}, {"type": "object", "name": "timePeriod", "arg": "$parameters.properties.timePeriod", "required": true, "props": [{"type": "dateTime", "name": "endDate", "arg": "$parameters.properties.timePeriod.endDate"}, {"type": "dateTime", "name": "startDate", "arg": "$parameters.properties.timePeriod.startDate", "required": true}]}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "float64", "name": "amount", "required": true}, {"type": "string", "name": "category", "required": true, "enum": {"items": [{"value": "Cost"}, {"value": "Usage"}]}}, {"type": "object", "name": "currentSpend", "props": [{"readOnly": true, "type": "float64", "name": "amount"}, {"readOnly": true, "type": "string", "name": "unit"}]}, {"type": "object", "name": "filters", "props": [{"type": "array", "name": "meters", "item": {"type": "string"}}, {"type": "array", "name": "resourceGroups", "item": {"type": "string"}}, {"type": "array", "name": "resources", "item": {"type": "string"}}]}, {"type": "object", "name": "notifications", "additionalProps": {"item": {"type": "object", "props": [{"type": "array", "name": "contactEmails", "required": true, "item": {"type": "string"}}, {"type": "array", "name": "contactGroups", "item": {"type": "string"}}, {"type": "array", "name": "contactRoles", "item": {"type": "string"}}, {"type": "boolean", "name": "enabled", "required": true}, {"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "EqualTo"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqualTo"}]}}, {"type": "float64", "name": "threshold", "required": true}]}}}, {"type": "string", "name": "timeGrain", "required": true, "enum": {"items": [{"value": "Annually"}, {"value": "Monthly"}, {"value": "Quarterly"}]}}, {"type": "object", "name": "timePeriod", "required": true, "props": [{"type": "dateTime", "name": "endDate"}, {"type": "dateTime", "name": "startDate", "required": true}]}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete-with-rg", "version": "2018-01-31", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.consumption/budgets/{}", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29uc3VtcHRpb24vYnVkZ2V0cy97YnVkZ2V0TmFtZX0=/V/MjAxOC0wMS0zMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.budgetName", "options": ["n", "name", "budget-name"], "required": true, "idPart": "name", "help": {"short": "Budget Name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Budgets_DeleteByResourceGroupName", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Consumption/budgets/{budgetName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "budgetName", "arg": "$Path.budgetName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "show-with-rg", "version": "2018-01-31", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.consumption/budgets/{}", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29uc3VtcHRpb24vYnVkZ2V0cy97YnVkZ2V0TmFtZX0=/V/MjAxOC0wMS0zMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.budgetName", "options": ["n", "name", "budget-name"], "required": true, "idPart": "name", "help": {"short": "Budget Name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Budgets_GetByResourceGroupName", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Consumption/budgets/{budgetName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "budgetName", "arg": "$Path.budgetName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "float64", "name": "amount", "required": true}, {"type": "string", "name": "category", "required": true, "enum": {"items": [{"value": "Cost"}, {"value": "Usage"}]}}, {"type": "object", "name": "currentSpend", "props": [{"readOnly": true, "type": "float64", "name": "amount"}, {"readOnly": true, "type": "string", "name": "unit"}]}, {"type": "object", "name": "filters", "props": [{"type": "array", "name": "meters", "item": {"type": "string"}}, {"type": "array", "name": "resourceGroups", "item": {"type": "string"}}, {"type": "array", "name": "resources", "item": {"type": "string"}}]}, {"type": "object", "name": "notifications", "additionalProps": {"item": {"type": "object", "props": [{"type": "array", "name": "contactEmails", "required": true, "item": {"type": "string"}}, {"type": "array", "name": "contactGroups", "item": {"type": "string"}}, {"type": "array", "name": "contactRoles", "item": {"type": "string"}}, {"type": "boolean", "name": "enabled", "required": true}, {"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "EqualTo"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqualTo"}]}}, {"type": "float64", "name": "threshold", "required": true}]}}}, {"type": "string", "name": "timeGrain", "required": true, "enum": {"items": [{"value": "Annually"}, {"value": "Monthly"}, {"value": "Quarterly"}]}}, {"type": "object", "name": "timePeriod", "required": true, "props": [{"type": "dateTime", "name": "endDate"}, {"type": "dateTime", "name": "startDate", "required": true}]}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update-with-rg", "version": "2018-01-31", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.consumption/budgets/{}", "version": "2018-01-31", "swagger": "mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29uc3VtcHRpb24vYnVkZ2V0cy97YnVkZ2V0TmFtZX0=/V/MjAxOC0wMS0zMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.budgetName", "options": ["n", "name", "budget-name"], "required": true, "idPart": "name", "help": {"short": "Budget Name."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "string", "var": "$parameters.eTag", "options": ["e-tag"], "group": "Parameters", "help": {"short": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not."}}]}, {"name": "Properties", "args": [{"type": "float64", "var": "$parameters.properties.amount", "options": ["amount"], "group": "Properties", "help": {"short": "The total amount of cost to track with the budget"}}, {"type": "string", "var": "$parameters.properties.category", "options": ["category"], "group": "Properties", "help": {"short": "The category of the budget, whether the budget tracks cost or usage."}, "enum": {"items": [{"name": "Cost", "value": "Cost"}, {"name": "Usage", "value": "Usage"}]}}, {"nullable": true, "type": "object", "var": "$parameters.properties.filters", "options": ["filters"], "group": "Properties", "help": {"short": "May be used to filter budgets by resource group, resource, or meter."}, "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.filters.meters", "options": ["meters"], "help": {"short": "The list of filters on meters, mandatory for budgets of usage category. "}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.filters.resourceGroups", "options": ["resource-groups"], "help": {"short": "The list of filters on resource groups, allowed at subscription level only."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.filters.resources", "options": ["resources"], "help": {"short": "The list of filters on resources."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "object", "var": "$parameters.properties.notifications", "options": ["notifications"], "group": "Properties", "help": {"short": "Dictionary of notifications associated with the budget. Budget can have up to five notifications."}, "additionalProps": {"item": {"nullable": true, "type": "object", "args": [{"type": "array", "var": "$parameters.properties.notifications{}.contactEmails", "options": ["contact-emails"], "help": {"short": "Email addresses to send the budget notification to when the threshold is exceeded."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.notifications{}.contactGroups", "options": ["contact-groups"], "help": {"short": "Action groups to send the budget notification to when the threshold is exceeded."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.notifications{}.contactRoles", "options": ["contact-roles"], "help": {"short": "Contact roles to send the budget notification to when the threshold is exceeded."}, "item": {"nullable": true, "type": "string"}}, {"type": "boolean", "var": "$parameters.properties.notifications{}.enabled", "options": ["enabled"], "help": {"short": "The notification is enabled or not."}}, {"type": "string", "var": "$parameters.properties.notifications{}.operator", "options": ["operator"], "help": {"short": "The comparison operator."}, "enum": {"items": [{"name": "EqualTo", "value": "EqualTo"}, {"name": "GreaterThan", "value": "GreaterThan"}, {"name": "GreaterThanOrEqualTo", "value": "GreaterThanOrEqualTo"}]}}, {"type": "float64", "var": "$parameters.properties.notifications{}.threshold", "options": ["threshold"], "help": {"short": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000."}}]}}}, {"type": "string", "var": "$parameters.properties.timeGrain", "options": ["time-grain"], "group": "Properties", "help": {"short": "The time covered by a budget. Tracking of the amount will be reset based on the time grain."}, "enum": {"items": [{"name": "Annually", "value": "Annually"}, {"name": "Monthly", "value": "Monthly"}, {"name": "Quarterly", "value": "Quarterly"}]}}, {"type": "object", "var": "$parameters.properties.timePeriod", "options": ["time-period"], "group": "Properties", "help": {"short": "Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than three months. Past start date should be selected within the timegrain period. There are no restrictions on the end date."}, "args": [{"nullable": true, "type": "dateTime", "var": "$parameters.properties.timePeriod.endDate", "options": ["end-date"], "help": {"short": "The end date for the budget. If not provided, we default this to 10 years from the start date."}}, {"type": "dateTime", "var": "$parameters.properties.timePeriod.startDate", "options": ["start-date"], "help": {"short": "The start date for the budget."}}]}]}], "operations": [{"operationId": "Budgets_GetByResourceGroupName", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Consumption/budgets/{budgetName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "budgetName", "arg": "$Path.budgetName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "eTag"}, {"readOnly": true, "type": "ResourceId", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "float64", "name": "amount", "required": true}, {"type": "string", "name": "category", "required": true, "enum": {"items": [{"value": "Cost"}, {"value": "Usage"}]}}, {"type": "object", "name": "currentSpend", "props": [{"readOnly": true, "type": "float64", "name": "amount"}, {"readOnly": true, "type": "string", "name": "unit"}]}, {"type": "object", "name": "filters", "props": [{"type": "array", "name": "meters", "item": {"type": "string"}}, {"type": "array", "name": "resourceGroups", "item": {"type": "string"}}, {"type": "array", "name": "resources", "item": {"type": "string"}}]}, {"type": "object", "name": "notifications", "additionalProps": {"item": {"type": "object", "props": [{"type": "array", "name": "contactEmails", "required": true, "item": {"type": "string"}}, {"type": "array", "name": "contactGroups", "item": {"type": "string"}}, {"type": "array", "name": "contactRoles", "item": {"type": "string"}}, {"type": "boolean", "name": "enabled", "required": true}, {"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "EqualTo"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqualTo"}]}}, {"type": "float64", "name": "threshold", "required": true}]}}}, {"type": "string", "name": "timeGrain", "required": true, "enum": {"items": [{"value": "Annually"}, {"value": "Monthly"}, {"value": "Quarterly"}]}}, {"type": "object", "name": "timePeriod", "required": true, "props": [{"type": "dateTime", "name": "endDate"}, {"type": "dateTime", "name": "startDate", "required": true}]}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Budget_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "eTag", "arg": "$parameters.eTag"}, {"type": "object", "name": "properties", "props": [{"type": "float64", "name": "amount", "arg": "$parameters.properties.amount", "required": true}, {"type": "string", "name": "category", "arg": "$parameters.properties.category", "required": true, "enum": {"items": [{"value": "Cost"}, {"value": "Usage"}]}}, {"type": "object", "name": "filters", "arg": "$parameters.properties.filters", "props": [{"type": "array", "name": "meters", "arg": "$parameters.properties.filters.meters", "item": {"type": "string"}}, {"type": "array", "name": "resourceGroups", "arg": "$parameters.properties.filters.resourceGroups", "item": {"type": "string"}}, {"type": "array", "name": "resources", "arg": "$parameters.properties.filters.resources", "item": {"type": "string"}}]}, {"type": "object", "name": "notifications", "arg": "$parameters.properties.notifications", "additionalProps": {"item": {"type": "object", "props": [{"type": "array", "name": "contactEmails", "arg": "$parameters.properties.notifications{}.contactEmails", "required": true, "item": {"type": "string"}}, {"type": "array", "name": "contactGroups", "arg": "$parameters.properties.notifications{}.contactGroups", "item": {"type": "string"}}, {"type": "array", "name": "contactRoles", "arg": "$parameters.properties.notifications{}.contactRoles", "item": {"type": "string"}}, {"type": "boolean", "name": "enabled", "arg": "$parameters.properties.notifications{}.enabled", "required": true}, {"type": "string", "name": "operator", "arg": "$parameters.properties.notifications{}.operator", "required": true, "enum": {"items": [{"value": "EqualTo"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqualTo"}]}}, {"type": "float64", "name": "threshold", "arg": "$parameters.properties.notifications{}.threshold", "required": true}]}}}, {"type": "string", "name": "timeGrain", "arg": "$parameters.properties.timeGrain", "required": true, "enum": {"items": [{"value": "Annually"}, {"value": "Monthly"}, {"value": "Quarterly"}]}}, {"type": "object", "name": "timePeriod", "arg": "$parameters.properties.timePeriod", "required": true, "props": [{"type": "dateTime", "name": "endDate", "arg": "$parameters.properties.timePeriod.endDate"}, {"type": "dateTime", "name": "startDate", "arg": "$parameters.properties.timePeriod.startDate", "required": true}]}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "Budgets_CreateOrUpdateByResourceGroupName", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Consumption/budgets/{budgetName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "budgetName", "arg": "$Path.budgetName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2018-01-31"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Budget_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2018-01-31.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2018-01-31.xml new file mode 100644 index 000000000..de3e00c7b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25zdW1wdGlvbi9idWRnZXRzL3t9/2018-01-31.xml @@ -0,0 +1,678 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +