This is the AutoRest configuration file for Blueprint.
To build the SDK for Blueprint, 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 Blueprint API.
title: BlueprintManagementClient
description: Blueprint Client
openapi-type: arm
tag: package-2018-11-preview
These settings apply only when --tag=package-2017-11-preview
is specified on the command line.
input-file:
- Microsoft.Blueprint/preview/2017-11-11-preview/blueprintDefinition.json
- Microsoft.Blueprint/preview/2017-11-11-preview/blueprintAssignment.json
These settings apply only when --tag=package-2018-11-preview
is specified on the command line.
input-file:
- Microsoft.Blueprint/preview/2018-11-01-preview/blueprintDefinition.json
- Microsoft.Blueprint/preview/2018-11-01-preview/blueprintAssignment.json
- Microsoft.Blueprint/preview/2018-11-01-preview/assignmentOperation.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-net
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-python
- repo: azure-resource-manager-schemas
after_scripts:
- node sdkauto_afterscript.js blueprint/resource-manager
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
namespace: Microsoft.Azure.Management.Blueprint
payload-flattening-threshold: 1
license-header: MICROSOFT_MIT_NO_VERSION
output-folder: $(csharp-sdks-folder)/blueprint/Microsoft.Azure.Management.Blueprint/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>
.
java:
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.blueprint
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-blueprint
directive:
- from: blueprintAssignment.json
suppress: TrackedResourcePatchOperation
reason: Assignment is proxy resource.
- from: blueprintDefinition.json
suppress: UniqueResourcePaths
where: $.paths
reason: Microsoft.Management is a proxy resource provider
- from: blueprintAssignment.json
suppress: OperationsAPIImplementation
where: $.paths
reason: OperationsAPI for Microsoft.Management is out of scope.
- from: blueprintDefinition.json
suppress: OperationsAPIImplementation
where: $.paths
reason: OperationsAPI for Microsoft.Management is out of scope.
- from: assignmentOperation.json
suppress: OperationsAPIImplementation
where: $.paths
reason: OperationsAPI for Microsoft.Management is out of scope.
See configuration in readme.azureresourceschema.md