Skip to content

Latest commit

 

History

History
150 lines (102 loc) · 4.6 KB

File metadata and controls

150 lines (102 loc) · 4.6 KB

connectedvmware

see https://aka.ms/autorest

This is the AutoRest configuration file for vmware.

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

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

Tag: package-2023-12

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

input-file:
  - Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/connectedvmware.json

Tag: package-2023-10

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

input-file:
  - Microsoft.ConnectedVMwarevSphere/stable/2023-10-01/connectedvmware.json
suppressions:    
  - code:  TopLevelResourcesListBySubscription
    reason: VirtualMachineInstance resource is an ARM extension resource and does not support List by subscription API.  
    where:
      - $.definitions.VirtualMachineInstance

Tag: package-preview-2023-03

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

input-file:
  - Microsoft.ConnectedVMwarevSphere/preview/2023-03-01-preview/connectedvmware.json
suppressions:    
  - code: LroPostReturn
    reason: All POST actions are long running operations and never return 200 in the response.
    where:
      - $.paths["/{resourceUri}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineInstances/default/stop"].post
      - $.paths["/{resourceUri}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineInstances/default/start"].post
      - $.paths["/{resourceUri}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineInstances/default/restart"].post

  - code: GetCollectionOnlyHasValueAndNextLink
    reason: GET instance API for ARM extension resources are being flagged as Get Collection APIs.
    where:
      - $.paths["/{resourceUri}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineInstances/default"].get.responses["200"].schema.properties
      - $.paths["/{resourceUri}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineInstances/default/hybridIdentityMetadata/default"].get.responses["200"].schema.properties
      - $.paths["/{resourceUri}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineInstances/default/guestAgents/default"].get.responses["200"].schema.properties
    
  - code:  TopLevelResourcesListBySubscription
    reason: VirtualMachineInstance resource is an ARM extension resource and does not support List by subscription API.  
    where:
      - $.definitions.VirtualMachineInstance

Tag: package-2020-10-01-preview

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

input-file:
  - Microsoft.ConnectedVMwarevSphere/preview/2020-10-01-preview/connectedvmware.json

Tag: package-2022-01-10-preview

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

input-file:
  - Microsoft.ConnectedVMwarevSphere/preview/2022-01-10-preview/connectedvmware.json

Tag: package-2022-07-15-preview

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

input-file:
  - Microsoft.ConnectedVMwarevSphere/preview/2022-07-15-preview/connectedvmware.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-js
  - repo: azure-sdk-for-ruby
    after_scripts:
      - bundle install && rake arm:regen_all_profiles['azure_mgmt_connectedvmware']
  - repo: azure-powershell

Go

See configuration in readme.go.md

Python

See configuration in readme.python.md

Ruby

See configuration in readme.ruby.md

TypeScript

See configuration in readme.typescript.md

CSharp

See configuration in readme.csharp.md