diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/stable/2020-09-01/subscriptions.json b/specification/subscription/resource-manager/Microsoft.Subscription/stable/2020-09-01/subscriptions.json index 0bfb84b3c1c9..060fc0f8c40b 100644 --- a/specification/subscription/resource-manager/Microsoft.Subscription/stable/2020-09-01/subscriptions.json +++ b/specification/subscription/resource-manager/Microsoft.Subscription/stable/2020-09-01/subscriptions.json @@ -18,6 +18,9 @@ "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/cancel": { "post": { + "tags": [ + "Subscription" + ], "operationId": "Subscription_Cancel", "x-ms-examples": { "cancelSubscription": { @@ -51,6 +54,9 @@ }, "/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/rename": { "post": { + "tags": [ + "Subscription" + ], "operationId": "Subscription_Rename", "x-ms-examples": { "renameSubscription": { @@ -87,6 +93,9 @@ }, "/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/enable": { "post": { + "tags": [ + "Subscription" + ], "operationId": "Subscription_Enable", "x-ms-examples": { "enableSubscription": { @@ -120,6 +129,9 @@ }, "/providers/Microsoft.Subscription/operations": { "get": { + "tags": [ + "Operations" + ], "description": "Lists all of the available Microsoft.Subscription API operations.", "operationId": "Operations_List", "x-ms-examples": { @@ -150,8 +162,11 @@ }, "/providers/Microsoft.Subscription/aliases/{aliasName}": { "put": { + "tags": [ + "Alias" + ], "description": "Create Alias Subscription.", - "operationId": "Subscription_CreateAlias", + "operationId": "Alias_Create", "x-ms-examples": { "CreateAlias": { "$ref": "./examples/createAlias.json" @@ -196,8 +211,11 @@ ] }, "get": { + "tags": [ + "Alias" + ], "description": "Get Alias Subscription.", - "operationId": "Subscription_GetAlias", + "operationId": "Alias_Get", "x-ms-examples": { "GetAlias": { "$ref": "./examples/getAlias.json" @@ -227,8 +245,11 @@ ] }, "delete": { + "tags": [ + "Alias" + ], "description": "Delete Alias.", - "operationId": "Subscription_DeleteAlias", + "operationId": "Alias_Delete", "x-ms-examples": { "DeleteAlias": { "$ref": "./examples/deleteAlias.json" @@ -260,8 +281,11 @@ }, "/providers/Microsoft.Subscription/aliases": { "get": { + "tags": [ + "Alias" + ], "description": "Get Alias Subscription.", - "operationId": "Subscription_ListAlias", + "operationId": "Alias_List", "x-ms-examples": { "GetAlias": { "$ref": "./examples/listAlias.json" @@ -399,6 +423,9 @@ }, "PutAliasRequest": { "description": "The parameters required to create a new subscription.", + "required": [ + "properties" + ], "type": "object", "properties": { "properties": { diff --git a/specification/subscription/resource-manager/readme.go.md b/specification/subscription/resource-manager/readme.go.md index b52d772b3e18..56a77b2375f4 100644 --- a/specification/subscription/resource-manager/readme.go.md +++ b/specification/subscription/resource-manager/readme.go.md @@ -13,11 +13,21 @@ go: ``` yaml $(go) && $(multiapi) batch: + - tag: package-2020-09 - tag: package-2019-10-preview - tag: package-2018-03-preview - tag: package-2017-11-preview ``` +### Tag: package-2020-09 and go + +These settings apply only when `--tag=package-2020-09 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2020-09' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-09-01/$(namespace) +``` + ### Tag: package-2019-10-preview and go These settings apply only when `--tag=package-2019-10-preview --go` is specified on the command line. @@ -43,4 +53,4 @@ Please also specify `--go-sdk-folder=