Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
"tags": [
"Operations"
],
"x-ms-examples": {
"BillingAccountPermissionsList": {
"$ref": "./examples/GetOperations.json"
}
},
"operationId": "Operations_List",
"description": "Lists the available billing REST API operations.",
"externalDocs": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"name": "1383724",
"type": "Microsoft.Billing/billingAccounts/billingSubscriptions/invoices",
"properties": {
"dueDate": "2018-03-01T17:32:28Z",
"invoiceDate": "2018-02-01T17:32:28Z",
"dueDate": "2022-03-01T17:32:28Z",
"invoiceDate": "2022-01-01T17:32:28Z",
"status": "Paid",
"amountDue": {
"currency": "USD",
Expand All @@ -22,8 +22,8 @@
"currency": "USD",
"value": 2000.00
},
"invoicePeriodStartDate": "2018-02-01T17:32:28Z",
"invoicePeriodEndDate": "2018-02-30T17:32:28Z",
"invoicePeriodStartDate": "2022-01-01T17:32:28Z",
"invoicePeriodEndDate": "2022-01-30T17:32:28Z",
"invoiceType": "AzureMarketplace",
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000",
"billingProfileDisplayName": "Contoso Operations Billing",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"parameters": {
"api-version": "2020-05-01",
"subscriptionId": "{subscriptionId}",
"periodStartDate": "2018-01-01",
"periodEndDate": "2018-06-30"
"periodStartDate": "2022-01-01",
"periodEndDate": "2022-06-30"
},
"responses": {
"200": {
Expand All @@ -14,15 +14,15 @@
"name": "1383723",
"type": "Microsoft.Billing/billingAccounts/billingSubscriptions/invoices",
"properties": {
"dueDate": "2018-01-16T17:32:28Z",
"invoiceDate": "2018-01-01T17:32:28Z",
"dueDate": "2022-01-16T17:32:28Z",
"invoiceDate": "2022-01-01T17:32:28Z",
"status": "Due",
"amountDue": {
"currency": "USD",
"value": 2000.00
},
"invoicePeriodStartDate": "2018-01-01T17:32:28Z",
"invoicePeriodEndDate": "2018-01-15T17:32:28Z",
"invoicePeriodStartDate": "2022-01-01T17:32:28Z",
"invoicePeriodEndDate": "2022-01-15T17:32:28Z",
"invoiceType": "AzureServices",
"purchaseOrderNumber": "123456",
"subscriptionId": "55000000-0000-0000-0000-000000000011"
Expand All @@ -33,8 +33,8 @@
"name": "1383724",
"type": "Microsoft.Billing/billingAccounts/billingSubscriptions/invoices",
"properties": {
"dueDate": "2018-03-01T17:32:28Z",
"invoiceDate": "2018-02-01T17:32:28Z",
"dueDate": "2022-02-01T17:32:28Z",
"invoiceDate": "2022-01-01T17:32:28Z",
"status": "Paid",
"amountDue": {
"currency": "USD",
Expand All @@ -44,8 +44,8 @@
"currency": "USD",
"value": 2000.00
},
"invoicePeriodStartDate": "2018-02-01T17:32:28Z",
"invoicePeriodEndDate": "2018-02-30T17:32:28Z",
"invoicePeriodStartDate": "2022-01-01T17:32:28Z",
"invoicePeriodEndDate": "2022-01-30T17:32:28Z",
"invoiceType": "AzureMarketplace",
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/11000000-0000-0000-0000-000000000000",
"billingProfileDisplayName": "Contoso Operations Billing",
Expand All @@ -59,7 +59,7 @@
],
"payments": [
{
"date": "2018-01-14T17:32:28Z",
"date": "2022-01-14T17:32:28Z",
"paymentType": "credited",
"amount": {
"currency": "USD",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"type": "Microsoft.Billing/billingAccounts/billingSubscriptions",
"properties": {
"displayName": "My subscription",
"subscriptionId": "6b96d3f2-9008-4a9d-912f-f87744185aa3",
"subscriptionId": "96703df4-5ee9-4e57-b491-dbebe7a58fa0",
"subscriptionBillingStatus": "Active",
"lastMonthCharges": {
"currency": "USD",
Expand All @@ -38,7 +38,7 @@
"type": "Microsoft.Billing/billingAccounts/billingSubscriptions",
"properties": {
"displayName": "Test subscription",
"subscriptionId": "6b96d3f2-9008-4a9d-912f-6b96d3f2",
"subscriptionId": "756f932a-2e3d-4227-bfe1-0d06426bafa6",
"subscriptionBillingStatus": "Active",
"lastMonthCharges": {
"currency": "USD",
Expand All @@ -63,7 +63,7 @@
"type": "Microsoft.Billing/billingAccounts/billingSubscriptions",
"properties": {
"displayName": "Dev Subscription",
"subscriptionId": "6b96d3f2-4a9d-9008-912f-f87744185aa3",
"subscriptionId": "cf8140cc-a556-409c-84be-3e2561c90dbf",
"subscriptionBillingStatus": "Active",
"lastMonthCharges": {
"currency": "USD",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"type": "Microsoft.Billing/billingAccounts/billingSubscriptions",
"properties": {
"displayName": "My subscription",
"subscriptionId": "6b96d3f2-9008-4a9d-912f-f87744185aa3",
"subscriptionId": "88100ba7-38e2-4369-aa8e-544313e0c90b",
"subscriptionBillingStatus": "Active",
"lastMonthCharges": {
"currency": "USD",
Expand All @@ -39,7 +39,7 @@
"type": "Microsoft.Billing/billingAccounts/billingSubscriptions",
"properties": {
"displayName": "Test subscription",
"subscriptionId": "6b96d3f2-9008-4a9d-912f-6b96d3f2",
"subscriptionId": "66e1ffd8-0f9d-4190-a5a3-910db5a20795",
"subscriptionBillingStatus": "Active",
"lastMonthCharges": {
"currency": "USD",
Expand All @@ -64,7 +64,7 @@
"type": "Microsoft.Billing/billingAccounts/billingSubscriptions",
"properties": {
"displayName": "Dev Subscription",
"subscriptionId": "6b96d3f2-4a9d-9008-912f-f87744185aa3",
"subscriptionId": "87607149-63a6-4644-8dc1-1d2e368f4994",
"subscriptionBillingStatus": "Active",
"lastMonthCharges": {
"currency": "USD",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"type": "Microsoft.Billing/billingAccounts/billingSubscriptions",
"properties": {
"displayName": "My subscription",
"subscriptionId": "6b96d3f2-9008-4a9d-912f-f87744185aa3",
"subscriptionId": "87607149-63a6-4644-8dc1-1d2e368f4994",
"subscriptionBillingStatus": "Active",
"lastMonthCharges": {
"currency": "USD",
Expand All @@ -41,7 +41,7 @@
"type": "Microsoft.Billing/billingAccounts/billingSubscriptions",
"properties": {
"displayName": "Test subscription",
"subscriptionId": "6b96d3f2-9008-4a9d-912f-6b96d3f2",
"subscriptionId": "87607149-63a6-4644-8dc1-1d2e368f4995",
"subscriptionBillingStatus": "Active",
"lastMonthCharges": {
"currency": "USD",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"type": "Microsoft.Billing/billingAccounts/billingSubscriptions",
"properties": {
"displayName": "My subscription",
"subscriptionId": "6b96d3f2-9008-4a9d-912f-f87744185aa3",
"subscriptionId": "87607149-63a6-4644-8dc1-1d2e368f4994",
"subscriptionBillingStatus": "Active",
"lastMonthCharges": {
"currency": "USD",
Expand All @@ -40,7 +40,7 @@
"type": "Microsoft.Billing/billingAccounts/billingSubscriptions",
"properties": {
"displayName": "Test subscription",
"subscriptionId": "6b96d3f2-9008-4a9d-912f-6b96d3f2",
"subscriptionId": "87607149-63a6-4644-8dc1-1d2e368f4995",
"subscriptionBillingStatus": "Active",
"lastMonthCharges": {
"currency": "USD",
Expand All @@ -65,7 +65,7 @@
"type": "Microsoft.Billing/billingAccounts/billingSubscriptions",
"properties": {
"displayName": "Dev Subscription",
"subscriptionId": "6b96d3f2-4a9d-9008-912f-f87744185aa3",
"subscriptionId": "87607149-63a6-4644-8dc1-1d2e368f4996",
"subscriptionBillingStatus": "Active",
"lastMonthCharges": {
"currency": "USD",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"parameters": {
"api-version": "2020-05-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"display": {
"operation": "List Invoices",
"provider": "Microsoft.Billing",
"resource": "Invoices"
},
"isDataAction": false,
"name": "Microsoft.Billing/invoices/read"
},
{
"display": {
"operation": "List/Get Billing Periods(s)",
"provider": "Microsoft Billing",
"resource": "Billing Periods"
},
"isDataAction": false,
"name": "Microsoft.Billing/billingPeriods/read"
},
{
"display": {
"operation": "List/Get Billing Properties",
"provider": "Microsoft Billing",
"resource": "Billing Property"
},
"isDataAction": false,
"name": "Microsoft.Billing/billingProperty/read"
},
{
"display": {
"operation": "Update Billing Properties",
"provider": "Microsoft Billing",
"resource": "Billing Property"
},
"isDataAction": false,
"name": "Microsoft.Billing/billingProperty/write"
},
{
"display": {
"description": "Download invoice using download link from list",
"operation": "Download Invoice Documents",
"provider": "Microsoft.Billing",
"resource": "Billing Subscriptions"
},
"isDataAction": false,
"name": "Microsoft.Billing/billingAccounts/billingSubscriptions/downloadDocuments/action"
}
]
}
}
}
}