This is the AutoRest configuration file for Azure Maintenance.
To build the SDK for Azure Maintenance, simply Install AutoRest and in this folder, run:
autorest
To see additional help and options, run:
autorest --help
These are the global settings for the Azure Maintenance API.
openapi-type: arm
tag: package-2023-04
These settings apply only when --tag=package-2023-04
is specified on the command line.
input-file:
- Microsoft.Maintenance/stable/2023-04-01/Maintenance.json
These settings apply only when --tag=package-preview-2022-11
is specified on the command line.
input-file:
- Microsoft.Maintenance/preview/2022-11-01-preview/Maintenance.json
These settings apply only when --tag=package-preview-2022-07
is specified on the command line.
input-file:
- Microsoft.Maintenance/preview/2022-07-01-preview/Maintenance.json
These settings apply only when --tag=package-preview-2021-09
is specified on the command line.
input-file:
- Microsoft.Maintenance/preview/2021-09-01-preview/Maintenance.json
These settings apply only when --tag=package-2021-05
is specified on the command line.
input-file:
- Microsoft.Maintenance/stable/2021-05-01/Maintenance.json
These settings apply only when --tag=package-preview-2021-04
is specified on the command line.
input-file:
- Microsoft.Maintenance/preview/2021-04-01-preview/Maintenance.json
These settings apply only when --tag=package-preview-2020-07
is specified on the command line.
input-file:
- Microsoft.Maintenance/preview/2020-07-01-preview/Maintenance.json
These settings apply only when --tag=package-2020-04
is specified on the command line.
input-file:
- Microsoft.Maintenance/stable/2020-04-01/Maintenance.json
These settings apply only when --tag=package-2018-06-preview
is specified on the command line.
input-file:
- Microsoft.Maintenance/preview/2018-06-01-preview/Maintenance.json
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-libraries-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-node
- repo: azure-resource-manager-schemas
- repo: azure-powershell
These settings apply only when --csharp
is specified on the command line.
Please also specify --csharp-sdks-folder=<path to "SDKs" directory of your azure-sdk-for-net clone>
.
csharp:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Management.Maintenance
payload-flattening-threshold: 1
output-folder: $(csharp-sdks-folder)/maintenance/Microsoft.Azure.Management.Maintenance/src/Generated/
clear-output-folder: true
See configuration in readme.python.md
See configuration in readme.go.md
See configuration in readme.java.md
directive:
- suppress: PathForPutOperation
from: maintenance.json
reason: False postive. ConfigurationAssignments is proxy resource.
- suppress: DeleteResponseBodyEmpty
from: maintenance.json
reason: Suppression warning to avoid breaking changes
- suppress: PathContainsResourceType
from: maintenance.json
reason: Suppression warning to avoid breaking changes
- suppress: PathContainsResourceType
from: maintenance.json
reason: Suppression warning to avoid breaking changes
- suppress: TrackedResourcePatchOperation
from: maintenance.json
reason: Suppression warning to avoid breaking changes
- suppress: SubscriptionsAndResourceGroupCasing
from: maintenance.json
reason: Suppression warning to avoid breaking changes
- suppress: UnSupportedPatchProperties
from: maintenance.json
reason: Suppression warning to avoid breaking changes
- suppress: PathResourceProviderNamePascalCase
from: maintenance.json
reason: Suppression warning to avoid breaking changes
- suppress: RequestSchemaForTrackedResourcesMustHaveTags
from: maintenance.json
reason: False positive. ConfigurationAssignments is proxy resource at subscription/resourceGroup level.
- suppress: ResourceNameRestriction
from: maintenance.json
reason: Maintenance RP accept any string, no special restriction required.