Skip to content

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
"subscriptionId": "{subscription-id}",
"name": "TestBudget"
},
"responses": {
"200": {
"body": {
"id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget",
"name": "TestBudget",
"type": "Microsoft.Consumption/budgets",
"eTag": "\"1d34d012214157f\"",
"properties": {
"category": "Cost",
"amount": 100.65,
"timeGrain": "Monthly",
"timePeriod": {
"startDate": "2017-10-01T00:00:00Z",
"endDate": "2018-10-31T00:00:00Z"
},
"currentSpend": {
"amount": 80.89,
"unit": "USD"
},
"notifications": {
"Actual_GreaterThan_80_Percent": {
"enabled": true,
"operator": "GreaterThan",
"threshold": 80,
"contactEmails": [
"[email protected]",
"[email protected]"
],
"contactRoles": [
"Contributor",
"Reader"
]
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
"subscriptionId": "{subscription-id}"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget",
"name": "TestBudget",
"type": "Microsoft.Consumption/budgets",
"eTag": "\"1d34d012214157f\"",
"properties": {
"category": "Cost",
"amount": 100.65,
"timeGrain": "Monthly",
"timePeriod": {
"startDate": "2017-10-01T00:00:00Z",
"endDate": "2018-10-31T00:00:00Z"
},
"currentSpend": {
"amount": 80.89,
"unit": "USD"
},
"notifications": {
"Actual_GreaterThan_80_Percent": {
"enabled": true,
"operator": "GreaterThan",
"threshold": 80,
"contactEmails": [
"[email protected]",
"[email protected]"
],
"contactRoles": [
"Contributor",
"Reader"
]
},
"Actual_GreaterThanOrEqualTo_90_Percent": {
"enabled": true,
"operator": "GreaterThanOrEqualTo",
"threshold": 90,
"contactEmails": [
"[email protected]",
"[email protected]"
],
"contactRoles": [
"Contributor",
"Reader"
]
}
}
}
},
{
"id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget",
"name": "TestBudget",
"type": "Microsoft.Consumption/budgets",
"eTag": "\"1d34d012214157f\"",
"properties": {
"category": "Cost",
"amount": 600.65,
"timeGrain": "Monthly",
"timePeriod": {
"startDate": "2017-10-01T00:00:00Z",
"endDate": "2018-10-31T00:00:00Z"
},
"currentSpend": {
"amount": 120.89,
"unit": "USD"
},
"notifications": {
"Actual_GreaterThan_40_Percent": {
"enabled": true,
"operator": "GreaterThan",
"threshold": 40,
"contactEmails": [
"[email protected]",
"[email protected]"
],
"contactRoles": [
"Contributor",
"Reader"
]
},
"Actual_GreaterThanOrEqualTo_60_Percent": {
"enabled": true,
"operator": "GreaterThanOrEqualTo",
"threshold": 60,
"contactEmails": [
"[email protected]",
"[email protected]"
],
"contactRoles": [
"Contributor",
"Reader"
]
}
}
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
"billingAccountId": "95b221a7-a3a2-5808-d690-659c180e8ccf",
"startDate": "2019-02-01",
"endDate": "2019-02-28"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/95b221a7-a3a2-5808-d690-659c180e8ccf/providers/Microsoft.Consumption/charges/bcb1b554-985d-46e5-d9a3-92399414677e",
"name": "bcb1b554-985d-46e5-d9a3-92399414677e",
"type": "Microsoft.Consumption/charges",
"properties": {
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/bcb1b554-985d-46e5-d9a3-92399414677e/providers/Microsoft.Billing/billingPeriods/201902",
"usageStart": "2019-02-01",
"usageEnd": "2019-02-28",
"azureCharges": {
"currency": "USD",
"value": 5000.00
},
"chargesBilledSeparately": {
"currency": "USD",
"value": 60.90
},
"marketplaceCharges": {
"currency": "USD",
"value": 100.00
},
"billingAccountId": "/providers/Microsoft.Billing/billingAccounts/95b221a7-a3a2-5808-d690-659c180e8ccf",
"billingProfileId": null,
"invoiceSectionId": null
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
"billingAccountId": "95b221a7-a3a2-5808-d690-659c180e8ccf",
"billingProfileId": "f30c32de-fba9-4cf1-a146-2ff60881e0fe",
"startDate": "2019-02-01",
"endDate": "2019-02-28"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/95b221a7-a3a2-5808-d690-659c180e8ccf/billingProfiles/f30c32de-fba9-4cf1-a146-2ff60881e0fe/providers/Microsoft.Consumption/charges/bcb1b554-985d-46e5-d9a3-92399414677e",
"name": "bcb1b554-985d-46e5-d9a3-92399414677e",
"type": "Microsoft.Consumption/charges",
"properties": {
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/95b221a7-a3a2-5808-d690-659c180e8ccf/providers/Microsoft.Billing/billingPeriods/201902",
"usageStart": "2019-02-01",
"usageEnd": "2019-02-28",
"azureCharges": {
"currency": "USD",
"value": 27000
},
"chargesBilledSeparately": {
"currency": "USD",
"value": 4487.5
},
"marketplaceCharges": {
"currency": "USD",
"value": 0
},
"billingAccountId": "/providers/Microsoft.Billing/billingAccounts/95b221a7-a3a2-5808-d690-659c180e8ccf",
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/95b221a7-a3a2-5808-d690-659c180e8ccf/billingProfiles/f30c32de-fba9-4cf1-a146-2ff60881e0fe",
"invoiceSectionId": null
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
"billingAccountId": "95b221a7-a3a2-5808-d690-659c180e8ccf",
"invoiceSectionId": "f30c32de-fba9-4cf1-a146-2ff60881e0fe",
"startDate": "2019-02-01",
"endDate": "2019-02-28"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/95b221a7-a3a2-5808-d690-659c180e8ccf/invoiceSections/f30c32de-fba9-4cf1-a146-2ff60881e0fe/providers/Microsoft.Consumption/charges/bcb1b554-985d-46e5-d9a3-92399414677e",
"name": "bcb1b554-985d-46e5-d9a3-92399414677e",
"type": "Microsoft.Consumption/charges",
"properties": {
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/95b221a7-a3a2-5808-d690-659c180e8ccf/providers/Microsoft.Billing/billingPeriods/201902",
"usageStart": "2019-02-01",
"usageEnd": "2019-02-28",
"azureCharges": {
"currency": "USD",
"value": 27000
},
"chargesBilledSeparately": {
"currency": "USD",
"value": 4487.5
},
"marketplaceCharges": {
"currency": "USD",
"value": 0
},
"billingAccountId": "/providers/Microsoft.Billing/billingAccounts/95b221a7-a3a2-5808-d690-659c180e8ccf",
"billingProfileId": null,
"invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/95b221a7-a3a2-5808-d690-659c180e8ccf/invoiceSections/f30c32de-fba9-4cf1-a146-2ff60881e0fe"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
"subscriptionId": "{subscription-id}",
"name": "TestBudget",
"parameters": {
"eTag": "\"1d34d016a593709\"",
"properties": {
"category": "Cost",
"amount": 100.65,
"timeGrain": "Monthly",
"timePeriod": {
"startDate": "2017-10-01T00:00:00Z",
"endDate": "2018-10-31T00:00:00Z"
},
"notifications": {
"Actual_GreaterThan_80_Percent": {
"enabled": true,
"operator": "GreaterThan",
"threshold": 80,
"contactEmails": [
"[email protected]",
"[email protected]"
],
"contactRoles": [
"Contributor",
"Reader"
]
}
}
}
}
},
"responses": {
"201": {
"body": {
"id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget",
"name": "TestBudget",
"type": "Microsoft.Consumption/budgets",
"eTag": "\"1d34d012214157f\"",
"properties": {
"category": "Cost",
"amount": 100.65,
"timeGrain": "Monthly",
"timePeriod": {
"startDate": "2017-10-01T00:00:00Z",
"endDate": "2018-10-31T00:00:00Z"
},
"currentSpend": {
"amount": 80.89,
"unit": "USD"
},
"notifications": {
"Actual_GreaterThan_80_Percent": {
"enabled": true,
"operator": "GreaterThan",
"threshold": 80,
"contactEmails": [
"[email protected]",
"[email protected]"
],
"contactRoles": [
"Contributor",
"Reader"
]
}
}
}
}
},
"200": {
"body": {
"id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget",
"name": "TestBudget",
"type": "Microsoft.Consumption/budgets",
"eTag": "\"1d34d012214157f\"",
"properties": {
"category": "Cost",
"amount": 100.65,
"timeGrain": "Monthly",
"timePeriod": {
"startDate": "2017-10-01T00:00:00Z",
"endDate": "2018-10-31T00:00:00Z"
},
"currentSpend": {
"amount": 80.89,
"unit": "USD"
},
"notifications": {
"Actual_GreaterThan_80_Percent": {
"enabled": true,
"operator": "GreaterThan",
"threshold": 80,
"contactEmails": [
"[email protected]",
"[email protected]"
],
"contactRoles": [
"Contributor",
"Reader"
]
}
}
}
}
}
}
}
Loading