This is the AutoRest configuration file for ContainerInstance.
To build the SDK for ContainerInstance, simply Install AutoRest and in this folder, run:
autorest
To see additional help and options, run:
autorest --help
These are the global settings for the ContainerInstance API.
openapi-type: arm
tag: package-2018-10
These settings apply only when --tag=package-2018-10
is specified on the command line.
input-file:
- Microsoft.ContainerInstance/stable/2018-10-01/containerInstance.json
These settings apply only when --tag=package-2018-09
is specified on the command line.
input-file:
- Microsoft.ContainerInstance/stable/2018-09-01/containerInstance.json
These settings apply only when --tag=package-2018-06
is specified on the command line.
input-file:
- Microsoft.ContainerInstance/stable/2018-06-01/containerInstance.json
These settings apply only when --tag=package-2018-04
is specified on the command line.
input-file:
- Microsoft.ContainerInstance/stable/2018-04-01/containerInstance.json
These settings apply only when --tag=package-2018-02-preview
is specified on the command line.
input-file:
- Microsoft.ContainerInstance/preview/2018-02-01-preview/containerInstance.json
These settings apply only when --tag=package-2017-12-preview
is specified on the command line.
input-file:
- Microsoft.ContainerInstance/preview/2017-12-01-preview/containerInstance.json
These settings apply only when --tag=package-2017-10-preview
is specified on the command line.
input-file:
- Microsoft.ContainerInstance/preview/2017-10-01-preview/containerInstance.json
These settings apply only when --tag=package-2017-08-preview
is specified on the command line.
input-file:
- Microsoft.ContainerInstance/preview/2017-08-01-preview/containerInstance.json
directive:
- suppress: UniqueResourcePaths
from: containerInstance.json
reason: false positive, see https://github.com/Azure/azure-openapi-validator/issues/176
This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_container_instance']
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>
.
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
These settings apply only when --python
is specified on the command line.
Please also specify --python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>
.
Use --python-mode=update
if you already have a setup.py and just want to update the code itself.
python-mode: create
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: azure.mgmt.containerinstance
package-name: azure-mgmt-containerinstance
package-version: 1.0.0
clear-output-folder: true
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/azure-mgmt-containerinstance/azure/mgmt/containerinstance
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/azure-mgmt-containerinstance
See configuration in readme.go.md
These settings apply only when --java
is specified on the command line.
Please also specify --azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>
.
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.containerinstance
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerinstance
batch:
- tag: package-2018-10
- tag: package-2018-04
- tag: package-2018-02-preview
- tag: package-2017-12-preview
- tag: package-2017-10-preview
- tag: package-2017-08-preview
These settings apply only when --tag=package-2018-10 --java
is specified on the command line.
Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>
.
java:
namespace: com.microsoft.azure.management.containerinstance.v2018_10_01
output-folder: $(azure-libraries-for-java-folder)/containerinstance/resource-manager/v2018_10_01
regenerate-manager: true
generate-interface: true
These settings apply only when --tag=package-2018-04 --java
is specified on the command line.
Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>
.
java:
namespace: com.microsoft.azure.management.containerinstance.v2018_04_01
output-folder: $(azure-libraries-for-java-folder)/containerinstance/resource-manager/v2018_04_01
regenerate-manager: true
generate-interface: true
These settings apply only when --tag=package-2018-02-preview --java
is specified on the command line.
Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>
.
java:
namespace: com.microsoft.azure.management.containerinstance.v2018_02_01_preview
output-folder: $(azure-libraries-for-java-folder)/containerinstance/resource-manager/v2018_02_01_preview
regenerate-manager: true
generate-interface: true
These settings apply only when --tag=package-2017-12-preview --java
is specified on the command line.
Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>
.
java:
namespace: com.microsoft.azure.management.containerinstance.v2017_12_01_preview
output-folder: $(azure-libraries-for-java-folder)/containerinstance/resource-manager/v2017_12_01_preview
regenerate-manager: true
generate-interface: true
These settings apply only when --tag=package-2017-10-preview --java
is specified on the command line.
Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>
.
java:
namespace: com.microsoft.azure.management.containerinstance.v2017_10_01_preview
output-folder: $(azure-libraries-for-java-folder)/containerinstance/resource-manager/v2017_10_01_preview
regenerate-manager: true
generate-interface: true
These settings apply only when --tag=package-2017-08-preview --java
is specified on the command line.
Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>
.
java:
namespace: com.microsoft.azure.management.containerinstance.v2017_08_01_preview
output-folder: $(azure-libraries-for-java-folder)/containerinstance/resource-manager/v2017_08_01_preview
regenerate-manager: true
generate-interface: true