Skip to content

Commit 09a8448

Browse files
subscription quick fix (#10486)
* subscription quick fix * Update readme.go.md add configuration for latest tag * Update subscriptions.json * quick fix * Update specification/subscription/resource-manager/readme.go.md Co-authored-by: Arcturus <[email protected]> Co-authored-by: Arcturus <[email protected]>
1 parent e83adc1 commit 09a8448

File tree

2 files changed

+42
-5
lines changed

2 files changed

+42
-5
lines changed

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

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
"paths": {
1919
"/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/cancel": {
2020
"post": {
21+
"tags": [
22+
"Subscription"
23+
],
2124
"operationId": "Subscription_Cancel",
2225
"x-ms-examples": {
2326
"cancelSubscription": {
@@ -51,6 +54,9 @@
5154
},
5255
"/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/rename": {
5356
"post": {
57+
"tags": [
58+
"Subscription"
59+
],
5460
"operationId": "Subscription_Rename",
5561
"x-ms-examples": {
5662
"renameSubscription": {
@@ -87,6 +93,9 @@
8793
},
8894
"/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/enable": {
8995
"post": {
96+
"tags": [
97+
"Subscription"
98+
],
9099
"operationId": "Subscription_Enable",
91100
"x-ms-examples": {
92101
"enableSubscription": {
@@ -120,6 +129,9 @@
120129
},
121130
"/providers/Microsoft.Subscription/operations": {
122131
"get": {
132+
"tags": [
133+
"Operations"
134+
],
123135
"description": "Lists all of the available Microsoft.Subscription API operations.",
124136
"operationId": "Operations_List",
125137
"x-ms-examples": {
@@ -150,8 +162,11 @@
150162
},
151163
"/providers/Microsoft.Subscription/aliases/{aliasName}": {
152164
"put": {
165+
"tags": [
166+
"Alias"
167+
],
153168
"description": "Create Alias Subscription.",
154-
"operationId": "Subscription_CreateAlias",
169+
"operationId": "Alias_Create",
155170
"x-ms-examples": {
156171
"CreateAlias": {
157172
"$ref": "./examples/createAlias.json"
@@ -196,8 +211,11 @@
196211
]
197212
},
198213
"get": {
214+
"tags": [
215+
"Alias"
216+
],
199217
"description": "Get Alias Subscription.",
200-
"operationId": "Subscription_GetAlias",
218+
"operationId": "Alias_Get",
201219
"x-ms-examples": {
202220
"GetAlias": {
203221
"$ref": "./examples/getAlias.json"
@@ -227,8 +245,11 @@
227245
]
228246
},
229247
"delete": {
248+
"tags": [
249+
"Alias"
250+
],
230251
"description": "Delete Alias.",
231-
"operationId": "Subscription_DeleteAlias",
252+
"operationId": "Alias_Delete",
232253
"x-ms-examples": {
233254
"DeleteAlias": {
234255
"$ref": "./examples/deleteAlias.json"
@@ -260,8 +281,11 @@
260281
},
261282
"/providers/Microsoft.Subscription/aliases": {
262283
"get": {
284+
"tags": [
285+
"Alias"
286+
],
263287
"description": "Get Alias Subscription.",
264-
"operationId": "Subscription_ListAlias",
288+
"operationId": "Alias_List",
265289
"x-ms-examples": {
266290
"GetAlias": {
267291
"$ref": "./examples/listAlias.json"
@@ -399,6 +423,9 @@
399423
},
400424
"PutAliasRequest": {
401425
"description": "The parameters required to create a new subscription.",
426+
"required": [
427+
"properties"
428+
],
402429
"type": "object",
403430
"properties": {
404431
"properties": {

specification/subscription/resource-manager/readme.go.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,21 @@ go:
1313
1414
``` yaml $(go) && $(multiapi)
1515
batch:
16+
- tag: package-2020-09
1617
- tag: package-2019-10-preview
1718
- tag: package-2018-03-preview
1819
- tag: package-2017-11-preview
1920
```
2021
22+
### Tag: package-2020-09 and go
23+
24+
These settings apply only when `--tag=package-2020-09 --go` is specified on the command line.
25+
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
26+
27+
``` yaml $(tag)=='package-2020-09' && $(go)
28+
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-09-01/$(namespace)
29+
```
30+
2131
### Tag: package-2019-10-preview and go
2232

2333
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=<path to the root directory of your azure-s
4353

4454
``` yaml $(tag)=='package-2017-11-preview' && $(go)
4555
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2017-11-01-preview/$(namespace)
46-
```
56+
```

0 commit comments

Comments
 (0)