|
5 | 5 | <command name="show" version="2024-08-01"> |
6 | 6 | <resource id="/{scope}/providers/microsoft.consumption/budgets/{}" version="2024-08-01" swagger="mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5Db25zdW1wdGlvbi9idWRnZXRzL3tidWRnZXROYW1lfQ==/V/MjAyNC0wOC0wMQ=="/> |
7 | 7 | <argGroup name=""> |
8 | | - <arg type="string" var="$Path.budgetName" options="budget-name" required="True"> |
| 8 | + <arg type="string" var="$Path.budgetName" options="name n" required="True"> |
9 | 9 | <help short="Budget Name."/> |
10 | 10 | </arg> |
11 | 11 | <arg type="string" var="$Path.scope" options="scope" required="True"> |
|
194 | 194 | <command name="delete" version="2024-08-01" confirmation="Are you sure you want to perform this operation?"> |
195 | 195 | <resource id="/{scope}/providers/microsoft.consumption/budgets/{}" version="2024-08-01" swagger="mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5Db25zdW1wdGlvbi9idWRnZXRzL3tidWRnZXROYW1lfQ==/V/MjAyNC0wOC0wMQ=="/> |
196 | 196 | <argGroup name=""> |
197 | | - <arg type="string" var="$Path.budgetName" options="budget-name" required="True"> |
| 197 | + <arg type="string" var="$Path.budgetName" options="name n" required="True"> |
198 | 198 | <help short="Budget Name."/> |
199 | 199 | </arg> |
200 | 200 | <arg type="string" var="$Path.scope" options="scope" required="True"> |
|
229 | 229 | <command name="create" version="2024-08-01"> |
230 | 230 | <resource id="/{scope}/providers/microsoft.consumption/budgets/{}" version="2024-08-01" swagger="mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5Db25zdW1wdGlvbi9idWRnZXRzL3tidWRnZXROYW1lfQ==/V/MjAyNC0wOC0wMQ=="/> |
231 | 231 | <argGroup name=""> |
232 | | - <arg type="string" var="$Path.budgetName" options="budget-name" required="True"> |
| 232 | + <arg type="string" var="$Path.budgetName" options="name n" required="True"> |
233 | 233 | <help short="Budget Name."/> |
234 | 234 | </arg> |
235 | 235 | <arg type="string" var="$Path.scope" options="scope" required="True"> |
|
366 | 366 | <item name="Quarterly" value=""Quarterly""/> |
367 | 367 | </enum> |
368 | 368 | </arg> |
369 | | - <arg type="object" var="$parameters.properties.timePeriod" options="time-period" group="Properties"> |
370 | | - <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 twelve months. Past start date should be selected within the timegrain period. There are no restrictions on the end date."/> |
371 | | - <arg type="dateTime" var="$parameters.properties.timePeriod.endDate" options="end-date"> |
372 | | - <help short="The end date for the budget. If not provided, we default this to 10 years from the start date."/> |
373 | | - <format protocol="iso"/> |
374 | | - </arg> |
375 | | - <arg type="dateTime" var="$parameters.properties.timePeriod.startDate" options="start-date" required="True"> |
376 | | - <help short="The start date for the budget."/> |
377 | | - <format protocol="iso"/> |
378 | | - </arg> |
| 369 | + </argGroup> |
| 370 | + <argGroup name="TimePeriod"> |
| 371 | + <arg type="dateTime" var="$parameters.properties.timePeriod.endDate" options="end-date" group="TimePeriod"> |
| 372 | + <help short="The end date for the budget. If not provided, we default this to 10 years from the start date."/> |
| 373 | + <format protocol="iso"/> |
| 374 | + </arg> |
| 375 | + <arg type="dateTime" var="$parameters.properties.timePeriod.startDate" options="start-date" group="TimePeriod"> |
| 376 | + <help short="The start date for the budget."/> |
| 377 | + <format protocol="iso"/> |
379 | 378 | </arg> |
380 | 379 | </argGroup> |
381 | 380 | <operation operationId="Budgets_CreateOrUpdate"> |
|
492 | 491 | <item value=""Quarterly""/> |
493 | 492 | </enum> |
494 | 493 | </prop> |
495 | | - <prop type="object" name="timePeriod" arg="$parameters.properties.timePeriod" required="True"> |
| 494 | + <prop type="object" name="timePeriod" required="True"> |
496 | 495 | <prop type="dateTime" name="endDate" arg="$parameters.properties.timePeriod.endDate"> |
497 | 496 | <format protocol="iso"/> |
498 | 497 | </prop> |
|
673 | 672 | <command name="update" version="2024-08-01"> |
674 | 673 | <resource id="/{scope}/providers/microsoft.consumption/budgets/{}" version="2024-08-01" swagger="mgmt-plane/consumption/ResourceProviders/Microsoft.Consumption/Paths/L3tzY29wZX0vcHJvdmlkZXJzL01pY3Jvc29mdC5Db25zdW1wdGlvbi9idWRnZXRzL3tidWRnZXROYW1lfQ==/V/MjAyNC0wOC0wMQ=="/> |
675 | 674 | <argGroup name=""> |
676 | | - <arg type="string" var="$Path.budgetName" options="budget-name" required="True"> |
| 675 | + <arg type="string" var="$Path.budgetName" options="name n" required="True"> |
677 | 676 | <help short="Budget Name."/> |
678 | 677 | </arg> |
679 | 678 | <arg type="string" var="$Path.scope" options="scope" required="True"> |
|
809 | 808 | <item name="Quarterly" value=""Quarterly""/> |
810 | 809 | </enum> |
811 | 810 | </arg> |
812 | | - <arg type="object" var="$parameters.properties.timePeriod" options="time-period" group="Properties"> |
813 | | - <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 twelve months. Past start date should be selected within the timegrain period. There are no restrictions on the end date."/> |
814 | | - <arg nullable="True" type="dateTime" var="$parameters.properties.timePeriod.endDate" options="end-date"> |
815 | | - <help short="The end date for the budget. If not provided, we default this to 10 years from the start date."/> |
816 | | - <format protocol="iso"/> |
817 | | - </arg> |
818 | | - <arg type="dateTime" var="$parameters.properties.timePeriod.startDate" options="start-date"> |
819 | | - <help short="The start date for the budget."/> |
820 | | - <format protocol="iso"/> |
821 | | - </arg> |
| 811 | + </argGroup> |
| 812 | + <argGroup name="TimePeriod"> |
| 813 | + <arg nullable="True" type="dateTime" var="$parameters.properties.timePeriod.endDate" options="end-date" group="TimePeriod"> |
| 814 | + <help short="The end date for the budget. If not provided, we default this to 10 years from the start date."/> |
| 815 | + <format protocol="iso"/> |
| 816 | + </arg> |
| 817 | + <arg type="dateTime" var="$parameters.properties.timePeriod.startDate" options="start-date" group="TimePeriod"> |
| 818 | + <help short="The start date for the budget."/> |
| 819 | + <format protocol="iso"/> |
822 | 820 | </arg> |
823 | 821 | </argGroup> |
824 | 822 | <operation operationId="Budgets_Get"> |
|
1100 | 1098 | <item value=""Quarterly""/> |
1101 | 1099 | </enum> |
1102 | 1100 | </prop> |
1103 | | - <prop type="object" name="timePeriod" arg="$parameters.properties.timePeriod" required="True"> |
| 1101 | + <prop type="object" name="timePeriod" required="True"> |
1104 | 1102 | <prop type="dateTime" name="endDate" arg="$parameters.properties.timePeriod.endDate"> |
1105 | 1103 | <format protocol="iso"/> |
1106 | 1104 | </prop> |
|
0 commit comments