diff --git a/specification/authorization/resource-manager/readme.csharp.md b/specification/authorization/resource-manager/readme.csharp.md index dc6684e48ca7..dff04c86ccda 100644 --- a/specification/authorization/resource-manager/readme.csharp.md +++ b/specification/authorization/resource-manager/readme.csharp.md @@ -52,7 +52,7 @@ input-file: - ../../resources/resource-manager/Microsoft.Authorization/preview/2015-10-01-preview/policy.json ``` -``` yaml $(csharp) && !$(multiapi) && !$(profile) +``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile) namespace: Microsoft.Azure.Management.Authorization output-folder: $(csharp-sdks-folder)/Authorization/Management.Authorization/Generated ``` @@ -62,8 +62,8 @@ These settings are for batch mode only: (ie, add `--multiapi` to the command lin ``` yaml $(multiapi) profile: hybrid_2018_03_01 -namespace: Microsoft.Azure.Management.Profiles.$(profile).Authorization -output-folder: $(csharp-sdks-folder)/$(profile)/Authorization/Management.Authorization/Generated +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Authorization +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Authorization/Management.Authorization/Generated batch: - tag: package-2015-07 @@ -72,11 +72,11 @@ batch: ### Profile: hybrid_2018_03_01 -These settings apply only when `--profile=hybrid_2018_03_01` is specified on the command line. +These settings apply only when `--csharp-profile=hybrid_2018_03_01` is specified on the command line. - ``` yaml $(profile)=='hybrid_2018_03_01' -namespace: Microsoft.Azure.Management.Profiles.$(profile).Authorization -output-folder: $(csharp-sdks-folder)/$(profile)/Authorization/Management.Authorization/Generated + ``` yaml $(csharp-profile)=='hybrid_2018_03_01' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Authorization +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Authorization/Management.Authorization/Generated batch: - tag: package-2015-07 @@ -86,14 +86,26 @@ batch: ### Profile: profile_2017_03_09 -These settings apply only when `--profile=profile_2017_03_09` is specified on the command line. +These settings apply only when `--csharp-profile=profile_2017_03_09` is specified on the command line. - ``` yaml $(profile)=='profile_2017_03_09' -namespace: Microsoft.Azure.Management.Profiles.$(profile).Authorization -output-folder: $(csharp-sdks-folder)/$(profile)/Authorization/Management.Authorization/Generated + ``` yaml $(csharp-profile)=='profile_2017_03_09' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Authorization +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Authorization/Management.Authorization/Generated batch: - tag: package-2015-07-authorization-only - tag: package-locks-2015-01 - tag: package-policy-2015-10-01-preview + ``` + + ### Profile: hybrid_2019_03_01 + +These settings apply only when `--csharp-profile=hybrid_2019_03_01` is specified on the command line. + + ``` yaml $(csharp-profile)=='hybrid_2019_03_01' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Authorization +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Authorization/Management.Authorization/Generated + +batch: + - tag: profile-hybrid-2019-03-01 ``` \ No newline at end of file diff --git a/specification/compute/resource-manager/readme.csharp.md b/specification/compute/resource-manager/readme.csharp.md index ba0564dc40b2..3e124e82fb59 100644 --- a/specification/compute/resource-manager/readme.csharp.md +++ b/specification/compute/resource-manager/readme.csharp.md @@ -17,7 +17,7 @@ csharp: clear-output-folder: true ``` -``` yaml $(csharp) && !$(multiapi) && !$(profile) +``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile) namespace: Microsoft.Azure.Management.Compute output-folder: $(csharp-sdks-folder)/Compute/Management.Compute/Generated ``` @@ -40,11 +40,11 @@ batch: ### Profile: hybrid_2018_03_01 -These settings apply only when `--profile=hybrid_2018_03_01` is specified on the command line. +These settings apply only when `--csharp-profile=hybrid_2018_03_01` is specified on the command line. -```yaml $(profile)=='hybrid_2018_03_01' -namespace: Microsoft.Azure.Management.Profiles.$(profile).Compute -output-folder: $(csharp-sdks-folder)/$(profile)/Compute/Management.Compute/Generated +```yaml $(csharp-profile)=='hybrid_2018_03_01' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Compute +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Compute/Management.Compute/Generated batch: - tag: package-disks-2018-04 - tag: package-compute-only-2017-12 @@ -54,12 +54,24 @@ batch: ### Profile: profile_2017_03_09 -These settings apply only when `--profile=profile_2017_03_09` is specified on the command line. +These settings apply only when `--csharp-profile=profile_2017_03_09` is specified on the command line. -``` yaml $(profile)=='profile_2017_03_09' -namespace: Microsoft.Azure.Management.Profiles.$(profile).Compute -output-folder: $(csharp-sdks-folder)/$(profile)/Compute/Management.Compute/Generated +``` yaml $(csharp-profile)=='profile_2017_03_09' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Compute +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Compute/Management.Compute/Generated batch: - tag: package-compute-2016-03 ``` + +### Profile: hybrid_2019_03_01 + +These settings apply only when `--csharp-profile=hybrid_2019_03_01` is specified on the command line. + +``` yaml $(csharp-profile)=='hybrid_2019_03_01' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Compute +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Compute/Management.Compute/Generated + +batch: + - tag: profile-hybrid-2019-03-01 + ``` \ No newline at end of file diff --git a/specification/dns/resource-manager/readme.csharp.md b/specification/dns/resource-manager/readme.csharp.md index 297a9fed7a57..990ec8b1989f 100644 --- a/specification/dns/resource-manager/readme.csharp.md +++ b/specification/dns/resource-manager/readme.csharp.md @@ -24,11 +24,11 @@ csharp: ### Profile: hybrid_2018_03_01 -These settings apply only when `--profile=hybrid_2018_03_01` is specified on the command line. +These settings apply only when `--csharp-profile=hybrid_2018_03_01` is specified on the command line. -```yaml $(profile)=='hybrid_2018_03_01' -namespace: Microsoft.Azure.Management.Profiles.$(profile).Dns -output-folder: $(csharp-sdks-folder)/$(profile)/Dns/Management.Dns/Generated +```yaml $(csharp-profile)=='hybrid_2018_03_01' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Dns +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Dns/Management.Dns/Generated batch: - tag: package-2016-04 @@ -39,15 +39,30 @@ skip-simplifier-on-namespace: ### Profile: profile_2017_03_09 -These settings apply only when `--profile=profile_2017_03_09` is specified on the command line. +These settings apply only when `--csharp-profile=profile_2017_03_09` is specified on the command line. -``` yaml $(profile)=='profile_2017_03_09' -namespace: Microsoft.Azure.Management.Profiles.$(profile).Dns -output-folder: $(csharp-sdks-folder)/$(profile)/Dns/Management.Dns/Generated +``` yaml $(csharp-profile)=='profile_2017_03_09' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Dns +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Dns/Management.Dns/Generated batch: - tag: package-2016-04 +skip-simplifier-on-namespace: + - System.Net +``` + +### Profile: hybrid_2019_03_01 + +These settings apply only when `--csharp-profile=hybrid_2019_03_01` is specified on the command line. + +``` yaml $(csharp-profile)=='hybrid_2019_03_01' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Dns +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Dns/Management.Dns/Generated + +batch: + - tag: profile-hybrid-2019-03-01 + skip-simplifier-on-namespace: - System.Net ``` \ No newline at end of file diff --git a/specification/keyvault/resource-manager/readme.csharp.md b/specification/keyvault/resource-manager/readme.csharp.md index 81c0ba27aa11..f39bdb2b9c46 100644 --- a/specification/keyvault/resource-manager/readme.csharp.md +++ b/specification/keyvault/resource-manager/readme.csharp.md @@ -12,7 +12,7 @@ csharp: clear-output-folder: true ``` -``` yaml $(csharp) && !$(multiapi) && !$(profile) +``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile) namespace: Microsoft.Azure.Management.KeyVault output-folder: $(csharp-sdks-folder)/KeyVault/Management/Management.KeyVault/Generated ``` @@ -31,11 +31,11 @@ batch: ### Profile: hybrid_2018_03_01 -These settings apply only when `--profile=hybrid_2018_03_01` is specified on the command line. +These settings apply only when `--csharp-profile=hybrid_2018_03_01` is specified on the command line. -```yaml $(profile)=='hybrid_2018_03_01' -namespace: Microsoft.Azure.Management.Profiles.$(profile).KeyVault -output-folder: $(csharp-sdks-folder)/$(profile)/KeyVault/Management.KeyVault/Generated +```yaml $(csharp-profile)=='hybrid_2018_03_01' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).KeyVault +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/KeyVault/Management.KeyVault/Generated batch: - tag: package-2016-10 @@ -44,12 +44,24 @@ batch: ### Profile: profile_2017_03_09 -These settings apply only when `--profile=profile_2017_03_09` is specified on the command line. +These settings apply only when `--csharp-profile=profile_2017_03_09` is specified on the command line. -``` yaml $(profile)=='profile_2017_03_09' -namespace: Microsoft.Azure.Management.Profiles.$(profile).KeyVault -output-folder: $(csharp-sdks-folder)/$(profile)/KeyVault/Management.KeyVault/Generated +``` yaml $(csharp-profile)=='profile_2017_03_09' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).KeyVault +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/KeyVault/Management.KeyVault/Generated batch: - tag: package-2016-10 + ``` + +### Profile: hybrid_2019_03_01 + +These settings apply only when `--csharp-profile=hybrid_2019_03_01` is specified on the command line. + +``` yaml $(csharp-profile)=='hybrid_2019_03_01' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).KeyVault +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/KeyVault/Management.KeyVault/Generated + +batch: + - tag: profile-hybrid-2019-03-01 ``` \ No newline at end of file diff --git a/specification/monitor/resource-manager/readme.csharp.md b/specification/monitor/resource-manager/readme.csharp.md new file mode 100644 index 000000000000..7a721415e69f --- /dev/null +++ b/specification/monitor/resource-manager/readme.csharp.md @@ -0,0 +1,35 @@ +# C# Compute + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for DNS. + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +## Common C# settings + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile) +csharp: + azure-arm: true + payload-flattening-threshold: 1 + license-header: MICROSOFT_MIT_NO_VERSION + namespace: Microsoft.Azure.Management.Monitor + output-folder: $(csharp-sdks-folder)/Monitor/Management.Monitor/Generated + clear-output-folder: true +``` + +### Profile: hybrid_2019_03_01 + +These settings apply only when `--csharp-profile=hybrid_2019_03_01` is specified on the command line. + +``` yaml $(csharp-profile)=='hybrid_2019_03_01' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Monitor +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Monitor/Management.Monitor/Generated + +batch: + - tag: profile-hybrid-2019-03-01 + ``` \ No newline at end of file diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md index b87cb42cc969..9debf04da650 100644 --- a/specification/monitor/resource-manager/readme.md +++ b/specification/monitor/resource-manager/readme.md @@ -347,21 +347,6 @@ swagger-to-sdk: - bundle install && rake arm:regen_all_profiles['azure_mgmt_monitor'] ``` -## 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 - payload-flattening-threshold: 1 - license-header: MICROSOFT_MIT_NO_VERSION - namespace: Microsoft.Azure.Management.Monitor - output-folder: $(csharp-sdks-folder)/Monitor/Management.Monitor/Generated - clear-output-folder: true -``` - ## Python See configuration in [readme.python.md](./readme.python.md) diff --git a/specification/network/resource-manager/readme.csharp.md b/specification/network/resource-manager/readme.csharp.md index 078b6d02c492..68c4e41fa1f5 100644 --- a/specification/network/resource-manager/readme.csharp.md +++ b/specification/network/resource-manager/readme.csharp.md @@ -17,7 +17,7 @@ csharp: clear-output-folder: true ``` -``` yaml $(csharp) && !$(multiapi) && !$(profile) +``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile) namespace: Microsoft.Azure.Management.Network output-folder: $(csharp-sdks-folder)/Network/Management.Network/Generated ``` @@ -39,23 +39,35 @@ batch: ### Profile: hybrid_2018_03_01 -These settings apply only when `--profile=hybrid_2018_03_01` is specified on the command line. +These settings apply only when `--csharp-profile=hybrid_2018_03_01` is specified on the command line. -```yaml $(profile)=='hybrid_2018_03_01' -namespace: Microsoft.Azure.Management.Profiles.$(profile).Network -output-folder: $(csharp-sdks-folder)/$(profile)/Network/Management.Network/Generated +```yaml $(csharp-profile)=='hybrid_2018_03_01' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Network +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Network/Management.Network/Generated batch: - tag: package-2017-10 ``` ### Profile: profile_2017_03_09 -These settings apply only when `--profile=profile_2017_03_09` is specified on the command line. +These settings apply only when `--csharp-profile=profile_2017_03_09` is specified on the command line. -``` yaml $(profile)=='profile_2017_03_09' -namespace: Microsoft.Azure.Management.Profiles.$(profile).Network -output-folder: $(csharp-sdks-folder)/$(profile)/Network/Management.Network/Generated +``` yaml $(csharp-profile)=='profile_2017_03_09' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Network +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Network/Management.Network/Generated batch: - tag: package-2015-06split + ``` + +### Profile: hybrid_2019_03_01 + +These settings apply only when `--csharp-profile=hybrid_2019_03_01` is specified on the command line. + +``` yaml $(csharp-profile)=='hybrid_2019_03_01' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Network +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Network/Management.Network/Generated + +batch: + - tag: profile-hybrid-2019-03-01 ``` \ No newline at end of file diff --git a/specification/resources/resource-manager/readme.csharp.md b/specification/resources/resource-manager/readme.csharp.md index 630c5d85a042..4f6cfa4957f6 100644 --- a/specification/resources/resource-manager/readme.csharp.md +++ b/specification/resources/resource-manager/readme.csharp.md @@ -12,7 +12,7 @@ csharp: clear-output-folder: true ``` -``` yaml $(csharp) && !$(multiapi) && !(profile) +``` yaml $(csharp) && !$(multiapi) && !(csharp-profile) namespace: Microsoft.Azure.Management.ResourceManager output-folder: $(csharp-sdks-folder)/Resource/Management.ResourceManager/Generated @@ -265,9 +265,9 @@ input-file: These settings apply only when `--profile=hybrid_2018_03_01` is specified on the command line. -```yaml $(profile)=='hybrid_2018_03_01' -namespace: Microsoft.Azure.Management.Profiles.$(profile).ResourceManager -output-folder: $(csharp-sdks-folder)/$(profile)/Resource/Management.ResourceManager/Generated +```yaml $(csharp-profile)=='hybrid_2018_03_01' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).ResourceManager +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Resource/Management.ResourceManager/Generated batch: - tag: package-features-2015-12 @@ -283,12 +283,27 @@ batch: These settings apply only when `--profile=profile_2017_03_09` is specified on the command line. -``` yaml $(profile)=='profile_2017_03_09' -namespace: Microsoft.Azure.Management.Profiles.$(profile).ResourceManager -output-folder: $(csharp-sdks-folder)/$(profile)/Resource/Management.ResourceManager/Generated +``` yaml $(csharp-profile)=='profile_2017_03_09' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).ResourceManager +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Resource/Management.ResourceManager/Generated batch: - tag: package-resources-2016-02 - tag: package-links-2016-09 - tag: package-subscriptions-2016-06 + ``` + +### Profile: hybrid_2019_03_01 + +These settings apply only when `--csharp-profile=hybrid_2019_03_01` is specified on the command line. + +``` yaml $(csharp-profile)=='hybrid_2019_03_01' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).ResourceManager +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Resource/Management.ResourceManager/Generated + +batch: + - tag: package-policy-2016-12 + - tag: package-locks-2016-09 + - tag: package-subscriptions-2016-06 + - tag: package-resources-2018-05 ``` \ No newline at end of file diff --git a/specification/storage/resource-manager/readme.csharp.md b/specification/storage/resource-manager/readme.csharp.md index 6cb19ad5cb51..9607d4a43480 100644 --- a/specification/storage/resource-manager/readme.csharp.md +++ b/specification/storage/resource-manager/readme.csharp.md @@ -13,7 +13,7 @@ csharp: clear-output-folder: true ``` -``` yaml $(csharp) && !$(multiapi) && !$(profile) +``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile) payload-flattening-threshold: 2 namespace: Microsoft.Azure.Management.Storage output-folder: $(csharp-sdks-folder)/Storage/Management.Storage/Generated @@ -36,11 +36,11 @@ batch: ### Profile: hybrid_2018_03_01 -These settings apply only when `--profile=hybrid_2018_03_01` is specified on the command line. +These settings apply only when `--csharp-profile=hybrid_2018_03_01` is specified on the command line. -```yaml $(profile)=='hybrid_2018_03_01' -namespace: Microsoft.Azure.Management.Profiles.$(profile).Storage -output-folder: $(csharp-sdks-folder)/$(profile)/Storage/Management.Storage/Generated +```yaml $(csharp-profile)=='hybrid_2018_03_01' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Storage +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Storage/Management.Storage/Generated batch: - tag: package-2018-03 - tag: package-2018-02 @@ -50,11 +50,22 @@ batch: ### Profile: profile_2017_03_09 -These settings apply only when `--profile=profile_2017_03_09` is specified on the command line. +These settings apply only when `--csharp-profile=profile_2017_03_09` is specified on the command line. -```yaml $(profile)=='profile_2017_03_09' -namespace: Microsoft.Azure.Management.Profiles.$(profile).Storage -output-folder: $(csharp-sdks-folder)/$(profile)/Storage/Management.Storage/Generated +```yaml $(csharp-profile)=='profile_2017_03_09' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Storage +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Storage/Management.Storage/Generated batch: - tag: package-2016-01 +``` + +### Profile: hybrid_2019_03_01 + +These settings apply only when `--csharp-profile=hybrid_2019_03_01` is specified on the command line. + +``` yaml $(csharp-profile)=='hybrid_2019_03_01' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Storage +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Storage/Management.Storage/Generated +batch: + - tag: profile-hybrid-2019-03-01 ``` \ No newline at end of file diff --git a/specification/web/resource-manager/readme.csharp.md b/specification/web/resource-manager/readme.csharp.md index a670d481e417..bd67530b7beb 100644 --- a/specification/web/resource-manager/readme.csharp.md +++ b/specification/web/resource-manager/readme.csharp.md @@ -15,7 +15,7 @@ csharp: clear-output-folder: true ``` -``` yaml $(csharp) && !$(multiapi) && !$(profile) +``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile) namespace: Microsoft.Azure.Management.WebSites output-folder: $(csharp-sdks-folder)/WebSites/Management.WebSites/Generated ``` @@ -35,11 +35,22 @@ batch: ### Profile: hybrid_2018_03_01 -These settings apply only when `--profile=hybrid_2018_03_01` is specified on the command line. +These settings apply only when `--csharp-profile=hybrid_2018_03_01` is specified on the command line. -```yaml $(profile)=='hybrid_2018_03_01' -namespace: Microsoft.Azure.Management.Profiles.$(profile).WebSites -output-folder: $(csharp-sdks-folder)/$(profile)/Websites/Management.Websites/Generated +```yaml $(csharp-profile)=='hybrid_2018_03_01' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).WebSites +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Websites/Management.Websites/Generated batch: - tag: package-2018-03-01-hybrid-csharp +``` + +### Profile: hybrid_2019_03_01 + +These settings apply only when `--csharp-profile=hybrid_2019_03_01` is specified on the command line. + +``` yaml $(csharp-profile)=='hybrid_2019_03_01' +namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).WebSites +output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Websites/Management.Websites/Generated +batch: + - tag: profile-hybrid-2019-03-01 ``` \ No newline at end of file