Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions specification/compute/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,6 @@ input-file:
- Microsoft.Compute/2017-03-30/runCommands.json
```

### Tag: package-container-instance-2017-08-preview

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for removing 👍

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
```


### Tag: package-container-service-2017-01

These settings apply only when `--tag=package-container-service-2017-01` is specified on the command line.
Expand Down
72 changes: 72 additions & 0 deletions specification/containerinstance/resource-manager/readme.md
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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: this tag is incorrect and should be package-2017-08-preview in the three places used

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The 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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add namespace: azure.mgmt.containerinstance

I will override for now in my conf, but would be nice directly here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added. Thanks!

```