diff --git a/specification/storage/resource-manager/readme.go.md b/specification/storage/resource-manager/readme.go.md new file mode 100644 index 000000000000..704e0541d9a0 --- /dev/null +++ b/specification/storage/resource-manager/readme.go.md @@ -0,0 +1,116 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: storage + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-07 + - tag: package-2018-03 + - tag: package-2018-02 + - tag: package-2017-10 + - tag: package-2017-06 + - tag: package-2016-12 + - tag: package-2016-05 + - tag: package-2016-01 + - tag: package-2015-06 + - tag: package-2015-05-preview +``` + +### Tag: package-2018-07 and go + +These settings apply only when `--tag=package-2018-07 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-07' && $(go) +output-folder: $(go-sdk-folder)/services/storage/mgmt/2018-07-01/storage +``` + +### Tag: package-2018-03 and go + +These settings apply only when `--tag=package-2018-03 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-03' && $(go) +output-folder: $(go-sdk-folder)/services/preview/storage/mgmt/2018-03-01-preview/storage +``` + +### Tag: package-2018-02 and go + +These settings apply only when `--tag=package-2018-02 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-02' && $(go) +output-folder: $(go-sdk-folder)/services/storage/mgmt/2018-02-01/storage +``` + +### Tag: package-2017-10 and go + +These settings apply only when `--tag=package-2017-10 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-10' && $(go) +output-folder: $(go-sdk-folder)/services/storage/mgmt/2017-10-01/storage +``` + +### Tag: package-2017-06 and go + +These settings apply only when `--tag=package-2017-06 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-06' && $(go) +output-folder: $(go-sdk-folder)/services/storage/mgmt/2017-06-01/storage +``` + +### Tag: package-2016-12 and go + +These settings apply only when `--tag=package-2016-12 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-12' && $(go) +output-folder: $(go-sdk-folder)/services/storage/mgmt/2016-12-01/storage +``` + +### Tag: package-2016-05 and go + +These settings apply only when `--tag=package-2016-05 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-05' && $(go) +output-folder: $(go-sdk-folder)/services/storage/mgmt/2016-05-01/storage +``` + +### Tag: package-2016-01 and go + +These settings apply only when `--tag=package-2016-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-01' && $(go) +output-folder: $(go-sdk-folder)/services/storage/mgmt/2016-01-01/storage +``` + +### Tag: package-2015-06 and go + +These settings apply only when `--tag=package-2015-06 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-06' && $(go) +output-folder: $(go-sdk-folder)/services/storage/mgmt/2015-06-15/storage +``` + +### Tag: package-2015-05-preview and go + +These settings apply only when `--tag=package-2015-05-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-05-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/storage/mgmt/2015-05-01-preview/storage +``` diff --git a/specification/storage/resource-manager/readme.md b/specification/storage/resource-manager/readme.md index 1dd387d207aa..31f3500e10f1 100644 --- a/specification/storage/resource-manager/readme.md +++ b/specification/storage/resource-manager/readme.md @@ -189,114 +189,6 @@ swagger-to-sdk: - bundle install && rake arm:regen_all_profiles['azure_mgmt_storage'] ``` -## Go - -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: storage - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-03 - - tag: package-2018-02 - - tag: package-2017-10 - - tag: package-2017-06 - - tag: package-2016-12 - - tag: package-2016-05 - - tag: package-2016-01 - - tag: package-2015-06 - - tag: package-2015-05-preview -``` - -### Tag: package-2018-03 and go - -These settings apply only when `--tag=package-2018-03 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-03' && $(go) -output-folder: $(go-sdk-folder)/services/preview/storage/mgmt/2018-03-01-preview/storage -``` - -### Tag: package-2018-02 and go - -These settings apply only when `--tag=package-2018-02 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-02' && $(go) -output-folder: $(go-sdk-folder)/services/storage/mgmt/2018-02-01/storage -``` - -### Tag: package-2017-10 and go - -These settings apply only when `--tag=package-2017-10 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-10' && $(go) -output-folder: $(go-sdk-folder)/services/storage/mgmt/2017-10-01/storage -``` - -### Tag: package-2017-06 and go - -These settings apply only when `--tag=package-2017-06 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-06' && $(go) -output-folder: $(go-sdk-folder)/services/storage/mgmt/2017-06-01/storage -``` - -### Tag: package-2016-12 and go - -These settings apply only when `--tag=package-2016-12 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-12' && $(go) -output-folder: $(go-sdk-folder)/services/storage/mgmt/2016-12-01/storage -``` - -### Tag: package-2016-05 and go - -These settings apply only when `--tag=package-2016-05 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-05' && $(go) -output-folder: $(go-sdk-folder)/services/storage/mgmt/2016-05-01/storage -``` - -### Tag: package-2016-01 and go - -These settings apply only when `--tag=package-2016-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-01' && $(go) -output-folder: $(go-sdk-folder)/services/storage/mgmt/2016-01-01/storage -``` - -### Tag: package-2015-06 and go - -These settings apply only when `--tag=package-2015-06 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-06' && $(go) -output-folder: $(go-sdk-folder)/services/storage/mgmt/2015-06-15/storage -``` - -### Tag: package-2015-05-preview and go - -These settings apply only when `--tag=package-2015-05-preview --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-05-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/storage/mgmt/2015-05-01-preview/storage -``` - - ## Java These settings apply only when `--java` is specified on the command line.