Skip to content

Latest commit

 

History

History
124 lines (84 loc) · 4.06 KB

File metadata and controls

124 lines (84 loc) · 4.06 KB

hybridaks

see https://aka.ms/autorest

This is the AutoRest configuration file for hybridaks.

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

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

Tag: package-2024-01

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

input-file:
  - Microsoft.HybridContainerService/stable/2024-01-01/provisionedClusterInstances.json
  - Microsoft.HybridContainerService/stable/2024-01-01/virtualNetworks.json

Tag: package-preview-2023-11

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

input-file:
  - Microsoft.HybridContainerService/preview/2023-11-15-preview/provisionedClusterInstances.json
  - Microsoft.HybridContainerService/preview/2023-11-15-preview/virtualNetworks.json
suppressions:
  - code: TopLevelResourcesListBySubscription
    where: $.definitions.KubernetesVersionProfile
    reason: Since kubernetesVersions/default resource is defined as an extension resource to the custom location, this rule does not apply. The kubernetesVersions can vary from one custom location to another and we can't really have a ListBySubscription operation for kubernetesVersions.
  - code: TopLevelResourcesListBySubscription
    where: $.definitions.VmSkuProfile
    reason: Since skus/default resource is defined as an extension resource to the custom location, this rule does not apply. The skus can vary from one custom location to another and we can't really have a ListBySubscription operation for skus.
  - code: TopLevelResourcesListBySubscription
    where: $.definitions.provisionedClusters
    reason: Since provisionedClusters/default resource is defined as an extension resource to the connected cluster resource, we can't really list by subscription and this rule does not apply.
  - code: GetCollectionOnlyHasValueAndNextLink
    reason: This is a false alarm for the /default APIs, as they return a singleton resource and not a collection of resources

Tag: package-preview-2022-09

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

input-file:
  - Microsoft.HybridContainerService/preview/2022-09-01-preview/provisionedClusters.json
  - Microsoft.HybridContainerService/preview/2022-09-01-preview/storageSpaces.json
  - Microsoft.HybridContainerService/preview/2022-09-01-preview/virtualNetworks.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.HybridContainerService/preview/2022-05-01-preview/provisionedClusters.json
  - Microsoft.HybridContainerService/preview/2022-05-01-preview/virtualNetworks.json
  - Microsoft.HybridContainerService/preview/2022-05-01-preview/storageSpaces.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-java
  - repo: azure-sdk-for-go
  - repo: azure-sdk-for-js
  - repo: azure-resource-manager-schemas
  - repo: azure-cli-extensions

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