Skip to content

Latest commit

 

History

History
218 lines (151 loc) · 6.38 KB

File metadata and controls

218 lines (151 loc) · 6.38 KB

ContainerRegistry

see https://aka.ms/autorest

This is the AutoRest configuration file for ContainerRegistry.


Getting Started

To build the SDK for ContainerRegistry, simply Install AutoRest 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 ContainerRegistry API.

openapi-type: arm
tag: package-2019-12-preview

Tag: package-2019-12-preview

These settings apply only when --tag=package-2019-12-preview is specified on the command line.

input-file:
  - Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json
  - Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json
  - Microsoft.ContainerRegistry/preview/2019-05-01-preview/containerregistry_scopemap.json

Tag: package-2019-06-preview

These settings apply only when --tag=package-2019-06-preview is specified on the command line.

input-file:
- Microsoft.ContainerRegistry/stable/2019-05-01/containerregistry.json
- Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json
- Microsoft.ContainerRegistry/preview/2019-05-01-preview/containerregistry_scopemap.json

Tag: package-2019-06-preview-only

These settings apply only when --tag=package-2019-06-preview-only is specified on the command line.

input-file:
- Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json

Tag: package-2019-05

These settings apply only when --tag=package-2019-05 is specified on the command line.

input-file:
- Microsoft.ContainerRegistry/stable/2019-05-01/containerregistry.json
- Microsoft.ContainerRegistry/stable/2019-04-01/containerregistry_build.json

Tag: package-2019-05-preview

These settings apply only when --tag=package-2019-05-preview is specified on the command line.

input-file:
- Microsoft.ContainerRegistry/stable/2017-10-01/containerregistry.json
- Microsoft.ContainerRegistry/preview/2019-05-01-preview/containerregistry_scopemap.json

Tag: package-2019-04

These settings apply only when --tag=package-2019-04 is specified on the command line.

input-file:
- Microsoft.ContainerRegistry/stable/2017-10-01/containerregistry.json
- Microsoft.ContainerRegistry/stable/2019-04-01/containerregistry_build.json

Tag: package-2019-04-only

These settings apply only when --tag=package-2019-04-only is specified on the command line.

input-file:
- Microsoft.ContainerRegistry/stable/2019-04-01/containerregistry_build.json

Tag: package-2018-09

These settings apply only when --tag=package-2018-09 is specified on the command line.

input-file:
- Microsoft.ContainerRegistry/stable/2017-10-01/containerregistry.json
- Microsoft.ContainerRegistry/stable/2018-09-01/containerregistry_build.json

Tag: package-2018-02-preview

These settings apply only when --tag=package-2018-02-preview is specified on the command line.

input-file:
- Microsoft.ContainerRegistry/stable/2017-10-01/containerregistry.json
- Microsoft.ContainerRegistry/preview/2018-02-01-preview/containerregistry_build.json

Tag: package-2017-10

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

input-file:
- Microsoft.ContainerRegistry/stable/2017-10-01/containerregistry.json

Tag: package-2017-06-preview

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

input-file:
- Microsoft.ContainerRegistry/preview/2017-06-01-preview/containerregistry.json

Tag: package-2017-03

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

input-file:
- Microsoft.ContainerRegistry/stable/2017-03-01/containerregistry.json

Tag: package-2016-06-preview

These settings apply only when --tag=package-2016-06-preview is specified on the command line.

input-file:
- Microsoft.ContainerRegistry/preview/2016-06-27-preview/containerregistry.json

Code Generation

Swagger to SDK

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-net
  - repo: azure-sdk-for-python
    autorest_options:
      use: "@microsoft.azure/[email protected]"
    after_scripts:
      - python ./scripts/multiapi_init_gen.py azure-mgmt-containerregistry
      - python ./scripts/trim_aio.py ./sdk/containerregistry/azure-mgmt-containerregistry
  - 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_registry']
  - repo: azure-resource-manager-schemas
    after_scripts:
      - node sdkauto_afterscript.js containerregistry/resource-manager

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

csharp:
  # stop the simplifier from making Task conflict:
  skip-simplifier-on-namespace:
    - System.Threading.Tasks
  # last generated using AutoRest.1.0.0-Nightly20170212 with commit 3b0b26b4b6e3bc5e7cf3610b0866d310abb5b814
  azure-arm: true
  license-header: MICROSOFT_MIT_NO_VERSION
  namespace: Microsoft.Azure.Management.ContainerRegistry
  payload-flattening-threshold: 2
  output-folder: $(csharp-sdks-folder)/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated
  clear-output-folder: true

Go

See configuration in readme.go.md

Java

See configuration in readme.java.md

AzureResourceSchema

See configuration in readme.azureresourceschema.md