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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"parameters": {
"api-version": "2018-08-01-preview",
"transferName": "transferName",
"body": {
"properties": {
"value": [
{
"productType": "AzureSubscription",
"productId": "subscriptionId"
},
{
"productType": "AzureReservation",
"productId": "reservedInstanceId"
}
]
}
}
},

"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.Billing/transfers/transferName",
"type": "Microsoft.Billing/transfers",
"name": "transferName",
"properties": {
"creationTime": "10/10/2018 9:40:01 PM",
"expirationTime": "11/5/2018 4:47:08 AM",
"allowedSubscriptionType": [
"DevTestAzureSubscription",
"StandardAzureSubscription",
"AzureReservation"
],
"transferStatus": "InProgress",
"recipientEmailId": "[email protected]",
"initiatorEmailId": "[email protected]",
"lastModifiedTime": "10/10/2018 9:45:01 PM",
"detailedTransferStatus": [
{
"productType": "AzureSubscription",
"productId": "subscriptionId",
"transferStatus": "InProgress"
},
{
"productType": "AzureReservation",
"productId": "reservedInstanceId",
"transferStatus": "InProgress"
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"parameters": {
"api-version": "2018-08-01-preview",
"billingAccountName": "{billingAccountName}",
"parameters": {
"principalId": "6fd330f6-7d26-4aff-b9cf-7bd699f965b9",
"billingRoleDefinitionId": "10000000-aaaa-bbbb-cccc-100000000000"
}
},
"responses":{
"201": {
"body": {
"value": [
{
"id": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9",
"name": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9",
"properties": {
"createdOn": "2018-06-21T21:34:12.2363515+00:00",
"createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f",
"createdByPrincipalId": "",
"name": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9",
"principalId": "6fd330f6-7d26-4aff-b9cf-7bd699f965b9",
"roleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/ee4241f3-de74-5631-3e6b-5df2c3d66671/providers/Microsoft.Billing/billingRoleDefinitions/10000000-aaaa-bbbb-cccc-100000000000",
"scope": "/providers/Microsoft.Billing/billingAccounts/ee4241f3-de74-5631-3e6b-5df2c3d66671"
},
"type": "Microsoft.Billing/billingRoleAssignments"
},
{
"id": "10000000-aaaa-bbbb-cccc-100000000000_b1839933-b3ac-42ca-8112-d29c43f3ab47",
"name": "10000000-aaaa-bbbb-cccc-100000000000_b1839933-b3ac-42ca-8112-d29c43f3ab47",
"properties": {
"createdOn": "2018-06-21T21:58:19.9073876+00:00",
"createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f",
"createdByPrincipalId": "46b831ec-42b2-4f1a-8b54-3fd5ff9d6aa1",
"name": "10000000-aaaa-bbbb-cccc-100000000000_b1839933-b3ac-42ca-8112-d29c43f3ab47",
"principalId": "b1839933-b3ac-42ca-8112-d29c43f3ab47",
"roleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/ee4241f3-de74-5631-3e6b-5df2c3d66671/providers/Microsoft.Billing/billingRoleDefinitions/10000000-aaaa-bbbb-cccc-100000000000",
"scope": "/providers/Microsoft.Billing/billingAccounts/ee4241f3-de74-5631-3e6b-5df2c3d66671"
},
"type": "Microsoft.Billing/billingRoleAssignments"
},
{
"id": "10000000-aaaa-bbbb-cccc-100000000002_129db794-64a5-44e0-9838-002780478959",
"name": "10000000-aaaa-bbbb-cccc-100000000002_129db794-64a5-44e0-9838-002780478959",
"properties": {
"createdOn": "2018-06-22T06:03:51.430844+00:00",
"createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f",
"createdByPrincipalId": "b1839933-b3ac-42ca-8112-d29c43f3ab47",
"name": "10000000-aaaa-bbbb-cccc-100000000002_129db794-64a5-44e0-9838-002780478959",
"principalId": "129db794-64a5-44e0-9838-002780478959",
"roleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/ee4241f3-de74-5631-3e6b-5df2c3d66671/providers/Microsoft.Billing/billingRoleDefinitions/10000000-aaaa-bbbb-cccc-100000000002",
"scope": "/providers/Microsoft.Billing/billingAccounts/ee4241f3-de74-5631-3e6b-5df2c3d66671"
},
"type": "Microsoft.Billing/billingRoleAssignments"
},
{
"id": "10000000-aaaa-bbbb-cccc-100000000001_d7b03fbc-ecd9-49b8-8e38-285b75eaa8f7",
"name": "10000000-aaaa-bbbb-cccc-100000000001_d7b03fbc-ecd9-49b8-8e38-285b75eaa8f7",
"properties": {
"createdOn": "2018-07-06T05:52:57.1463874+00:00",
"createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f",
"createdByPrincipalId": "b1839933-b3ac-42ca-8112-d29c43f3ab47",
"name": "10000000-aaaa-bbbb-cccc-100000000001_d7b03fbc-ecd9-49b8-8e38-285b75eaa8f7",
"principalId": "d7b03fbc-ecd9-49b8-8e38-285b75eaa8f7",
"roleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/ee4241f3-de74-5631-3e6b-5df2c3d66671/providers/Microsoft.Billing/billingRoleDefinitions/10000000-aaaa-bbbb-cccc-100000000001",
"scope": "/providers/Microsoft.Billing/billingAccounts/ee4241f3-de74-5631-3e6b-5df2c3d66671"
},
"type": "Microsoft.Billing/billingRoleAssignments"
},
{
"id": "10000000-aaaa-bbbb-cccc-100000000000_c4f54fd2-d920-4c49-9b4d-9f09387b881c",
"name": "10000000-aaaa-bbbb-cccc-100000000000_c4f54fd2-d920-4c49-9b4d-9f09387b881c",
"properties": {
"createdOn": "2018-07-10T22:04:33.8309285+00:00",
"createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f",
"createdByPrincipalId": "b1839933-b3ac-42ca-8112-d29c43f3ab47",
"name": "10000000-aaaa-bbbb-cccc-100000000000_c4f54fd2-d920-4c49-9b4d-9f09387b881c",
"principalId": "c4f54fd2-d920-4c49-9b4d-9f09387b881c",
"roleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/ee4241f3-de74-5631-3e6b-5df2c3d66671/providers/Microsoft.Billing/billingRoleDefinitions/10000000-aaaa-bbbb-cccc-100000000000",
"scope": "/providers/Microsoft.Billing/billingAccounts/ee4241f3-de74-5631-3e6b-5df2c3d66671"
},
"type": "Microsoft.Billing/billingRoleAssignments"
}
]
}
}
}
}







Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"api-version": "2018-08-01-preview",
"billingAccountName": "{billingAccountName}",
"billingProfileName": "{billingProfileName}",
"parameters": {
"principalId": "6fd330f6-7d26-4aff-b9cf-7bd699f965b9",
"billingRoleDefinitionId": "10000000-aaaa-bbbb-cccc-100000000000"
}
},
"responses": {
"201": {
"body": {
"value": [
{
"id": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9",
"name": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9",
"properties": {
"createdOn": "2018-06-21T21:34:12.2363515+00:00",
"createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f",
"createdByPrincipalId": "",
"name": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9",
"principalId": "6fd330f6-7d26-4aff-b9cf-7bd699f965b9",
"roleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/ee4241f3-de74-5631-3e6b-5df2c3d66671/billingProfiles/123/providers/Microsoft.Billing/billingRoleDefinitions/10000000-aaaa-bbbb-cccc-100000000000",
"scope": "/providers/Microsoft.Billing/billingAccounts/billingProfiles/123/ee4241f3-de74-5631-3e6b-5df2c3d66671"
},
"type": "Microsoft.Billing/billingRoleAssignments"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"api-version": "2018-08-01-preview",
"billingAccountName": "{billingAccountName}",
"invoiceSectionName": "{invoiceSectionName}",
"parameters": {
"principalId": "6fd330f6-7d26-4aff-b9cf-7bd699f965b9",
"billingRoleDefinitionId": "10000000-aaaa-bbbb-cccc-100000000000"
}
},
"responses": {
"201": {
"body": {
"value": [
{
"id": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9",
"name": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9",
"properties": {
"createdOn": "2018-06-21T21:34:12.2363515+00:00",
"createdByPrincipalTenantId": "7ca289b9-c32d-4f01-8566-7ff93261d76f",
"createdByPrincipalId": "",
"name": "10000000-aaaa-bbbb-cccc-100000000000_6fd330f6-7d26-4aff-b9cf-7bd699f965b9",
"principalId": "6fd330f6-7d26-4aff-b9cf-7bd699f965b9",
"roleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/ee4241f3-de74-5631-3e6b-5df2c3d66671/invoiceSections/123/providers/Microsoft.Billing/billingRoleDefinitions/10000000-aaaa-bbbb-cccc-100000000000",
"scope": "/providers/Microsoft.Billing/billingAccounts/invoiceSections/123/ee4241f3-de74-5631-3e6b-5df2c3d66671"
},
"type": "Microsoft.Billing/billingRoleAssignments"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
"billingAccountId": "04e9d123-ae03-5621-6c17-e70da00924ee",
"billingProfileId": "2291f7a6-e97a-4bb8-83d7-6090beb137e1"
},
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.Billing/billingAccounts/04e9d123-ae03-5621-6c17-e70da00924ee/billingProfiles/2291f7a6-e97a-4bb8-83d7-6090beb137e1/availableBalance/3f2a7a28-985c-4451-8b77-f83f47c3d2c6",
"name": "3f2a7a28-985c-4451-8b77-f83f47c3d2c6",
"type": "Microsoft.Billing/availableBalance",
"properties": {
"amount": {
"currency": "USD",
"value": 500.00
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
"billingAccountId": "2000100"
},
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.Billing/billingAccounts/2000100",
"name": "2000100",
"type": "Microsoft.Billing/billingAccounts",
"properties": {
"displayName": "Test Account",
"company": "Test Account",
"accountType": "Organization",
"address": {
"AddressLine1": "Test Address",
"AddressLine2": "Test Address",
"AddressLine3": "Test Address",
"City": "City",
"PostalCode": "00000",
"Region": "WA",
"Country": "US",
"PhoneNumber": "000-000-0000"
},
"country": "United States",
"agreements": [
"wwww.contoso.com/agreements"
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
"billingAccountId": "2000200",
"periodStartDate": "2018-01-01",
"periodEndDate": "2018-06-30",
"$filter": "invoicePeriodStartDate le 2018-06-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/2000200/billingProfile/345986/invoices/1383723",
"name": "1383723",
"type": "Microsoft.Billing/invoices",
"properties": {
"dueDate": "2018-01-16",
"invoiceDate": "2018-01-01",
"status": "Due",
"amountDue": {
"currency": "USD",
"value": 2000.00
},
"billedAmount": {
"currency": "USD",
"value": 2000.00
},
"invoicePeriodStartDate": "2018-01-01",
"invoicePeriodEndDate": "2018-01-15",
"billingProfile": "345986",
"billingProfileName": "Contoso Operations Billing",
"purchaseOrderNumber": "123456",
"documentUrls": [
{
"kind": "Invoice",
"url": "https://microsoft.com/invoice.pdf"
}
],
"payments": [
{
"date": "2018-01-14",
"paymentType": "credited",
"amount": {
"currency": "USD",
"value": 2000.00
}
}
]
}
},
{
"id": "providers/Microsoft.Billing/billingAccounts/2000200/billingProfile/345987/invoices/1383724",
"name": "1383724",
"type": "Microsoft.Billing/invoices",
"properties": {
"dueDate": "2018-03-01",
"invoiceDate": "2018-02-01",
"status": "PastDue",
"amountDue": {
"currency": "USD",
"value": 2000.00
},
"billedAmount": {
"currency": "USD",
"value": 2000.00
},
"invoicePeriodStartDate": "2018-02-01",
"invoicePeriodEndDate": "2018-02-30",
"billingProfile": "345987",
"billingProfileName": "Contoso Operations Billing",
"purchaseOrderNumber": "123456",
"documentUrls": [
{
"kind": "VoidNote",
"url": "https://microsoft.com/voidNote.pdf"
}
],
"payments": [
{
"date": "2018-01-14",
"paymentType": "credited",
"amount": {
"currency": "USD",
"value": 2000.00
}
}
]
}
}
]
}
}
}
}
Loading