Skip to content

Commit

Permalink
Update readme files with Hybrid2020 Profile
Browse files Browse the repository at this point in the history
## Update hybrid profile for 
- Authorization
- Commerce
- Compute
- DataBoxEdge
- Dns
- EventHubs
- IotHub
- KeyVault
- Monitor
- Network
- ResourceManager  
- Storage
- Subscription
- WebSites
  • Loading branch information
HarveyLink authored Oct 26, 2020
1 parent 527bdc3 commit cc28f75
Show file tree
Hide file tree
Showing 26 changed files with 411 additions and 2 deletions.
12 changes: 12 additions & 0 deletions specification/authorization/resource-manager/readme.csharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,16 @@ output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Authorization/Management.
batch:
- tag: profile-hybrid-2019-03-01
```

### Profile: hybrid_2020_09_01

These settings apply only when `--csharp-profile=hybrid_2020_09_01` is specified on the command line.

``` yaml $(csharp-profile)=='hybrid_2020_09_01'
namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Authorization
output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Authorization/Management.Authorization/Generated
batch:
- tag: profile-hybrid-2020-09-01
```
13 changes: 13 additions & 0 deletions specification/authorization/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,19 @@ input-file:
- Microsoft.Authorization/stable/2015-07-01/authorization-RoleAssignmentsCalls.json
```

### Tag: profile-hybrid-2020-09-01

These settings apply only when `--tag=profile-hybrid-2020-09-01` is specified on the command line.
Creating this tag to pick proper resources from the hybrid profile.

``` yaml $(tag) == 'profile-hybrid-2020-09-01'
input-file:
- Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json
- Microsoft.Authorization/stable/2015-07-01/authorization-ProviderOperationsCalls.json
- Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json
- Microsoft.Authorization/stable/2015-07-01/authorization-RoleAssignmentsCalls.json
```

---

# Code Generation
Expand Down
35 changes: 35 additions & 0 deletions specification/commerce/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 Commerce.

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

## 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
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
clear-output-folder: true
```
### Profile: hybrid_2020_09_01
These settings apply only when `--csharp-profile=hybrid_2020_09_01` is specified on the command line.

``` yaml $(csharp-profile)=='hybrid_2020_09_01'
namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Commerce
output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Commerce/Management.Commerce/Generated
batch:
- tag: profile-hybrid-2020-09-01
```
9 changes: 9 additions & 0 deletions specification/commerce/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ input-file:
- Microsoft.Commerce/preview/2015-06-01-preview/commerce.json
```

### Tag: profile-hybrid-2020-09-01

These settings apply only when `--tag=profile-hybrid-2020-09-01` is specified on the command line.

``` yaml $(tag) == 'profile-hybrid-2020-09-01'
input-file:
- Microsoft.Commerce/preview/2015-06-01-preview/commerce.json
```

---
# Code Generation

Expand Down
12 changes: 12 additions & 0 deletions specification/compute/resource-manager/readme.csharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,15 @@ output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Compute/Management.Comput
batch:
- tag: profile-hybrid-2019-03-01
```

### Profile: hybrid_2020_09_01

These settings apply only when `--csharp-profile=hybrid_2020_09_01` is specified on the command line.

``` yaml $(csharp-profile)=='hybrid_2020_09_01'
namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Compute
output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Compute/Management.Compute/Generated
batch:
- tag: profile-hybrid-2020-09-01
```
14 changes: 12 additions & 2 deletions specification/compute/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,17 @@ input-file:
- Microsoft.Compute/stable/2017-03-30/disk.json
```

## AzureResourceSchema
### Tag: profile-hybrid-2020-09-01

These settings apply only when `--tag=profile-hybrid-2020-09-01` is specified on the command line.
Creating this tag to pick proper resources from the hybrid profile.

See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md)
``` yaml $(tag) == 'profile-hybrid-2020-09-01'
input-file:
- Microsoft.Compute/stable/2020-06-01/compute.json
- Microsoft.Compute/stable/2019-07-01/disk.json
```

## AzureResourceSchema

See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md)
35 changes: 35 additions & 0 deletions specification/databoxedge/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 DataBoxEdge.

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

## 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
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
clear-output-folder: true
```
### Profile: hybrid_2020_09_01
These settings apply only when `--csharp-profile=hybrid_2020_09_01` is specified on the command line.

``` yaml $(csharp-profile)=='hybrid_2020_09_01'
namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).DataBoxEdge
output-folder: $(csharp-sdks-folder)/$(csharp-profile)/DataBoxEdge/Management.DataBoxEdge/Generated
batch:
- tag: profile-hybrid-2020-09-01
```
10 changes: 10 additions & 0 deletions specification/databoxedge/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@ These settings apply only when `--tag=package-2019-03` is specified on the comma
input-file:
- Microsoft.DataBoxEdge/stable/2019-03-01/databoxedge.json
```

### Tag: profile-hybrid-2020-09-01

These settings apply only when `--tag=profile-hybrid-2020-09-01` is specified on the command line.

``` yaml $(tag) == 'profile-hybrid-2020-09-01'
input-file:
- Microsoft.DataBoxEdge/stable/2019-08-01/databoxedge.json
```

---
# Code Generation

Expand Down
15 changes: 15 additions & 0 deletions specification/dns/resource-manager/readme.csharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,21 @@ output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Dns/Management.Dns/Genera
batch:
- tag: profile-hybrid-2019-03-01
skip-simplifier-on-namespace:
- System.Net
```

### Profile: hybrid_2020_09_01

These settings apply only when `--csharp-profile=hybrid_2020_09_01` is specified on the command line.

``` yaml $(csharp-profile)=='hybrid_2020_09_01'
namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Dns
output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Dns/Management.Dns/Generated
batch:
- tag: profile-hybrid-2020-09-01
skip-simplifier-on-namespace:
- System.Net
```
9 changes: 9 additions & 0 deletions specification/dns/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,15 @@ input-file:
- Microsoft.Network/preview/2015-05-04-preview/dns.json
```

### Tag: profile-hybrid-2020-09-01

These settings apply only when `--tag=profile-hybrid-2020-09-01` is specified on the command line.

``` yaml $(tag) == 'profile-hybrid-2020-09-01'
input-file:
- Microsoft.Network/stable/2016-04-01/dns.json
```

# Code Generation

## Swagger to SDK
Expand Down
35 changes: 35 additions & 0 deletions specification/eventhub/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

## 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
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
clear-output-folder: true
```
### Profile: hybrid_2020_09_01
These settings apply only when `--csharp-profile=hybrid_2020_09_01` is specified on the command line.

``` yaml $(csharp-profile)=='hybrid_2020_09_01'
namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).EventHubs
output-folder: $(csharp-sdks-folder)/$(csharp-profile)/EventHubs/Management.EventHubs/Generated
batch:
- tag: profile-hybrid-2020-09-01
```
18 changes: 18 additions & 0 deletions specification/eventhub/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,24 @@ input-file:
- Microsoft.EventHub/stable/2017-04-01/sku.json
```

### Tag: profile-hybrid-2020-09-01

These settings apply only when `--tag=profile-hybrid-2020-09-01` is specified on the command line.

``` yaml $(tag) == 'profile-hybrid-2020-09-01'
input-file:
- Microsoft.EventHub/preview/2018-01-01-preview/AvailableClusterRegions-preview.json
- Microsoft.EventHub/preview/2018-01-01-preview/Clusters-preview.json
- Microsoft.EventHub/preview/2018-01-01-preview/namespaces-preview.json
- Microsoft.EventHub/stable/2017-04-01/AuthorizationRules.json
- Microsoft.EventHub/stable/2017-04-01/CheckNameAvailability.json
- Microsoft.EventHub/stable/2017-04-01/consumergroups.json
- Microsoft.EventHub/stable/2017-04-01/disasterRecoveryConfigs.json
- Microsoft.EventHub/stable/2017-04-01/operations.json
- Microsoft.EventHub/stable/2017-04-01/eventhubs.json
- Microsoft.EventHub/stable/2017-04-01/sku.json
```


---
# Code Generation
Expand Down
35 changes: 35 additions & 0 deletions specification/iothub/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 IotHub.

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

## 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
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
clear-output-folder: true
```
### Profile: hybrid_2020_09_01
These settings apply only when `--csharp-profile=hybrid_2020_09_01` is specified on the command line.

``` yaml $(csharp-profile)=='hybrid_2020_09_01'
namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).IotHub
output-folder: $(csharp-sdks-folder)/$(csharp-profile)/IotHub/Management.IotHub/Generated
batch:
- tag: profile-hybrid-2020-09-01
```
9 changes: 9 additions & 0 deletions specification/iothub/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,15 @@ input-file:
- Microsoft.Devices/stable/2016-02-03/iothub.json
```

### Tag: profile-hybrid-2020-09-01

These settings apply only when `--tag=profile-hybrid-2020-09-01` is specified on the command line.

``` yaml $(tag) == 'profile-hybrid-2020-09-01'
input-file:
- Microsoft.Devices/preview/2019-07-01-preview/iothub.json
```

---

# Code Generation
Expand Down
12 changes: 12 additions & 0 deletions specification/keyvault/resource-manager/readme.csharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,16 @@ output-folder: $(csharp-sdks-folder)/$(csharp-profile)/KeyVault/Management.KeyVa
batch:
- tag: profile-hybrid-2019-03-01
```

### Profile: hybrid_2020_09_01

These settings apply only when `--csharp-profile=hybrid_2020_09_01` is specified on the command line.

``` yaml $(csharp-profile)=='hybrid_2020_09_01'
namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).KeyVault
output-folder: $(csharp-sdks-folder)/$(csharp-profile)/KeyVault/Management.KeyVault/Generated
batch:
- tag: profile-hybrid-2020-09-01
```
12 changes: 12 additions & 0 deletions specification/keyvault/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,18 @@ input-file:
- Microsoft.KeyVault/stable/2015-06-01/keyvault.json
```

### Tag: profile-hybrid-2020-09-01

These settings apply only when `--tag=profile-hybrid-2020-09-01` is specified on the command line.
Creating this tag to pick proper resources from the hybrid profile.

``` yaml $(tag) == 'profile-hybrid-2020-09-01'
input-file:
- Microsoft.KeyVault/stable/2019-09-01/keyvault.json
- Microsoft.KeyVault/stable/2019-09-01/providers.json
- Microsoft.KeyVault/stable/2019-09-01/secrets.json
```

### Supressions

``` yaml
Expand Down
12 changes: 12 additions & 0 deletions specification/monitor/resource-manager/readme.csharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,16 @@ output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Monitor/Management.Monito
batch:
- tag: profile-hybrid-2019-03-01
```

### Profile: hybrid_2020_09_01

These settings apply only when `--csharp-profile=hybrid_2020_09_01` is specified on the command line.

``` yaml $(csharp-profile)=='hybrid_2020_09_01'
namespace: Microsoft.Azure.Management.Profiles.$(csharp-profile).Monitor
output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Monitor/Management.Monitor/Generated
batch:
- tag: profile-hybrid-2020-09-01
```
Loading

0 comments on commit cc28f75

Please sign in to comment.