Skip to content

Latest commit

 

History

History
160 lines (106 loc) · 4.18 KB

File metadata and controls

160 lines (106 loc) · 4.18 KB

Support

see https://aka.ms/autorest

This is the AutoRest configuration file for Support.


Getting Started

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

openapi-type: arm
tag: package-preview-2023-06

Tag: package-2024-04

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

input-file:
  - Microsoft.Support/stable/2024-04-01/support.json

Tag: package-preview-2023-06

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

input-file:
  - Microsoft.Support/preview/2023-06-01-preview/support.json

Suppression

directive:
  - suppress: AvoidAdditionalProperties
    from: Microsoft.Support/preview/2023-06-01-preview/support.json

Tag: package-preview-2022-09

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

input-file:
  - Microsoft.Support/preview/2022-09-01-preview/support.json
suppressions:
  - code: RPC-Put-V1-01
    from: Microsoft.Support/preview/2022-09-01-preview/support.json
    reason: "Rule: The path for put operation must be under a subscription and resource group. Justification: Suppressing this rule since path for support ticket resource doesn't contain resource group"  
  - code: RPC-Put-V1-11
    from: Microsoft.Support/preview/2022-09-01-preview/support.json
    reason: "Rule: Any Put MUST contain 200 and 201 return codes. Justification: We have similar implementation for previous versions, this would be a breaking change, hence suppressing it"
  - code: TopLevelResourcesListBySubscription
    from: Microsoft.Support/preview/2022-09-01-preview/support.json
    where: $.definitions.FileWorkspaceDetails
    reason: "Rule: The top-level resource 'FileWorkspaceDetails' does not have list by subscription operation, please add it. Justification: We cannot support get list for this resource type"
     

Tag: package-preview-2021-06

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

input-file:
  - Microsoft.Support/preview/2021-06-01-preview/supportResourceIdDetails.json

Tag: package-2020-04

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

input-file:
  - Microsoft.Support/stable/2020-04-01/support.json

Tag: package-2019-05-preview

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

input-file:
  - Microsoft.Support/preview/2019-05-01-preview/support.json

Tag: package-2022-09-preview

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

input-file:
  - Microsoft.Support/preview/2022-09-01-preview/support.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-js
  - repo: azure-sdk-for-go
  - repo: azure-sdk-for-net-track2
  - repo: azure-sdk-for-ruby
    after_scripts:
      - bundle install && rake arm:regen_all_profiles['azure_mgmt_support']
  - repo: azure-resource-manager-schemas
  - repo: azure-powershell

C#

See configuration in readme.csharp.md

Python

See configuration in readme.python.md

Go

See configuration in readme.go.md

Java

See configuration in readme.java.md

TypeScript

See configuration in readme.typescript.md

Ruby

See configuration in readme.ruby.md