Skip to content

Commit

Permalink
Adding new profile hybrid_2019_03_01 for dotnet (#5822)
Browse files Browse the repository at this point in the history
* Adding new profile

* Fixes for resources RP
  • Loading branch information
dsgouda authored and sergey-shandar committed May 1, 2019
1 parent 8762361 commit a95ceec
Show file tree
Hide file tree
Showing 10 changed files with 202 additions and 82 deletions.
34 changes: 23 additions & 11 deletions specification/authorization/resource-manager/readme.csharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
```
30 changes: 21 additions & 9 deletions specification/compute/resource-manager/readme.csharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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
Expand All @@ -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
```
31 changes: 23 additions & 8 deletions specification/dns/resource-manager/readme.csharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
```
30 changes: 21 additions & 9 deletions specification/keyvault/resource-manager/readme.csharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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
Expand All @@ -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
```
35 changes: 35 additions & 0 deletions specification/monitor/resource-manager/readme.csharp.md
Original file line number Diff line number Diff line change
@@ -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=<path to "SDKs" directory of your azure-sdk-for-net clone>`.

## Common C# settings

These settings apply only when `--csharp` is specified on the command line.
Please also specify `--csharp-sdks-folder=<path to "SDKs" directory of your azure-sdk-for-net clone>`.

``` 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
```
15 changes: 0 additions & 15 deletions specification/monitor/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<path to "SDKs" directory of your azure-sdk-for-net clone>`.

``` 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)
Expand Down
30 changes: 21 additions & 9 deletions specification/network/resource-manager/readme.csharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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
```
29 changes: 22 additions & 7 deletions specification/resources/resource-manager/readme.csharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand All @@ -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
```
Loading

0 comments on commit a95ceec

Please sign in to comment.