Skip to content

Commit e0a8cac

Browse files
authored
Microsoft.BareMetalInfrastructure: correctly annotate read-only properties with readOnly (#15255)
* Microsoft.BareMetalInfrastructure: correctly annotate read-only properties with readOnly * Use multi-api and namespace formats for Go SDK like hanaonazure does
1 parent 3bae02c commit e0a8cac

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/preview/2020-08-06-preview/baremetalinfrastructure.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,7 @@
720720
"description": "Displayed AzureBareMetal operation information"
721721
},
722722
"isDataAction": {
723+
"readOnly": true,
723724
"description": "indicates whether an operation is a data action or not.",
724725
"type": "boolean"
725726
}

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,17 @@ These settings apply only when `--go` is specified on the command line.
55
```yaml $(go)
66
go:
77
license-header: MICROSOFT_MIT_NO_VERSION
8+
namespace: baremetalinfrastructure
89
clear-output-folder: true
910
```
1011
12+
### Go multi-api
13+
14+
``` yaml $(go) && $(multiapi)
15+
batch:
16+
- tag: package-2020-08-06-preview
17+
```
18+
1119
### Tag: package-2020-08-06-preview and go
1220
1321
These settings apply only when `--tag=package-2020-08-06-preview --go` is specified on the command line.

0 commit comments

Comments
 (0)