Skip to content

Commit 0478d4c

Browse files
arpitkh12arkhande
andauthored
Update cloud service swagger file and examples (#19311)
* Update cloud service swagger file and examples * Update cloudService.json Co-authored-by: Arpit Khandelwal <arkhande@microsoft.com>
1 parent 50acb93 commit 0478d4c

12 files changed

+302
-196
lines changed

specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/cloudService.json

Lines changed: 256 additions & 186 deletions
Large diffs are not rendered by default.

specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Get_InstanceView.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
}
2424
}
2525
}
26-
}
26+
}

specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Reimage_ByCloudService.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
"200": {},
1616
"202": {}
1717
}
18-
}
18+
}

specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
"200": {},
1111
"202": {}
1212
}
13-
}
13+
}

specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudServiceRoleInstance_Restart_ByCloudService.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
"200": {},
1616
"202": {}
1717
}
18-
}
18+
}

specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithMultiRole.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@
107107
},
108108
"provisioningState": "Updating",
109109
"uniqueId": "7f3edf91-cb34-4a3e-971a-177dc3dd43cb"
110+
},
111+
"systemData": {
112+
"createdAt": "2020-01-01T17:18:19.1234567Z",
113+
"lastModifiedAt": "2020-01-01T17:18:19.1234567Z"
110114
}
111115
}
112116
},
@@ -164,6 +168,10 @@
164168
},
165169
"provisioningState": "Creating",
166170
"uniqueId": "7f3edf91-cb34-4a3e-971a-177dc3dd43cb"
171+
},
172+
"systemData": {
173+
"createdAt": "2020-01-01T17:18:19.1234567Z",
174+
"lastModifiedAt": "2020-01-01T17:18:19.1234567Z"
167175
}
168176
}
169177
}

specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRole.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@
9191
},
9292
"provisioningState": "Updating",
9393
"uniqueId": "14d10b45-ced7-42ef-a406-50a3df2cea7d"
94+
},
95+
"systemData": {
96+
"createdAt": "2020-01-01T17:18:19.1234567Z",
97+
"lastModifiedAt": "2020-01-01T17:18:19.1234567Z"
9498
}
9599
}
96100
},
@@ -140,6 +144,10 @@
140144
},
141145
"provisioningState": "Creating",
142146
"uniqueId": "14d10b45-ced7-42ef-a406-50a3df2cea7d"
147+
},
148+
"systemData": {
149+
"createdAt": "2020-01-01T17:18:19.1234567Z",
150+
"lastModifiedAt": "2020-01-01T17:18:19.1234567Z"
143151
}
144152
}
145153
}

specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRoleAndCertificate.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@
116116
},
117117
"provisioningState": "Updating",
118118
"uniqueId": "60b6cd59-600b-4e02-b717-521b07aa94bf"
119+
},
120+
"systemData": {
121+
"createdAt": "2020-01-01T17:18:19.1234567Z",
122+
"lastModifiedAt": "2020-01-01T17:18:19.1234567Z"
119123
}
120124
}
121125
},
@@ -176,6 +180,10 @@
176180
},
177181
"provisioningState": "Creating",
178182
"uniqueId": "60b6cd59-600b-4e02-b717-521b07aa94bf"
183+
},
184+
"systemData": {
185+
"createdAt": "2020-01-01T17:18:19.1234567Z",
186+
"lastModifiedAt": "2020-01-01T17:18:19.1234567Z"
179187
}
180188
}
181189
}

specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Create_WithSingleRoleAndRDP.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"protectedSettings": "<PrivateConfig><Password>{password}</Password></PrivateConfig>",
1616
"publisher": "Microsoft.Windows.Azure.Extensions",
1717
"settings": "<PublicConfig><UserName>UserAzure</UserName><Expiration>10/22/2021 15:05:45</Expiration></PublicConfig>",
18-
"typeHandlerVersion": "1.2.1"
18+
"typeHandlerVersion": "1.2"
1919
},
2020
"name": "RDPExtension"
2121
}
@@ -116,14 +116,18 @@
116116
],
117117
"publisher": "Microsoft.Windows.Azure.Extensions",
118118
"type": "RDP",
119-
"typeHandlerVersion": "1.2.1",
119+
"typeHandlerVersion": "1.2",
120120
"settings": "<PublicConfig><UserName>UserAzure</UserName><Expiration>10/22/2021 15:05:45</Expiration></PublicConfig>"
121121
}
122122
}
123123
]
124124
},
125125
"provisioningState": "Updating",
126126
"uniqueId": "c948cccb-bbfa-4516-a250-c28abc4d0c15"
127+
},
128+
"systemData": {
129+
"createdAt": "2020-01-01T17:18:19.1234567Z",
130+
"lastModifiedAt": "2020-01-01T17:18:19.1234567Z"
127131
}
128132
}
129133
},
@@ -183,14 +187,18 @@
183187
],
184188
"publisher": "Microsoft.Windows.Azure.Extensions",
185189
"type": "RDP",
186-
"typeHandlerVersion": "1.2.1",
190+
"typeHandlerVersion": "1.2",
187191
"settings": "<PublicConfig><UserName>UserAzure</UserName><Expiration>10/22/2021 15:05:45</Expiration></PublicConfig>"
188192
}
189193
}
190194
]
191195
},
192196
"provisioningState": "Creating",
193197
"uniqueId": "c948cccb-bbfa-4516-a250-c28abc4d0c15"
198+
},
199+
"systemData": {
200+
"createdAt": "2020-01-01T17:18:19.1234567Z",
201+
"lastModifiedAt": "2020-01-01T17:18:19.1234567Z"
194202
}
195203
}
196204
}

specification/compute/resource-manager/Microsoft.Compute/stable/2022-04-04/CloudServiceRP/examples/CloudService_Get_WithMultiRoleAndRDP.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,18 @@
6969
],
7070
"publisher": "Microsoft.Windows.Azure.Extensions",
7171
"type": "RDP",
72-
"typeHandlerVersion": "1.2.1",
72+
"typeHandlerVersion": "1.2",
7373
"settings": "<PublicConfig><UserName>userazure</UserName><Expiration>01/12/2022 16:29:02</Expiration></PublicConfig>"
7474
}
7575
}
7676
]
7777
},
7878
"provisioningState": "Succeeded",
7979
"uniqueId": "4ccb4323-4740-4545-bb81-780b27375947"
80+
},
81+
"systemData": {
82+
"createdAt": "2020-01-01T17:18:19.1234567Z",
83+
"lastModifiedAt": "2020-01-01T17:18:19.1234567Z"
8084
}
8185
}
8286
}

0 commit comments

Comments
 (0)