-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Make ContainerInstance a standalone SDK #1480
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,72 @@ | ||
| # ContainerInstance | ||
|
|
||
| > see https://aka.ms/autorest | ||
|
|
||
| This is the AutoRest configuration file for ContainerInstance. | ||
|
|
||
|
|
||
|
|
||
| --- | ||
| ## Getting Started | ||
| To build the SDK for ContainerInstance, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: | ||
|
|
||
| > `autorest` | ||
|
|
||
| To see additional help and options, run: | ||
|
|
||
| > `autorest --help` | ||
| --- | ||
|
|
||
| ## Configuration | ||
|
|
||
|
|
||
|
|
||
| ### Basic Information | ||
| These are the global settings for the ContainerInstance API. | ||
|
|
||
| ``` yaml | ||
| openapi-type: arm | ||
| tag: package-2017-08-preview | ||
| ``` | ||
|
|
||
|
|
||
| ### Tag: package-container-instance-2017-08-preview | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Blocking: this tag is incorrect and should be
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Corrected. |
||
|
|
||
| These settings apply only when `--tag=package-container-instance-2017-08-preview` is specified on the command line. | ||
|
|
||
| ``` yaml $(tag) == 'package-container-instance-2017-08-preview' | ||
| input-file: | ||
| - Microsoft.ContainerInstance/2017-08-01-preview/containerInstance.json | ||
| ``` | ||
|
|
||
|
|
||
| --- | ||
| # Code Generation | ||
|
|
||
| ## 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 | ||
| namespace: Microsoft.Azure.Management.ContainerInstance | ||
| payload-flattening-threshold: 1 | ||
| output-folder: $(csharp-sdks-folder)/ContainerInstance/Management.ContainerInstance/Generated | ||
| clear-output-folder: true | ||
| ``` | ||
|
|
||
|
|
||
| ## Python | ||
|
|
||
| These settings apply only when `--python` is specified on the command line. | ||
|
|
||
| ``` yaml $(python) | ||
| python: | ||
| # override the default output folder | ||
| output-folder: $(output-folder)/python | ||
| license-header: MICROSOFT_MIT_NO_VERSION | ||
| payload-flattening-threshold: 2 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add namespace: I will override for now in my conf, but would be nice directly here
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added. Thanks! |
||
| ``` | ||
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.
thanks for removing 👍