This is the AutoRest configuration file for DataLakeStorage.
To build the SDK for DataLakeStorage, 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 DataLakeStorage API.
openapi-type: data-plane
tag: package-2018-11
use-internal-constructors: true
add-credentials: true
These settings apply only when --tag=package-2019-12
is specified on the command line.
input-file:
- Microsoft.BlobStorage/preview/2019-12-12/blob.json
These settings apply only when --tag=package-2018-11
is specified on the command line.
input-file:
- Microsoft.StorageDataLake/stable/2018-11-09/DataLakeStorage.json
These settings apply only when --tag=package-2018-06-preview
is specified on the command line.
input-file:
- Microsoft.StorageDataLake/preview/2018-06-17/DataLakeStorage.json
Swagger to SDK has been intentionally disabled for this spec.
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.Storage.DataLake
output-folder: $(csharp-sdks-folder)/Storage/DataLake/Generated
clear-output-folder: true
These settings apply only when --python
is specified on the command line.
Please also specify --python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>
.
python-mode: create
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: azure.mgmt.media
package-name: azure-datalake-storage
clear-output-folder: true
no-namespace-folders: true
Generate all API versions currently shipped for this package
batch:
- tag: package-2018-11
- tag: package-2018-06-preview
These settings apply only when --tag=package-2018-11 --python
is specified on the command line.
python:
namespace: azure.datalake.storage.v2018_11_09
output-folder: $(python-sdks-folder)/azure-datalake-storage/azure/datalake/storage/v2018_11_09
These settings apply only when --tag=package-2018-06-preview --python
is specified on the command line.
python:
namespace: azure.datalake.storage.v2018_06_17_preview
output-folder: $(python-sdks-folder)/azure-datalake-storage/azure/datalake/storage/v2018_06_17_preview
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
namespace: com.microsoft.azure.storage.datalake
license-header: MICROSOFT_MIT_NO_CODEGEN
output-folder: $(azure-libraries-for-java-folder)/azure-storage-datalake
AutoRest V3 generators require the use of --tag=all-api-versions
to select api files.
This block is updated by an automatic script. Edits may be lost!
# include the azure profile definitions from the standard location
require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
- $(this-folder)/Microsoft.StorageDataLake/stable/2018-11-09/DataLakeStorage.json
- $(this-folder)/Microsoft.StorageDataLake/preview/2018-06-17/DataLakeStorage.json
If there are files that should not be in the all-api-versions
set,
uncomment the exclude-file
section below and add the file paths.
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json