Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"version": "2017-08-01-preview",
"title": "Microsoft Container Instance Management Client"
"title": "ContainerInstanceManagementClient"
},
"host": "management.azure.com",
"schemes": [
Expand Down Expand Up @@ -35,10 +35,10 @@
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/containerGroups": {
"get": {
"operationId": "ContainerGroups_ListAll",
"operationId": "ContainerGroups_List",
"x-ms-examples": {
"ContainerGroupsListAll": {
"$ref": "./examples/ContainerGroupsListAll.json"
"ContainerGroupsList": {
"$ref": "./examples/ContainerGroupsList.json"
}
},
"description": "Get the list of container groups in a given subscription.",
Expand All @@ -65,10 +65,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups": {
"get": {
"operationId": "ContainerGroups_List",
"operationId": "ContainerGroups_ListByResourceGroup",
"x-ms-examples": {
"ContainerGroupsList": {
"$ref": "./examples/ContainerGroupsList.json"
"ContainerGroupsListByResourceGroup": {
"$ref": "./examples/ContainerGroupsListByResourceGroup.json"
}
},
"description": "Get the list of container groups in a given resource group.",
Expand Down Expand Up @@ -278,7 +278,7 @@
"name": "tail",
"in": "query",
"description": "Only show this number of log lines. If not provided, all available logs are shown.",
"type": "string"
"type": "integer"
}
],
"responses": {
Expand Down
73 changes: 73 additions & 0 deletions specification/containerinstance/resource-manager/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# 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-2017-08-preview

These settings apply only when `--tag=package-2017-08-preview` is specified on the command line.

``` yaml $(tag) == 'package-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
namespace: azure.mgmt.containerinstance
output-folder: $(output-folder)/python
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
```