Skip to content

Latest commit

 

History

History
192 lines (129 loc) · 4.98 KB

File metadata and controls

192 lines (129 loc) · 4.98 KB

AppConfiguration

see https://aka.ms/autorest

This is the AutoRest configuration file for AppConfiguration.


Getting Started

To build the SDK for AppConfiguration, 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 AppConfiguration API.

openapi-type: arm

tag: package-2022-05-01

Tag: package-2022-05-01

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

input-file:
- Microsoft.AppConfiguration/stable/2022-05-01/appconfiguration.json

Tag: package-2022-03-01-preview

These settings apply only when --tag=2022-03-01-preview is specified on the command line.

input-file:
- Microsoft.AppConfiguration/preview/2022-03-01-preview/appconfiguration.json

Tag: package-2021-10-01-preview

These settings apply only when --tag=2021-10-01-preview is specified on the command line.

input-file:
- Microsoft.AppConfiguration/preview/2021-10-01-preview/appconfiguration.json

Tag: package-2021-03-01-preview

These settings apply only when --tag=2021-03-01-preview is specified on the command line.

input-file:
- Microsoft.AppConfiguration/preview/2021-03-01-preview/appconfiguration.json

Tag: package-2020-07-01-preview

These settings apply only when --tag=2020-07-01-preview is specified on the command line.

input-file:
- Microsoft.AppConfiguration/preview/2020-07-01-preview/appconfiguration.json

Tag: package-2020-06-01

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

input-file:
- Microsoft.AppConfiguration/stable/2020-06-01/appconfiguration.json

Tag: package-2019-11-01-preview

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

input-file:
- Microsoft.AppConfiguration/preview/2019-11-01-preview/appconfiguration.json

Tag: package-2019-02-01-preview

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

input-file:
- Microsoft.AppConfiguration/preview/2019-02-01-preview/appconfiguration.json

Tag: package-2019-10-01

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

input-file:
- Microsoft.AppConfiguration/stable/2019-10-01/appconfiguration.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-python-track2
  - repo: azure-sdk-for-net-track2
  - repo: azure-sdk-for-java
  - repo: azure-sdk-for-js
  - repo: azure-sdk-for-go
  - repo: azure-sdk-for-ruby
    after_scripts:
      - bundle install && rake arm:regen_all_profiles['azure_mgmt_app_configuration']
  - repo: azure-resource-manager-schemas
  - repo: azure-powershell

C#

See configuration in readme.csharp.md

Python

See configuration in readme.python.md

Java

See configuration in readme.java.md

Go

See configuration in readme.go.md

Ruby

See configuration in readme.ruby.md

CLI

See configuration in readme.cli.md

Suppression

directive:
  - suppress: EnumInsteadOfBoolean
    from: appconfiguration.json
    where: $.definitions.NameAvailabilityStatus.properties.nameAvailable
    reason: This is standard for check name availability.
  - suppress: EnumInsteadOfBoolean
    from: appconfiguration.json
    where: $.definitions.ApiKey.properties.readOnly
    reason: We did consider using an enum instead but found it to not be helpful.
  - suppress: EnumInsteadOfBoolean
    from: appconfiguration.json
    where: $.definitions.KeyValueProperties.properties.locked
    reason: This is data plane level information proxied through the RP and cannot be changed.
  - suppress: EnumInsteadOfBoolean
    from: appconfiguration.json
    where: $.definitions.ConfigurationStoreProperties.properties.disableLocalAuth
    reason: This is a standardized ARM API.
  - suppress: EnumInsteadOfBoolean
    from: appconfiguration.json
    where: $.definitions.ConfigurationStorePropertiesUpdateParameters.properties.disableLocalAuth
    reason: This is a standardized ARM API.
  - suppress: EnumInsteadOfBoolean
    from: appconfiguration.json
    where: $.definitions.OperationDefinition.properties.isDataAction
    reason: This is a standardized ARM API.