Skip to content

Latest commit

 

History

History
189 lines (125 loc) · 4.96 KB

File metadata and controls

189 lines (125 loc) · 4.96 KB

KubernetesConnect

see https://aka.ms/autorest

This is the AutoRest configuration file for hybrid kubernetes.

Getting Started

To build the SDKs for Connected Cluster 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 Kubernetes Connect RP.

openapi-type: arm
openapi-subtype: rpaas
tag: package-2024-07-15-preview

Tag: package-2024-07-15-preview

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

input-file:
  - Microsoft.Kubernetes/preview/2024-07-15-preview/connectedClusters.json

Tag: package-2024-07-01-preview

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

input-file:
  - Microsoft.Kubernetes/preview/2024-07-01-preview/connectedClusters.json

Tag: package-preview-2024-06-01

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

input-file:
  - Microsoft.Kubernetes/preview/2024-06-01-preview/connectedClusters.json

Tag: package-preview-2024-02-01

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

input-file:
  - Microsoft.Kubernetes/preview/2024-02-01-preview/connectedClusters.json

Tag: package-2024-01

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

input-file:
  - Microsoft.Kubernetes/stable/2024-01-01/connectedClusters.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.Kubernetes/preview/2023-11-01-preview/connectedClusters.json

Tag: package-2020-01-01-preview

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

input-file:
- Microsoft.Kubernetes/preview/2020-01-01-preview/connectedClusters.json

Tag: package-2021-04-01-preview

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

input-file:
- Microsoft.Kubernetes/preview/2021-04-01-preview/connectedClusters.json

Tag: package-2021-03-01

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

input-file:
- Microsoft.Kubernetes/stable/2021-03-01/connectedClusters.json

Tag: package-2021-10-01

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

input-file:
- Microsoft.Kubernetes/stable/2021-10-01/connectedClusters.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.Kubernetes/preview/2022-05-01-preview/connectedClusters.json

Tag: package-2022-10-01-preview

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

input-file:
- Microsoft.Kubernetes/preview/2022-10-01-preview/connectedClusters.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
  - repo: azure-sdk-for-java
  - repo: azure-sdk-for-go
  - repo: azure-sdk-for-ruby
  - repo: azure-sdk-for-net-track2
    after_scripts:
      - bundle install && rake arm:regen_all_profiles['azure_mgmt_hybridkubernetes']
  - repo: azure-resource-manager-schemas
  - repo: azure-powershell

Go

See configuration in readme.go.md

Python

See configuration in readme.python.md

Ruby

See configuration in readme.ruby.md

CSharp

See configuration in readme.csharp.md

Java

See configuration in readme.java.md

Suppression

suppressions:
  - code: DefinitionsPropertiesNamesCamelCase
    from: connectedClusters.json
    where: $.definitions.AadProfile.properties.enableAzureRBAC
    reason: enableAzureRBAC is already used in Managed Clusters. so to ensure consistency between Managed Clusters and Connected Clusters usage of aadProfile.