This is the AutoRest configuration file for Storage.
To build the SDK for Storage, 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 Storage API.
openapi-type: arm
tag: package-2019-06
These settings apply only when --tag=package-2020-08-preview
is specified on the command line.
input-file:
- Microsoft.Storage/preview/2020-08-01-preview/storage.json
- Microsoft.Storage/preview/2020-08-01-preview/blob.json
- Microsoft.Storage/preview/2020-08-01-preview/file.json
- Microsoft.Storage/preview/2020-08-01-preview/queue.json
- Microsoft.Storage/preview/2020-08-01-preview/table.json
directive:
- suppress: R3018
reason: Existing boolean properties
approved-by: "@fearthecowboy"
- where:
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"].post.operationId
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"].post.operationId
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"].post.operationId
suppress: R1003
reason: APIs return array of values, is not actually a 'list' operation
approved-by: "@fearthecowboy"
These settings apply only when --tag=package-2019-06
is specified on the command line.
input-file:
- Microsoft.Storage/stable/2019-06-01/storage.json
- Microsoft.Storage/stable/2019-06-01/blob.json
- Microsoft.Storage/stable/2019-06-01/file.json
- Microsoft.Storage/stable/2019-06-01/queue.json
- Microsoft.Storage/stable/2019-06-01/table.json
directive:
- suppress: R3018
reason: Existing boolean properties
approved-by: "@fearthecowboy"
- where:
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"].post.operationId
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"].post.operationId
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"].post.operationId
suppress: R1003
reason: APIs return array of values, is not actually a 'list' operation
approved-by: "@fearthecowboy"
These settings apply only when --tag=package-2019-04
is specified on the command line.
input-file:
- Microsoft.Storage/stable/2019-04-01/storage.json
- Microsoft.Storage/stable/2019-04-01/blob.json
- Microsoft.Storage/stable/2019-04-01/file.json
directive:
- suppress: R3018
reason: Existing boolean properties
approved-by: "@fearthecowboy"
- where:
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"].post.operationId
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"].post.operationId
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"].post.operationId
suppress: R1003
reason: APIs return array of values, is not actually a 'list' operation
approved-by: "@fearthecowboy"
These settings apply only when --tag=package-2018-11
is specified on the command line.
input-file:
- Microsoft.Storage/stable/2018-11-01/storage.json
- Microsoft.Storage/stable/2018-11-01/blob.json
directive:
- suppress: R3018
reason: Existing boolean properties
approved-by: "@fearthecowboy"
- where:
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"].post.operationId
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"].post.operationId
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"].post.operationId
suppress: R1003
reason: APIs return array of values, is not actually a 'list' operation
approved-by: "@fearthecowboy"
These settings apply only when --tag=package-2018-07
is specified on the command line.
input-file:
- Microsoft.Storage/stable/2018-07-01/storage.json
- Microsoft.Storage/stable/2018-07-01/blob.json
- Microsoft.Storage/preview/2018-03-01-preview/managementpolicy.json
directive:
- suppress: R3018
reason: Existing boolean properties
approved-by: "@fearthecowboy"
- where:
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"].post.operationId
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"].post.operationId
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"].post.operationId
suppress: R1003
reason: APIs return array of values, is not actually a 'list' operation
approved-by: "@fearthecowboy"
These settings apply only when --tag=package-2018-07-only
is specified on the command line.
input-file:
- Microsoft.Storage/stable/2018-07-01/storage.json
- Microsoft.Storage/stable/2018-07-01/blob.json
These settings apply only when --tag=package-2018-03
is specified on the command line.
input-file:
- Microsoft.Storage/preview/2018-03-01-preview/storage.json
- Microsoft.Storage/preview/2018-03-01-preview/blob.json
directive:
- suppress: R3018
reason: Existing boolean properties
approved-by: "@fearthecowboy"
- where:
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"].post.operationId
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"].post.operationId
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"].post.operationId
suppress: R1003
reason: APIs return array of values, is not actually a 'list' operation
approved-by: "@fearthecowboy"
These settings apply only when --tag=package-2018-02
is specified on the command line.
input-file:
- Microsoft.Storage/stable/2018-02-01/storage.json
- Microsoft.Storage/stable/2018-02-01/blob.json
directive:
- suppress: R3018
reason: Existing boolean properties
approved-by: "@fearthecowboy"
- where:
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"].post.operationId
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"].post.operationId
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"].post.operationId
suppress: R1003
reason: APIs return array of values, is not actually a 'list' operation
approved-by: "@fearthecowboy"
These settings apply only when --tag=package-2017-10
is specified on the command line.
input-file:
- Microsoft.Storage/stable/2017-10-01/storage.json
These settings apply only when --tag=package-2017-06
is specified on the command line.
input-file:
- Microsoft.Storage/stable/2017-06-01/storage.json
These settings apply only when --tag=package-2016-12
is specified on the command line.
input-file:
- Microsoft.Storage/stable/2016-12-01/storage.json
These settings apply only when --tag=package-2016-05
is specified on the command line.
input-file:
- Microsoft.Storage/stable/2016-05-01/storage.json
These settings apply only when --tag=package-2016-01
is specified on the command line.
input-file:
- Microsoft.Storage/stable/2016-01-01/storage.json
These settings apply only when --tag=package-2015-06
is specified on the command line.
input-file:
- Microsoft.Storage/stable/2015-06-15/storage.json
These settings apply only when --tag=package-2015-05-preview
is specified on the command line.
input-file:
- Microsoft.Storage/preview/2015-05-01-preview/storage.json
These settings apply only when --tag=profile-hybrid-2020-09-01
is specified on the command line.
Creating this tag to pick proper resources from the hybrid profile.
input-file:
- Microsoft.Storage/stable/2019-06-01/storage.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-python-track2
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-node
- repo: azure-sdk-for-js
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_storage']
- repo: azure-resource-manager-schemas
after_scripts:
- node sdkauto_afterscript.js storage/resource-manager
See configuration in readme.java.md
See configuration in readme.azureresourceschema.md