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
gaoyp830 committed Jan 3, 2023
1 parent 6eec84e commit 11e81eb
Show file tree
Hide file tree
Showing 91 changed files with 108 additions and 108 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"version": "2020-05-01",
"version": "2023-04-01",
"title": "BillingManagementClient",
"description": "Billing client provides access to billing resources for Azure subscriptions."
},
Expand Down Expand Up @@ -6671,7 +6671,7 @@
"in": "query",
"required": true,
"type": "string",
"description": "The version of the API to be used with the client request. The current version is 2020-05-01."
"description": "The version of the API to be used with the client request. The current version is 2023-04-01."
},
"subscriptionIdParameter": {
"name": "subscriptionId",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"version": "2020-05-01",
"version": "2023-04-01",
"title": "BillingManagementClient",
"description": "Billing client provides access to billing resources for Azure subscriptions."
},
Expand Down Expand Up @@ -156,7 +156,7 @@
"in": "query",
"required": true,
"type": "string",
"description": "The version of the API to be used with the client request. The current version is 2020-05-01."
"description": "The version of the API to be used with the client request. The current version is 2023-04-01."
}
},
"security": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"address": {
"addressLine1": "1 Test",
"city": "bellevue",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"address": {
"addressLine1": "1 Test Address",
"city": "bellevue",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"agreementName": "{agreementName}"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"billingProfileName": "{billingProfileName}"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"periodStartDate": "2018-01-01",
"periodEndDate": "2018-06-30"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"periodStartDate": "2018-01-01",
"periodEndDate": "2018-06-30"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"billingRoleAssignmentName": "{billingRoleAssignmentId}"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"billingRoleAssignmentName": "{billingRoleAssignmentName}"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"billingRoleDefinitionName": "{billingRoleDefinitionName}"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"$expand": "soldTo,billingProfiles,billingProfiles/invoiceSections"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01"
"api-version": "2023-04-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"$expand": "soldTo,billingProfiles,billingProfiles/invoiceSections"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"$expand": "enrollmentDetails,departments,enrollmentAccounts"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"billingProfileName": "{billingProfileName}"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"billingProfileName": "{billingProfileName}"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"billingProfileName": "{billingProfileName}",
"billingRoleAssignmentName": "{billingRoleAssignmentName}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"billingProfileName": "{billingProfileName}",
"billingRoleAssignmentName": "{billingRoleAssignmentName}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"billingProfileName": "{billingProfileName}"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"billingProfileName": "{billingProfileName}",
"billingRoleDefinitionName": "{billingRoleDefinitionName}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"billingProfileName": "{billingProfileName}"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"billingProfileName": "{billingProfileName}",
"$expand": "invoiceSections"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"$expand": "invoiceSections"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"subscriptionId": "{subscriptionId}"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"subscriptionId": "{subscriptionId}"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"subscriptionId": "{subscriptionId}",
"invoiceName": "{invoiceName}"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"subscriptionId": "{subscriptionId}",
"invoiceName": "{invoiceName}",
"downloadToken": "DRS_12345"
},
"responses": {
"202": {
"headers": {
"Location": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/default/billingSubscriptions/{subscriptionId}/operationResults/invoiceDownload_{operationId}?api-version=2020-05-01",
"Location": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/default/billingSubscriptions/{subscriptionId}/operationResults/invoiceDownload_{operationId}?api-version=2023-04-01",
"Retry-After": "10"
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"subscriptionId": "{subscriptionId}",
"periodStartDate": "2022-01-01",
"periodEndDate": "2022-06-30"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"billingProfileName": "{billingProfileName}"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"customerName": "{customerName}"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"billingProfileName": "{billingProfileName}",
"invoiceSectionName": "{invoiceSectionName}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"invoiceName": "{invoiceName}"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"customerName": "{customerName}"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"customerName": "{customerName}"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"customerName": "{customerName}"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"customerName": "{customerName}",
"$expand": "enabledAzurePlans,resellers"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-05-01",
"api-version": "2023-04-01",
"billingAccountName": "{billingAccountName}",
"billingProfileName": "{billingProfileName}"
},
Expand Down
Loading

0 comments on commit 11e81eb

Please sign in to comment.