This is the AutoRest configuration file for MachineLearning.
To build the SDK for MachineLearning, 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 MachineLearning API.
openapi-type: arm
tag: package-webservices-2017-01
tag: package-commitmentPlans-2016-05-preview
tag: package-workspaces-2016-04
tag: package-workspaces-2019-10
These settings apply only when --tag=package-webservices-2017-01
is specified on the command line.
input-file:
- Microsoft.MachineLearning/stable/2017-01-01/webservices.json
These settings apply only when --tag=package-commitmentPlans-2016-05-preview
is specified on the command line.
input-file:
- Microsoft.MachineLearning/preview/2016-05-01-preview/commitmentPlans.json
These settings apply only when --tag=package-workspaces-2016-04
is specified on the command line.
input-file:
- Microsoft.MachineLearning/stable/2016-04-01/workspaces.json
These settings apply only when --tag=package-workspaces-2019-10
is specified on the command line.
input-file:
- Microsoft.MachineLearning/stable/2019-10-01/workspaces.json
These settings apply only when --tag=package-webservices-2016-05-preview
is specified on the command line.
input-file:
- Microsoft.MachineLearning/preview/2016-05-01-preview/webservices.json
directive:
- suppress: TrackedResourcePatchOperation
from: commitmentPlans.json
where: $.definitions.CommitmentAssociation
reason: The CommitmentAssociation is an internal association from a Web Service to a Commitment Plan, which can only be created or updated by Web Service Resource Provider.
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-node
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_machine_learning']
- repo: azure-resource-manager-schemas
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
payload-flattening-threshold: 1
license-header: MICROSOFT_MIT_NO_VERSION
clear-output-folder: true
batch:
- package-webservices: true
namespace: Microsoft.Azure.Management.MachineLearning.WebServices
output-folder: $(csharp-sdks-folder)/machinelearning/Microsoft.Azure.Management.MachineLearning/src/Generated/WebServices
- package-commitmentPlans: true
namespace: Microsoft.Azure.Management.MachineLearning.CommitmentPlans
output-folder: $(csharp-sdks-folder)/machinelearning/Microsoft.Azure.Management.MachineLearning/src/Generated/CommitmentPlans
- package-workspaces: true
namespace: Microsoft.Azure.Management.MachineLearning.Workspaces
output-folder: $(csharp-sdks-folder)/machinelearning/Microsoft.Azure.Management.MachineLearning/src/Generated/Workspaces
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.machinelearning
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-machinelearning
Since this RP has no unique default package, iterate over all of them for validation:
batch:
- package-webservices: true
- package-commitmentPlans: true
- package-workspaces: true
batch:
- tag: package-webservices-2017-01
- tag: package-commitmentPlans-2016-05-preview
- tag: package-webservices-2016-05-preview
- tag: package-workspaces-2016-04
- tag: package-workspaces-2019-10
These settings apply only when --tag=package-webservices-2017-01 --java
is specified on the command line.
Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>
.
java:
namespace: com.microsoft.azure.management.machinelearning.v2017_01_01
output-folder: $(azure-libraries-for-java-folder)/sdk/machinelearning/mgmt-v2017_01_01
regenerate-manager: true
generate-interface: true
These settings apply only when --tag=package-commitmentPlans-2016-05-preview --java
is specified on the command line.
Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>
.
java:
namespace: com.microsoft.azure.management.machinelearning.v2016_05_01_preview
output-folder: $(azure-libraries-for-java-folder)/sdk/machinelearning/mgmt-v2016_05_01_preview
regenerate-manager: true
generate-interface: true
These settings apply only when --tag=package-webservices-2016-05-preview --java
is specified on the command line.
Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>
.
java:
namespace: com.microsoft.azure.management.machinelearning.v2016_05_01_preview
output-folder: $(azure-libraries-for-java-folder)/sdk/machinelearning/mgmt-v2016_05_01_preview
regenerate-manager: true
generate-interface: true
These settings apply only when --tag=package-workspaces-2016-04 --java
is specified on the command line.
Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>
.
java:
namespace: com.microsoft.azure.management.machinelearning.v2016_04_01
output-folder: $(azure-libraries-for-java-folder)/sdk/machinelearning/mgmt-v2016_04_01
regenerate-manager: true
generate-interface: true
These settings apply only when --tag=package-workspaces-2019-10 --java
is specified on the command line.
Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>
.
java:
namespace: com.microsoft.azure.management.machinelearning.v2019_10_01
output-folder: $(azure-libraries-for-java-folder)/sdk/machinelearning/mgmt-v2019_10_01
regenerate-manager: true
generate-interface: true