diff --git a/specification/managementpartner/resource-manager/Microsoft.ManagementPartner/preview/2018-02-01/ManagementPartner.json b/specification/managementpartner/resource-manager/Microsoft.ManagementPartner/preview/2018-02-01/ManagementPartner.json index d875c58cd7e7..111e6dc595cd 100644 --- a/specification/managementpartner/resource-manager/Microsoft.ManagementPartner/preview/2018-02-01/ManagementPartner.json +++ b/specification/managementpartner/resource-manager/Microsoft.ManagementPartner/preview/2018-02-01/ManagementPartner.json @@ -322,12 +322,7 @@ }, "ErrorResponseCode": { "type": "string", - "description": "this is the error response code that management partner operations may return", - "enum": [ - "NotFound", - "Conflict", - "BadRequest" - ] + "description": "this is the error response code that management partner operations may return" }, "Error": { "type": "object", @@ -336,6 +331,14 @@ "error": { "$ref": "#/definitions/ExtendedErrorInfo", "description": "this is the ExtendedErrorInfo property" + }, + "code": { + "$ref": "#/definitions/ErrorResponseCode", + "description": "this is the error response code" + }, + "message": { + "type": "string", + "description": "this is the extended error info message" } } }, diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/cancelSubscription.json b/specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/cancelSubscription.json index fa4488fe3ba5..771fd7ec7040 100644 --- a/specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/cancelSubscription.json +++ b/specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/cancelSubscription.json @@ -6,7 +6,7 @@ "responses": { "200": { "body": { - "value": "83aa47df-e3e9-49ff-877b-94304bf3d3ad" + "subscriptionId": "83aa47df-e3e9-49ff-877b-94304bf3d3ad" } } } diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/changeTenantPolicy.json b/specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/changeTenantPolicy.json index e32e2da8778f..c959ca954889 100644 --- a/specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/changeTenantPolicy.json +++ b/specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/changeTenantPolicy.json @@ -11,7 +11,7 @@ } }, "responses": { - "201": { + "200": { "body": { "id": "providers/Microsoft.Subscription/policies/default", "name": "default", diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/enableSubscription.json b/specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/enableSubscription.json index a037a59b54c7..b8b6498215d1 100644 --- a/specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/enableSubscription.json +++ b/specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/enableSubscription.json @@ -6,7 +6,7 @@ "responses": { "200": { "body": { - "value": "7948bcee-488c-47ce-941c-38e20ede803d" + "subscriptionId": "7948bcee-488c-47ce-941c-38e20ede803d" } } } diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/renameSubscription.json b/specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/renameSubscription.json index aca74fcc469d..ff7c4b90ed0c 100644 --- a/specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/renameSubscription.json +++ b/specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/renameSubscription.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "value": "83aa47df-e3e9-49ff-877b-94304bf3d3ad" + "subscriptionId": "83aa47df-e3e9-49ff-877b-94304bf3d3ad" } } } diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/subscriptions.json b/specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/subscriptions.json index 164ffff06e67..a2cc0edc15ff 100644 --- a/specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/subscriptions.json +++ b/specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/subscriptions.json @@ -291,7 +291,7 @@ ] } }, - "/providers/Microsoft.Subscription/{subscriptionId}/acceptOwnership": { + "/providers/Microsoft.Subscription/subscriptions/{subscriptionId}/acceptOwnership": { "post": { "description": "Accept subscription ownership.", "operationId": "Subscription_AcceptOwnership", @@ -341,7 +341,7 @@ ] } }, - "/providers/Microsoft.Subscription/{subscriptionId}/acceptOwnershipStatus": { + "/providers/Microsoft.Subscription/subscriptions/{subscriptionId}/acceptOwnershipStatus": { "get": { "description": "Accept subscription ownership status.", "operationId": "Subscription_AcceptOwnershipStatus", @@ -384,7 +384,7 @@ } }, "responses": { - "201": { + "200": { "description": "Subscription tenant policy has been successfully created/updated.", "schema": { "$ref": "#/definitions/GetTenantPolicyResponse" @@ -544,7 +544,7 @@ "description": "The ID of the canceled subscription", "type": "object", "properties": { - "value": { + "subscriptionId": { "description": "The ID of the canceled subscription", "type": "string", "readOnly": true @@ -555,7 +555,7 @@ "description": "The ID of the subscriptions that is being renamed", "type": "object", "properties": { - "value": { + "subscriptionId": { "description": "The ID of the subscriptions that is being renamed", "type": "string", "readOnly": true @@ -566,7 +566,7 @@ "description": "The ID of the subscriptions that is being enabled", "type": "object", "properties": { - "value": { + "subscriptionId": { "description": "The ID of the subscriptions that is being enabled", "type": "string", "readOnly": true @@ -781,6 +781,10 @@ "description": "The Management Group Id.", "type": "string" }, + "createdTime": { + "description": "Created Time", + "type": "string" + }, "tags": { "description": "Tags for the subscription", "type": "object", diff --git a/specification/subscription/resource-manager/readme.md b/specification/subscription/resource-manager/readme.md index 4822bc40453c..db0a65111c33 100644 --- a/specification/subscription/resource-manager/readme.md +++ b/specification/subscription/resource-manager/readme.md @@ -40,6 +40,7 @@ These settings apply only when `--tag=package-2021-10` is specified on the comma ``` yaml $(tag) == 'package-2021-10' input-file: +- Microsoft.Subscription/stable/2016-06-01/subscriptions.json - Microsoft.Subscription/stable/2021-10-01/subscriptions.json title: SubscriptionClient description: The subscription client