diff --git a/specification/authorization/resource-manager/readme.csharp.md b/specification/authorization/resource-manager/readme.csharp.md index 1fdc24927763..dc6684e48ca7 100644 --- a/specification/authorization/resource-manager/readme.csharp.md +++ b/specification/authorization/resource-manager/readme.csharp.md @@ -15,6 +15,43 @@ csharp: clear-output-folder: true ``` +### Tag: package-locks-2016-09 + +These settings apply only when `--tag=package-locks-2016-09` is specified on the command line. + +``` yaml $(tag) == 'package-locks-2016-09' +input-file: +- ../../resources/resource-manager/Microsoft.Authorization/stable/2016-09-01/locks.json +``` + +### Tag: package-locks-2015-01 + +These settings apply only when `--tag=package-locks-2015-01` is specified on the command line. + +``` yaml $(tag) == 'package-locks-2015-01' +input-file: +- ../../resources/resource-manager/Microsoft.Authorization/stable/2015-01-01/locks.json +``` + +### Tag: package-policy-2016-12 + +These settings apply only when `--tag=package-policy-2016-12` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2016-12' +input-file: +- ../../resources/resource-manager/Microsoft.Authorization/stable/2016-12-01/policyAssignments.json +- ../../resources/resource-manager/Microsoft.Authorization/stable/2016-12-01/policyDefinitions.json +``` + +### Tag: package-policy-2015-10-01-preview + +These settings apply only when `--tag=package-policy-2015-10-01-preview` is specified on the command line. + +``` yaml $(tag) == 'package-policy-2015-10-01-preview' +input-file: +- ../../resources/resource-manager/Microsoft.Authorization/preview/2015-10-01-preview/policy.json +``` + ``` yaml $(csharp) && !$(multiapi) && !$(profile) namespace: Microsoft.Azure.Management.Authorization output-folder: $(csharp-sdks-folder)/Authorization/Management.Authorization/Generated @@ -30,20 +67,33 @@ output-folder: $(csharp-sdks-folder)/$(profile)/Authorization/Management.Authori batch: - tag: package-2015-07 + - tag: package-locks-2015-01 ``` +### Profile: hybrid_2018_03_01 + +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).Authorization output-folder: $(csharp-sdks-folder)/$(profile)/Authorization/Management.Authorization/Generated batch: - tag: package-2015-07 + - tag: package-locks-2016-09 + - tag: package-policy-2016-12 ``` +### Profile: profile_2017_03_09 + +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).Authorization output-folder: $(csharp-sdks-folder)/$(profile)/Authorization/Management.Authorization/Generated batch: - tag: package-2015-07-authorization-only + - tag: package-locks-2015-01 + - tag: package-policy-2015-10-01-preview ``` \ 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 f853685c57aa..ba0564dc40b2 100644 --- a/specification/compute/resource-manager/readme.csharp.md +++ b/specification/compute/resource-manager/readme.csharp.md @@ -37,6 +37,11 @@ batch: ApiVersionName: Api2016_03_30 ``` + +### Profile: hybrid_2018_03_01 + +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).Compute output-folder: $(csharp-sdks-folder)/$(profile)/Compute/Management.Compute/Generated @@ -47,6 +52,10 @@ batch: - tag: package-compute-2017-03 ``` +### Profile: profile_2017_03_09 + +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).Compute output-folder: $(csharp-sdks-folder)/$(profile)/Compute/Management.Compute/Generated diff --git a/specification/dns/resource-manager/readme.csharp.md b/specification/dns/resource-manager/readme.csharp.md new file mode 100644 index 000000000000..297a9fed7a57 --- /dev/null +++ b/specification/dns/resource-manager/readme.csharp.md @@ -0,0 +1,53 @@ +# 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 + +## 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 + payload-flattening-threshold: 2 + clear-output-folder: true +``` + +### Profile: hybrid_2018_03_01 + +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).Dns +output-folder: $(csharp-sdks-folder)/$(profile)/Dns/Management.Dns/Generated + +batch: + - tag: package-2016-04 + +skip-simplifier-on-namespace: + - System.Net +``` + +### Profile: profile_2017_03_09 + +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).Dns +output-folder: $(csharp-sdks-folder)/$(profile)/Dns/Management.Dns/Generated + +batch: + - tag: package-2016-04 + +skip-simplifier-on-namespace: + - System.Net +``` \ No newline at end of file diff --git a/specification/dns/resource-manager/readme.md b/specification/dns/resource-manager/readme.md index 687dde4dc843..690bdbff06d0 100644 --- a/specification/dns/resource-manager/readme.md +++ b/specification/dns/resource-manager/readme.md @@ -162,21 +162,6 @@ swagger-to-sdk: - bundle install && rake arm:regen_all_profiles['azure_mgmt_dns'] ``` -## 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.Dns - payload-flattening-threshold: 2 - output-folder: $(csharp-sdks-folder)/Dns/Management.Dns/Generated - clear-output-folder: true -``` - ## Go See configuration in [readme.go.md](./readme.go.md) @@ -227,4 +212,4 @@ java: output-folder: $(azure-libraries-for-java-folder)/dns/resource-manager/v2016_04_01 regenerate-manager: true generate-interface: true -``` +``` \ 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 b4969a9b3819..81c0ba27aa11 100644 --- a/specification/keyvault/resource-manager/readme.csharp.md +++ b/specification/keyvault/resource-manager/readme.csharp.md @@ -29,6 +29,10 @@ batch: ApiVersionName: Api2016_10_01 ``` +### Profile: hybrid_2018_03_01 + +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).KeyVault output-folder: $(csharp-sdks-folder)/$(profile)/KeyVault/Management.KeyVault/Generated @@ -38,6 +42,10 @@ batch: - tag: package-2015-06 ``` +### Profile: profile_2017_03_09 + +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).KeyVault output-folder: $(csharp-sdks-folder)/$(profile)/KeyVault/Management.KeyVault/Generated diff --git a/specification/network/resource-manager/readme.csharp.md b/specification/network/resource-manager/readme.csharp.md index c38e7f7352a5..078b6d02c492 100644 --- a/specification/network/resource-manager/readme.csharp.md +++ b/specification/network/resource-manager/readme.csharp.md @@ -37,14 +37,21 @@ batch: ApiVersionName: Api2016_06_15 ``` +### Profile: hybrid_2018_03_01 + +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).Network output-folder: $(csharp-sdks-folder)/$(profile)/Network/Management.Network/Generated batch: - - tag: package-2018-05 - 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. + ``` yaml $(profile)=='profile_2017_03_09' namespace: Microsoft.Azure.Management.Profiles.$(profile).Network output-folder: $(csharp-sdks-folder)/$(profile)/Network/Management.Network/Generated diff --git a/specification/resources/resource-manager/readme.csharp.md b/specification/resources/resource-manager/readme.csharp.md index 8dbbc8578b4a..630c5d85a042 100644 --- a/specification/resources/resource-manager/readme.csharp.md +++ b/specification/resources/resource-manager/readme.csharp.md @@ -261,6 +261,10 @@ input-file: - Microsoft.Authorization/stable/2016-12-01/policyDefinitions.json ``` +### Profile: hybrid_2018_03_01 + +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 @@ -275,6 +279,10 @@ batch: - tag: package-subscriptions-2016-06 ``` +### Profile: profile_2017_03_09 + +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 diff --git a/specification/storage/resource-manager/readme.csharp.md b/specification/storage/resource-manager/readme.csharp.md index d6d756d8f550..6cb19ad5cb51 100644 --- a/specification/storage/resource-manager/readme.csharp.md +++ b/specification/storage/resource-manager/readme.csharp.md @@ -34,6 +34,10 @@ batch: ApiVersionName: Api2015_06_05 ``` +### Profile: hybrid_2018_03_01 + +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).Storage output-folder: $(csharp-sdks-folder)/$(profile)/Storage/Management.Storage/Generated @@ -44,6 +48,10 @@ batch: - tag: package-2016-01 ``` +### Profile: profile_2017_03_09 + +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).Storage output-folder: $(csharp-sdks-folder)/$(profile)/Storage/Management.Storage/Generated diff --git a/specification/subscription/resource-manager/readme.csharp.md b/specification/subscription/resource-manager/readme.csharp.md index 46d100eb6fe3..195102b651ea 100644 --- a/specification/subscription/resource-manager/readme.csharp.md +++ b/specification/subscription/resource-manager/readme.csharp.md @@ -34,6 +34,10 @@ batch: ApiVersionName: Api2018_03_01 ``` +### Profile: hybrid_2018_03_01 + +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).Subscription output-folder: $(csharp-sdks-folder)/$(profile)/Subscription/Management.Subscription/Generated diff --git a/specification/web/resource-manager/readme.csharp.md b/specification/web/resource-manager/readme.csharp.md index 011e80111f0e..a670d481e417 100644 --- a/specification/web/resource-manager/readme.csharp.md +++ b/specification/web/resource-manager/readme.csharp.md @@ -33,6 +33,10 @@ batch: ApiVersionName: Api2016_08_01 ``` +### Profile: hybrid_2018_03_01 + +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).WebSites output-folder: $(csharp-sdks-folder)/$(profile)/Websites/Management.Websites/Generated