Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subscription quick fix #10486

Merged
merged 5 commits into from
Aug 21, 2020
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/cancel": {
"post": {
"tags": [
"Subscription"
],
"operationId": "Subscription_Cancel",
"x-ms-examples": {
"cancelSubscription": {
Expand Down Expand Up @@ -51,6 +54,9 @@
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/rename": {
"post": {
"tags": [
"Subscription"
],
"operationId": "Subscription_Rename",
"x-ms-examples": {
"renameSubscription": {
Expand Down Expand Up @@ -87,6 +93,9 @@
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/enable": {
"post": {
"tags": [
"Subscription"
],
"operationId": "Subscription_Enable",
"x-ms-examples": {
"enableSubscription": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -227,8 +245,11 @@
]
},
"delete": {
"tags": [
"Alias"
],
"description": "Delete Alias.",
"operationId": "Subscription_DeleteAlias",
"operationId": "Alias_Delete",
"x-ms-examples": {
"DeleteAlias": {
"$ref": "./examples/deleteAlias.json"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -399,6 +423,9 @@
},
"PutAliasRequest": {
"description": "The parameters required to create a new subscription.",
"required": [
"properties"
],
"type": "object",
"properties": {
"properties": {
Expand Down
12 changes: 11 additions & 1 deletion specification/subscription/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag)=='package-2020-09' && $(go)
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/package-2020-09/$(namespace)
dw511214992 marked this conversation as resolved.
Show resolved Hide resolved
```

### Tag: package-2019-10-preview and go

These settings apply only when `--tag=package-2019-10-preview --go` is specified on the command line.
Expand All @@ -43,4 +53,4 @@ Please also specify `--go-sdk-folder=<path to the root directory of your azure-s

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