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,68 @@
{
"parameters": {
"billingAccountName": "00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31",
"savingsPlanOrderId": "20000000-0000-0000-0000-000000000000",
"api-version": "2023-04-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31/savingsPlanOrders/20000000-0000-0000-0000-000000000000/savingsPlans/30000000-0000-0000-0000-000000000000",
"name": "30000000-0000-0000-0000-000000000000",
"type": "microsoft.billing/billingAccounts/savingsPlanOrders/savingsPlans",
"sku": {
"name": "Compute_Savings_Plan"
},
"properties": {
"billingScopeId": "/subscriptions/10000000-0000-0000-0000-000000000000",
"billingAccountId": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31",
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31/billingProfiles/AAAA-BBBB-CCC-DDD",
"billingPlan": "P1M",
"commitment": {
"grain": "Hourly",
"currencyCode": "USD",
"amount": 0.001
},
"renew": false,
"appliedScopeType": "Shared",
"displayName": "SP1",
"provisioningState": "Succeeded",
"term": "P3Y",
"displayProvisioningState": "Succeeded",
"userFriendlyAppliedScopeType": "Shared",
"expiryDateTime": "2026-01-20T02:36:22.3394755Z",
"purchaseDateTime": "2023-01-20T02:34:38.1261695Z",
"benefitStartTime": "2023-01-20T02:36:22.3394755Z",
"effectiveDateTime": "2023-01-20T02:36:25.0894669Z",
"utilization": {
"trend": "SAME",
"aggregates": [
{
"grain": 1.0,
"grainUnit": "days",
"value": 0,
"valueUnit": "percentage"
},
{
"grain": 7.0,
"grainUnit": "days",
"value": 0,
"valueUnit": "percentage"
},
{
"grain": 30.0,
"grainUnit": "days",
"value": 0,
"valueUnit": "percentage"
}
]
}
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"parameters": {
"billingAccountName": "00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31",
"savingsPlanOrderId": "20000000-0000-0000-0000-000000000000",
"savingsPlanId": "30000000-0000-0000-0000-000000000000",
"api-version": "2023-04-01"
},
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31/savingsPlanOrders/20000000-0000-0000-0000-000000000000/savingsPlans/30000000-0000-0000-0000-000000000000",
"name": "30000000-0000-0000-0000-000000000000",
"type": "microsoft.billing/billingAccounts/savingsPlanOrders/savingsPlans",
"sku": {
"name": "Compute_Savings_Plan"
},
"properties": {
"billingScopeId": "/subscriptions/50000000-0000-0000-0000-000000000000",
"billingAccountId": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31",
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31/billingProfiles/AAAA-BBBB-CCC-DDD",
"billingPlan": "P1M",
"appliedScopeProperties": {
"tenantId": "70000000-0000-0000-0000-000000000000",
"managementGroupId": "/providers/Microsoft.Management/managementGroups/TestRg",
"displayName": "TestRg"
},
"commitment": {
"grain": "Hourly",
"currencyCode": "USD",
"amount": 0.001
},
"renew": false,
"appliedScopeType": "ManagementGroup",
"displayName": "SP1",
"provisioningState": "Succeeded",
"term": "P3Y",
"displayProvisioningState": "NoBenefit",
"userFriendlyAppliedScopeType": "ManagementGroup",
"expiryDateTime": "2025-11-16T02:25:11.7183866Z",
"purchaseDateTime": "2022-11-16T02:23:21.3864783Z",
"benefitStartTime": "2022-11-16T02:25:11.7183866Z",
"effectiveDateTime": "2022-12-16T01:35:36.2909462Z",
"utilization": {
"trend": "SAME",
"aggregates": [
{
"grain": 1.0,
"grainUnit": "days",
"value": 0.0,
"valueUnit": "percentage"
},
{
"grain": 7.0,
"grainUnit": "days",
"value": 0.0,
"valueUnit": "percentage"
},
{
"grain": 30.0,
"grainUnit": "days",
"value": 0.0,
"valueUnit": "percentage"
}
]
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"parameters": {
"billingAccountName": "00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31",
"savingsPlanOrderId": "20000000-0000-0000-0000-000000000000",
"savingsPlanId": "30000000-0000-0000-0000-000000000000",
"api-version": "2023-04-01",
"$expand": "renewProperties"
},
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31/savingsPlanOrders/20000000-0000-0000-0000-000000000000/savingsPlans/30000000-0000-0000-0000-000000000000",
"name": "30000000-0000-0000-0000-000000000000",
"type": "microsoft.billing/billingAccounts/savingsPlanOrders/savingsPlans",
"sku": {
"name": "Compute_Savings_Plan"
},
"properties": {
"billingScopeId": "/subscriptions/50000000-0000-0000-0000-000000000000",
"billingAccountId": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31",
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/00000000-0000-0000-0000-000000000000:00000000-0000-0000-0000-000000000000_2019-05-31/billingProfiles/AAAA-BBBB-CCC-DDD",
"billingPlan": "P1M",
"appliedScopeProperties": {
"tenantId": "70000000-0000-0000-0000-000000000000",
"managementGroupId": "/providers/Microsoft.Management/managementGroups/TestRg",
"displayName": "TestRg"
},
"commitment": {
"grain": "Hourly",
"currencyCode": "USD",
"amount": 0.001
},
"renew": false,
"appliedScopeType": "ManagementGroup",
"displayName": "SP1",
"provisioningState": "Succeeded",
"term": "P3Y",
"displayProvisioningState": "NoBenefit",
"userFriendlyAppliedScopeType": "ManagementGroup",
"expiryDateTime": "2025-11-16T02:25:11.7183866Z",
"purchaseDateTime": "2022-11-16T02:23:21.3864783Z",
"benefitStartTime": "2022-11-16T02:25:11.7183866Z",
"effectiveDateTime": "2022-12-16T01:35:36.2909462Z",
"utilization": {
"trend": "SAME",
"aggregates": [
{
"grain": 1.0,
"grainUnit": "days",
"value": 0.0,
"valueUnit": "percentage"
},
{
"grain": 7.0,
"grainUnit": "days",
"value": 0.0,
"valueUnit": "percentage"
},
{
"grain": 30.0,
"grainUnit": "days",
"value": 0.0,
"valueUnit": "percentage"
}
]
},
"renewProperties": {
"purchaseProperties": {
"sku": {
"name": "Compute_Savings_Plan"
},
"properties": {
"billingScopeId": "/subscriptions/50000000-0000-0000-0000-000000000000",
"term": "P3Y",
"billingPlan": "Monthly",
"displayName": "SP1_renewed",
"appliedScopeType": "ManagementGroup",
"appliedScopeProperties": {
"tenantId": "70000000-0000-0000-0000-000000000000",
"managementGroupId": "/providers/Microsoft.Management/managementGroups/TestRg"
},
"commitment": {
"grain": "Hourly",
"currencyCode": "USD",
"amount": 0.001
}
}
}
}
}
}
}
}
}
Loading