This is the AutoRest configuration file for azurestackhci.
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.
These are the global settings for the azurestackhci.
title: Microsoft.AzureStackHCI
description: Azure Stack HCI management service
openapi-type: arm
openapi-subtype: rpaas
tag: package-preview-2024-02-01
directive:
- suppress: R3020
from:
- stackhcivm.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.
from:
- stackhcivm.json
- code: DefinitionsPropertiesNamesCamelCase
reason: There is a false positive reporting the two letter acronym ID should be lower camel case. The property is correctly capitalized according to guidance.
from:
- stackhcivm.json
- code: XmsPageableForListCalls
reason: XmsPageable not needed for GET calls
from:
- stackhcivm.json
- code: EvenSegmentedPathForPutOperation
reason: resourceUri in virtualmachineinstances is the parent resource. It consists of an even number of segmented paths.
from:
- stackhcivm.json
These settings apply only when --tag=package-preview-2024-02-01
is specified on the command line.
input-file:
- preview/2024-02-01-preview/stackhcivm.json