diff --git a/specification/network/resource-manager/readme.go.md b/specification/network/resource-manager/readme.go.md new file mode 100644 index 000000000000..99fe11bfb312 --- /dev/null +++ b/specification/network/resource-manager/readme.go.md @@ -0,0 +1,186 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: network + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2018-07 + - tag: package-2018-06 + - tag: package-2018-04 + - tag: package-2018-02 + - tag: package-2018-01 + - tag: package-2017-11 + - tag: package-2017-10 + - tag: package-2017-09 + - tag: package-2017-08 + - tag: package-2017-06 + - tag: package-2017-03 + - tag: package-2016-12 + - tag: package-2016-09 + - tag: package-2016-06 + - tag: package-2016-03 + - tag: package-2015-06split + - 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/network/mgmt/2018-07-01/network +``` + +### Tag: package-2018-06 and go + +These settings apply only when `--tag=package-2018-06 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-06' && $(go) +output-folder: $(go-sdk-folder)/services/network/mgmt/2018-06-01/network +``` + +### Tag: package-2018-04 and go + +These settings apply only when `--tag=package-2018-04 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-04' && $(go) +output-folder: $(go-sdk-folder)/services/network/mgmt/2018-04-01/network +``` + +### 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/network/mgmt/2018-02-01/network +``` + +### Tag: package-2018-01 and go + +These settings apply only when `--tag=package-2018-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2018-01' && $(go) +output-folder: $(go-sdk-folder)/services/network/mgmt/2018-01-01/network +``` + +### Tag: package-2017-11 and go + +These settings apply only when `--tag=package-2017-11 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-11' && $(go) +output-folder: $(go-sdk-folder)/services/network/mgmt/2017-11-01/network +``` + +### 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/network/mgmt/2017-10-01/network +``` + +### Tag: package-2017-09 and go + +These settings apply only when `--tag=package-2017-09 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-09' && $(go) +output-folder: $(go-sdk-folder)/services/network/mgmt/2017-09-01/network +``` + +### Tag: package-2017-08 and go + +These settings apply only when `--tag=package-2017-08 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-08' && $(go) +output-folder: $(go-sdk-folder)/services/network/mgmt/2017-08-01/network +``` + +### 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/network/mgmt/2017-06-01/network +``` + +### Tag: package-2017-03 and go + +These settings apply only when `--tag=package-2017-03 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-03' && $(go) +output-folder: $(go-sdk-folder)/services/network/mgmt/2017-03-01/network +``` + +### 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/network/mgmt/2016-12-01/network +``` + +### Tag: package-2016-09 and go + +These settings apply only when `--tag=package-2016-09 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-09' && $(go) +output-folder: $(go-sdk-folder)/services/network/mgmt/2016-09-01/network +``` + +### Tag: package-2016-06 and go + +These settings apply only when `--tag=package-2016-06 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-06' && $(go) +output-folder: $(go-sdk-folder)/services/network/mgmt/2016-06-01/network +``` + +### Tag: package-2016-03 and go + +These settings apply only when `--tag=package-2016-03 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-03' && $(go) +output-folder: $(go-sdk-folder)/services/network/mgmt/2016-03-30/network +``` + +### Tag: package-2015-06split and go + +These settings apply only when `--tag=package-2015-06split --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2015-06split' && $(go) +output-folder: $(go-sdk-folder)/services/network/mgmt/2015-06-15/network +``` + +### 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/network/mgmt/2015-05-01-preview/network +``` diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md index ec5844e98c95..92906bde5e28 100644 --- a/specification/network/resource-manager/readme.md +++ b/specification/network/resource-manager/readme.md @@ -709,66 +709,6 @@ swagger-to-sdk: - bundle install && rake arm:regen_all_profiles['azure_mgmt_network'] ``` -## Go - -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: network - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2018-06 - - tag: package-2018-04 - - tag: package-2018-02 - - tag: package-2018-01 - - tag: package-2017-11 - - tag: package-2017-10 - - tag: package-2017-09 - - tag: package-2017-08 - - tag: package-2017-06 - - tag: package-2017-03 - - tag: package-2016-12 - - tag: package-2016-09 - - tag: package-2016-06 - - tag: package-2016-03 - - tag: package-2015-06split - - tag: package-2015-05-preview -``` - -### Tag: package-2018-06 and go - -These settings apply only when `--tag=package-2018-06 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-06' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2018-06-01/network -``` - -### Tag: package-2018-04 and go - -These settings apply only when `--tag=package-2018-04 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-04' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2018-04-01/network -``` - -### 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/network/mgmt/2018-02-01/network -``` - ## Suppression ``` yaml directive: @@ -789,124 +729,6 @@ directive: reason: Accidentally shipped with wrong casing - however fixing the casing is introducing a breaking change which is worse than living with the naming violation ``` -### Tag: package-2018-01 and go - -These settings apply only when `--tag=package-2018-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2018-01' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2018-01-01/network -``` - -### Tag: package-2017-11 and go - -These settings apply only when `--tag=package-2017-11 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-11' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2017-11-01/network -``` - -### 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/network/mgmt/2017-10-01/network -``` - -### Tag: package-2017-09 and go - -These settings apply only when `--tag=package-2017-09 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-09' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2017-09-01/network -``` - -### Tag: package-2017-08 and go - -These settings apply only when `--tag=package-2017-08 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-08' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2017-08-01/network -``` - -### 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/network/mgmt/2017-06-01/network -``` - -### Tag: package-2017-03 and go - -These settings apply only when `--tag=package-2017-03 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2017-03' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2017-03-01/network -``` - -### 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/network/mgmt/2016-12-01/network -``` - -### Tag: package-2016-09 and go - -These settings apply only when `--tag=package-2016-09 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-09' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2016-09-01/network -``` - -### Tag: package-2016-06 and go - -These settings apply only when `--tag=package-2016-06 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-06' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2016-06-01/network -``` - -### Tag: package-2016-03 and go - -These settings apply only when `--tag=package-2016-03 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-03' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2016-03-30/network -``` - -### Tag: package-2015-06split and go - -These settings apply only when `--tag=package-2015-06split --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2015-06split' && $(go) -output-folder: $(go-sdk-folder)/services/network/mgmt/2015-06-15/network -``` - -### 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/network/mgmt/2015-05-01-preview/network -``` - - ## Java These settings apply only when `--java` is specified on the command line.