This is the AutoRest configuration file for Subscription.
To build the SDK for Subscription, simply Install AutoRest and in this folder, run:
autorest
To see additional help and options, run:
autorest --help
directive:
- suppress: R2059
These are the global settings for the Subscription API.
openapi-type: arm
tag: package-2020-09
These settings apply only when --tag=package-2020-09
is specified on the command line.
input-file:
- Microsoft.Subscription/stable/2016-06-01/subscriptions.json
- Microsoft.Subscription/stable/2020-09-01/subscriptions.json
title: SubscriptionClient
description: The subscription client
These settings apply only when --tag=package-2020-01
is specified on the command line.
input-file:
- Microsoft.Subscription/stable/2020-01-01/subscriptions.json
title: SubscriptionClient
description: The subscription client
These settings apply only when --tag=package-2019-10-preview
is specified on the command line.
input-file:
- Microsoft.Subscription/stable/2016-06-01/subscriptions.json
- Microsoft.Subscription/preview/2019-10-01-preview/subscriptions.json
title: SubscriptionClient
description: The subscription client
These settings apply only when --tag=package-2019-03-preview
is specified on the command line.
input-file:
- Microsoft.Subscription/preview/2019-03-01-preview/subscriptions.json
- Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json
- Microsoft.Subscription/preview/2018-03-01-preview/subscriptions.json
- Microsoft.Subscription/preview/2018-03-01-preview/operations.json
- Microsoft.Subscription/stable/2016-06-01/subscriptions.json
title: SubscriptionClient
description: The subscription client
These settings apply only when --tag=package-2018-03-preview
is specified on the command line.
input-file:
- Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json
- Microsoft.Subscription/stable/2016-06-01/subscriptions.json
title: SubscriptionClient
description: The subscription client
These settings apply only when --tag=package-2018-03-preview
is specified on the command line.
input-file:
- Microsoft.Subscription/preview/2018-03-01-preview/subscriptions.json
- Microsoft.Subscription/stable/2016-06-01/subscriptions.json
title: SubscriptionClient
description: The subscription client
These settings apply only when --tag=package-2017-11-preview
is specified on the command line.
input-file:
- Microsoft.Subscription/preview/2017-11-01-preview/subscriptionDefinitions.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-python
- repo: azure-sdk-for-node
- repo: azure-sdk-for-js
- repo: azure-cli-extensions
- repo: azure-resource-manager-schemas
after_scripts:
- node sdkauto_afterscript.js subscription/resource-manager
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.subscription
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-subscription
batch:
- tag: package-2019-10-preview
- tag: package-2017-11-preview
These settings apply only when --tag=package-2019-10-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.subscription.v2019_10_01_preview
output-folder: $(azure-libraries-for-java-folder)/sdk/subscription/mgmt-v2019_10_01_preview
regenerate-manager: true
generate-interface: true
These settings apply only when --tag=package-2017-11-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.subscription.v2017_11_01_preview
output-folder: $(azure-libraries-for-java-folder)/sdk/subscription/mgmt-v2017_11_01_preview
regenerate-manager: true
generate-interface: true
These settings apply only when --tag=package-2016-06-01
is specified on the command line.
input-file:
- Microsoft.Subscription/stable/2016-06-01/subscriptions.json
title: SubscriptionClient
description: The subscription client
See configuration in readme.azureresourceschema.md