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
handeeeadiguzel committed Aug 25, 2021
1 parent 936c88a commit d4198cb
Show file tree
Hide file tree
Showing 91 changed files with 122 additions and 122 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"version": "2021-05-01",
"version": "2021-10-01",
"title": "ConsumptionManagementClient",
"description": "Consumption management client provides access to consumption resources for Azure Enterprise Subscriptions."
},
Expand Down Expand Up @@ -5501,7 +5501,7 @@
"in": "query",
"required": true,
"type": "string",
"description": "Version of the API to be used with the client request. The current version is 2021-05-01."
"description": "Version of the API to be used with the client request. The current version is 2021-10-01."
},
"billingAccountIdParameter": {
"name": "billingAccountId",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2021-05-01",
"api-version": "2021-10-01",
"managementGroupId": "managementGroupForTest"
},
"responses": {
Expand All @@ -14,7 +14,7 @@
"1caaa5a3-2b66-438e-8ab4-bce37d518c5d"
],
"excludedSubscriptions": [],
"usageStart": "2021-05-01T00:00:00.0000000Z",
"usageStart": "2021-10-01T00:00:00.0000000Z",
"usageEnd": "2018-10-31T00:00:00.0000000Z",
"azureCharges": 250.9876,
"marketplaceCharges": 150.786,
Expand All @@ -30,7 +30,7 @@
"c349567d-c83a-48c9-ab0e-578c69dc97a4"
],
"excludedSubscriptions": [],
"usageStart": "2021-05-01T00:00:00.0000000Z",
"usageStart": "2021-10-01T00:00:00.0000000Z",
"usageEnd": "2018-10-31T00:00:00.0000000Z",
"azureCharges": 150.0,
"marketplaceCharges": 50.786,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2021-05-01",
"api-version": "2021-10-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": "2021-05-01",
"api-version": "2021-10-01",
"managementGroupId": "managementGroupForTest",
"billingPeriodName": "201807"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2021-05-01",
"api-version": "2021-10-01",
"billingAccountId": "123456"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2021-05-01",
"api-version": "2021-10-01",
"billingAccountId": "123456",
"billingPeriodName": "201702"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2021-05-01",
"api-version": "2021-10-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": "2021-05-01",
"api-version": "2021-10-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": "2021-05-01",
"api-version": "2021-10-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": "2021-05-01",
"api-version": "2021-10-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": "2021-05-01",
"api-version": "2021-10-01",
"startDate": "2019-09-01",
"endDate": "2019-10-31",
"scope": "providers/Microsoft.Billing/billingAccounts/1234:56789"
Expand All @@ -17,7 +17,7 @@
"properties": {
"isInvoiced": false,
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201910",
"usageStart": "2021-05-01",
"usageStart": "2021-10-01",
"usageEnd": "2019-10-31",
"azureCharges": {
"currency": "USD",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2021-05-01",
"api-version": "2021-10-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": "2021-05-01",
"api-version": "2021-10-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": "2021-05-01",
"api-version": "2021-10-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": "2021-05-01",
"api-version": "2021-10-01",
"scope": "providers/Microsoft.Billing/BillingAccounts/1234:56789/billingProfiles/2460"
},
"responses": {
Expand All @@ -15,7 +15,7 @@
"properties": {
"isInvoiced": false,
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201910",
"usageStart": "2021-05-01",
"usageStart": "2021-10-01",
"usageEnd": "2019-10-31",
"azureCharges": {
"currency": "USD",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2021-05-01",
"api-version": "2021-10-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": "2021-05-01",
"api-version": "2021-10-01",
"startDate": "2019-09-01",
"endDate": "2019-10-31",
"scope": "providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425/invoiceSections/67890"
Expand Down Expand Up @@ -44,7 +44,7 @@
"properties": {
"isInvoiced": false,
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201910",
"usageStart": "2021-05-01",
"usageStart": "2021-10-01",
"usageEnd": "2019-10-31",
"azureCharges": {
"currency": "USD",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2021-05-01",
"api-version": "2021-10-01",
"scope": "providers/Microsoft.Billing/BillingAccounts/1234:56789/customers/67890"
},
"responses": {
Expand All @@ -15,7 +15,7 @@
"properties": {
"isInvoiced": false,
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201910",
"usageStart": "2021-05-01",
"usageStart": "2021-10-01",
"usageEnd": "2019-10-31",
"azureCharges": {
"currency": "USD",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2021-05-01",
"api-version": "2021-10-01",
"scope": "providers/Microsoft.Billing/BillingAccounts/1234:56789/invoiceSections/97531"
},
"responses": {
Expand All @@ -15,7 +15,7 @@
"properties": {
"isInvoiced": false,
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201910",
"usageStart": "2021-05-01",
"usageStart": "2021-10-01",
"usageEnd": "2019-10-31",
"azureCharges": {
"currency": "USD",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2021-05-01",
"api-version": "2021-10-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": "2021-05-01",
"api-version": "2021-10-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": "2021-05-01",
"api-version": "2021-10-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": "2021-05-01",
"api-version": "2021-10-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": "2021-05-01",
"api-version": "2021-10-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": "2021-05-01",
"api-version": "2021-10-01",
"billingAccountId": "1234:5678"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2021-05-01",
"api-version": "2021-10-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": "2021-05-01",
"api-version": "2021-10-01",
"billingAccountId": "1234:5678",
"billingProfileId": "4268",
"startDate": "2019-09-01",
Expand Down Expand Up @@ -194,7 +194,7 @@
"name": "event4",
"type": "Microsoft.Consumption/events",
"properties": {
"transactionDate": "2021-05-01T00:00:00Z",
"transactionDate": "2021-10-01T00:00:00Z",
"description": "Settled invoice #212033",
"creditCurrency": "USD",
"reseller": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2021-05-01",
"api-version": "2021-10-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2021-05-01",
"api-version": "2021-10-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"$filter": "properties/usagedate ge '2018-04-01' AND properties/usagedate le '2018-04-02'"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2021-05-01",
"api-version": "2021-10-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"$filter": "properties/Grain eq 'Monthly'"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2021-05-01",
"api-version": "2021-10-01",
"billingAccountId": "1234:5678"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2021-05-01",
"api-version": "2021-10-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": "2021-05-01",
"api-version": "2021-10-01",
"billingAccountId": "1234:5678",
"billingProfileId": "2468"
},
Expand Down Expand Up @@ -36,8 +36,8 @@
"resellerDescription": "Reseller information."
},
"source": "PurchasedCredit",
"startDate": "2021-05-01T00:00:00Z",
"expirationDate": "2021-05-01T00:00:00Z",
"startDate": "2021-10-01T00:00:00Z",
"expirationDate": "2021-10-01T00:00:00Z",
"poNumber": "3524"
}
},
Expand Down Expand Up @@ -69,7 +69,7 @@
"resellerDescription": "Reseller information."
},
"source": "PurchasedCredit",
"startDate": "2021-05-01T00:00:00Z",
"startDate": "2021-10-01T00:00:00Z",
"expirationDate": "2019-12-31T00:00:00Z",
"poNumber": "31224"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2021-05-01",
"api-version": "2021-10-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": "2021-05-01",
"api-version": "2021-10-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": "2021-05-01",
"api-version": "2021-10-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": "2021-05-01",
"api-version": "2021-10-01",
"departmentId": "123456",
"billingPeriodName": "201702",
"scope": "providers/Microsoft.Billing/departments/123456"
Expand Down
Loading

0 comments on commit d4198cb

Please sign in to comment.