azure-rest-api-specs-1/specification/chaos/resource-manager
RenzoPrettoMS 1b33e81bbd
chore: update names to match .net standard (#24190)
2023-06-12 10:08:00 +08:00
..
Microsoft.Chaos/preview chore: update names to match .net standard (#24190) 2023-06-12 10:08:00 +08:00
readme.az.md Adding Microsoft.Chaos API Version 2021-09-15-preview. (#16453) 2021-10-20 12:52:49 +08:00
readme.cli.md Adding Microsoft.Chaos API Version 2021-09-15-preview. (#16453) 2021-10-20 12:52:49 +08:00
readme.csharp.md Update the CSharp output directory. (#16640) 2021-11-03 09:30:08 +08:00
readme.go.md Adding Microsoft.Chaos API Version 2021-09-15-preview. (#16453) 2021-10-20 12:52:49 +08:00
readme.md [Hub Generated] Review request for Microsoft.Chaos to add version preview/2023-04-15-preview (#23443) 2023-04-26 13:29:37 +08:00
readme.python.md Update version of the python Chaos SDK 1.0.0b5 (#19805) 2022-07-20 09:30:42 +08:00
readme.typescript.md update-typescript.md (#17182) 2022-01-06 08:28:20 +08:00

readme.md

chaos

see https://aka.ms/autorest

This is the AutoRest configuration file for chaos.

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

title: ChaosManagementClient
description: Chaos Management Client
openapi-type: arm
tag: package-2023-04-15-preview

Tag: package-2023-04-15-preview

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

input-file:
  - Microsoft.Chaos/preview/2023-04-15-preview/capabilities.json
  - Microsoft.Chaos/preview/2023-04-15-preview/capabilityTypes.json
  - Microsoft.Chaos/preview/2023-04-15-preview/experiments.json
  - Microsoft.Chaos/preview/2023-04-15-preview/operations.json
  - Microsoft.Chaos/preview/2023-04-15-preview/targetTypes.json
  - Microsoft.Chaos/preview/2023-04-15-preview/targets.json

Tag: package-2023-04-01-preview

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

input-file:
  - Microsoft.Chaos/preview/2023-04-01-preview/capabilities.json
  - Microsoft.Chaos/preview/2023-04-01-preview/capabilityTypes.json
  - Microsoft.Chaos/preview/2023-04-01-preview/experiments.json
  - Microsoft.Chaos/preview/2023-04-01-preview/operations.json
  - Microsoft.Chaos/preview/2023-04-01-preview/targetTypes.json
  - Microsoft.Chaos/preview/2023-04-01-preview/targets.json

Tag: package-2022-10-01-preview

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

directive:
  - suppress: R3026
    reason: Patch is not implemented in this version.
    where:
      - $.definitions.experiment

input-file:
  - Microsoft.Chaos/preview/2022-10-01-preview/capabilities.json
  - Microsoft.Chaos/preview/2022-10-01-preview/capabilityTypes.json
  - Microsoft.Chaos/preview/2022-10-01-preview/experiments.json
  - Microsoft.Chaos/preview/2022-10-01-preview/operations.json
  - Microsoft.Chaos/preview/2022-10-01-preview/targetTypes.json
  - Microsoft.Chaos/preview/2022-10-01-preview/targets.json

Tag: package-2022-07-01-preview

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

directive:
  - suppress: R3026
    reason: Patch is not implemented in this version.
    where:
      - $.definitions.experiment

input-file:
  - Microsoft.Chaos/preview/2022-07-01-preview/capabilities.json
  - Microsoft.Chaos/preview/2022-07-01-preview/experiments.json
  - Microsoft.Chaos/preview/2022-07-01-preview/operations.json
  - Microsoft.Chaos/preview/2022-07-01-preview/targets.json
  - Microsoft.Chaos/preview/2022-07-01-preview/targetTypes.json
  - Microsoft.Chaos/preview/2022-07-01-preview/capabilityTypes.json

Tag: package-2021-09-15-preview

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

directive:
  - suppress: R3026
    reason: Patch is not implemented in this version.
    where:
      - $.definitions.experiment

input-file:
  - Microsoft.Chaos/preview/2021-09-15-preview/capabilities.json
  - Microsoft.Chaos/preview/2021-09-15-preview/experiments.json
  - Microsoft.Chaos/preview/2021-09-15-preview/operations.json
  - Microsoft.Chaos/preview/2021-09-15-preview/targets.json
  - Microsoft.Chaos/preview/2021-09-15-preview/targetTypes.json
  - Microsoft.Chaos/preview/2021-09-15-preview/capabilityTypes.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
  - 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

Suppression

directive:
  - suppress: TopLevelResourcesListBySubscription
    where: $.definitions.target
    from: targets.json
    reason: |-
      We have the top level resource list by subscription operation here: https://github.com/mariohdez/azure-rest-api-specs/blob/5a870f3163ae6e9cc5ed33d40cfff61764050213/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/targets.json#L37

      this is a false positive I believe.      
  - suppress: TopLevelResourcesListBySubscription
    where: $.definitions.target
    from: targets.json
    reason: |-
      we defined the toplevelresourcelistbysubscription here:

      https://github.com/mariohdez/azure-rest-api-specs/blob/5a870f3163ae6e9cc5ed33d40cfff61764050213/specification/chaos/resource-manager/Microsoft.Chaos/preview/2021-09-15-preview/targets.json#L37      
  - suppress: EnumInsteadOfBoolean
    where: $.definitions.Operation.properties.isDataAction
    from: types.json
    reason: We are consuming the type model declaration from "common". I don't think our service is responsible for updating this error... Plz push back otherwise.