/
SplitReservation.json
133 lines (133 loc) · 5.63 KB
/
SplitReservation.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"parameters": {
"api-version": "2022-11-01",
"reservationOrderId": "276e7ae4-84d0-4da6-ab4b-d6b94f3557da",
"body": {
"properties": {
"quantities": [
1,
2
],
"reservationId": "/providers/Microsoft.Capacity/reservationOrders/276e7ae4-84d0-4da6-ab4b-d6b94f3557da/reservations/bcae77cd-3119-4766-919f-b50d36c75c7a"
}
}
},
"responses": {
"200": {
"body": [
{
"sku": {
"name": "Standard_DS1_v2"
},
"id": "/providers/microsoft.capacity/reservationOrders/276e7ae4-84d0-4da6-ab4b-d6b94f3557da/reservations/00238563-7312-4c20-a134-8c030bf938a7",
"type": "Microsoft.Capacity/reservationOrders/reservations",
"name": "00238563-7312-4c20-a134-8c030bf938a7",
"etag": 2,
"location": "eastus",
"properties": {
"appliedScopeProperties": {
"subscriptionId": "/subscriptions/98df3792-7962-4f18-8be2-d5576f122de3",
"displayName": "Azure subscription 1"
},
"renew": false,
"billingScopeId": "/subscriptions/19376483-64b8-49e4-a931-d5248828720a",
"appliedScopeType": "Single",
"quantity": 1,
"provisioningState": "Succeeded",
"expiryDate": "2018-09-22",
"expiryDateTime": "2018-09-22T01:00:30.9253826Z",
"displayName": "cabri_test",
"billingPlan": "Monthly",
"effectiveDateTime": "2017-09-22T01:00:30.9253826Z",
"lastUpdatedDateTime": "2017-09-22T01:00:36.3191627Z",
"reservedResourceType": "VirtualMachines",
"instanceFlexibility": "Off",
"skuDescription": "D1 v2",
"splitProperties": {
"splitSource": "/providers/microsoft.capacity/reservationOrders/276e7ae4-84d0-4da6-ab4b-d6b94f3557da/reservations/bcae77cd-3119-4766-919f-b50d36c75c7a"
}
}
},
{
"sku": {
"name": "Standard_DS1_v2"
},
"id": "/providers/microsoft.capacity/reservationOrders/276e7ae4-84d0-4da6-ab4b-d6b94f3557da/reservations/e0e4b4f5-77ea-4984-9ee4-6bf9850ee6de",
"type": "Microsoft.Capacity/reservationOrders/reservations",
"name": "e0e4b4f5-77ea-4984-9ee4-6bf9850ee6de",
"etag": 2,
"location": "eastus",
"properties": {
"appliedScopeProperties": {
"subscriptionId": "/subscriptions/98df3792-7962-4f18-8be2-d5576f122de3",
"displayName": "Azure subscription 1"
},
"renew": false,
"billingScopeId": "/subscriptions/19376483-64b8-49e4-a931-d5248828720a",
"appliedScopeType": "Single",
"quantity": 2,
"provisioningState": "Succeeded",
"expiryDate": "2018-09-22",
"expiryDateTime": "2018-09-22T01:00:30.9253826Z",
"displayName": "cabri_test",
"billingPlan": "Monthly",
"effectiveDateTime": "2017-09-22T01:00:30.9253826Z",
"lastUpdatedDateTime": "2017-09-22T01:00:36.3191627Z",
"reservedResourceType": "VirtualMachines",
"instanceFlexibility": "Off",
"skuDescription": "D1 v2",
"splitProperties": {
"splitSource": "/providers/microsoft.capacity/reservationOrders/276e7ae4-84d0-4da6-ab4b-d6b94f3557da/reservations/bcae77cd-3119-4766-919f-b50d36c75c7a"
}
}
},
{
"sku": {
"name": "Standard_DS1_v2"
},
"id": "/providers/microsoft.capacity/reservationOrders/276e7ae4-84d0-4da6-ab4b-d6b94f3557da/reservations/bcae77cd-3119-4766-919f-b50d36c75c7a",
"type": "Microsoft.Capacity/reservationOrders/reservations",
"name": "bcae77cd-3119-4766-919f-b50d36c75c7a",
"etag": 10,
"location": "eastus",
"properties": {
"appliedScopeProperties": {
"subscriptionId": "/subscriptions/98df3792-7962-4f18-8be2-d5576f122de3",
"displayName": "Azure subscription 1"
},
"renew": false,
"billingScopeId": "/subscriptions/19376483-64b8-49e4-a931-d5248828720a",
"appliedScopeType": "Single",
"quantity": 3,
"provisioningState": "Cancelled",
"expiryDate": "2018-09-22",
"expiryDateTime": "2018-09-22T01:00:30.9253826Z",
"displayName": "cabri_test",
"billingPlan": "Monthly",
"effectiveDateTime": "2017-09-22T01:00:30.9253826Z",
"extendedStatusInfo": {
"statusCode": "Split",
"message": "This reservation was split and is no longer active."
},
"lastUpdatedDateTime": "2017-09-22T01:00:36.3191627Z",
"reservedResourceType": "VirtualMachines",
"instanceFlexibility": "Off",
"skuDescription": "D1 v2",
"splitProperties": {
"splitDestinations": [
"/providers/microsoft.capacity/reservationOrders/276e7ae4-84d0-4da6-ab4b-d6b94f3557da/reservations/00238563-7312-4c20-a134-8c030bf938a7",
"/providers/microsoft.capacity/reservationOrders/276e7ae4-84d0-4da6-ab4b-d6b94f3557da/reservations/e0e4b4f5-77ea-4984-9ee4-6bf9850ee6de"
]
}
}
}
]
},
"202": {
"headers": {
"Location": "https://management.azure.com/providers/Microsoft.Capacity/reservationorders/276e7ae4-84d0-4da6-ab4b-d6b94f3557da/splitoperationresults/bcae77cd-3119-4766-919f-b50d36c75c7a_10?api-version=2022-11-01",
"Retry-After": 120
}
}
}
}