Skip to content

Commit 1b0a465

Browse files
OchirkhuyagOchi
andauthored
Updated SubscriptionRP v2020-09-01 for s360 (#17318)
* Updated SubscriptionRP v2020-09-01 for s360 * Model validation errors are fixed Co-authored-by: Ochi <[email protected]>
1 parent 8a061f1 commit 1b0a465

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

specification/subscription/resource-manager/Microsoft.Subscription/stable/2020-09-01/examples/cancelSubscription.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"responses": {
77
"200": {
88
"body": {
9-
"value": "83aa47df-e3e9-49ff-877b-94304bf3d3ad"
9+
"subscriptionId": "83aa47df-e3e9-49ff-877b-94304bf3d3ad"
1010
}
1111
}
1212
}

specification/subscription/resource-manager/Microsoft.Subscription/stable/2020-09-01/examples/enableSubscription.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"responses": {
77
"200": {
88
"body": {
9-
"value": "7948bcee-488c-47ce-941c-38e20ede803d"
9+
"subscriptionId": "7948bcee-488c-47ce-941c-38e20ede803d"
1010
}
1111
}
1212
}

specification/subscription/resource-manager/Microsoft.Subscription/stable/2020-09-01/examples/renameSubscription.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"responses": {
1010
"200": {
1111
"body": {
12-
"value": "83aa47df-e3e9-49ff-877b-94304bf3d3ad"
12+
"subscriptionId": "83aa47df-e3e9-49ff-877b-94304bf3d3ad"
1313
}
1414
}
1515
}

specification/subscription/resource-manager/Microsoft.Subscription/stable/2020-09-01/subscriptions.json

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"default": {
4747
"description": "Describes the error if the operation is not successful.",
4848
"schema": {
49-
"$ref": "#/definitions/ErrorResponse"
49+
"$ref": "#/definitions/ErrorResponseBody"
5050
}
5151
}
5252
}
@@ -121,7 +121,7 @@
121121
"default": {
122122
"description": "Describes the error if the operation is not successful.",
123123
"schema": {
124-
"$ref": "#/definitions/ErrorResponse"
124+
"$ref": "#/definitions/ErrorResponseBody"
125125
}
126126
}
127127
}
@@ -335,13 +335,21 @@
335335
"error": {
336336
"description": "The details of the error.",
337337
"$ref": "#/definitions/ErrorResponse"
338+
},
339+
"code": {
340+
"description": "Error code",
341+
"type": "string"
342+
},
343+
"message": {
344+
"description": "Error message indicating why the operation failed.",
345+
"type": "string"
338346
}
339347
}
340348
},
341349
"CanceledSubscriptionId": {
342350
"description": "The ID of the canceled subscription",
343351
"properties": {
344-
"value": {
352+
"subscriptionId": {
345353
"description": "The ID of the canceled subscription",
346354
"type": "string",
347355
"readOnly": true
@@ -351,7 +359,7 @@
351359
"RenamedSubscriptionId": {
352360
"description": "The ID of the subscriptions that is being renamed",
353361
"properties": {
354-
"value": {
362+
"subscriptionId": {
355363
"description": "The ID of the subscriptions that is being renamed",
356364
"type": "string",
357365
"readOnly": true
@@ -361,7 +369,7 @@
361369
"EnabledSubscriptionId": {
362370
"description": "The ID of the subscriptions that is being enabled",
363371
"properties": {
364-
"value": {
372+
"subscriptionId": {
365373
"description": "The ID of the subscriptions that is being enabled",
366374
"type": "string",
367375
"readOnly": true

0 commit comments

Comments
 (0)