Skip to content

Commit

Permalink
Add new api-version in go SDK for operationalinsights (Azure#11213)
Browse files Browse the repository at this point in the history
* Add new api-version in go SDK for operationalinsights

* Trying to resolve the modeler error

* unify another description

* Fix modeler issue

* Fix another description

* change some statement
  • Loading branch information
ArcturusZhang authored and giromm2ms committed Dec 20, 2020
1 parent b812eb3 commit a1d78d4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@
"in": "query",
"required": true,
"type": "string",
"description": "Client Api Version."
"description": "The client API version."
},
"ResourceGroupNameParameter": {
"name": "resourceGroupName",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
"in": "query",
"required": true,
"type": "string",
"description": "Client Api Version."
"description": "The client API version."
},
"ResourceGroupNameParameter": {
"name": "resourceGroupName",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@
"in": "path",
"required": true,
"type": "string",
"description": "The workspace's resource subscription ID."
"description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
},
"ApiVersionParameter": {
"name": "api-version",
Expand All @@ -652,7 +652,7 @@
"required": true,
"type": "string",
"x-ms-parameter-location": "method",
"description": "The workspace's resource group name.",
"description": "The name of the resource group to get. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
Expand Down
10 changes: 10 additions & 0 deletions specification/operationalinsights/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ go:
batch:
- tag: package-2015-03
- tag: package-2015-11-preview
- tag: package-2019-08-preview
- tag: package-2020-03-preview
- tag: package-2020-08
```
Expand All @@ -28,6 +29,15 @@ Please also specify `--go-sdk-folder=<path to the root directory of your azure-s
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2015-03-20/$(namespace)
```

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

These settings apply only when `--tag=package-2019-08-preview --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-2019-08-preview' && $(go)
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-08-01-preview/$(namespace)
```

### Tag: package-2015-11-preview and go

These settings apply only when `--tag=package-2015-11-preview --go` is specified on the command line.
Expand Down

0 comments on commit a1d78d4

Please sign in to comment.