diff --git a/specification/cdn/resource-manager/readme.csharp.md b/specification/cdn/resource-manager/readme.csharp.md new file mode 100644 index 000000000000..6cb46ecf1d55 --- /dev/null +++ b/specification/cdn/resource-manager/readme.csharp.md @@ -0,0 +1,14 @@ +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +``` yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + namespace: Microsoft.Azure.Management.Cdn + payload-flattening-threshold: 2 + output-folder: $(csharp-sdks-folder)/Cdn/Management.Cdn/Generated + clear-output-folder: true +``` diff --git a/specification/cdn/resource-manager/readme.go.md b/specification/cdn/resource-manager/readme.go.md new file mode 100644 index 000000000000..10afebd50bb0 --- /dev/null +++ b/specification/cdn/resource-manager/readme.go.md @@ -0,0 +1,66 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + namespace: cdn + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2017-10 + - tag: package-2017-04 + - tag: package-2016-10 + - tag: package-2016-04 + - tag: package-2015-06 +``` + +### 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/cdn/mgmt/2017-10-12/cdn +``` + +### Tag: package-2017-04 and go + +These settings apply only when `--tag=package-2017-04 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2017-04' && $(go) +output-folder: $(go-sdk-folder)/services/cdn/mgmt/2017-04-02/cdn +``` + +### Tag: package-2016-10 and go + +These settings apply only when `--tag=package-2016-10 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-10' && $(go) +output-folder: $(go-sdk-folder)/services/cdn/mgmt/2016-10-02/cdn +``` + +### Tag: package-2016-04 and go + +These settings apply only when `--tag=package-2016-04 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2016-04' && $(go) +output-folder: $(go-sdk-folder)/services/cdn/mgmt/2016-04-02/cdn +``` + +### 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/cdn/mgmt/2015-06-01/cdn +``` diff --git a/specification/cdn/resource-manager/readme.java.md b/specification/cdn/resource-manager/readme.java.md new file mode 100644 index 000000000000..a007070f0c23 --- /dev/null +++ b/specification/cdn/resource-manager/readme.java.md @@ -0,0 +1,14 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +java: + azure-arm: true + fluent: true + namespace: com.microsoft.azure.management.cdn + license-header: MICROSOFT_MIT_NO_CODEGEN + payload-flattening-threshold: 1 + output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-cdn +``` diff --git a/specification/cdn/resource-manager/readme.md b/specification/cdn/resource-manager/readme.md index 45d256028d5a..c49981fedfa6 100644 --- a/specification/cdn/resource-manager/readme.md +++ b/specification/cdn/resource-manager/readme.md @@ -89,131 +89,32 @@ swagger-to-sdk: - repo: azure-sdk-for-python - repo: azure-libraries-for-java - repo: azure-sdk-for-go + - repo: azure-sdk-for-net + - repo: azure-sdk-for-node + - repo: azure-sdk-for-ruby ``` ## C# -These settings apply only when `--csharp` is specified on the command line. -Please also specify `--csharp-sdks-folder=`. - -``` yaml $(csharp) -csharp: - # last generated with AutoRest.1.0.0-Nightly20170212 - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - namespace: Microsoft.Azure.Management.Cdn - payload-flattening-threshold: 2 - output-folder: $(csharp-sdks-folder)/Cdn/Management.Cdn/Generated - clear-output-folder: true -``` +See configuration in [readme.csharp.md](./readme.csharp.md) ## Python -These settings apply only when `--python` is specified on the command line. -Please also specify `--python-sdks-folder=`. -Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. - -``` yaml $(python) -python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.cdn - package-name: azure-mgmt-cdn - clear-output-folder: true -``` -``` yaml $(python) && $(python-mode) == 'update' -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/azure-mgmt-cdn/azure/mgmt/cdn -``` -``` yaml $(python) && $(python-mode) == 'create' -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/azure-mgmt-cdn -``` +See configuration in [readme.python.md](./readme.python.md) ## Go -These settings apply only when `--go` is specified on the command line. - -``` yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: cdn - clear-output-folder: true -``` - -### Go multi-api - -``` yaml $(go) && $(multiapi) -batch: - - tag: package-2017-10 - - tag: package-2017-04 - - tag: package-2016-10 - - tag: package-2016-04 - - tag: package-2015-06 -``` - -### 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/cdn/mgmt/2017-10-12/cdn -``` - -### Tag: package-2017-04 and go - -These settings apply only when `--tag=package-2017-04 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. +See configuration in [readme.go.md](./readme.go.md) -``` yaml $(tag) == 'package-2017-04' && $(go) -output-folder: $(go-sdk-folder)/services/cdn/mgmt/2017-04-02/cdn -``` - -### Tag: package-2016-10 and go - -These settings apply only when `--tag=package-2016-10 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-10' && $(go) -output-folder: $(go-sdk-folder)/services/cdn/mgmt/2016-10-02/cdn -``` - -### Tag: package-2016-04 and go - -These settings apply only when `--tag=package-2016-04 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2016-04' && $(go) -output-folder: $(go-sdk-folder)/services/cdn/mgmt/2016-04-02/cdn -``` +## Java -### Tag: package-2015-06 and go +See configuration in [readme.java.md](./readme.java.md) -These settings apply only when `--tag=package-2015-06 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. +## Node -``` yaml $(tag) == 'package-2015-06' && $(go) -output-folder: $(go-sdk-folder)/services/cdn/mgmt/2015-06-01/cdn -``` +See configuration in [readme.node.md](./readme.node.md) +## Ruby -## Java - -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.cdn - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-cdn -``` +See configuration in [readme.ruby.md](./readme.ruby.md) diff --git a/specification/cdn/resource-manager/readme.nodejs.md b/specification/cdn/resource-manager/readme.nodejs.md new file mode 100644 index 000000000000..de91312a36b4 --- /dev/null +++ b/specification/cdn/resource-manager/readme.nodejs.md @@ -0,0 +1,13 @@ +## Node + +These settings apply only when `--nodejs` is specified on the command line. +Please also specify `--node-sdks-folder=`. + +``` yaml $(nodejs) +nodejs: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + package-name: azure-arm-cdn + output-folder: $(node-sdks-folder)/lib/services/cdnManagement/lib +``` diff --git a/specification/cdn/resource-manager/readme.python.md b/specification/cdn/resource-manager/readme.python.md new file mode 100644 index 000000000000..b7910d6685b0 --- /dev/null +++ b/specification/cdn/resource-manager/readme.python.md @@ -0,0 +1,27 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. +Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. + +``` yaml $(python) +python-mode: create +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.mgmt.cdn + package-name: azure-mgmt-cdn + package-version: 2.0.0 + clear-output-folder: true +``` +``` yaml $(python) && $(python-mode) == 'update' +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/azure-mgmt-cdn/azure/mgmt/cdn +``` +``` yaml $(python) && $(python-mode) == 'create' +python: + basic-setup-py: true + output-folder: $(python-sdks-folder)/azure-mgmt-cdn +``` diff --git a/specification/cdn/resource-manager/readme.ruby.md b/specification/cdn/resource-manager/readme.ruby.md new file mode 100644 index 000000000000..3de075ff9d48 --- /dev/null +++ b/specification/cdn/resource-manager/readme.ruby.md @@ -0,0 +1,71 @@ +## Ruby + +These settings apply only when `--ruby` is specified on the command line. + +``` yaml $(ruby) +ruby: + package-name: azure_mgmt_cdn + package-version": "0.16.0" +``` + +### Ruby multi-api + +``` yaml $(ruby) && $(multiapi) +batch: + - tag: package-2017-10 + - tag: package-2017-04 + - tag: package-2016-10 + - tag: package-2016-04 + - tag: package-2015-06 +``` + +### Tag: package-2017-10 and ruby + +These settings apply only when `--tag=package-2017-10 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-2017-10' && $(ruby) +namespace: "Azure::CDN::Mgmt::V2017_10_23" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_cdn/lib/2017-10-12 +``` + + +### Tag: package-2017-04 and ruby + +These settings apply only when `--tag=package-2017-04 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-2017-04' && $(ruby) +namespace: "Azure::CDN::Mgmt::V2017_04_02" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_cdn/lib/2017-04-02 +``` + +### Tag: package-2016-10 and ruby + +These settings apply only when `--tag=package-2016-10 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-2016-10' && $(ruby) +namespace: "Azure::CDN::Mgmt::V2016_10_02" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_cdn/lib/2016-10-02 +``` + +### Tag: package-2016-04 and ruby + +These settings apply only when `--tag=package-2016-04 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-2016-04' && $(ruby) +namespace: "Azure::CDN::Mgmt::V2016_04_02" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_cdn/lib/2016-04-02 +``` + +### Tag: package-2015-06 and ruby + +These settings apply only when `--tag=package-2015-06 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-2015-06' && $(ruby) +namespace: "Azure::CDN::Mgmt::V2015_06_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_cdn/lib/2015-06-01 +```