This is the AutoRest configuration file for Cosmos-DB.
To build the SDK for Cosmos-DB, 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 Cosmos-DB API.
title: CosmosDBManagementClient
openapi-type: arm
tag: package-preview-2024-09
These settings apply only when --tag=package-preview-2024-09
is specified on the command line.
input-file:
- Microsoft.DocumentDB/preview/2024-09-01-preview/cosmos-db.json
- Microsoft.DocumentDB/preview/2024-09-01-preview/dataTransferService.json
- Microsoft.DocumentDB/preview/2024-09-01-preview/managedCassandra.json
- Microsoft.DocumentDB/preview/2024-09-01-preview/mongorbac.json
- Microsoft.DocumentDB/preview/2024-09-01-preview/networkSecurityPerimeter.json
- Microsoft.DocumentDB/preview/2024-09-01-preview/notebook.json
- Microsoft.DocumentDB/preview/2024-09-01-preview/privateEndpointConnection.json
- Microsoft.DocumentDB/preview/2024-09-01-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2024-09-01-preview/rbac.json
- Microsoft.DocumentDB/preview/2024-09-01-preview/restorable.json
- Microsoft.DocumentDB/preview/2024-09-01-preview/services.json
- Microsoft.DocumentDB/preview/2024-09-01-preview/throughputpool.json
- Microsoft.DocumentDB/preview/2024-09-01-preview/chaosFault.json
These settings apply only when --tag=package-2024-08
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2024-08-15/cosmos-db.json
- Microsoft.DocumentDB/stable/2024-08-15/managedCassandra.json
- Microsoft.DocumentDB/stable/2024-08-15/mongorbac.json
- Microsoft.DocumentDB/stable/2024-08-15/notebook.json
- Microsoft.DocumentDB/stable/2024-08-15/privateEndpointConnection.json
- Microsoft.DocumentDB/stable/2024-08-15/privateLinkResources.json
- Microsoft.DocumentDB/stable/2024-08-15/rbac.json
- Microsoft.DocumentDB/stable/2024-08-15/restorable.json
- Microsoft.DocumentDB/stable/2024-08-15/services.json
These settings apply only when --tag=package-preview-2024-05
is specified on the command line.
input-file:
- Microsoft.DocumentDB/preview/2024-05-15-preview/networkSecurityPerimeter.json
- Microsoft.DocumentDB/preview/2024-05-15-preview/cosmos-db.json
- Microsoft.DocumentDB/preview/2024-05-15-preview/dataTransferService.json
- Microsoft.DocumentDB/preview/2024-05-15-preview/managedCassandra.json
- Microsoft.DocumentDB/preview/2024-05-15-preview/mongorbac.json
- Microsoft.DocumentDB/preview/2024-05-15-preview/notebook.json
- Microsoft.DocumentDB/preview/2024-05-15-preview/privateEndpointConnection.json
- Microsoft.DocumentDB/preview/2024-05-15-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2024-05-15-preview/rbac.json
- Microsoft.DocumentDB/preview/2024-05-15-preview/restorable.json
- Microsoft.DocumentDB/preview/2024-05-15-preview/services.json
- Microsoft.DocumentDB/preview/2024-05-15-preview/throughputpool.json
These settings apply only when --tag=package-2024-05
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2024-05-15/cosmos-db.json
- Microsoft.DocumentDB/stable/2024-05-15/managedCassandra.json
- Microsoft.DocumentDB/stable/2024-05-15/mongorbac.json
- Microsoft.DocumentDB/stable/2024-05-15/notebook.json
- Microsoft.DocumentDB/stable/2024-05-15/privateEndpointConnection.json
- Microsoft.DocumentDB/stable/2024-05-15/privateLinkResources.json
- Microsoft.DocumentDB/stable/2024-05-15/rbac.json
- Microsoft.DocumentDB/stable/2024-05-15/restorable.json
- Microsoft.DocumentDB/stable/2024-05-15/services.json
These settings apply only when --tag=package-preview-2024-02
is specified on the command line.
input-file:
- Microsoft.DocumentDB/preview/2024-02-15-preview/cosmos-db.json
- Microsoft.DocumentDB/preview/2024-02-15-preview/dataTransferService.json
- Microsoft.DocumentDB/preview/2024-02-15-preview/managedCassandra.json
- Microsoft.DocumentDB/preview/2024-02-15-preview/mongoCluster.json
- Microsoft.DocumentDB/preview/2024-02-15-preview/mongorbac.json
- Microsoft.DocumentDB/preview/2024-02-15-preview/notebook.json
- Microsoft.DocumentDB/preview/2024-02-15-preview/privateEndpointConnection.json
- Microsoft.DocumentDB/preview/2024-02-15-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2024-02-15-preview/rbac.json
- Microsoft.DocumentDB/preview/2024-02-15-preview/restorable.json
- Microsoft.DocumentDB/preview/2024-02-15-preview/services.json
- Microsoft.DocumentDB/preview/2024-02-15-preview/throughputpool.json
These settings apply only when --tag=package-preview-2023-11
is specified on the command line.
input-file:
- Microsoft.DocumentDB/preview/2023-11-15-preview/cosmos-db.json
- Microsoft.DocumentDB/preview/2023-11-15-preview/dataTransferService.json
- Microsoft.DocumentDB/preview/2023-11-15-preview/managedCassandra.json
- Microsoft.DocumentDB/preview/2023-11-15-preview/mongoCluster.json
- Microsoft.DocumentDB/preview/2023-11-15-preview/mongorbac.json
- Microsoft.DocumentDB/preview/2023-11-15-preview/notebook.json
- Microsoft.DocumentDB/preview/2023-11-15-preview/privateEndpointConnection.json
- Microsoft.DocumentDB/preview/2023-11-15-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2023-11-15-preview/rbac.json
- Microsoft.DocumentDB/preview/2023-11-15-preview/restorable.json
- Microsoft.DocumentDB/preview/2023-11-15-preview/services.json
- Microsoft.DocumentDB/preview/2023-11-15-preview/throughputpool.json
These settings apply only when --tag=package-2023-11
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2023-11-15/cosmos-db.json
- Microsoft.DocumentDB/stable/2023-11-15/managedCassandra.json
- Microsoft.DocumentDB/stable/2023-11-15/mongorbac.json
- Microsoft.DocumentDB/stable/2023-11-15/notebook.json
- Microsoft.DocumentDB/stable/2023-11-15/privateEndpointConnection.json
- Microsoft.DocumentDB/stable/2023-11-15/privateLinkResources.json
- Microsoft.DocumentDB/stable/2023-11-15/rbac.json
- Microsoft.DocumentDB/stable/2023-11-15/restorable.json
- Microsoft.DocumentDB/stable/2023-11-15/services.json
These settings apply only when --tag=package-2023-09
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2023-09-15/cosmos-db.json
- Microsoft.DocumentDB/stable/2023-09-15/managedCassandra.json
- Microsoft.DocumentDB/stable/2023-09-15/mongorbac.json
- Microsoft.DocumentDB/stable/2023-09-15/notebook.json
- Microsoft.DocumentDB/stable/2023-09-15/privateEndpointConnection.json
- Microsoft.DocumentDB/stable/2023-09-15/privateLinkResources.json
- Microsoft.DocumentDB/stable/2023-09-15/rbac.json
- Microsoft.DocumentDB/stable/2023-09-15/restorable.json
- Microsoft.DocumentDB/stable/2023-09-15/services.json
These settings apply only when --tag=package-preview-2023-09
is specified on the command line.
input-file:
- Microsoft.DocumentDB/preview/2023-09-15-preview/cosmos-db.json
- Microsoft.DocumentDB/preview/2023-09-15-preview/dataTransferService.json
- Microsoft.DocumentDB/preview/2023-09-15-preview/managedCassandra.json
- Microsoft.DocumentDB/preview/2023-09-15-preview/mongoCluster.json
- Microsoft.DocumentDB/preview/2023-09-15-preview/mongorbac.json
- Microsoft.DocumentDB/preview/2023-09-15-preview/notebook.json
- Microsoft.DocumentDB/preview/2023-09-15-preview/privateEndpointConnection.json
- Microsoft.DocumentDB/preview/2023-09-15-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2023-09-15-preview/rbac.json
- Microsoft.DocumentDB/preview/2023-09-15-preview/restorable.json
- Microsoft.DocumentDB/preview/2023-09-15-preview/services.json
These settings apply only when --tag=package-preview-2023-03-15
is specified on the command line.
input-file:
- Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json
- Microsoft.DocumentDB/preview/2023-03-15-preview/dataTransferService.json
- Microsoft.DocumentDB/preview/2023-03-15-preview/managedCassandra.json
- Microsoft.DocumentDB/preview/2023-03-15-preview/mongoCluster.json
- Microsoft.DocumentDB/preview/2023-03-15-preview/mongorbac.json
- Microsoft.DocumentDB/preview/2023-03-15-preview/notebook.json
- Microsoft.DocumentDB/preview/2023-03-15-preview/privateEndpointConnection.json
- Microsoft.DocumentDB/preview/2023-03-15-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2023-03-15-preview/rbac.json
- Microsoft.DocumentDB/preview/2023-03-15-preview/restorable.json
- Microsoft.DocumentDB/preview/2023-03-15-preview/services.json
These settings apply only when --tag=package-2023-04
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2023-04-15/cosmos-db.json
- Microsoft.DocumentDB/stable/2023-04-15/managedCassandra.json
- Microsoft.DocumentDB/stable/2023-04-15/mongorbac.json
- Microsoft.DocumentDB/stable/2023-04-15/notebook.json
- Microsoft.DocumentDB/stable/2023-04-15/privateEndpointConnection.json
- Microsoft.DocumentDB/stable/2023-04-15/privateLinkResources.json
- Microsoft.DocumentDB/stable/2023-04-15/rbac.json
- Microsoft.DocumentDB/stable/2023-04-15/restorable.json
- Microsoft.DocumentDB/stable/2023-04-15/services.json
These settings apply only when --tag=package-2023-03
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2023-03-15/cosmos-db.json
- Microsoft.DocumentDB/stable/2023-03-15/managedCassandra.json
- Microsoft.DocumentDB/stable/2023-03-15/mongorbac.json
- Microsoft.DocumentDB/stable/2023-03-15/notebook.json
- Microsoft.DocumentDB/stable/2023-03-15/privateEndpointConnection.json
- Microsoft.DocumentDB/stable/2023-03-15/privateLinkResources.json
- Microsoft.DocumentDB/stable/2023-03-15/rbac.json
- Microsoft.DocumentDB/stable/2023-03-15/restorable.json
- Microsoft.DocumentDB/stable/2023-03-15/services.json
These settings apply only when --tag=package-preview-2023-03
is specified on the command line.
input-file:
- Microsoft.DocumentDB/preview/2023-03-01-preview/cosmos-db.json
- Microsoft.DocumentDB/preview/2023-03-01-preview/dataTransferService.json
- Microsoft.DocumentDB/preview/2023-03-01-preview/managedCassandra.json
- Microsoft.DocumentDB/preview/2023-03-01-preview/mongoCluster.json
- Microsoft.DocumentDB/preview/2023-03-01-preview/mongorbac.json
- Microsoft.DocumentDB/preview/2023-03-01-preview/notebook.json
- Microsoft.DocumentDB/preview/2023-03-01-preview/privateEndpointConnection.json
- Microsoft.DocumentDB/preview/2023-03-01-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2023-03-01-preview/rbac.json
- Microsoft.DocumentDB/preview/2023-03-01-preview/restorable.json
- Microsoft.DocumentDB/preview/2023-03-01-preview/services.json
modelerfour:
lenient-model-deduplication: true
These settings apply only when --tag=package-preview-2022-11
is specified on the command line.
input-file:
- Microsoft.DocumentDB/preview/2022-11-15-preview/cosmos-db.json
- Microsoft.DocumentDB/preview/2022-11-15-preview/dataTransferService.json
- Microsoft.DocumentDB/preview/2022-11-15-preview/managedCassandra.json
- Microsoft.DocumentDB/preview/2022-11-15-preview/mongorbac.json
- Microsoft.DocumentDB/preview/2022-11-15-preview/notebook.json
- Microsoft.DocumentDB/preview/2022-11-15-preview/privateEndpointConnection.json
- Microsoft.DocumentDB/preview/2022-11-15-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2022-11-15-preview/rbac.json
- Microsoft.DocumentDB/preview/2022-11-15-preview/restorable.json
- Microsoft.DocumentDB/preview/2022-11-15-preview/services.json
These settings apply only when --tag=package-2022-11
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2022-11-15/cosmos-db.json
- Microsoft.DocumentDB/stable/2022-11-15/managedCassandra.json
- Microsoft.DocumentDB/stable/2022-11-15/mongorbac.json
- Microsoft.DocumentDB/stable/2022-11-15/notebook.json
- Microsoft.DocumentDB/stable/2022-11-15/privateEndpointConnection.json
- Microsoft.DocumentDB/stable/2022-11-15/privateLinkResources.json
- Microsoft.DocumentDB/stable/2022-11-15/rbac.json
- Microsoft.DocumentDB/stable/2022-11-15/restorable.json
- Microsoft.DocumentDB/stable/2022-11-15/services.json
These settings apply only when --tag=package-preview-2022-08
is specified on the command line.
input-file:
- Microsoft.DocumentDB/preview/2022-08-15-preview/cosmos-db.json
- Microsoft.DocumentDB/preview/2022-08-15-preview/dataTransferService.json
- Microsoft.DocumentDB/preview/2022-08-15-preview/managedCassandra.json
- Microsoft.DocumentDB/preview/2022-08-15-preview/mongorbac.json
- Microsoft.DocumentDB/preview/2022-08-15-preview/notebook.json
- Microsoft.DocumentDB/preview/2022-08-15-preview/privateEndpointConnection.json
- Microsoft.DocumentDB/preview/2022-08-15-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2022-08-15-preview/rbac.json
- Microsoft.DocumentDB/preview/2022-08-15-preview/restorable.json
- Microsoft.DocumentDB/preview/2022-08-15-preview/services.json
These settings apply only when --tag=package-2022-08
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2022-08-15/cosmos-db.json
- Microsoft.DocumentDB/stable/2022-08-15/managedCassandra.json
- Microsoft.DocumentDB/stable/2022-08-15/notebook.json
- Microsoft.DocumentDB/stable/2022-08-15/privateEndpointConnection.json
- Microsoft.DocumentDB/stable/2022-08-15/privateLinkResources.json
- Microsoft.DocumentDB/stable/2022-08-15/mongorbac.json
- Microsoft.DocumentDB/stable/2022-08-15/rbac.json
- Microsoft.DocumentDB/stable/2022-08-15/restorable.json
- Microsoft.DocumentDB/stable/2022-08-15/services.json
These settings apply only when --tag=package-preview-2022-05
is specified on the command line.
input-file:
- Microsoft.DocumentDB/preview/2022-05-15-preview/cosmos-db.json
- Microsoft.DocumentDB/preview/2022-05-15-preview/dataTransferService.json
- Microsoft.DocumentDB/preview/2022-05-15-preview/managedCassandra.json
- Microsoft.DocumentDB/preview/2022-05-15-preview/mongorbac.json
- Microsoft.DocumentDB/preview/2022-05-15-preview/notebook.json
- Microsoft.DocumentDB/preview/2022-05-15-preview/privateEndpointConnection.json
- Microsoft.DocumentDB/preview/2022-05-15-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2022-05-15-preview/rbac.json
- Microsoft.DocumentDB/preview/2022-05-15-preview/restorable.json
- Microsoft.DocumentDB/preview/2022-05-15-preview/services.json
These settings apply only when --tag=package-2022-05
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2022-05-15/cosmos-db.json
- Microsoft.DocumentDB/stable/2022-05-15/managedCassandra.json
- Microsoft.DocumentDB/stable/2022-05-15/notebook.json
- Microsoft.DocumentDB/stable/2022-05-15/privateEndpointConnection.json
- Microsoft.DocumentDB/stable/2022-05-15/privateLinkResources.json
- Microsoft.DocumentDB/stable/2022-05-15/rbac.json
- Microsoft.DocumentDB/stable/2022-05-15/restorable.json
- Microsoft.DocumentDB/stable/2022-05-15/services.json
These settings apply only when --tag=package-preview-2022-02
is specified on the command line.
input-file:
- Microsoft.DocumentDB/preview/2022-02-15-preview/cosmos-db.json
- Microsoft.DocumentDB/preview/2022-02-15-preview/dataTransferService.json
- Microsoft.DocumentDB/preview/2022-02-15-preview/managedCassandra.json
- Microsoft.DocumentDB/preview/2022-02-15-preview/mongorbac.json
- Microsoft.DocumentDB/preview/2022-02-15-preview/notebook.json
- Microsoft.DocumentDB/preview/2022-02-15-preview/privateEndpointConnection.json
- Microsoft.DocumentDB/preview/2022-02-15-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2022-02-15-preview/rbac.json
- Microsoft.DocumentDB/preview/2022-02-15-preview/restorable.json
- Microsoft.DocumentDB/preview/2022-02-15-preview/services.json
These settings apply only when --tag=package-preview-2021-11
is specified on the command line.
input-file:
- Microsoft.DocumentDB/preview/2021-11-15-preview/cosmos-db.json
- Microsoft.DocumentDB/preview/2021-11-15-preview/dataTransferService.json
- Microsoft.DocumentDB/preview/2021-11-15-preview/managedCassandra.json
- Microsoft.DocumentDB/preview/2021-11-15-preview/mongorbac.json
- Microsoft.DocumentDB/preview/2021-11-15-preview/notebook.json
- Microsoft.DocumentDB/preview/2021-11-15-preview/privateEndpointConnection.json
- Microsoft.DocumentDB/preview/2021-11-15-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2021-11-15-preview/rbac.json
- Microsoft.DocumentDB/preview/2021-11-15-preview/restorable.json
- Microsoft.DocumentDB/preview/2021-11-15-preview/services.json
These settings apply only when --tag=package-2021-10
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2021-10-15/cosmos-db.json
- Microsoft.DocumentDB/stable/2021-10-15/notebook.json
- Microsoft.DocumentDB/stable/2021-10-15/privateEndpointConnection.json
- Microsoft.DocumentDB/stable/2021-10-15/privateLinkResources.json
- Microsoft.DocumentDB/stable/2021-10-15/rbac.json
- Microsoft.DocumentDB/stable/2021-10-15/restorable.json
- Microsoft.DocumentDB/stable/2021-10-15/managedCassandra.json
modelerfour:
lenient-model-deduplication: true
These settings apply only when --tag=package-preview-2021-10
is specified on the command line.
input-file:
- Microsoft.DocumentDB/preview/2021-10-15-preview/cosmos-db.json
- Microsoft.DocumentDB/preview/2021-10-15-preview/managedCassandra.json
- Microsoft.DocumentDB/preview/2021-10-15-preview/notebook.json
- Microsoft.DocumentDB/preview/2021-10-15-preview/privateEndpointConnection.json
- Microsoft.DocumentDB/preview/2021-10-15-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2021-10-15-preview/rbac.json
- Microsoft.DocumentDB/preview/2021-10-15-preview/restorable.json
- Microsoft.DocumentDB/preview/2021-10-15-preview/services.json
- Microsoft.DocumentDB/preview/2021-10-15-preview/mongorbac.json
- Microsoft.DocumentDB/preview/2021-10-15-preview/dataTransferService.json
These settings apply only when --tag=package-2021-07-preview
is specified on the command line.
input-file:
- Microsoft.DocumentDB/preview/2021-07-01-preview/cosmos-db.json
- Microsoft.DocumentDB/preview/2021-07-01-preview/notebook.json
- Microsoft.DocumentDB/preview/2021-07-01-preview/privateEndpointConnection.json
- Microsoft.DocumentDB/preview/2021-07-01-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2021-07-01-preview/rbac.json
- Microsoft.DocumentDB/preview/2021-07-01-preview/restorable.json
- Microsoft.DocumentDB/preview/2021-07-01-preview/managedCassandra.json
- Microsoft.DocumentDB/preview/2021-07-01-preview/services.json
modelerfour:
lenient-model-deduplication: true
These settings apply only when --tag=package-2021-06
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2021-06-15/cosmos-db.json
- Microsoft.DocumentDB/stable/2021-06-15/notebook.json
- Microsoft.DocumentDB/stable/2021-06-15/privateEndpointConnection.json
- Microsoft.DocumentDB/stable/2021-06-15/privateLinkResources.json
- Microsoft.DocumentDB/stable/2021-06-15/rbac.json
- Microsoft.DocumentDB/stable/2021-06-15/restorable.json
modelerfour:
lenient-model-deduplication: true
These settings apply only when --tag=package-2021-05
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2021-05-15/cosmos-db.json
- Microsoft.DocumentDB/stable/2021-05-15/notebook.json
- Microsoft.DocumentDB/stable/2021-05-15/rbac.json
- Microsoft.DocumentDB/stable/2021-05-15/privateLinkResources.json
- Microsoft.DocumentDB/stable/2021-05-15/privateEndpointConnection.json
modelerfour:
lenient-model-deduplication: true
These settings apply only when --tag=package-2021-04
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2021-04-15/cosmos-db.json
- Microsoft.DocumentDB/stable/2021-04-15/notebook.json
- Microsoft.DocumentDB/stable/2021-04-15/rbac.json
- Microsoft.DocumentDB/stable/2021-04-15/privateLinkResources.json
- Microsoft.DocumentDB/stable/2021-04-15/privateEndpointConnection.json
modelerfour:
lenient-model-deduplication: true
These settings apply only when --tag=package-2021-04
is specified on the command line.
input-file:
- Microsoft.DocumentDB/preview/2021-04-01-preview/cosmos-db.json
- Microsoft.DocumentDB/preview/2021-04-01-preview/notebook.json
- Microsoft.DocumentDB/preview/2021-04-01-preview/rbac.json
- Microsoft.DocumentDB/preview/2021-04-01-preview/restorable.json
- Microsoft.DocumentDB/preview/2021-04-01-preview/managedCassandra.json
- Microsoft.DocumentDB/preview/2021-04-01-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2021-04-01-preview/privateEndpointConnection.json
- Microsoft.DocumentDB/preview/2021-04-01-preview/services.json
modelerfour:
lenient-model-deduplication: true
These settings apply only when --tag=package-2021-03
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2021-03-15/cosmos-db.json
- Microsoft.DocumentDB/stable/2021-03-15/notebook.json
- Microsoft.DocumentDB/stable/2021-03-15/privateLinkResources.json
- Microsoft.DocumentDB/stable/2021-03-15/privateEndpointConnection.json
modelerfour:
lenient-model-deduplication: true
These settings apply only when --tag=package-2021-03-preview
is specified on the command line.
input-file:
- Microsoft.DocumentDB/preview/2021-03-01-preview/cosmos-db.json
- Microsoft.DocumentDB/preview/2021-03-01-preview/notebook.json
- Microsoft.DocumentDB/preview/2021-03-01-preview/rbac.json
- Microsoft.DocumentDB/preview/2021-03-01-preview/restorable.json
- Microsoft.DocumentDB/preview/2021-03-01-preview/managedCassandra.json
- Microsoft.DocumentDB/preview/2021-03-01-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2021-03-01-preview/privateEndpointConnection.json
modelerfour:
lenient-model-deduplication: true
tag: package-preview-2024-09
These settings apply only when --tag=package-preview-2021-04
is specified on the command line.
input-file:
- Microsoft.DocumentDB/preview/2021-04-01-preview/cosmos-db.json
- Microsoft.DocumentDB/preview/2021-04-01-preview/managedCassandra.json
- Microsoft.DocumentDB/preview/2021-04-01-preview/notebook.json
- Microsoft.DocumentDB/preview/2021-04-01-preview/privateEndpointConnection.json
- Microsoft.DocumentDB/preview/2021-04-01-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2021-04-01-preview/rbac.json
- Microsoft.DocumentDB/preview/2021-04-01-preview/restorable.json
These settings apply only when --tag=package-2021-01
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2021-01-15/cosmos-db.json
- Microsoft.DocumentDB/stable/2021-01-15/notebook.json
- Microsoft.DocumentDB/stable/2021-01-15/privateLinkResources.json
- Microsoft.DocumentDB/stable/2021-01-15/privateEndpointConnection.json
modelerfour:
lenient-model-deduplication: true
These settings apply only when --tag=package-2020-09
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2020-09-01/cosmos-db.json
- Microsoft.DocumentDB/stable/2020-09-01/notebook.json
- Microsoft.DocumentDB/preview/2019-08-01-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json
modelerfour:
lenient-model-deduplication: true
These settings apply only when --tag=package-2020-06-preview
is specified on the command line.
input-file:
- Microsoft.DocumentDB/preview/2020-06-01-preview/cosmos-db.json
- Microsoft.DocumentDB/preview/2020-06-01-preview/notebook.json
- Microsoft.DocumentDB/preview/2020-06-01-preview/rbac.json
- Microsoft.DocumentDB/preview/2020-06-01-preview/restorable.json
- Microsoft.DocumentDB/preview/2019-08-01-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json
modelerfour:
lenient-model-deduplication: true
These settings apply only when --tag=package-2020-04
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2020-04-01/cosmos-db.json
- Microsoft.DocumentDB/stable/2020-04-01/notebook.json
- Microsoft.DocumentDB/preview/2019-08-01-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json
modelerfour:
lenient-model-deduplication: true
These settings apply only when --tag=package-2020-03
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2020-03-01/cosmos-db.json
- Microsoft.DocumentDB/stable/2020-03-01/notebook.json
- Microsoft.DocumentDB/preview/2019-08-01-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json
modelerfour:
lenient-model-deduplication: true
These settings apply only when --tag=package-2019-12
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2019-12-12/cosmos-db.json
- Microsoft.DocumentDB/stable/2019-12-12/notebook.json
- Microsoft.DocumentDB/preview/2019-08-01-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json
These settings apply only when --tag=package-2019-08
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json
- Microsoft.DocumentDB/stable/2019-08-01/notebook.json
These settings apply only when --tag=package-2019-08-preview
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json
- Microsoft.DocumentDB/stable/2019-08-01/notebook.json
- Microsoft.DocumentDB/preview/2019-08-01-preview/privateLinkResources.json
- Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json
These settings apply only when --tag=package-2015-04
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json
These settings apply only when --tag=package-2014-04
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2014-04-01/cosmos-db.json
These settings apply only when --tag=package-2015-11
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2015-11-06/cosmos-db.json
These settings apply only when --tag=package-2016-03-19
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2016-03-19/cosmos-db.json
These settings apply only when --tag=package-2016-03-31
is specified on the command line.
input-file:
- Microsoft.DocumentDB/stable/2016-03-31/cosmos-db.json
directive:
- suppress: TrackedResourceGetOperation
from: cosmos-db.json
where: $.definitions.DatabaseAccountCreateUpdateParameters
reason: The DatabaseAccount request and response resources differ so the DatabaseAccountCreateUpdateParameters must only have a PUT operation
- suppress: TrackedResourcePatchOperation
from: cosmos-db.json
where: $.definitions.DatabaseAccountCreateUpdateParameters
reason: The DatabaseAccount request and response resources differ so the DatabaseAccountCreateUpdateParameters must only have a PUT operation
- suppress: DefinitionsPropertiesNamesCamelCase
from: cosmos-db.json
where: $.definitions.MetricValue.properties._count
reason: The Metrics API has a property name with a leading underscore character
- suppress: DefinitionsPropertiesNamesCamelCase
from: cosmos-db.json
where: $.definitions.ExtendedResourceProperties.properties._rid
reason: The resource has a property name with a leading underscore character
- suppress: DefinitionsPropertiesNamesCamelCase
from: cosmos-db.json
where: $.definitions.ExtendedResourceProperties.properties._ts
reason: The resource has a property name with a leading underscore character
- suppress: DefinitionsPropertiesNamesCamelCase
from: cosmos-db.json
where: $.definitions.ExtendedResourceProperties.properties._etag
reason: The resource has a property name with a leading underscore character
- suppress: DefinitionsPropertiesNamesCamelCase
from: cosmos-db.json
where: $.definitions.SqlDatabaseGetProperties.properties._colls
reason: The database has a property name with a leading underscore character
- suppress: DefinitionsPropertiesNamesCamelCase
from: cosmos-db.json
where: $.definitions.SqlDatabaseGetProperties.properties._users
reason: The database has a property name with a leading underscore character
- suppress: DefinitionsPropertiesNamesCamelCase
from: cosmos-db.json
where: $.definitions.PercentileMetricValue.properties.P10
reason: The Metrics API has percentile metrics property names with leading capital letters
- suppress: DefinitionsPropertiesNamesCamelCase
from: cosmos-db.json
where: $.definitions.PercentileMetricValue.properties.P25
reason: The Metrics API has percentile metrics property names with leading capital letters
- suppress: DefinitionsPropertiesNamesCamelCase
from: cosmos-db.json
where: $.definitions.PercentileMetricValue.properties.P50
reason: The Metrics API has percentile metrics property names with leading capital letters
- suppress: DefinitionsPropertiesNamesCamelCase
from: cosmos-db.json
where: $.definitions.PercentileMetricValue.properties.P75
reason: The Metrics API has percentile metrics property names with leading capital letters
- suppress: DefinitionsPropertiesNamesCamelCase
from: cosmos-db.json
where: $.definitions.PercentileMetricValue.properties.P90
reason: The Metrics API has percentile metrics property names with leading capital letters
- suppress: DefinitionsPropertiesNamesCamelCase
from: cosmos-db.json
where: $.definitions.PercentileMetricValue.properties.P95
reason: The Metrics API has percentile metrics property names with leading capital letters
- suppress: DefinitionsPropertiesNamesCamelCase
from: cosmos-db.json
where: $.definitions.PercentileMetricValue.properties.P99
reason: The Metrics API has percentile metrics property names with leading capital letters
- suppress: PathResourceProviderNamePascalCase
from: cosmos-db.json
reason: The name of the provider is Microsoft.DocumentDB
- suppress: PathResourceProviderNamePascalCase
from: notebook.json
reason: The name of the provider is Microsoft.DocumentDB
- suppress: PathResourceProviderNamePascalCase
from: managedCassandra.json
reason: The name of the provider is Microsoft.DocumentDB
- suppress: PathResourceProviderNamePascalCase
from: privateEndpointConnection.json
reason: The name of the provider is Microsoft.DocumentDB
- suppress: PathResourceProviderNamePascalCase
from: privateLinkResources.json
reason: The name of the provider is Microsoft.DocumentDB
- suppress: PathResourceProviderNamePascalCase
from: rbac.json
reason: The name of the provider is Microsoft.DocumentDB
- suppress: RequiredReadOnlySystemData
reason: We do not yet support system data
- suppress: ListInOperationName
from: managedCassandra.json
reason: False positive on GET instanceView.
- suppress: RequiredDefaultResponse
from: cosmos-db.json
reason: Linter rules added without correcting existing issues.
- suppress: DeleteOperationResponses
from: managedCassandra.json
reason: Linter is broken and throwing false positives.
- suppress: UnSupportedPatchProperties
from: cosmos-db.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: LroPatch202
from: cosmos-db.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: ResourceNameRestriction
from: cosmos-db.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: XmsIdentifierValidation
from: cosmos-db.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: CreateOperationAsyncResponseValidation
from: cosmos-db.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: DeleteOperationAsyncResponseValidation
from: cosmos-db.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: PostOperationAsyncResponseValidation
from: cosmos-db.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: MissingTypeObject
from: cosmos-db.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: ParametersOrder
from: cosmos-db.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: TrackedResourceBeyondsThirdLevel
from: cosmos-db.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: LroLocationHeader
from: cosmos-db.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: TrackedResourcePatchOperation
from: cosmos-db.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: OperationIdNounVerb
from: cosmos-db.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: ResourceNameRestriction
from: dataTransferService.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: RepeatedPathInfo
from: dataTransferService.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: XmsIdentifierValidation
from: managedCassandra.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: LroLocationHeader
from: services.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: LroErrorContent
from: cosmos-db.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: MissingDefaultResponse
from: cosmos-db.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: GetCollectionOnlyHasValueAndNextLink
from: cosmos-db.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: ProvisioningStateSpecifiedForLROPut
from: cosmos-db.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: PutRequestResponseSchemeArm
from: cosmos-db.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: PutRequestResponseSchemeArm
from: dataTransferService.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: PutResponseSchemaDescription
from: dataTransferService.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: GetCollectionOnlyHasValueAndNextLink
from: managedCassandra.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: PutResponseSchemaDescription
from: cosmos-db.json
reason: Temporarily suppressing linter errors and will be fixed later
- suppress: AvoidAdditionalProperties
from: managedCassandra.json
reason: Temporarily suppressing existing linter errors and will be fixed later
- suppress: BodyTopLevelProperties
from: chaosFault.json
reason: Temporarily suppressing existing linter errors due to known issue in linter validation as discussed in the ARM Office hours.
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-python
- repo: azure-sdk-for-net-track2
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
- repo: azure-resource-manager-schemas
- repo: azure-powershell
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.Management.CosmosDB
output-folder: $(csharp-sdks-folder)/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated
clear-output-folder: true
See configuration in readme.python.md
See configuration in readme.go.md
See configuration in readme.java.md