Skip to content

Commit

Permalink
Updates API version in new specs and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sumitparwal committed Jul 27, 2023
1 parent 07d2706 commit 20cc214
Show file tree
Hide file tree
Showing 93 changed files with 105 additions and 105 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"version": "2023-05-01",
"version": "2023-11-01",
"title": "ConsumptionManagementClient",
"description": "Consumption management client provides access to consumption resources for Azure Enterprise Subscriptions."
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"version": "2023-05-01",
"version": "2023-11-01",
"title": "ConsumptionManagementClient",
"description": "Consumption management client provides access to consumption resources for Azure Enterprise Subscriptions."
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"managementGroupId": "managementGroupForTest"
},
"responses": {
Expand All @@ -15,7 +15,7 @@
],
"excludedSubscriptions": [],
"usageStart": "2023-03-01T00:00:00.0000000Z",
"usageEnd": "2023-05-01T00:00:00.0000000Z",
"usageEnd": "2023-11-01T00:00:00.0000000Z",
"azureCharges": 250.9876,
"marketplaceCharges": 150.786,
"chargesBilledSeparately": 120.345,
Expand All @@ -31,7 +31,7 @@
],
"excludedSubscriptions": [],
"usageStart": "2023-03-01T00:00:00.0000000Z",
"usageEnd": "2023-05-01T00:00:00.0000000Z",
"usageEnd": "2023-11-01T00:00:00.0000000Z",
"azureCharges": 150.0,
"marketplaceCharges": 50.786,
"chargesBilledSeparately": 30.345,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"managementGroupId": "managementGroupForTest",
"$filter": "usageStart ge '2018-08-15' and properties/usageStart le '2018-08-31'"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"managementGroupId": "managementGroupForTest",
"billingPeriodName": "201807"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"billingAccountId": "123456"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"billingAccountId": "123456",
"billingPeriodName": "201702"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "MYDEVTESTRG",
"budgetName": "TestBudget",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"resourceGroupName": "MYDEVTESTRG"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"billingPeriodName": "201804",
"scope": "providers/Microsoft.Billing/BillingAccounts/1234/departments/42425"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"billingPeriodName": "201804",
"scope": "providers/Microsoft.Billing/BillingAccounts/1234/enrollmentAccounts/42425"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"startDate": "2019-09-01",
"endDate": "2019-10-31",
"scope": "providers/Microsoft.Billing/billingAccounts/1234:56789"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"scope": "providers/Microsoft.Billing/billingAccounts/1234:56789",
"startDate": "2019-09-01",
"endDate": "2019-09-30",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"scope": "providers/Microsoft.Billing/billingAccounts/1234:56789",
"startDate": "2019-09-01",
"endDate": "2019-09-30",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"scope": "providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425",
"startDate": "2019-09-01",
"endDate": "2019-09-30",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"scope": "providers/Microsoft.Billing/BillingAccounts/1234:56789/billingProfiles/2460"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"scope": "providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425",
"startDate": "2019-09-01",
"endDate": "2019-09-30",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"startDate": "2019-09-01",
"endDate": "2019-10-31",
"scope": "providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425/invoiceSections/67890"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"scope": "providers/Microsoft.Billing/BillingAccounts/1234:56789/customers/67890"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"scope": "providers/Microsoft.Billing/BillingAccounts/1234:56789/invoiceSections/97531"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"scope": "providers/Microsoft.Billing/BillingAccounts/1234/departments/42425",
"$filter": "usageStart eq '2018-04-01' AND usageEnd eq '2018-05-30'"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"scope": "providers/Microsoft.Billing/BillingAccounts/1234/enrollmentAccounts/42425"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "MYDEVTESTRG",
"budgetName": "TestBudget",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"billingAccountId": "1234:5678",
"billingProfileId": "2468"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "MYDEVTESTRG",
"budgetName": "TestBudget",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"billingAccountId": "0000000",
"billingPeriodName": "202305"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"billingAccountId": "1234:5678"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"billingAccountId": "1234:5678",
"$filter": "lotid eq 'G202001083926600XXXXX' AND lotsource eq 'consumptioncommitment'"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"billingAccountId": "1234:5678",
"billingProfileId": "4268",
"startDate": "2019-09-01",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"billingAccountId": "1234:5678"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"billingAccountId": "1234:5678",
"$filter": "status eq 'active' AND source eq 'consumptioncommitment'"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"billingAccountId": "1234:5678",
"billingProfileId": "2468"
},
Expand Down Expand Up @@ -36,8 +36,8 @@
"resellerDescription": "Reseller information."
},
"source": "PurchasedCredit",
"startDate": "2023-05-01T00:00:00Z",
"expirationDate": "2023-05-01T00:00:00Z",
"startDate": "2023-11-01T00:00:00Z",
"expirationDate": "2023-11-01T00:00:00Z",
"poNumber": "3524",
"isEstimatedBalance": false
}
Expand Down Expand Up @@ -70,7 +70,7 @@
"resellerDescription": "Reseller information."
},
"source": "PurchasedCredit",
"startDate": "2023-05-01T00:00:00Z",
"startDate": "2023-11-01T00:00:00Z",
"expirationDate": "2023-05-31T00:00:00Z",
"poNumber": "31224",
"isEstimatedBalance": false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"billingAccountId": "1234:5678",
"customerId": "1234:5678"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"billingAccountId": "1234:5678",
"customerId": "1234:5678",
"$filter": "status eq 'active' AND source eq 'consumptioncommitment'"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"scope": "providers/Microsoft.Billing/billingAccounts/123456",
"billingAccountId": "123456"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"billingAccountId": "123456",
"scope": "providers/Microsoft.Billing/billingAccounts/123456",
"billingPeriodName": "201702"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"departmentId": "123456",
"billingPeriodName": "201702",
"scope": "providers/Microsoft.Billing/departments/123456"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"departmentId": "123456",
"billingPeriodName": "201702",
"scope": "providers/Microsoft.Billing/departments/123456"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"enrollmentAccountId": "123456",
"billingPeriodName": "201702",
"scope": "providers/Microsoft.Billing/enrollmentAccounts/123456"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"enrollmentAccountId": "123456",
"billingPeriodName": "201702",
"scope": "providers/Microsoft.Billing/enrollmentAccounts/123456"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"managementGroupId": "managementGroupForTest",
"scope": "subscriptions/00000000-0000-0000-0000-000000000000"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"managementGroupId": "managementGroupForTest",
"billingPeriodName": "201808",
"scope": "subscriptions/00000000-0000-0000-0000-000000000000"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01",
"api-version": "2023-11-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"billingPeriodName": "201801"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2023-05-01"
"api-version": "2023-11-01"
},
"responses": {
"200": {
Expand Down
Loading

0 comments on commit 20cc214

Please sign in to comment.