-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating separate csharp readme for multiApi support #2954
Merged
Merged
Changes from 2 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
c40957c
Adding CSharp readme for multiApi support
97c914d
updating the config to retain previously set defaults
1464845
Updating Authorization, Resource manager multi api tags for Azure Stack
c123962
Fixing to the correct tag name
5daadb0
adjusting casing for multiapi switch. Adding defualt config setting f…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
specification/authorization/resource-manager/readme.csharp.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# C# Authorization | ||
|
||
> 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 | ||
|
||
``` yaml !$(MultiApi) | ||
azure-arm: true | ||
license-header: MICROSOFT_MIT_NO_VERSION | ||
clear-output-folder: true | ||
namespace: Microsoft.Azure.Management.Authorization | ||
output-folder: $(csharp-sdks-folder)/Authorization/Management.Authorization/Generated | ||
``` | ||
|
||
## Batch settings | ||
These settings are for batch mode only: (ie, add `--MultiApi` to the command line ) | ||
|
||
``` yaml $(MultiApi) | ||
namespace: Microsoft.Azure.Management.Authorization.$(ApiVersionName) | ||
output-folder: $(csharp-sdks-folder)/$(ApiVersionName)/Generated | ||
|
||
batch: | ||
- tag: package-2015-07 | ||
ApiVersionName: Api2015_07_01 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# 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 | ||
|
||
``` yaml !$(MultiApi) | ||
azure-arm: true | ||
license-header: MICROSOFT_MIT_NO_VERSION | ||
payload-flattening-threshold: 1 | ||
clear-output-folder: true | ||
namespace: Microsoft.Azure.Management.Compute | ||
output-folder: $(csharp-sdks-folder)/Compute/Management.Compute/Generated | ||
``` | ||
|
||
## Batch settings | ||
These settings are for batch mode only: (ie, add `--MultiApi` to the command line ) | ||
|
||
``` yaml $(MultiApi) | ||
namespace: Microsoft.Azure.Management.Compute.$(ApiVersionName) | ||
output-folder: $(csharp-sdks-folder)/$(ApiVersionName)/Generated | ||
|
||
batch: | ||
- tag: package-2017-03 | ||
ApiVersionName: Api2017_03_30 | ||
|
||
- tag: package-2016-03 | ||
ApiVersionName: Api2016_03_30 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# C# KeyVault | ||
|
||
> see https://aka.ms/autorest | ||
|
||
This is the AutoRest configuration file for DNS. | ||
|
||
## Common settings | ||
``` yaml !$(MultiApi) | ||
azure-arm: true | ||
license-header: MICROSOFT_MIT_NO_VERSION | ||
clear-output-folder: true | ||
namespace: Microsoft.Azure.Management.KeyVault | ||
output-folder: $(csharp-sdks-folder)/KeyVault/Management/Management.KeyVault/Generated | ||
``` | ||
|
||
## Batch settings | ||
These settings are for batch mode only: (ie, add `--MultiApi` to the command line ) | ||
|
||
``` yaml $(MultiApi) | ||
namespace: Microsoft.Azure.Management.KeyVault.$(ApiVersionName) | ||
output-folder: $(csharp-sdks-folder)/$(ApiVersionName)/Generated | ||
|
||
batch: | ||
- tag: package-2016-10 | ||
ApiVersionName: Api2016_10_01 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# C# Network | ||
|
||
> see https://aka.ms/autorest | ||
|
||
This is the AutoRest configuration file for DNS. | ||
|
||
## Common 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>`. | ||
|
||
## Common Settings | ||
``` yaml !$(MultiApi) | ||
azure-arm: true | ||
license-header: MICROSOFT_MIT_NO_VERSION | ||
clear-output-folder: true | ||
namespace: Microsoft.Azure.Management.Network | ||
output-folder: $(csharp-sdks-folder)/Network/Management.Network/Generated | ||
``` | ||
|
||
## MultiApi settings | ||
These settings are for batch mode only: (ie, add `--MultiApi` to the command line ) | ||
|
||
``` yaml $(MultiApi) | ||
namespace: Microsoft.Azure.Management.Network.$(ApiVersionName) | ||
output-folder: $(csharp-sdks-folder)/$(ApiVersionName)/Generated | ||
|
||
batch: | ||
- tag: package-2017-10 | ||
ApiVersionName: Api2017_10_01 | ||
|
||
- tag: package-2015-06split | ||
ApiVersionName: Api2016_06_15 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# C# ResourceManager | ||
|
||
> see https://aka.ms/autorest | ||
|
||
This is the AutoRest configuration file for DNS. | ||
|
||
## Common C# Settings | ||
|
||
``` yaml !$(MultiApi) | ||
azure-arm: true | ||
license-header: MICROSOFT_MIT_NO_VERSION | ||
clear-output-folder: true | ||
namespace: Microsoft.Azure.Management.ResourceManager | ||
output-folder: $(csharp-sdks-folder)/Resource/Management.ResourceManager/Generated | ||
|
||
batch: | ||
- package-features: true | ||
- package-locks: true | ||
- package-policy: true | ||
- package-resources: true | ||
- package-subscriptions: true | ||
- package-links: true | ||
# - package-managedapplications: true | ||
``` | ||
|
||
## Batch settings | ||
These settings are for batch mode only: (ie, add `--MultiApi` to the command line ) | ||
|
||
``` yaml $(MultiApi) | ||
namespace: Microsoft.Azure.Management.ResourceManager.$(ApiVersionName) | ||
output-folder: $(csharp-sdks-folder)/$(ApiVersionName)/Generated | ||
|
||
batch: | ||
- tag: package-resources-2016-02 | ||
ApiVersionName: Api2016_02_01 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# C# Storage | ||
|
||
> see https://aka.ms/autorest | ||
|
||
This is the AutoRest configuration file for DNS. | ||
|
||
## Common C# Settings | ||
|
||
``` yaml !$(MultiApi) | ||
azure-arm: true | ||
license-header: MICROSOFT_MIT_NO_VERSION | ||
clear-output-folder: true | ||
payload-flattening-threshold: 2 | ||
namespace: Microsoft.Azure.Management.Storage | ||
output-folder: $(csharp-sdks-folder)/Storage/Management.Storage/Generated | ||
``` | ||
|
||
## Batch settings | ||
These settings are for batch mode only: (ie, add `--MultiApi` to the command line ) | ||
|
||
``` yaml $(MultiApi) | ||
namespace: Microsoft.Azure.Management.Storage.$(ApiVersionName) | ||
output-folder: $(csharp-sdks-folder)/$(ApiVersionName)/Generated | ||
|
||
batch: | ||
- tag: package-2016-01 | ||
ApiVersionName: Api2016_01_01 | ||
|
||
- tag: package-2015-06 | ||
ApiVersionName: Api2015_06_05 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
specification/subscription/resource-manager/readme.csharp.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# C# Subscription | ||
|
||
> 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 | ||
|
||
``` yaml !$(MultiApi) | ||
azure-arm: true | ||
license-header: MICROSOFT_MIT_NO_VERSION | ||
clear-output-folder: true | ||
namespace: Microsoft.Azure.Management.Subscription | ||
output-folder: $(csharp-sdks-folder)/Subscription/Management.Subscription/Generated | ||
``` | ||
|
||
## Batch settings | ||
These settings are for batch mode only: (ie, add `--MultiApi` to the command line ) | ||
|
||
``` yaml $(MultiApi) | ||
namespace: Microsoft.Azure.Management.Subscription.$(ApiVersionName) | ||
output-folder: $(csharp-sdks-folder)/$(ApiVersionName)/Generated | ||
|
||
batch: | ||
- tag: package-2018-03-preview | ||
ApiVersionName: Api2018_03_01 | ||
``` |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fearthecowboy Just to confirm,
MultiApi
andmultiapi
are the same for Autorest bootstrap? IOW, If I callautorest --multiapi
does it trigger correctlyMultiApi
here?