Skip to content

Latest commit

 

History

History
131 lines (89 loc) · 3.39 KB

File metadata and controls

131 lines (89 loc) · 3.39 KB

hybridconnectivity

see https://aka.ms/autorest

This is the AutoRest configuration file for hybridconnectivity.

Getting Started

To build the SDKs for My API, simply install AutoRest via npm (npm install -g autorest) and then run:

autorest readme.md

To see additional help and options, run:

autorest --help

For other options on installation see Installing AutoRest on the AutoRest github page.


Configuration

Basic Information

These are the global settings for the hybridconnectivity.

openapi-type: arm
openapi-subtype: rpaas
tag: package-2024-12

Tag: package-2024-12

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

input-file:
  - Microsoft.HybridConnectivity/PublicCloud/stable/2024-12-01/publicCloud.json
  - Microsoft.HybridConnectivity/stable/2024-12-01/hybridconnectivity.json

Tag: package-2023-03

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

input-file:
  - Microsoft.HybridConnectivity/stable/2023-03-15/hybridconnectivity.json

Tag: package-2021-10-06-preview

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

input-file:
  - Microsoft.HybridConnectivity/preview/2021-10-06-preview/hybridconnectivity.json

Tag: package-2022-05-01-preview

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

input-file:
  - Microsoft.HybridConnectivity/preview/2022-05-01-preview/hybridconnectivity.json

Suppression

directive:
  - suppress: AvoidAdditionalProperties
    reason: Property solutionSettings for Solution Configurations settings previously defined like this
    from: publicCloud.json
    where:
      - $.definitions.SolutionConfigurationPropertiesUpdate.properties.solutionSettings
      - $.definitions.SolutionConfigurationProperties.properties.solutionSettings
      - $.definitions.SolutionTypeSettings.properties.solutionSettings
      - $.definitions.SolutionSettings

  - suppress: BodyTopLevelProperties
    reason: The BodyTopLevelProperties violation is a false positive which you can suppress for now
    from: publicCloud.json
    where:
      - $.definitions.InventoryResourceListResult
      - $.definitions.PublicCloudConnectorListResult
      - $.definitions.SolutionConfigurationListResult
      - $.definitions.SolutionTypeResourceListResult

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-track2
  - repo: azure-sdk-for-python
  - repo: azure-sdk-for-java
  - repo: azure-sdk-for-go
  - repo: azure-sdk-for-js
  - repo: azure-resource-manager-schemas
  - repo: azure-cli-extensions
  - repo: azure-powershell

Az

See configuration in readme.az.md

Go

See configuration in readme.go.md

Python

See configuration in readme.python.md

TypeScript

See configuration in readme.typescript.md

CSharp

See configuration in readme.csharp.md