Skip to content

Commit

Permalink
Updated SubscriptionRP v2020-09-01 for s360 (Azure#17318)
Browse files Browse the repository at this point in the history
* Updated SubscriptionRP v2020-09-01 for s360

* Model validation errors are fixed

Co-authored-by: Ochi <ochisamand@microsoft.com>
  • Loading branch information
2 people authored and mstrisoline committed Feb 1, 2022
1 parent 6f473a1 commit 087b270
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"responses": {
"200": {
"body": {
"value": "83aa47df-e3e9-49ff-877b-94304bf3d3ad"
"subscriptionId": "83aa47df-e3e9-49ff-877b-94304bf3d3ad"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"responses": {
"200": {
"body": {
"value": "7948bcee-488c-47ce-941c-38e20ede803d"
"subscriptionId": "7948bcee-488c-47ce-941c-38e20ede803d"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"responses": {
"200": {
"body": {
"value": "83aa47df-e3e9-49ff-877b-94304bf3d3ad"
"subscriptionId": "83aa47df-e3e9-49ff-877b-94304bf3d3ad"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"default": {
"description": "Describes the error if the operation is not successful.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
"$ref": "#/definitions/ErrorResponseBody"
}
}
}
Expand Down Expand Up @@ -121,7 +121,7 @@
"default": {
"description": "Describes the error if the operation is not successful.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
"$ref": "#/definitions/ErrorResponseBody"
}
}
}
Expand Down Expand Up @@ -335,13 +335,21 @@
"error": {
"description": "The details of the error.",
"$ref": "#/definitions/ErrorResponse"
},
"code": {
"description": "Error code",
"type": "string"
},
"message": {
"description": "Error message indicating why the operation failed.",
"type": "string"
}
}
},
"CanceledSubscriptionId": {
"description": "The ID of the canceled subscription",
"properties": {
"value": {
"subscriptionId": {
"description": "The ID of the canceled subscription",
"type": "string",
"readOnly": true
Expand All @@ -351,7 +359,7 @@
"RenamedSubscriptionId": {
"description": "The ID of the subscriptions that is being renamed",
"properties": {
"value": {
"subscriptionId": {
"description": "The ID of the subscriptions that is being renamed",
"type": "string",
"readOnly": true
Expand All @@ -361,7 +369,7 @@
"EnabledSubscriptionId": {
"description": "The ID of the subscriptions that is being enabled",
"properties": {
"value": {
"subscriptionId": {
"description": "The ID of the subscriptions that is being enabled",
"type": "string",
"readOnly": true
Expand Down

0 comments on commit 087b270

Please sign in to comment.