This is the AutoRest configuration file for Azure Migrate.
batch:
- tag: package-2018-02
- tag: package-2020-01
- tag: package-2020-05
- tag: package-2020-07
These settings apply only when --tag=package-2018-02 --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.azuremigrate.v2018_02_02
output-folder: $(azure-libraries-for-java-folder)/sdk/azuremigrate/mgmt-v2018_02_02
regenerate-manager: true
generate-interface: true
These settings apply only when --tag=package-2020-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.azuremigrate.v2020_01_01
output-folder: $(azure-libraries-for-java-folder)/sdk/azuremigrate/mgmt-v2020_01_01
regenerate-manager: true
generate-interface: true
These settings apply only when --tag=package-2020-05 --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.azuremigrate.v2020_05_01
output-folder: $(azure-libraries-for-java-folder)/sdk/azuremigrate/mgmt-v2020_05_01
regenerate-manager: true
generate-interface: true
These settings apply only when --tag=package-2020-07 --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.azuremigrate.v2020_07_07
output-folder: $(azure-libraries-for-java-folder)/sdk/azuremigrate/mgmt-v2020_07_07
regenerate-manager: true
generate-interface: true
To build the SDK for Migrate, 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-2019-10
These settings apply only when --tag=package-2018-02
is specified on the command line.
input-file:
- Microsoft.Migrate/stable/2018-02-02/migrate.json
These settings apply only when --tag=package-2019-10
is specified on the command line.
input-file:
- Microsoft.Migrate/stable/2019-10-01/migrate.json
These settings apply only when --tag=package-2020-01
is specified on the command line.
input-file:
- Microsoft.OffAzure/stable/2020-01-01/migrate.json
These settings apply only when --tag=package-2020-05
is specified on the command line.
input-file:
- Microsoft.Migrate/stable/2020-05-01/hubmigrate.json
These settings apply only when --tag=package-2020-07
is specified on the command line.
input-file:
- Microsoft.OffAzure/stable/2020-07-07/migrate.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
from: migrate.json
where: $.definitions.AssessedMachineProperties.properties.monthlyStandardSSDStorageCost
reason: SSD is short form.
- suppress: DefinitionsPropertiesNamesCamelCase
from: migrate.json
where: $.definitions.AssessmentProperties.properties.monthlyStandardSSDStorageCost
reason: SSD is short form.
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-go
- repo: azure-sdk-for-go-track2
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
- repo: azure-resource-manager-schemas
- repo: azure-powershell
See configuration in readme.go.md