Skip to content

Commit

Permalink
remove x-ms-azure-resource to have workspacwe/workspacepatch/datasour… (
Browse files Browse the repository at this point in the history
#9168)

* remove x-ms-azure-resource to have workspacwe/workspacepatch/datasource properly inherited from parent class

* add entry in readme.go.md

* update spec for dotnet SDK

* remove 'x-ms-azure-resource: true' for Cluster

* remove 'x-ms-azure-resource: true' for LinkedService
  • Loading branch information
VeryEarly authored Apr 30, 2020
1 parent 9bd8781 commit c3bb411
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource"
}
],
"description": "The top level Log Analytics cluster resource container.",
"x-ms-azure-resource": true
"description": "The top level Log Analytics cluster resource container."
},
"ClusterListResult": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource"
}
],
"description": "Datasources under OMS Workspace.",
"x-ms-azure-resource": true
"description": "Datasources under OMS Workspace."
},
"DataSourceFilter": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource"
}
],
"description": "The top level Linked service resource container.",
"x-ms-azure-resource": true
"description": "The top level Linked service resource container."
},
"LinkedServiceListResult": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource"
}
],
"description": "Linked storage accounts top level resource container.",
"x-ms-azure-resource": true
"description": "Linked storage accounts top level resource container."
},
"LinkedStorageAccountsListResult": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource"
}
],
"description": "The top level Workspace resource container.",
"x-ms-azure-resource": true
"description": "The top level Workspace resource container."
},
"WorkspacePatch": {
"properties": {
Expand All @@ -412,8 +411,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource"
}
],
"description": "The top level Workspace resource container.",
"x-ms-azure-resource": true
"description": "The top level Workspace resource container."
},
"WorkspaceListResult": {
"properties": {
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-2020-03-preview
```
### Tag: package-2015-03 and go
Expand All @@ -33,4 +34,13 @@ Please also specify `--go-sdk-folder=<path to the root directory of your azure-s

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

### Tag: package-2020-03-preview and go

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

0 comments on commit c3bb411

Please sign in to comment.