Skip to content

Latest commit

 

History

History
356 lines (274 loc) · 12.9 KB

File metadata and controls

356 lines (274 loc) · 12.9 KB

azurestackhci

see https://aka.ms/autorest

This is the AutoRest configuration file for azurestackhci.

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

title: AzureStackHCIClient
description: Azure Stack HCI management service
openapi-type: arm
openapi-subtype: rpaas
tag: package-preview-2023-07

Suppression

directive:
  - suppress: R3020
    from:
      - arcSettings.json
      - clusters.json
      - extensions.json
      - galleryImages.json
      - marketplaceGalleryImages.json
      - networkInterfaces.json
      - operations.json
      - storageContainers.json
      - virtualHardDisks.json
      - virtualMachines.json
      - virtualMachineInstances.json
      - virtualNetworks.json
      - offers.json
      - publishers.json
      - skus.json
      - updates.json
      - updateRuns.json
      - updateSummaries.json
    reason: Microsoft.AzureStackHCI is the correct name for our RP.
suppressions:
  - code: PathResourceProviderNamePascalCase
    reason: We had already gone to production with "HCI" in our namespace, so changing it to "Hci" now would be disruptive.
  - code: GetCollectionOnlyHasValueAndNextLink
    reason: The linter is mistakenly thinking that paths for a singular resource that is always named default, like "/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default," is for a collection of resources.
    from: virtualMachineInstances.json
  - code: TopLevelResourcesListBySubscription
    reason: There is a 1:1 relationship between HybridCompute Machines and AzureStackHCI VirtualMachineInstances

Tag: package-preview-2023-07

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

input-file:
  - Microsoft.AzureStackHCI/preview/2023-07-01-preview/galleryImages.json
  - Microsoft.AzureStackHCI/preview/2023-07-01-preview/marketplaceGalleryImages.json
  - Microsoft.AzureStackHCI/preview/2023-07-01-preview/networkInterfaces.json
  - Microsoft.AzureStackHCI/preview/2023-07-01-preview/storageContainers.json
  - Microsoft.AzureStackHCI/preview/2023-07-01-preview/virtualHardDisks.json
  - Microsoft.AzureStackHCI/preview/2023-07-01-preview/virtualMachineInstances.json
  - Microsoft.AzureStackHCI/preview/2023-07-01-preview/virtualNetworks.json

Tag: package-2023-03

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

input-file:
  - Microsoft.AzureStackHCI/stable/2023-03-01/arcSettings.json
  - Microsoft.AzureStackHCI/stable/2023-03-01/clusters.json
  - Microsoft.AzureStackHCI/stable/2023-03-01/extensions.json
  - Microsoft.AzureStackHCI/stable/2023-03-01/offers.json
  - Microsoft.AzureStackHCI/stable/2023-03-01/operations.json
  - Microsoft.AzureStackHCI/stable/2023-03-01/publishers.json
  - Microsoft.AzureStackHCI/stable/2023-03-01/skus.json
  - Microsoft.AzureStackHCI/stable/2023-03-01/updateRuns.json
  - Microsoft.AzureStackHCI/stable/2023-03-01/updateSummaries.json
  - Microsoft.AzureStackHCI/stable/2023-03-01/updates.json

Tag: package-2023-02

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

input-file:
  - Microsoft.AzureStackHCI/stable/2023-02-01/arcSettings.json
  - Microsoft.AzureStackHCI/stable/2023-02-01/clusters.json
  - Microsoft.AzureStackHCI/stable/2023-02-01/extensions.json
  - Microsoft.AzureStackHCI/stable/2023-02-01/offers.json
  - Microsoft.AzureStackHCI/stable/2023-02-01/operations.json
  - Microsoft.AzureStackHCI/stable/2023-02-01/publishers.json
  - Microsoft.AzureStackHCI/stable/2023-02-01/skus.json
  - Microsoft.AzureStackHCI/stable/2023-02-01/updateRuns.json
  - Microsoft.AzureStackHCI/stable/2023-02-01/updateSummaries.json
  - Microsoft.AzureStackHCI/stable/2023-02-01/updates.json

Tag: package-preview-2022-12-15

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

input-file:
  - Microsoft.AzureStackHCI/preview/2022-12-15-preview/arcSettings.json
  - Microsoft.AzureStackHCI/preview/2022-12-15-preview/clusters.json
  - Microsoft.AzureStackHCI/preview/2022-12-15-preview/common.json
  - Microsoft.AzureStackHCI/preview/2022-12-15-preview/extensions.json
  - Microsoft.AzureStackHCI/preview/2022-12-15-preview/galleryImages.json
  - Microsoft.AzureStackHCI/preview/2022-12-15-preview/marketplaceGalleryImages.json
  - Microsoft.AzureStackHCI/preview/2022-12-15-preview/networkInterfaces.json
  - Microsoft.AzureStackHCI/preview/2022-12-15-preview/offers.json
  - Microsoft.AzureStackHCI/preview/2022-12-15-preview/operations.json
  - Microsoft.AzureStackHCI/preview/2022-12-15-preview/publishers.json
  - Microsoft.AzureStackHCI/preview/2022-12-15-preview/skus.json
  - Microsoft.AzureStackHCI/preview/2022-12-15-preview/storageContainers.json
  - Microsoft.AzureStackHCI/preview/2022-12-15-preview/updateRuns.json
  - Microsoft.AzureStackHCI/preview/2022-12-15-preview/updateSummaries.json
  - Microsoft.AzureStackHCI/preview/2022-12-15-preview/updates.json
  - Microsoft.AzureStackHCI/preview/2022-12-15-preview/virtualHardDisks.json
  - Microsoft.AzureStackHCI/preview/2022-12-15-preview/virtualMachines.json
  - Microsoft.AzureStackHCI/preview/2022-12-15-preview/virtualNetworks.json

Tag: package-2022-12

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

input-file:
  - Microsoft.AzureStackHCI/stable/2022-12-01/arcSettings.json
  - Microsoft.AzureStackHCI/stable/2022-12-01/clusters.json
  - Microsoft.AzureStackHCI/stable/2022-12-01/extensions.json
  - Microsoft.AzureStackHCI/stable/2022-12-01/offers.json
  - Microsoft.AzureStackHCI/stable/2022-12-01/operations.json
  - Microsoft.AzureStackHCI/stable/2022-12-01/publishers.json
  - Microsoft.AzureStackHCI/stable/2022-12-01/skus.json
  - Microsoft.AzureStackHCI/stable/2022-12-01/updateRuns.json
  - Microsoft.AzureStackHCI/stable/2022-12-01/updateSummaries.json
  - Microsoft.AzureStackHCI/stable/2022-12-01/updates.json

Tag: package-preview-2022-10

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

input-file:
  - Microsoft.AzureStackHCI/stable/2022-10-01/arcSettings.json
  - Microsoft.AzureStackHCI/stable/2022-10-01/clusters.json
  - Microsoft.AzureStackHCI/stable/2022-10-01/extensions.json
  - Microsoft.AzureStackHCI/stable/2022-10-01/operations.json
  - Microsoft.AzureStackHCI/stable/2022-10-01/offers.json
  - Microsoft.AzureStackHCI/stable/2022-10-01/publishers.json
  - Microsoft.AzureStackHCI/stable/2022-10-01/skus.json
  - Microsoft.AzureStackHCI/stable/2022-10-01/updateRuns.json
  - Microsoft.AzureStackHCI/stable/2022-10-01/updateSummaries.json
  - Microsoft.AzureStackHCI/stable/2022-10-01/updates.json

Tag: package-2022-09

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

input-file:
  - Microsoft.AzureStackHCI/stable/2022-09-01/arcSettings.json
  - Microsoft.AzureStackHCI/stable/2022-09-01/clusters.json
  - Microsoft.AzureStackHCI/stable/2022-09-01/extensions.json
  - Microsoft.AzureStackHCI/stable/2022-09-01/operations.json

Tag: package-2022-05

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

input-file:
  - Microsoft.AzureStackHCI/stable/2022-05-01/arcSettings.json
  - Microsoft.AzureStackHCI/stable/2022-05-01/clusters.json
  - Microsoft.AzureStackHCI/stable/2022-05-01/extensions.json
  - Microsoft.AzureStackHCI/stable/2022-05-01/operations.json

Tag: package-2022-03

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

input-file:
  - Microsoft.AzureStackHCI/stable/2022-03-01/arcSettings.json
  - Microsoft.AzureStackHCI/stable/2022-03-01/clusters.json
  - Microsoft.AzureStackHCI/stable/2022-03-01/extensions.json
  - Microsoft.AzureStackHCI/stable/2022-03-01/operations.json

Tag: package-2022-01

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

input-file:
  - Microsoft.AzureStackHCI/stable/2022-01-01/arcSettings.json
  - Microsoft.AzureStackHCI/stable/2022-01-01/clusters.json
  - Microsoft.AzureStackHCI/stable/2022-01-01/extensions.json
  - Microsoft.AzureStackHCI/stable/2022-01-01/operations.json

Tag: package-preview-2021-09

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

input-file:
  - Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json
  - Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
  - Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json
  - Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
  - Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
  - Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json
  - Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
  - Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
  - Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json
  - Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
  - Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json

Tag: package-2021-09

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

input-file:
  - Microsoft.AzureStackHCI/stable/2021-09-01/arcSettings.json
  - Microsoft.AzureStackHCI/stable/2021-09-01/clusters.json
  - Microsoft.AzureStackHCI/stable/2021-09-01/extensions.json
  - Microsoft.AzureStackHCI/stable/2021-09-01/operations.json

Tag: package-preview-2021-07

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

input-file:
  - Microsoft.AzureStackHCI/preview/2021-07-01-preview/galleryImages.json
  - Microsoft.AzureStackHCI/preview/2021-07-01-preview/networkInterfaces.json
  - Microsoft.AzureStackHCI/preview/2021-07-01-preview/virtualHardDisks.json
  - Microsoft.AzureStackHCI/preview/2021-07-01-preview/virtualMachines.json
  - Microsoft.AzureStackHCI/preview/2021-07-01-preview/virtualNetworks.json
  - Microsoft.AzureStackHCI/preview/2021-07-01-preview/operations.json

Tag: package-preview-2021-01

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

input-file:
  - Microsoft.AzureStackHCI/preview/2021-01-01-preview/arcSettings.json
  - Microsoft.AzureStackHCI/preview/2021-01-01-preview/clusters.json
  - Microsoft.AzureStackHCI/preview/2021-01-01-preview/extensions.json
  - Microsoft.AzureStackHCI/preview/2021-01-01-preview/operations.json

Tag: package-2020-10-01

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

input-file:
  - Microsoft.AzureStackHCI/stable/2020-10-01/azurestackhci.json

Tag: package-2020-03-01-preview

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

input-file:
  - Microsoft.AzureStackHCI/preview/2020-03-01-preview/azurestackhci.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-sdk-for-ruby
    after_scripts:
      - bundle install && rake arm:regen_all_profiles['azure_mgmt_azurestackhci']
  - repo: azure-resource-manager-schemas
    after_scripts:
      - node sdkauto_afterscript.js azurestackhci/resource-manager
  - repo: azure-powershell

Go

See configuration in readme.go.md

Java

See configuration in readme.java.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

AzureResourceSchema

See configuration in readme.azureresourceschema.md