This is the AutoRest configuration file for Microsoft.WorkloadMonitor.
To build the SDK for Microsoft.WorkloadMonitor, 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 API.
openapi-type: arm
tag: package-2020-01-13-preview
These settings apply only when --tag=package-2018-08-31-preview
is specified on the command line.
input-file:
- Microsoft.WorkloadMonitor/preview/2018-08-31-preview/Microsoft.WorkloadMonitor.json
directive:
- suppress:
- R3026 # Create/Update/Delete operations are not exposed.
These settings apply only when --tag=package-2020-01-13-preview
is specified on the command line.
input-file:
- Microsoft.WorkloadMonitor/preview/2020-01-13-preview/Microsoft.WorkloadMonitor.json
directive:
- suppress:
- R3026 # Create/Update/Delete operations are not exposed.
directive:
- from: Microsoft.WorkloadMonitor.json
suppress:
- R4017 # HealthMonitors only applied to top-level resources.
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-net-track2
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-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.WorkloadMonitor
output-folder: $(csharp-sdks-folder)/workloadmonitor/Microsoft.Azure.Management.WorkloadMonitor/src/Generated
clear-output-folder: true
See configuration in readme.python.md
See configuration in readme.go.md
These settings apply only when --java
is specified on the command line.
Please also specify --azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>
.
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.workloadmonitor
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-workloadmonitor
batch:
- tag: package-2020-01-13-preview
- tag: package-2018-08-31-preview
These settings apply only when --tag=package-2018-08-31-preview --java
is specified on the command line.
Please also specify --azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>
.
java:
namespace: com.microsoft.azure.management.workloadmonitor.v2018_08_31_preview
output-folder: $(azure-libraries-for-java-folder)/sdk/workloadmonitor/mgmt-v2018_08_31_preview
regenerate-manager: true
generate-interface: true
These settings apply only when --tag=package-2020-01-13-preview --java
is specified on the command line.
Please also specify --azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>
.
java:
namespace: com.microsoft.azure.management.workloadmonitor.v2020-01-13-preview
output-folder: $(azure-libraries-for-java-folder)/sdk/workloadmonitor/mgmt-v2020-01-13-preview
regenerate-manager: true
generate-interface: true