From 7b54c28a6e148f58701e3540d5c6a7d10c0b646f Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 20 Jan 2022 00:00:32 +0000 Subject: [PATCH] CodeGen from PR 17418 in Azure/azure-rest-api-specs Merge 4f7f8c3cb8bd3a948eca9881d9a293f88bd1a13d into 0bca06c5e06c6b12ea8e560c7416a5968136e276 --- schemas/2015-04-01/Microsoft.DocumentDB.json | 2666 ------ schemas/2015-04-08/Microsoft.DocumentDB.json | 2666 ------ schemas/2015-11-06/Microsoft.DocumentDB.json | 2666 ------ schemas/2016-03-19/Microsoft.DocumentDB.json | 2666 ------ schemas/2016-03-31/Microsoft.DocumentDB.json | 2666 ------ .../Microsoft.DocumentDB.json | 109 - schemas/2019-08-01/Microsoft.DocumentDB.json | 4426 ---------- schemas/2019-12-12/Microsoft.DocumentDB.json | 4491 ---------- schemas/2020-03-01/Microsoft.DocumentDB.json | 4506 ---------- schemas/2020-04-01/Microsoft.DocumentDB.json | 4681 ---------- .../Microsoft.DocumentDB.json | 5679 ------------ schemas/2020-09-01/Microsoft.DocumentDB.json | 4764 ---------- schemas/2021-01-15/Microsoft.DocumentDB.json | 4989 ----------- .../Microsoft.DocumentDB.json | 6235 ------------- schemas/2021-03-15/Microsoft.DocumentDB.json | 4993 ----------- .../Microsoft.DocumentDB.json | 6371 -------------- schemas/2021-04-15/Microsoft.DocumentDB.json | 5260 ----------- schemas/2021-05-15/Microsoft.DocumentDB.json | 5291 ----------- schemas/2021-06-15/Microsoft.DocumentDB.json | 5450 ------------ .../Microsoft.DocumentDB.json | 7012 --------------- .../Microsoft.DocumentDB.json | 7841 ----------------- schemas/2021-10-15/Microsoft.DocumentDB.json | 5961 ------------- schemas/common/autogeneratedResources.json | 1485 ---- 23 files changed, 102874 deletions(-) delete mode 100644 schemas/2015-04-01/Microsoft.DocumentDB.json delete mode 100644 schemas/2015-04-08/Microsoft.DocumentDB.json delete mode 100644 schemas/2015-11-06/Microsoft.DocumentDB.json delete mode 100644 schemas/2016-03-19/Microsoft.DocumentDB.json delete mode 100644 schemas/2016-03-31/Microsoft.DocumentDB.json delete mode 100644 schemas/2019-08-01-preview/Microsoft.DocumentDB.json delete mode 100644 schemas/2019-08-01/Microsoft.DocumentDB.json delete mode 100644 schemas/2019-12-12/Microsoft.DocumentDB.json delete mode 100644 schemas/2020-03-01/Microsoft.DocumentDB.json delete mode 100644 schemas/2020-04-01/Microsoft.DocumentDB.json delete mode 100644 schemas/2020-06-01-preview/Microsoft.DocumentDB.json delete mode 100644 schemas/2020-09-01/Microsoft.DocumentDB.json delete mode 100644 schemas/2021-01-15/Microsoft.DocumentDB.json delete mode 100644 schemas/2021-03-01-preview/Microsoft.DocumentDB.json delete mode 100644 schemas/2021-03-15/Microsoft.DocumentDB.json delete mode 100644 schemas/2021-04-01-preview/Microsoft.DocumentDB.json delete mode 100644 schemas/2021-04-15/Microsoft.DocumentDB.json delete mode 100644 schemas/2021-05-15/Microsoft.DocumentDB.json delete mode 100644 schemas/2021-06-15/Microsoft.DocumentDB.json delete mode 100644 schemas/2021-07-01-preview/Microsoft.DocumentDB.json delete mode 100644 schemas/2021-10-15-preview/Microsoft.DocumentDB.json delete mode 100644 schemas/2021-10-15/Microsoft.DocumentDB.json diff --git a/schemas/2015-04-01/Microsoft.DocumentDB.json b/schemas/2015-04-01/Microsoft.DocumentDB.json deleted file mode 100644 index c29ccea671..0000000000 --- a/schemas/2015-04-01/Microsoft.DocumentDB.json +++ /dev/null @@ -1,2666 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2015-04-01/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "databaseAccounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "GlobalDocumentDB", - "MongoDB", - "Parse" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of database account. This can only be set at database account creation." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", - "minLength": 3, - "maxLength": 50 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB database account name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts" - }, - "databaseAccounts_apis_databases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_databases_settings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_apis_databases_containers_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_apis_databases_collections_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_apis_databases_graphs_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases" - }, - "databaseAccounts_apis_databases_collections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_databases_collections_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections" - }, - "databaseAccounts_apis_databases_collections_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/settings" - }, - "databaseAccounts_apis_databases_containers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_databases_containers_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers" - }, - "databaseAccounts_apis_databases_containers_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/settings" - }, - "databaseAccounts_apis_databases_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_databases_graphs_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs" - }, - "databaseAccounts_apis_databases_graphs_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings" - }, - "databaseAccounts_apis_databases_settings": { - "type": "object", - "oneOf": [ - { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - ] - } - }, - "required": [ - "apiVersion", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - "databaseAccounts_apis_keyspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_keyspaces_settings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_apis_keyspaces_tables_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces" - }, - "databaseAccounts_apis_keyspaces_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/settings" - }, - "databaseAccounts_apis_keyspaces_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_keyspaces_tables_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables" - }, - "databaseAccounts_apis_keyspaces_tables_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/settings" - }, - "databaseAccounts_apis_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_tables_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/tables" - }, - "databaseAccounts_apis_tables_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/tables/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/tables/settings" - } - }, - "definitions": { - "Capability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." - } - }, - "description": "Cosmos DB capability object" - }, - "CassandraKeyspaceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra keyspace id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "CassandraKeyspaceResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra keyspace" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra keyspace id object" - }, - "CassandraPartitionKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table partition key" - } - }, - "description": "Cosmos DB Cassandra table partition key" - }, - "CassandraSchema": { - "type": "object", - "properties": { - "clusterKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of cluster key." - }, - "columns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Column" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cassandra table columns." - }, - "partitionKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraPartitionKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of partition key." - } - }, - "description": "Cosmos DB Cassandra table schema" - }, - "CassandraTableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "CassandraTableResource": { - "type": "object", - "properties": { - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time to live of the Cosmos DB Cassandra table" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table" - }, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraSchema" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table schema" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra table id object" - }, - "ClusterKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table cluster key" - }, - "orderBy": { - "type": "string", - "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" - } - }, - "description": "Cosmos DB Cassandra table cluster key" - }, - "Column": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table column" - }, - "type": { - "type": "string", - "description": "Type of the Cosmos DB Cassandra table column" - } - }, - "description": "Cosmos DB Cassandra table column" - }, - "ConflictResolutionPolicy": { - "type": "object", - "properties": { - "conflictResolutionPath": { - "type": "string", - "description": "The conflict resolution path in the case of LastWriterWins mode." - }, - "conflictResolutionProcedure": { - "type": "string", - "description": "The procedure to resolve conflicts in the case of custom mode." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastWriterWins", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the conflict resolution mode." - } - }, - "description": "The conflict resolution policy for the container." - }, - "ConsistencyPolicy": { - "type": "object", - "properties": { - "defaultConsistencyLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Eventual", - "Session", - "BoundedStaleness", - "Strong", - "ConsistentPrefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default consistency level and configuration settings of the Cosmos DB account." - }, - "maxIntervalInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 5, - "maximum": 86400 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - }, - "maxStalenessPrefix": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - } - }, - "required": [ - "defaultConsistencyLevel" - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "ContainerPartitionKey": { - "type": "object", - "properties": { - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the kind of algorithm used for partitioning." - }, - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths using which data within the container can be partitioned" - } - }, - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "DatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "capabilities": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cosmos DB capabilities for the account" - }, - "connectorOffer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cassandra connector offer type for the Cosmos DB database C* account." - }, - "consistencyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConsistencyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "databaseAccountOfferType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The offer type for the database" - }, - "enableAutomaticFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." - }, - "enableCassandraConnector": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the cassandra connector on the Cosmos DB C* account" - }, - "enableMultipleWriteLocations": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the account to write in multiple locations" - }, - "ipRangeFilter": { - "type": "string", - "description": "Cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces." - }, - "isVirtualNetworkFilterEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." - }, - "locations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." - } - }, - "required": [ - "databaseAccountOfferType", - "locations" - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "databaseAccounts_apis_databases_collections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "type": { - "type": "string", - "enum": [ - "collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections" - }, - "databaseAccounts_apis_databases_collections_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/settings" - }, - "databaseAccounts_apis_databases_containers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "type": { - "type": "string", - "enum": [ - "containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers" - }, - "databaseAccounts_apis_databases_containers_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/settings" - }, - "databaseAccounts_apis_databases_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs" - }, - "databaseAccounts_apis_databases_graphs_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings" - }, - "databaseAccounts_apis_databases_settings_childResource": { - "type": "object", - "oneOf": [ - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - "databaseAccounts_apis_keyspaces_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/settings" - }, - "databaseAccounts_apis_keyspaces_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables" - }, - "databaseAccounts_apis_keyspaces_tables_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/settings" - }, - "databaseAccounts_apis_tables_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/tables/settings" - }, - "ExcludedPath": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "GremlinDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin database id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "GremlinDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin database id object" - }, - "GremlinGraphCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin graph resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "GremlinGraphResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin graph" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin graph resource object" - }, - "IncludedPath": { - "type": "object", - "properties": { - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Indexes" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of indexes for this path" - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - }, - "description": "The paths that are included in indexing" - }, - "Indexes": { - "type": "object", - "properties": { - "dataType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Number", - "Point", - "Polygon", - "LineString", - "MultiPolygon" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The datatype for which the indexing behavior is applied to." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "Spatial" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of index." - }, - "precision": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The precision of the index. -1 is maximum precision." - } - }, - "description": "The indexes for the path." - }, - "IndexingPolicy": { - "type": "object", - "properties": { - "automatic": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates if the indexing policy is automatic" - }, - "excludedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExcludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to exclude from indexing" - }, - "includedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IncludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to include in the indexing" - }, - "indexingMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Consistent", - "Lazy", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the indexing mode." - } - }, - "description": "Cosmos DB indexing policy" - }, - "Location": { - "type": "object", - "properties": { - "failoverPriority": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." - }, - "isZoneRedundant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether or not this region is an AvailabilityZone region" - }, - "locationName": { - "type": "string", - "description": "The name of the region." - }, - "provisioningState": { - "type": "string", - "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'Offline' - the Cosmos DB account is not active. 'DeletionFailed' – the Cosmos DB account deletion failed." - } - }, - "description": "A region in which the Azure Cosmos DB database account is deployed." - }, - "MongoDBCollectionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "MongoDBCollectionResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB collection" - }, - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MongoIndex" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of index keys" - }, - "shardKey": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoDBDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB database id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "MongoDBDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB database id object" - }, - "MongoIndex": { - "type": "object", - "properties": { - "key": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "options": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection index options" - } - }, - "description": "Cosmos DB MongoDB collection index key" - }, - "MongoIndexKeys": { - "type": "object", - "properties": { - "keys": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" - } - }, - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoIndexOptions": { - "type": "object", - "properties": { - "expireAfterSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Expire after seconds" - }, - "unique": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is unique or not" - } - }, - "description": "Cosmos DB MongoDB collection index options" - }, - "SqlContainerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL container resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "SqlContainerResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL container" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL container resource object" - }, - "SqlDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL database id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "SqlDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL database id object" - }, - "TableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/TableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB table id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "TableResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB table" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB table id object" - }, - "ThroughputResource": { - "type": "object", - "properties": { - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Value of the Cosmos DB resource throughput" - } - }, - "required": [ - "throughput" - ], - "description": "Cosmos DB resource throughput object" - }, - "ThroughputUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "UniqueKey": { - "type": "object", - "properties": { - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths must be unique for each document in the Azure Cosmos DB service" - } - }, - "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - }, - "UniqueKeyPolicy": { - "type": "object", - "properties": { - "uniqueKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UniqueKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - } - }, - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." - }, - "ignoreMissingVNetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." - } - }, - "description": "Virtual Network ACL Rule object" - } - } -} \ No newline at end of file diff --git a/schemas/2015-04-08/Microsoft.DocumentDB.json b/schemas/2015-04-08/Microsoft.DocumentDB.json deleted file mode 100644 index 4d0585c1dc..0000000000 --- a/schemas/2015-04-08/Microsoft.DocumentDB.json +++ /dev/null @@ -1,2666 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2015-04-08/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "databaseAccounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "GlobalDocumentDB", - "MongoDB", - "Parse" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of database account. This can only be set at database account creation." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", - "minLength": 3, - "maxLength": 50 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB database account name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts" - }, - "databaseAccounts_apis_databases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_databases_settings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_apis_databases_containers_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_apis_databases_collections_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_apis_databases_graphs_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases" - }, - "databaseAccounts_apis_databases_collections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_databases_collections_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections" - }, - "databaseAccounts_apis_databases_collections_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/settings" - }, - "databaseAccounts_apis_databases_containers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_databases_containers_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers" - }, - "databaseAccounts_apis_databases_containers_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/settings" - }, - "databaseAccounts_apis_databases_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_databases_graphs_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs" - }, - "databaseAccounts_apis_databases_graphs_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings" - }, - "databaseAccounts_apis_databases_settings": { - "type": "object", - "oneOf": [ - { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - ] - } - }, - "required": [ - "apiVersion", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - "databaseAccounts_apis_keyspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_keyspaces_settings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_apis_keyspaces_tables_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces" - }, - "databaseAccounts_apis_keyspaces_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/settings" - }, - "databaseAccounts_apis_keyspaces_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_keyspaces_tables_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables" - }, - "databaseAccounts_apis_keyspaces_tables_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/settings" - }, - "databaseAccounts_apis_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_tables_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/tables" - }, - "databaseAccounts_apis_tables_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/tables/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/tables/settings" - } - }, - "definitions": { - "Capability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." - } - }, - "description": "Cosmos DB capability object" - }, - "CassandraKeyspaceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra keyspace id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "CassandraKeyspaceResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra keyspace" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra keyspace id object" - }, - "CassandraPartitionKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table partition key" - } - }, - "description": "Cosmos DB Cassandra table partition key" - }, - "CassandraSchema": { - "type": "object", - "properties": { - "clusterKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of cluster key." - }, - "columns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Column" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cassandra table columns." - }, - "partitionKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraPartitionKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of partition key." - } - }, - "description": "Cosmos DB Cassandra table schema" - }, - "CassandraTableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "CassandraTableResource": { - "type": "object", - "properties": { - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time to live of the Cosmos DB Cassandra table" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table" - }, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraSchema" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table schema" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra table id object" - }, - "ClusterKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table cluster key" - }, - "orderBy": { - "type": "string", - "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" - } - }, - "description": "Cosmos DB Cassandra table cluster key" - }, - "Column": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table column" - }, - "type": { - "type": "string", - "description": "Type of the Cosmos DB Cassandra table column" - } - }, - "description": "Cosmos DB Cassandra table column" - }, - "ConflictResolutionPolicy": { - "type": "object", - "properties": { - "conflictResolutionPath": { - "type": "string", - "description": "The conflict resolution path in the case of LastWriterWins mode." - }, - "conflictResolutionProcedure": { - "type": "string", - "description": "The procedure to resolve conflicts in the case of custom mode." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastWriterWins", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the conflict resolution mode." - } - }, - "description": "The conflict resolution policy for the container." - }, - "ConsistencyPolicy": { - "type": "object", - "properties": { - "defaultConsistencyLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Eventual", - "Session", - "BoundedStaleness", - "Strong", - "ConsistentPrefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default consistency level and configuration settings of the Cosmos DB account." - }, - "maxIntervalInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 5, - "maximum": 86400 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - }, - "maxStalenessPrefix": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - } - }, - "required": [ - "defaultConsistencyLevel" - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "ContainerPartitionKey": { - "type": "object", - "properties": { - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the kind of algorithm used for partitioning." - }, - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths using which data within the container can be partitioned" - } - }, - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "DatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "capabilities": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cosmos DB capabilities for the account" - }, - "connectorOffer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cassandra connector offer type for the Cosmos DB database C* account." - }, - "consistencyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConsistencyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "databaseAccountOfferType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The offer type for the database" - }, - "enableAutomaticFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." - }, - "enableCassandraConnector": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the cassandra connector on the Cosmos DB C* account" - }, - "enableMultipleWriteLocations": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the account to write in multiple locations" - }, - "ipRangeFilter": { - "type": "string", - "description": "Cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces." - }, - "isVirtualNetworkFilterEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." - }, - "locations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." - } - }, - "required": [ - "databaseAccountOfferType", - "locations" - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "databaseAccounts_apis_databases_collections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "type": { - "type": "string", - "enum": [ - "collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections" - }, - "databaseAccounts_apis_databases_collections_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/settings" - }, - "databaseAccounts_apis_databases_containers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "type": { - "type": "string", - "enum": [ - "containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers" - }, - "databaseAccounts_apis_databases_containers_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/settings" - }, - "databaseAccounts_apis_databases_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs" - }, - "databaseAccounts_apis_databases_graphs_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings" - }, - "databaseAccounts_apis_databases_settings_childResource": { - "type": "object", - "oneOf": [ - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - "databaseAccounts_apis_keyspaces_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/settings" - }, - "databaseAccounts_apis_keyspaces_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables" - }, - "databaseAccounts_apis_keyspaces_tables_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/settings" - }, - "databaseAccounts_apis_tables_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-04-08" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/tables/settings" - }, - "ExcludedPath": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "GremlinDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin database id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "GremlinDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin database id object" - }, - "GremlinGraphCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin graph resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "GremlinGraphResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin graph" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin graph resource object" - }, - "IncludedPath": { - "type": "object", - "properties": { - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Indexes" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of indexes for this path" - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - }, - "description": "The paths that are included in indexing" - }, - "Indexes": { - "type": "object", - "properties": { - "dataType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Number", - "Point", - "Polygon", - "LineString", - "MultiPolygon" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The datatype for which the indexing behavior is applied to." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "Spatial" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of index." - }, - "precision": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The precision of the index. -1 is maximum precision." - } - }, - "description": "The indexes for the path." - }, - "IndexingPolicy": { - "type": "object", - "properties": { - "automatic": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates if the indexing policy is automatic" - }, - "excludedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExcludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to exclude from indexing" - }, - "includedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IncludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to include in the indexing" - }, - "indexingMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Consistent", - "Lazy", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the indexing mode." - } - }, - "description": "Cosmos DB indexing policy" - }, - "Location": { - "type": "object", - "properties": { - "failoverPriority": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." - }, - "isZoneRedundant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether or not this region is an AvailabilityZone region" - }, - "locationName": { - "type": "string", - "description": "The name of the region." - }, - "provisioningState": { - "type": "string", - "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'Offline' - the Cosmos DB account is not active. 'DeletionFailed' – the Cosmos DB account deletion failed." - } - }, - "description": "A region in which the Azure Cosmos DB database account is deployed." - }, - "MongoDBCollectionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "MongoDBCollectionResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB collection" - }, - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MongoIndex" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of index keys" - }, - "shardKey": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoDBDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB database id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "MongoDBDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB database id object" - }, - "MongoIndex": { - "type": "object", - "properties": { - "key": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "options": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection index options" - } - }, - "description": "Cosmos DB MongoDB collection index key" - }, - "MongoIndexKeys": { - "type": "object", - "properties": { - "keys": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" - } - }, - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoIndexOptions": { - "type": "object", - "properties": { - "expireAfterSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Expire after seconds" - }, - "unique": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is unique or not" - } - }, - "description": "Cosmos DB MongoDB collection index options" - }, - "SqlContainerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL container resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "SqlContainerResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL container" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL container resource object" - }, - "SqlDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL database id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "SqlDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL database id object" - }, - "TableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/TableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB table id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "TableResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB table" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB table id object" - }, - "ThroughputResource": { - "type": "object", - "properties": { - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Value of the Cosmos DB resource throughput" - } - }, - "required": [ - "throughput" - ], - "description": "Cosmos DB resource throughput object" - }, - "ThroughputUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "UniqueKey": { - "type": "object", - "properties": { - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths must be unique for each document in the Azure Cosmos DB service" - } - }, - "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - }, - "UniqueKeyPolicy": { - "type": "object", - "properties": { - "uniqueKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UniqueKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - } - }, - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." - }, - "ignoreMissingVNetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." - } - }, - "description": "Virtual Network ACL Rule object" - } - } -} \ No newline at end of file diff --git a/schemas/2015-11-06/Microsoft.DocumentDB.json b/schemas/2015-11-06/Microsoft.DocumentDB.json deleted file mode 100644 index a535e51e01..0000000000 --- a/schemas/2015-11-06/Microsoft.DocumentDB.json +++ /dev/null @@ -1,2666 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2015-11-06/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "databaseAccounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "GlobalDocumentDB", - "MongoDB", - "Parse" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of database account. This can only be set at database account creation." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", - "minLength": 3, - "maxLength": 50 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB database account name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts" - }, - "databaseAccounts_apis_databases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_databases_settings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_apis_databases_containers_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_apis_databases_collections_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_apis_databases_graphs_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases" - }, - "databaseAccounts_apis_databases_collections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_databases_collections_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections" - }, - "databaseAccounts_apis_databases_collections_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/settings" - }, - "databaseAccounts_apis_databases_containers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_databases_containers_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers" - }, - "databaseAccounts_apis_databases_containers_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/settings" - }, - "databaseAccounts_apis_databases_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_databases_graphs_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs" - }, - "databaseAccounts_apis_databases_graphs_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings" - }, - "databaseAccounts_apis_databases_settings": { - "type": "object", - "oneOf": [ - { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - ] - } - }, - "required": [ - "apiVersion", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - "databaseAccounts_apis_keyspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_keyspaces_settings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_apis_keyspaces_tables_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces" - }, - "databaseAccounts_apis_keyspaces_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/settings" - }, - "databaseAccounts_apis_keyspaces_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_keyspaces_tables_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables" - }, - "databaseAccounts_apis_keyspaces_tables_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/settings" - }, - "databaseAccounts_apis_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_tables_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/tables" - }, - "databaseAccounts_apis_tables_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/tables/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/tables/settings" - } - }, - "definitions": { - "Capability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." - } - }, - "description": "Cosmos DB capability object" - }, - "CassandraKeyspaceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra keyspace id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "CassandraKeyspaceResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra keyspace" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra keyspace id object" - }, - "CassandraPartitionKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table partition key" - } - }, - "description": "Cosmos DB Cassandra table partition key" - }, - "CassandraSchema": { - "type": "object", - "properties": { - "clusterKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of cluster key." - }, - "columns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Column" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cassandra table columns." - }, - "partitionKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraPartitionKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of partition key." - } - }, - "description": "Cosmos DB Cassandra table schema" - }, - "CassandraTableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "CassandraTableResource": { - "type": "object", - "properties": { - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time to live of the Cosmos DB Cassandra table" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table" - }, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraSchema" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table schema" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra table id object" - }, - "ClusterKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table cluster key" - }, - "orderBy": { - "type": "string", - "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" - } - }, - "description": "Cosmos DB Cassandra table cluster key" - }, - "Column": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table column" - }, - "type": { - "type": "string", - "description": "Type of the Cosmos DB Cassandra table column" - } - }, - "description": "Cosmos DB Cassandra table column" - }, - "ConflictResolutionPolicy": { - "type": "object", - "properties": { - "conflictResolutionPath": { - "type": "string", - "description": "The conflict resolution path in the case of LastWriterWins mode." - }, - "conflictResolutionProcedure": { - "type": "string", - "description": "The procedure to resolve conflicts in the case of custom mode." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastWriterWins", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the conflict resolution mode." - } - }, - "description": "The conflict resolution policy for the container." - }, - "ConsistencyPolicy": { - "type": "object", - "properties": { - "defaultConsistencyLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Eventual", - "Session", - "BoundedStaleness", - "Strong", - "ConsistentPrefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default consistency level and configuration settings of the Cosmos DB account." - }, - "maxIntervalInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 5, - "maximum": 86400 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - }, - "maxStalenessPrefix": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - } - }, - "required": [ - "defaultConsistencyLevel" - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "ContainerPartitionKey": { - "type": "object", - "properties": { - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the kind of algorithm used for partitioning." - }, - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths using which data within the container can be partitioned" - } - }, - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "DatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "capabilities": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cosmos DB capabilities for the account" - }, - "connectorOffer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cassandra connector offer type for the Cosmos DB database C* account." - }, - "consistencyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConsistencyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "databaseAccountOfferType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The offer type for the database" - }, - "enableAutomaticFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." - }, - "enableCassandraConnector": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the cassandra connector on the Cosmos DB C* account" - }, - "enableMultipleWriteLocations": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the account to write in multiple locations" - }, - "ipRangeFilter": { - "type": "string", - "description": "Cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces." - }, - "isVirtualNetworkFilterEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." - }, - "locations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." - } - }, - "required": [ - "databaseAccountOfferType", - "locations" - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "databaseAccounts_apis_databases_collections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "type": { - "type": "string", - "enum": [ - "collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections" - }, - "databaseAccounts_apis_databases_collections_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/settings" - }, - "databaseAccounts_apis_databases_containers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "type": { - "type": "string", - "enum": [ - "containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers" - }, - "databaseAccounts_apis_databases_containers_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/settings" - }, - "databaseAccounts_apis_databases_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs" - }, - "databaseAccounts_apis_databases_graphs_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings" - }, - "databaseAccounts_apis_databases_settings_childResource": { - "type": "object", - "oneOf": [ - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - "databaseAccounts_apis_keyspaces_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/settings" - }, - "databaseAccounts_apis_keyspaces_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables" - }, - "databaseAccounts_apis_keyspaces_tables_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/settings" - }, - "databaseAccounts_apis_tables_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-11-06" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/tables/settings" - }, - "ExcludedPath": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "GremlinDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin database id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "GremlinDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin database id object" - }, - "GremlinGraphCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin graph resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "GremlinGraphResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin graph" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin graph resource object" - }, - "IncludedPath": { - "type": "object", - "properties": { - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Indexes" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of indexes for this path" - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - }, - "description": "The paths that are included in indexing" - }, - "Indexes": { - "type": "object", - "properties": { - "dataType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Number", - "Point", - "Polygon", - "LineString", - "MultiPolygon" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The datatype for which the indexing behavior is applied to." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "Spatial" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of index." - }, - "precision": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The precision of the index. -1 is maximum precision." - } - }, - "description": "The indexes for the path." - }, - "IndexingPolicy": { - "type": "object", - "properties": { - "automatic": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates if the indexing policy is automatic" - }, - "excludedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExcludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to exclude from indexing" - }, - "includedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IncludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to include in the indexing" - }, - "indexingMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Consistent", - "Lazy", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the indexing mode." - } - }, - "description": "Cosmos DB indexing policy" - }, - "Location": { - "type": "object", - "properties": { - "failoverPriority": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." - }, - "isZoneRedundant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether or not this region is an AvailabilityZone region" - }, - "locationName": { - "type": "string", - "description": "The name of the region." - }, - "provisioningState": { - "type": "string", - "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'Offline' - the Cosmos DB account is not active. 'DeletionFailed' – the Cosmos DB account deletion failed." - } - }, - "description": "A region in which the Azure Cosmos DB database account is deployed." - }, - "MongoDBCollectionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "MongoDBCollectionResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB collection" - }, - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MongoIndex" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of index keys" - }, - "shardKey": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoDBDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB database id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "MongoDBDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB database id object" - }, - "MongoIndex": { - "type": "object", - "properties": { - "key": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "options": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection index options" - } - }, - "description": "Cosmos DB MongoDB collection index key" - }, - "MongoIndexKeys": { - "type": "object", - "properties": { - "keys": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" - } - }, - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoIndexOptions": { - "type": "object", - "properties": { - "expireAfterSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Expire after seconds" - }, - "unique": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is unique or not" - } - }, - "description": "Cosmos DB MongoDB collection index options" - }, - "SqlContainerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL container resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "SqlContainerResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL container" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL container resource object" - }, - "SqlDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL database id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "SqlDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL database id object" - }, - "TableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/TableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB table id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "TableResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB table" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB table id object" - }, - "ThroughputResource": { - "type": "object", - "properties": { - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Value of the Cosmos DB resource throughput" - } - }, - "required": [ - "throughput" - ], - "description": "Cosmos DB resource throughput object" - }, - "ThroughputUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "UniqueKey": { - "type": "object", - "properties": { - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths must be unique for each document in the Azure Cosmos DB service" - } - }, - "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - }, - "UniqueKeyPolicy": { - "type": "object", - "properties": { - "uniqueKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UniqueKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - } - }, - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." - }, - "ignoreMissingVNetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." - } - }, - "description": "Virtual Network ACL Rule object" - } - } -} \ No newline at end of file diff --git a/schemas/2016-03-19/Microsoft.DocumentDB.json b/schemas/2016-03-19/Microsoft.DocumentDB.json deleted file mode 100644 index e33786619c..0000000000 --- a/schemas/2016-03-19/Microsoft.DocumentDB.json +++ /dev/null @@ -1,2666 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2016-03-19/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "databaseAccounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "GlobalDocumentDB", - "MongoDB", - "Parse" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of database account. This can only be set at database account creation." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", - "minLength": 3, - "maxLength": 50 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB database account name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts" - }, - "databaseAccounts_apis_databases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_databases_settings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_apis_databases_containers_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_apis_databases_collections_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_apis_databases_graphs_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases" - }, - "databaseAccounts_apis_databases_collections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_databases_collections_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections" - }, - "databaseAccounts_apis_databases_collections_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/settings" - }, - "databaseAccounts_apis_databases_containers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_databases_containers_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers" - }, - "databaseAccounts_apis_databases_containers_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/settings" - }, - "databaseAccounts_apis_databases_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_databases_graphs_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs" - }, - "databaseAccounts_apis_databases_graphs_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings" - }, - "databaseAccounts_apis_databases_settings": { - "type": "object", - "oneOf": [ - { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - ] - } - }, - "required": [ - "apiVersion", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - "databaseAccounts_apis_keyspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_keyspaces_settings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_apis_keyspaces_tables_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces" - }, - "databaseAccounts_apis_keyspaces_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/settings" - }, - "databaseAccounts_apis_keyspaces_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_keyspaces_tables_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables" - }, - "databaseAccounts_apis_keyspaces_tables_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/settings" - }, - "databaseAccounts_apis_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_tables_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/tables" - }, - "databaseAccounts_apis_tables_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/tables/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/tables/settings" - } - }, - "definitions": { - "Capability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." - } - }, - "description": "Cosmos DB capability object" - }, - "CassandraKeyspaceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra keyspace id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "CassandraKeyspaceResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra keyspace" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra keyspace id object" - }, - "CassandraPartitionKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table partition key" - } - }, - "description": "Cosmos DB Cassandra table partition key" - }, - "CassandraSchema": { - "type": "object", - "properties": { - "clusterKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of cluster key." - }, - "columns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Column" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cassandra table columns." - }, - "partitionKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraPartitionKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of partition key." - } - }, - "description": "Cosmos DB Cassandra table schema" - }, - "CassandraTableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "CassandraTableResource": { - "type": "object", - "properties": { - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time to live of the Cosmos DB Cassandra table" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table" - }, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraSchema" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table schema" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra table id object" - }, - "ClusterKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table cluster key" - }, - "orderBy": { - "type": "string", - "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" - } - }, - "description": "Cosmos DB Cassandra table cluster key" - }, - "Column": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table column" - }, - "type": { - "type": "string", - "description": "Type of the Cosmos DB Cassandra table column" - } - }, - "description": "Cosmos DB Cassandra table column" - }, - "ConflictResolutionPolicy": { - "type": "object", - "properties": { - "conflictResolutionPath": { - "type": "string", - "description": "The conflict resolution path in the case of LastWriterWins mode." - }, - "conflictResolutionProcedure": { - "type": "string", - "description": "The procedure to resolve conflicts in the case of custom mode." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastWriterWins", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the conflict resolution mode." - } - }, - "description": "The conflict resolution policy for the container." - }, - "ConsistencyPolicy": { - "type": "object", - "properties": { - "defaultConsistencyLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Eventual", - "Session", - "BoundedStaleness", - "Strong", - "ConsistentPrefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default consistency level and configuration settings of the Cosmos DB account." - }, - "maxIntervalInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 5, - "maximum": 86400 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - }, - "maxStalenessPrefix": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - } - }, - "required": [ - "defaultConsistencyLevel" - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "ContainerPartitionKey": { - "type": "object", - "properties": { - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the kind of algorithm used for partitioning." - }, - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths using which data within the container can be partitioned" - } - }, - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "DatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "capabilities": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cosmos DB capabilities for the account" - }, - "connectorOffer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cassandra connector offer type for the Cosmos DB database C* account." - }, - "consistencyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConsistencyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "databaseAccountOfferType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The offer type for the database" - }, - "enableAutomaticFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." - }, - "enableCassandraConnector": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the cassandra connector on the Cosmos DB C* account" - }, - "enableMultipleWriteLocations": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the account to write in multiple locations" - }, - "ipRangeFilter": { - "type": "string", - "description": "Cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces." - }, - "isVirtualNetworkFilterEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." - }, - "locations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." - } - }, - "required": [ - "databaseAccountOfferType", - "locations" - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "databaseAccounts_apis_databases_collections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "type": { - "type": "string", - "enum": [ - "collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections" - }, - "databaseAccounts_apis_databases_collections_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/settings" - }, - "databaseAccounts_apis_databases_containers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "type": { - "type": "string", - "enum": [ - "containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers" - }, - "databaseAccounts_apis_databases_containers_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/settings" - }, - "databaseAccounts_apis_databases_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs" - }, - "databaseAccounts_apis_databases_graphs_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings" - }, - "databaseAccounts_apis_databases_settings_childResource": { - "type": "object", - "oneOf": [ - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - "databaseAccounts_apis_keyspaces_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/settings" - }, - "databaseAccounts_apis_keyspaces_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables" - }, - "databaseAccounts_apis_keyspaces_tables_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/settings" - }, - "databaseAccounts_apis_tables_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-19" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/tables/settings" - }, - "ExcludedPath": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "GremlinDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin database id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "GremlinDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin database id object" - }, - "GremlinGraphCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin graph resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "GremlinGraphResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin graph" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin graph resource object" - }, - "IncludedPath": { - "type": "object", - "properties": { - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Indexes" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of indexes for this path" - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - }, - "description": "The paths that are included in indexing" - }, - "Indexes": { - "type": "object", - "properties": { - "dataType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Number", - "Point", - "Polygon", - "LineString", - "MultiPolygon" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The datatype for which the indexing behavior is applied to." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "Spatial" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of index." - }, - "precision": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The precision of the index. -1 is maximum precision." - } - }, - "description": "The indexes for the path." - }, - "IndexingPolicy": { - "type": "object", - "properties": { - "automatic": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates if the indexing policy is automatic" - }, - "excludedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExcludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to exclude from indexing" - }, - "includedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IncludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to include in the indexing" - }, - "indexingMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Consistent", - "Lazy", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the indexing mode." - } - }, - "description": "Cosmos DB indexing policy" - }, - "Location": { - "type": "object", - "properties": { - "failoverPriority": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." - }, - "isZoneRedundant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether or not this region is an AvailabilityZone region" - }, - "locationName": { - "type": "string", - "description": "The name of the region." - }, - "provisioningState": { - "type": "string", - "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'Offline' - the Cosmos DB account is not active. 'DeletionFailed' – the Cosmos DB account deletion failed." - } - }, - "description": "A region in which the Azure Cosmos DB database account is deployed." - }, - "MongoDBCollectionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "MongoDBCollectionResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB collection" - }, - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MongoIndex" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of index keys" - }, - "shardKey": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoDBDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB database id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "MongoDBDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB database id object" - }, - "MongoIndex": { - "type": "object", - "properties": { - "key": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "options": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection index options" - } - }, - "description": "Cosmos DB MongoDB collection index key" - }, - "MongoIndexKeys": { - "type": "object", - "properties": { - "keys": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" - } - }, - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoIndexOptions": { - "type": "object", - "properties": { - "expireAfterSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Expire after seconds" - }, - "unique": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is unique or not" - } - }, - "description": "Cosmos DB MongoDB collection index options" - }, - "SqlContainerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL container resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "SqlContainerResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL container" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL container resource object" - }, - "SqlDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL database id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "SqlDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL database id object" - }, - "TableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/TableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB table id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "TableResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB table" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB table id object" - }, - "ThroughputResource": { - "type": "object", - "properties": { - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Value of the Cosmos DB resource throughput" - } - }, - "required": [ - "throughput" - ], - "description": "Cosmos DB resource throughput object" - }, - "ThroughputUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "UniqueKey": { - "type": "object", - "properties": { - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths must be unique for each document in the Azure Cosmos DB service" - } - }, - "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - }, - "UniqueKeyPolicy": { - "type": "object", - "properties": { - "uniqueKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UniqueKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - } - }, - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." - }, - "ignoreMissingVNetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." - } - }, - "description": "Virtual Network ACL Rule object" - } - } -} \ No newline at end of file diff --git a/schemas/2016-03-31/Microsoft.DocumentDB.json b/schemas/2016-03-31/Microsoft.DocumentDB.json deleted file mode 100644 index 586ab7cc0a..0000000000 --- a/schemas/2016-03-31/Microsoft.DocumentDB.json +++ /dev/null @@ -1,2666 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2016-03-31/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "databaseAccounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "GlobalDocumentDB", - "MongoDB", - "Parse" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of database account. This can only be set at database account creation." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", - "minLength": 3, - "maxLength": 50 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB database account name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts" - }, - "databaseAccounts_apis_databases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_databases_settings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_apis_databases_containers_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_apis_databases_collections_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_apis_databases_graphs_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases" - }, - "databaseAccounts_apis_databases_collections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_databases_collections_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections" - }, - "databaseAccounts_apis_databases_collections_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/settings" - }, - "databaseAccounts_apis_databases_containers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_databases_containers_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers" - }, - "databaseAccounts_apis_databases_containers_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/settings" - }, - "databaseAccounts_apis_databases_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_databases_graphs_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs" - }, - "databaseAccounts_apis_databases_graphs_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings" - }, - "databaseAccounts_apis_databases_settings": { - "type": "object", - "oneOf": [ - { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - ] - } - }, - "required": [ - "apiVersion", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - "databaseAccounts_apis_keyspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_keyspaces_settings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_apis_keyspaces_tables_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces" - }, - "databaseAccounts_apis_keyspaces_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/settings" - }, - "databaseAccounts_apis_keyspaces_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_keyspaces_tables_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables" - }, - "databaseAccounts_apis_keyspaces_tables_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/settings" - }, - "databaseAccounts_apis_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_apis_tables_settings_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/tables" - }, - "databaseAccounts_apis_tables_settings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/throughput$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/apis/tables/settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/tables/settings" - } - }, - "definitions": { - "Capability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." - } - }, - "description": "Cosmos DB capability object" - }, - "CassandraKeyspaceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra keyspace id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "CassandraKeyspaceResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra keyspace" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra keyspace id object" - }, - "CassandraPartitionKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table partition key" - } - }, - "description": "Cosmos DB Cassandra table partition key" - }, - "CassandraSchema": { - "type": "object", - "properties": { - "clusterKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of cluster key." - }, - "columns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Column" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cassandra table columns." - }, - "partitionKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraPartitionKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of partition key." - } - }, - "description": "Cosmos DB Cassandra table schema" - }, - "CassandraTableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "CassandraTableResource": { - "type": "object", - "properties": { - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time to live of the Cosmos DB Cassandra table" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table" - }, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraSchema" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table schema" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra table id object" - }, - "ClusterKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table cluster key" - }, - "orderBy": { - "type": "string", - "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" - } - }, - "description": "Cosmos DB Cassandra table cluster key" - }, - "Column": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table column" - }, - "type": { - "type": "string", - "description": "Type of the Cosmos DB Cassandra table column" - } - }, - "description": "Cosmos DB Cassandra table column" - }, - "ConflictResolutionPolicy": { - "type": "object", - "properties": { - "conflictResolutionPath": { - "type": "string", - "description": "The conflict resolution path in the case of LastWriterWins mode." - }, - "conflictResolutionProcedure": { - "type": "string", - "description": "The procedure to resolve conflicts in the case of custom mode." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastWriterWins", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the conflict resolution mode." - } - }, - "description": "The conflict resolution policy for the container." - }, - "ConsistencyPolicy": { - "type": "object", - "properties": { - "defaultConsistencyLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Eventual", - "Session", - "BoundedStaleness", - "Strong", - "ConsistentPrefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default consistency level and configuration settings of the Cosmos DB account." - }, - "maxIntervalInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 5, - "maximum": 86400 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - }, - "maxStalenessPrefix": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - } - }, - "required": [ - "defaultConsistencyLevel" - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "ContainerPartitionKey": { - "type": "object", - "properties": { - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the kind of algorithm used for partitioning." - }, - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths using which data within the container can be partitioned" - } - }, - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "DatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "capabilities": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cosmos DB capabilities for the account" - }, - "connectorOffer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cassandra connector offer type for the Cosmos DB database C* account." - }, - "consistencyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConsistencyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "databaseAccountOfferType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The offer type for the database" - }, - "enableAutomaticFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." - }, - "enableCassandraConnector": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the cassandra connector on the Cosmos DB C* account" - }, - "enableMultipleWriteLocations": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the account to write in multiple locations" - }, - "ipRangeFilter": { - "type": "string", - "description": "Cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces." - }, - "isVirtualNetworkFilterEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." - }, - "locations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." - } - }, - "required": [ - "databaseAccountOfferType", - "locations" - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "databaseAccounts_apis_databases_collections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "type": { - "type": "string", - "enum": [ - "collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections" - }, - "databaseAccounts_apis_databases_collections_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/settings" - }, - "databaseAccounts_apis_databases_containers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "type": { - "type": "string", - "enum": [ - "containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers" - }, - "databaseAccounts_apis_databases_containers_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/settings" - }, - "databaseAccounts_apis_databases_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs" - }, - "databaseAccounts_apis_databases_graphs_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings" - }, - "databaseAccounts_apis_databases_settings_childResource": { - "type": "object", - "oneOf": [ - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - } - }, - "required": [ - "name", - "properties" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/databases/settings" - }, - "databaseAccounts_apis_keyspaces_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/settings" - }, - "databaseAccounts_apis_keyspaces_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables" - }, - "databaseAccounts_apis_keyspaces_tables_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/settings" - }, - "databaseAccounts_apis_tables_settings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-31" - ] - }, - "name": { - "type": "string", - "enum": [ - "throughput" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "type": { - "type": "string", - "enum": [ - "settings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/apis/tables/settings" - }, - "ExcludedPath": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "GremlinDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin database id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "GremlinDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin database id object" - }, - "GremlinGraphCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin graph resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "GremlinGraphResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin graph" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin graph resource object" - }, - "IncludedPath": { - "type": "object", - "properties": { - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Indexes" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of indexes for this path" - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - }, - "description": "The paths that are included in indexing" - }, - "Indexes": { - "type": "object", - "properties": { - "dataType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Number", - "Point", - "Polygon", - "LineString", - "MultiPolygon" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The datatype for which the indexing behavior is applied to." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "Spatial" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of index." - }, - "precision": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The precision of the index. -1 is maximum precision." - } - }, - "description": "The indexes for the path." - }, - "IndexingPolicy": { - "type": "object", - "properties": { - "automatic": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates if the indexing policy is automatic" - }, - "excludedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExcludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to exclude from indexing" - }, - "includedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IncludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to include in the indexing" - }, - "indexingMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Consistent", - "Lazy", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the indexing mode." - } - }, - "description": "Cosmos DB indexing policy" - }, - "Location": { - "type": "object", - "properties": { - "failoverPriority": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." - }, - "isZoneRedundant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether or not this region is an AvailabilityZone region" - }, - "locationName": { - "type": "string", - "description": "The name of the region." - }, - "provisioningState": { - "type": "string", - "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'Offline' - the Cosmos DB account is not active. 'DeletionFailed' – the Cosmos DB account deletion failed." - } - }, - "description": "A region in which the Azure Cosmos DB database account is deployed." - }, - "MongoDBCollectionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "MongoDBCollectionResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB collection" - }, - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MongoIndex" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of index keys" - }, - "shardKey": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoDBDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB database id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "MongoDBDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB database id object" - }, - "MongoIndex": { - "type": "object", - "properties": { - "key": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "options": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection index options" - } - }, - "description": "Cosmos DB MongoDB collection index key" - }, - "MongoIndexKeys": { - "type": "object", - "properties": { - "keys": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" - } - }, - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoIndexOptions": { - "type": "object", - "properties": { - "expireAfterSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Expire after seconds" - }, - "unique": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is unique or not" - } - }, - "description": "Cosmos DB MongoDB collection index options" - }, - "SqlContainerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL container resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "SqlContainerResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL container" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL container resource object" - }, - "SqlDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL database id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "SqlDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL database id object" - }, - "TableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/TableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB table id object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "TableResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB table" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB table id object" - }, - "ThroughputResource": { - "type": "object", - "properties": { - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Value of the Cosmos DB resource throughput" - } - }, - "required": [ - "throughput" - ], - "description": "Cosmos DB resource throughput object" - }, - "ThroughputUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "UniqueKey": { - "type": "object", - "properties": { - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths must be unique for each document in the Azure Cosmos DB service" - } - }, - "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - }, - "UniqueKeyPolicy": { - "type": "object", - "properties": { - "uniqueKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UniqueKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - } - }, - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." - }, - "ignoreMissingVNetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." - } - }, - "description": "Virtual Network ACL Rule object" - } - } -} \ No newline at end of file diff --git a/schemas/2019-08-01-preview/Microsoft.DocumentDB.json b/schemas/2019-08-01-preview/Microsoft.DocumentDB.json deleted file mode 100644 index a6259d586e..0000000000 --- a/schemas/2019-08-01-preview/Microsoft.DocumentDB.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-08-01-preview/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "databaseAccounts_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - } - }, - "definitions": { - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "groupId": { - "type": "string", - "description": "Group id of the private endpoint." - }, - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Connection State of the Private Endpoint Connection." - }, - "provisioningState": { - "type": "string", - "description": "Provisioning state of the private endpoint." - } - }, - "description": "Properties of a private endpoint connection." - }, - "PrivateEndpointProperty": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the private endpoint." - } - }, - "description": "Private endpoint which the connection belongs to." - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The private link service connection description." - }, - "status": { - "type": "string", - "description": "The private link service connection status." - } - }, - "description": "Connection State of the Private Endpoint Connection." - } - } -} \ No newline at end of file diff --git a/schemas/2019-08-01/Microsoft.DocumentDB.json b/schemas/2019-08-01/Microsoft.DocumentDB.json deleted file mode 100644 index a3322499a1..0000000000 --- a/schemas/2019-08-01/Microsoft.DocumentDB.json +++ /dev/null @@ -1,4426 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "databaseAccounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "GlobalDocumentDB", - "MongoDB", - "Parse" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of database account. This can only be set at database account creation." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", - "minLength": 3, - "maxLength": 50 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB database account name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_tables_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_notebookWorkspaces_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts" - }, - "databaseAccounts_cassandraKeyspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_sqlDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_storedProcedures_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_triggers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - } - }, - "definitions": { - "Capability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." - } - }, - "description": "Cosmos DB capability object" - }, - "CassandraKeyspaceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra keyspace resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "CassandraKeyspaceResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra keyspace" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra keyspace resource object" - }, - "CassandraPartitionKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table partition key" - } - }, - "description": "Cosmos DB Cassandra table partition key" - }, - "CassandraSchema": { - "type": "object", - "properties": { - "clusterKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of cluster key." - }, - "columns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Column" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cassandra table columns." - }, - "partitionKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraPartitionKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of partition key." - } - }, - "description": "Cosmos DB Cassandra table schema" - }, - "CassandraTableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "CassandraTableResource": { - "type": "object", - "properties": { - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time to live of the Cosmos DB Cassandra table" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table" - }, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraSchema" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table schema" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra table resource object" - }, - "ClusterKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table cluster key" - }, - "orderBy": { - "type": "string", - "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" - } - }, - "description": "Cosmos DB Cassandra table cluster key" - }, - "Column": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table column" - }, - "type": { - "type": "string", - "description": "Type of the Cosmos DB Cassandra table column" - } - }, - "description": "Cosmos DB Cassandra table column" - }, - "CompositePath": { - "type": "object", - "properties": { - "order": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Ascending", - "Descending" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sort order for composite paths." - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "ConflictResolutionPolicy": { - "type": "object", - "properties": { - "conflictResolutionPath": { - "type": "string", - "description": "The conflict resolution path in the case of LastWriterWins mode." - }, - "conflictResolutionProcedure": { - "type": "string", - "description": "The procedure to resolve conflicts in the case of custom mode." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastWriterWins", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the conflict resolution mode." - } - }, - "description": "The conflict resolution policy for the container." - }, - "ConsistencyPolicy": { - "type": "object", - "properties": { - "defaultConsistencyLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Eventual", - "Session", - "BoundedStaleness", - "Strong", - "ConsistentPrefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default consistency level and configuration settings of the Cosmos DB account." - }, - "maxIntervalInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 5, - "maximum": 86400 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - }, - "maxStalenessPrefix": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - } - }, - "required": [ - "defaultConsistencyLevel" - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "ContainerPartitionKey": { - "type": "object", - "properties": { - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the kind of algorithm used for partitioning." - }, - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths using which data within the container can be partitioned" - }, - "version": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the version of the partition key definition" - } - }, - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "DatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "capabilities": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cosmos DB capabilities for the account" - }, - "connectorOffer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cassandra connector offer type for the Cosmos DB database C* account." - }, - "consistencyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConsistencyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "databaseAccountOfferType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The offer type for the database" - }, - "disableKeyBasedMetadataWriteAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys" - }, - "enableAutomaticFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." - }, - "enableCassandraConnector": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the cassandra connector on the Cosmos DB C* account" - }, - "enableMultipleWriteLocations": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the account to write in multiple locations" - }, - "ipRangeFilter": { - "type": "string", - "description": "Cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces." - }, - "isVirtualNetworkFilterEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." - }, - "locations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." - } - }, - "required": [ - "databaseAccountOfferType", - "locations" - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "databaseAccounts_cassandraKeyspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_sqlDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - }, - "ExcludedPath": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "GremlinDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin database resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "GremlinDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin database resource object" - }, - "GremlinGraphCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin graph resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "GremlinGraphResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin graph" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin graph resource object" - }, - "IncludedPath": { - "type": "object", - "properties": { - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Indexes" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of indexes for this path" - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - }, - "description": "The paths that are included in indexing" - }, - "Indexes": { - "type": "object", - "properties": { - "dataType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Number", - "Point", - "Polygon", - "LineString", - "MultiPolygon" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The datatype for which the indexing behavior is applied to." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "Spatial" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of index." - }, - "precision": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The precision of the index. -1 is maximum precision." - } - }, - "description": "The indexes for the path." - }, - "IndexingPolicy": { - "type": "object", - "properties": { - "automatic": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates if the indexing policy is automatic" - }, - "compositeIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/CompositePath" - } - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of composite path list" - }, - "excludedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExcludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to exclude from indexing" - }, - "includedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IncludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to include in the indexing" - }, - "indexingMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Consistent", - "Lazy", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the indexing mode." - }, - "spatialIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SpatialSpec" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of spatial specifics" - } - }, - "description": "Cosmos DB indexing policy" - }, - "Location": { - "type": "object", - "properties": { - "failoverPriority": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." - }, - "isZoneRedundant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether or not this region is an AvailabilityZone region" - }, - "locationName": { - "type": "string", - "description": "The name of the region." - }, - "provisioningState": { - "type": "string", - "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'Offline' - the Cosmos DB account is not active. 'DeletionFailed' – the Cosmos DB account deletion failed." - } - }, - "description": "A region in which the Azure Cosmos DB database account is deployed." - }, - "MongoDBCollectionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "MongoDBCollectionResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB collection" - }, - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MongoIndex" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of index keys" - }, - "shardKey": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoDBDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB database resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "MongoDBDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB database resource object" - }, - "MongoIndex": { - "type": "object", - "properties": { - "key": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "options": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection index options" - } - }, - "description": "Cosmos DB MongoDB collection index key" - }, - "MongoIndexKeys": { - "type": "object", - "properties": { - "keys": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" - } - }, - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoIndexOptions": { - "type": "object", - "properties": { - "expireAfterSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Expire after seconds" - }, - "unique": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is unique or not" - } - }, - "description": "Cosmos DB MongoDB collection index options" - }, - "SpatialSpec": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - }, - "types": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Point", - "LineString", - "Polygon", - "MultiPolygon" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of path's spatial type" - } - } - }, - "SqlContainerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL container resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "SqlContainerResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL container" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL container resource object" - }, - "SqlDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL database resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "SqlDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL database resource object" - }, - "SqlStoredProcedureCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL storedProcedure resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "SqlStoredProcedureResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Stored Procedure" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL storedProcedure" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL storedProcedure resource object" - }, - "SqlTriggerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL trigger resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "SqlTriggerResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Trigger" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL trigger" - }, - "triggerOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "All", - "Create", - "Update", - "Delete", - "Replace" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The operation the trigger is associated with." - }, - "triggerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pre", - "Post" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of the Trigger." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL trigger resource object" - }, - "SqlUserDefinedFunctionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "SqlUserDefinedFunctionResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the User Defined Function" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL userDefinedFunction" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - }, - "TableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/TableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB table resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "TableResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB table" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB table resource object" - }, - "ThroughputSettingsResource": { - "type": "object", - "properties": { - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Value of the Cosmos DB resource throughput" - } - }, - "required": [ - "throughput" - ], - "description": "Cosmos DB resource throughput object" - }, - "ThroughputSettingsUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "UniqueKey": { - "type": "object", - "properties": { - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths must be unique for each document in the Azure Cosmos DB service" - } - }, - "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - }, - "UniqueKeyPolicy": { - "type": "object", - "properties": { - "uniqueKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UniqueKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - } - }, - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." - }, - "ignoreMissingVNetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." - } - }, - "description": "Virtual Network ACL Rule object" - } - } -} \ No newline at end of file diff --git a/schemas/2019-12-12/Microsoft.DocumentDB.json b/schemas/2019-12-12/Microsoft.DocumentDB.json deleted file mode 100644 index 19aabb6c85..0000000000 --- a/schemas/2019-12-12/Microsoft.DocumentDB.json +++ /dev/null @@ -1,4491 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "databaseAccounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "GlobalDocumentDB", - "MongoDB", - "Parse" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of database account. This can only be set at database account creation." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", - "minLength": 3, - "maxLength": 50 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB database account name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_tables_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_notebookWorkspaces_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts" - }, - "databaseAccounts_cassandraKeyspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_sqlDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_storedProcedures_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_triggers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - } - }, - "definitions": { - "AutoUpgradePolicyResource": { - "type": "object", - "properties": { - "throughputPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputPolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput policy" - } - }, - "description": "Cosmos DB resource auto-upgrade policy" - }, - "Capability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." - } - }, - "description": "Cosmos DB capability object" - }, - "CassandraKeyspaceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra keyspace resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "CassandraKeyspaceResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra keyspace" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra keyspace resource object" - }, - "CassandraPartitionKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table partition key" - } - }, - "description": "Cosmos DB Cassandra table partition key" - }, - "CassandraSchema": { - "type": "object", - "properties": { - "clusterKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of cluster key." - }, - "columns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Column" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cassandra table columns." - }, - "partitionKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraPartitionKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of partition key." - } - }, - "description": "Cosmos DB Cassandra table schema" - }, - "CassandraTableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "CassandraTableResource": { - "type": "object", - "properties": { - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time to live of the Cosmos DB Cassandra table" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table" - }, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraSchema" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table schema" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra table resource object" - }, - "ClusterKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table cluster key" - }, - "orderBy": { - "type": "string", - "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" - } - }, - "description": "Cosmos DB Cassandra table cluster key" - }, - "Column": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table column" - }, - "type": { - "type": "string", - "description": "Type of the Cosmos DB Cassandra table column" - } - }, - "description": "Cosmos DB Cassandra table column" - }, - "CompositePath": { - "type": "object", - "properties": { - "order": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Ascending", - "Descending" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sort order for composite paths." - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "ConflictResolutionPolicy": { - "type": "object", - "properties": { - "conflictResolutionPath": { - "type": "string", - "description": "The conflict resolution path in the case of LastWriterWins mode." - }, - "conflictResolutionProcedure": { - "type": "string", - "description": "The procedure to resolve conflicts in the case of custom mode." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastWriterWins", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the conflict resolution mode." - } - }, - "description": "The conflict resolution policy for the container." - }, - "ConsistencyPolicy": { - "type": "object", - "properties": { - "defaultConsistencyLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Eventual", - "Session", - "BoundedStaleness", - "Strong", - "ConsistentPrefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default consistency level and configuration settings of the Cosmos DB account." - }, - "maxIntervalInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 5, - "maximum": 86400 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - }, - "maxStalenessPrefix": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - } - }, - "required": [ - "defaultConsistencyLevel" - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "ContainerPartitionKey": { - "type": "object", - "properties": { - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the kind of algorithm used for partitioning." - }, - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths using which data within the container can be partitioned" - }, - "version": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the version of the partition key definition" - } - }, - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "CreateUpdateOptions": { - "type": "object", - "properties": { - "additionalProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Unmatched properties from the message are deserialized this collection" - }, - "throughput": { - "type": "string", - "description": "Request Units per second. For example, \"throughput\": \"10000\"." - } - }, - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "DatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "capabilities": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cosmos DB capabilities for the account" - }, - "connectorOffer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cassandra connector offer type for the Cosmos DB database C* account." - }, - "consistencyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConsistencyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "databaseAccountOfferType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The offer type for the database" - }, - "disableKeyBasedMetadataWriteAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys" - }, - "enableAutomaticFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." - }, - "enableCassandraConnector": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the cassandra connector on the Cosmos DB C* account" - }, - "enableMultipleWriteLocations": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the account to write in multiple locations" - }, - "ipRangeFilter": { - "type": "string", - "description": "Cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces." - }, - "isVirtualNetworkFilterEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." - }, - "keyVaultKeyUri": { - "type": "string", - "description": "The URI of the key vault" - }, - "locations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." - } - }, - "required": [ - "databaseAccountOfferType", - "locations" - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "databaseAccounts_cassandraKeyspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_sqlDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-12-12" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - }, - "ExcludedPath": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "GremlinDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin database resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "GremlinDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin database resource object" - }, - "GremlinGraphCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin graph resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "GremlinGraphResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin graph" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin graph resource object" - }, - "IncludedPath": { - "type": "object", - "properties": { - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Indexes" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of indexes for this path" - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - }, - "description": "The paths that are included in indexing" - }, - "Indexes": { - "type": "object", - "properties": { - "dataType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Number", - "Point", - "Polygon", - "LineString", - "MultiPolygon" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The datatype for which the indexing behavior is applied to." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "Spatial" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of index." - }, - "precision": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The precision of the index. -1 is maximum precision." - } - }, - "description": "The indexes for the path." - }, - "IndexingPolicy": { - "type": "object", - "properties": { - "automatic": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates if the indexing policy is automatic" - }, - "compositeIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/CompositePath" - } - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of composite path list" - }, - "excludedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExcludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to exclude from indexing" - }, - "includedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IncludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to include in the indexing" - }, - "indexingMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Consistent", - "Lazy", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the indexing mode." - }, - "spatialIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SpatialSpec" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of spatial specifics" - } - }, - "description": "Cosmos DB indexing policy" - }, - "Location": { - "type": "object", - "properties": { - "failoverPriority": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." - }, - "isZoneRedundant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether or not this region is an AvailabilityZone region" - }, - "locationName": { - "type": "string", - "description": "The name of the region." - }, - "provisioningState": { - "type": "string", - "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'Offline' - the Cosmos DB account is not active. 'DeletionFailed' – the Cosmos DB account deletion failed." - } - }, - "description": "A region in which the Azure Cosmos DB database account is deployed." - }, - "MongoDBCollectionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "MongoDBCollectionResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB collection" - }, - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MongoIndex" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of index keys" - }, - "shardKey": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoDBDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB database resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "MongoDBDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB database resource object" - }, - "MongoIndex": { - "type": "object", - "properties": { - "key": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "options": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection index options" - } - }, - "description": "Cosmos DB MongoDB collection index key" - }, - "MongoIndexKeys": { - "type": "object", - "properties": { - "keys": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" - } - }, - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoIndexOptions": { - "type": "object", - "properties": { - "expireAfterSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Expire after seconds" - }, - "unique": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is unique or not" - } - }, - "description": "Cosmos DB MongoDB collection index options" - }, - "ProvisionedThroughputSettingsResource": { - "type": "object", - "properties": { - "autoUpgradePolicy": { - "oneOf": [ - { - "$ref": "#/definitions/AutoUpgradePolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource auto-upgrade policy" - }, - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput container can scale up to." - } - }, - "required": [ - "maxThroughput" - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "SpatialSpec": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - }, - "types": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Point", - "LineString", - "Polygon", - "MultiPolygon" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of path's spatial type" - } - } - }, - "SqlContainerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL container resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "SqlContainerResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL container" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL container resource object" - }, - "SqlDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL database resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "SqlDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL database resource object" - }, - "SqlStoredProcedureCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL storedProcedure resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "SqlStoredProcedureResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Stored Procedure" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL storedProcedure" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL storedProcedure resource object" - }, - "SqlTriggerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL trigger resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "SqlTriggerResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Trigger" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL trigger" - }, - "triggerOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "All", - "Create", - "Update", - "Delete", - "Replace" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The operation the trigger is associated with." - }, - "triggerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pre", - "Post" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of the Trigger." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL trigger resource object" - }, - "SqlUserDefinedFunctionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "SqlUserDefinedFunctionResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the User Defined Function" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL userDefinedFunction" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - }, - "TableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/TableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB table resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "TableResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB table" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB table resource object" - }, - "ThroughputPolicyResource": { - "type": "object", - "properties": { - "incrementPercent": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents the percentage by which throughput can increase every time throughput policy kicks in." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Determines whether the ThroughputPolicy is active or not" - } - }, - "description": "Cosmos DB resource throughput policy" - }, - "ThroughputSettingsResource": { - "type": "object", - "properties": { - "provisionedThroughputSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ProvisionedThroughputSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Value of the Cosmos DB resource throughput. Either throughput is required or provisionedThroughputSettings is required, but not both." - } - }, - "description": "Cosmos DB resource throughput object. Either throughput is required or provisionedThroughputSettings is required, but not both." - }, - "ThroughputSettingsUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput object. Either throughput is required or provisionedThroughputSettings is required, but not both." - } - }, - "required": [ - "resource" - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "UniqueKey": { - "type": "object", - "properties": { - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths must be unique for each document in the Azure Cosmos DB service" - } - }, - "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - }, - "UniqueKeyPolicy": { - "type": "object", - "properties": { - "uniqueKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UniqueKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - } - }, - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." - }, - "ignoreMissingVNetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." - } - }, - "description": "Virtual Network ACL Rule object" - } - } -} \ No newline at end of file diff --git a/schemas/2020-03-01/Microsoft.DocumentDB.json b/schemas/2020-03-01/Microsoft.DocumentDB.json deleted file mode 100644 index 6ed3d79eed..0000000000 --- a/schemas/2020-03-01/Microsoft.DocumentDB.json +++ /dev/null @@ -1,4506 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "databaseAccounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "GlobalDocumentDB", - "MongoDB", - "Parse" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of database account. This can only be set at database account creation." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", - "minLength": 3, - "maxLength": 50 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB database account name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_tables_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_notebookWorkspaces_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts" - }, - "databaseAccounts_cassandraKeyspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_sqlDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_storedProcedures_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_triggers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - } - }, - "definitions": { - "AutoUpgradePolicyResource": { - "type": "object", - "properties": { - "throughputPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputPolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput policy" - } - }, - "description": "Cosmos DB resource auto-upgrade policy" - }, - "Capability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." - } - }, - "description": "Cosmos DB capability object" - }, - "CassandraKeyspaceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra keyspace resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "CassandraKeyspaceResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra keyspace" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra keyspace resource object" - }, - "CassandraPartitionKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table partition key" - } - }, - "description": "Cosmos DB Cassandra table partition key" - }, - "CassandraSchema": { - "type": "object", - "properties": { - "clusterKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of cluster key." - }, - "columns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Column" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cassandra table columns." - }, - "partitionKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraPartitionKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of partition key." - } - }, - "description": "Cosmos DB Cassandra table schema" - }, - "CassandraTableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "CassandraTableResource": { - "type": "object", - "properties": { - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time to live of the Cosmos DB Cassandra table" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table" - }, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraSchema" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table schema" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra table resource object" - }, - "ClusterKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table cluster key" - }, - "orderBy": { - "type": "string", - "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" - } - }, - "description": "Cosmos DB Cassandra table cluster key" - }, - "Column": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table column" - }, - "type": { - "type": "string", - "description": "Type of the Cosmos DB Cassandra table column" - } - }, - "description": "Cosmos DB Cassandra table column" - }, - "CompositePath": { - "type": "object", - "properties": { - "order": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Ascending", - "Descending" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sort order for composite paths." - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "ConflictResolutionPolicy": { - "type": "object", - "properties": { - "conflictResolutionPath": { - "type": "string", - "description": "The conflict resolution path in the case of LastWriterWins mode." - }, - "conflictResolutionProcedure": { - "type": "string", - "description": "The procedure to resolve conflicts in the case of custom mode." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastWriterWins", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the conflict resolution mode." - } - }, - "description": "The conflict resolution policy for the container." - }, - "ConsistencyPolicy": { - "type": "object", - "properties": { - "defaultConsistencyLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Eventual", - "Session", - "BoundedStaleness", - "Strong", - "ConsistentPrefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default consistency level and configuration settings of the Cosmos DB account." - }, - "maxIntervalInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 5, - "maximum": 86400 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - }, - "maxStalenessPrefix": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - } - }, - "required": [ - "defaultConsistencyLevel" - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "ContainerPartitionKey": { - "type": "object", - "properties": { - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the kind of algorithm used for partitioning." - }, - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths using which data within the container can be partitioned" - }, - "version": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the version of the partition key definition" - } - }, - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "CreateUpdateOptions": { - "type": "object", - "properties": { - "additionalProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Unmatched properties from the message are deserialized this collection" - }, - "throughput": { - "type": "string", - "description": "Request Units per second. For example, \"throughput\": \"10000\"." - } - }, - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "DatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "capabilities": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cosmos DB capabilities for the account" - }, - "connectorOffer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cassandra connector offer type for the Cosmos DB database C* account." - }, - "consistencyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConsistencyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "databaseAccountOfferType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The offer type for the database" - }, - "disableKeyBasedMetadataWriteAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys" - }, - "enableAutomaticFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." - }, - "enableCassandraConnector": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the cassandra connector on the Cosmos DB C* account" - }, - "enableMultipleWriteLocations": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the account to write in multiple locations" - }, - "ipRangeFilter": { - "type": "string", - "description": "Cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces." - }, - "isVirtualNetworkFilterEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." - }, - "keyVaultKeyUri": { - "type": "string", - "description": "The URI of the key vault" - }, - "locations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether requests from Public Network are allowed." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." - } - }, - "required": [ - "databaseAccountOfferType", - "locations" - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "databaseAccounts_cassandraKeyspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_sqlDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - }, - "ExcludedPath": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "GremlinDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin database resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "GremlinDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin database resource object" - }, - "GremlinGraphCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin graph resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "GremlinGraphResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin graph" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin graph resource object" - }, - "IncludedPath": { - "type": "object", - "properties": { - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Indexes" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of indexes for this path" - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - }, - "description": "The paths that are included in indexing" - }, - "Indexes": { - "type": "object", - "properties": { - "dataType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Number", - "Point", - "Polygon", - "LineString", - "MultiPolygon" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The datatype for which the indexing behavior is applied to." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "Spatial" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of index." - }, - "precision": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The precision of the index. -1 is maximum precision." - } - }, - "description": "The indexes for the path." - }, - "IndexingPolicy": { - "type": "object", - "properties": { - "automatic": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates if the indexing policy is automatic" - }, - "compositeIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/CompositePath" - } - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of composite path list" - }, - "excludedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExcludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to exclude from indexing" - }, - "includedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IncludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to include in the indexing" - }, - "indexingMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Consistent", - "Lazy", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the indexing mode." - }, - "spatialIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SpatialSpec" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of spatial specifics" - } - }, - "description": "Cosmos DB indexing policy" - }, - "Location": { - "type": "object", - "properties": { - "failoverPriority": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." - }, - "isZoneRedundant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether or not this region is an AvailabilityZone region" - }, - "locationName": { - "type": "string", - "description": "The name of the region." - }, - "provisioningState": { - "type": "string", - "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed." - } - }, - "description": "A region in which the Azure Cosmos DB database account is deployed." - }, - "MongoDBCollectionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "MongoDBCollectionResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB collection" - }, - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MongoIndex" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of index keys" - }, - "shardKey": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoDBDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB database resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "MongoDBDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB database resource object" - }, - "MongoIndex": { - "type": "object", - "properties": { - "key": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "options": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection index options" - } - }, - "description": "Cosmos DB MongoDB collection index key" - }, - "MongoIndexKeys": { - "type": "object", - "properties": { - "keys": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" - } - }, - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoIndexOptions": { - "type": "object", - "properties": { - "expireAfterSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Expire after seconds" - }, - "unique": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is unique or not" - } - }, - "description": "Cosmos DB MongoDB collection index options" - }, - "ProvisionedThroughputSettingsResource": { - "type": "object", - "properties": { - "autoUpgradePolicy": { - "oneOf": [ - { - "$ref": "#/definitions/AutoUpgradePolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource auto-upgrade policy" - }, - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput container can scale up to." - } - }, - "required": [ - "maxThroughput" - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "SpatialSpec": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - }, - "types": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Point", - "LineString", - "Polygon", - "MultiPolygon" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of path's spatial type" - } - } - }, - "SqlContainerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL container resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "SqlContainerResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL container" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL container resource object" - }, - "SqlDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL database resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "SqlDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL database resource object" - }, - "SqlStoredProcedureCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL storedProcedure resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "SqlStoredProcedureResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Stored Procedure" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL storedProcedure" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL storedProcedure resource object" - }, - "SqlTriggerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL trigger resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "SqlTriggerResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Trigger" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL trigger" - }, - "triggerOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "All", - "Create", - "Update", - "Delete", - "Replace" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The operation the trigger is associated with." - }, - "triggerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pre", - "Post" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of the Trigger." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL trigger resource object" - }, - "SqlUserDefinedFunctionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "SqlUserDefinedFunctionResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the User Defined Function" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL userDefinedFunction" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - }, - "TableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/TableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB table resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "TableResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB table" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB table resource object" - }, - "ThroughputPolicyResource": { - "type": "object", - "properties": { - "incrementPercent": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents the percentage by which throughput can increase every time throughput policy kicks in." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Determines whether the ThroughputPolicy is active or not" - } - }, - "description": "Cosmos DB resource throughput policy" - }, - "ThroughputSettingsResource": { - "type": "object", - "properties": { - "provisionedThroughputSettings": { - "oneOf": [ - { - "$ref": "#/definitions/ProvisionedThroughputSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Value of the Cosmos DB resource throughput. Either throughput is required or provisionedThroughputSettings is required, but not both." - } - }, - "description": "Cosmos DB resource throughput object. Either throughput is required or provisionedThroughputSettings is required, but not both." - }, - "ThroughputSettingsUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput object. Either throughput is required or provisionedThroughputSettings is required, but not both." - } - }, - "required": [ - "resource" - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "UniqueKey": { - "type": "object", - "properties": { - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths must be unique for each document in the Azure Cosmos DB service" - } - }, - "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - }, - "UniqueKeyPolicy": { - "type": "object", - "properties": { - "uniqueKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UniqueKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - } - }, - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." - }, - "ignoreMissingVNetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." - } - }, - "description": "Virtual Network ACL Rule object" - } - } -} \ No newline at end of file diff --git a/schemas/2020-04-01/Microsoft.DocumentDB.json b/schemas/2020-04-01/Microsoft.DocumentDB.json deleted file mode 100644 index 6851377356..0000000000 --- a/schemas/2020-04-01/Microsoft.DocumentDB.json +++ /dev/null @@ -1,4681 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "databaseAccounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "GlobalDocumentDB", - "MongoDB", - "Parse" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of database account. This can only be set at database account creation." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", - "minLength": 3, - "maxLength": 50 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB database account name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_tables_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_notebookWorkspaces_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts" - }, - "databaseAccounts_cassandraKeyspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_sqlDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_storedProcedures_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_triggers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - } - }, - "definitions": { - "ApiProperties": { - "type": "object", - "properties": { - "serverVersion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "3.2", - "3.6" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the ServerVersion of an a MongoDB account." - } - } - }, - "AutoscaleSettings": { - "type": "object", - "properties": { - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput, the resource can scale up to." - } - } - }, - "AutoscaleSettingsResource": { - "type": "object", - "properties": { - "autoUpgradePolicy": { - "oneOf": [ - { - "$ref": "#/definitions/AutoUpgradePolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource auto-upgrade policy" - }, - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput container can scale up to." - } - }, - "required": [ - "maxThroughput" - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "AutoUpgradePolicyResource": { - "type": "object", - "properties": { - "throughputPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputPolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput policy" - } - }, - "description": "Cosmos DB resource auto-upgrade policy" - }, - "Capability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." - } - }, - "description": "Cosmos DB capability object" - }, - "CassandraKeyspaceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra keyspace resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "CassandraKeyspaceResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra keyspace" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra keyspace resource object" - }, - "CassandraPartitionKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table partition key" - } - }, - "description": "Cosmos DB Cassandra table partition key" - }, - "CassandraSchema": { - "type": "object", - "properties": { - "clusterKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of cluster key." - }, - "columns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Column" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cassandra table columns." - }, - "partitionKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraPartitionKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of partition key." - } - }, - "description": "Cosmos DB Cassandra table schema" - }, - "CassandraTableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "CassandraTableResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time to live of the Cosmos DB Cassandra table" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table" - }, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraSchema" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table schema" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra table resource object" - }, - "ClusterKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table cluster key" - }, - "orderBy": { - "type": "string", - "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" - } - }, - "description": "Cosmos DB Cassandra table cluster key" - }, - "Column": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table column" - }, - "type": { - "type": "string", - "description": "Type of the Cosmos DB Cassandra table column" - } - }, - "description": "Cosmos DB Cassandra table column" - }, - "CompositePath": { - "type": "object", - "properties": { - "order": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Ascending", - "Descending" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sort order for composite paths." - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "ConflictResolutionPolicy": { - "type": "object", - "properties": { - "conflictResolutionPath": { - "type": "string", - "description": "The conflict resolution path in the case of LastWriterWins mode." - }, - "conflictResolutionProcedure": { - "type": "string", - "description": "The procedure to resolve conflicts in the case of custom mode." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastWriterWins", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the conflict resolution mode." - } - }, - "description": "The conflict resolution policy for the container." - }, - "ConsistencyPolicy": { - "type": "object", - "properties": { - "defaultConsistencyLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Eventual", - "Session", - "BoundedStaleness", - "Strong", - "ConsistentPrefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default consistency level and configuration settings of the Cosmos DB account." - }, - "maxIntervalInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 5, - "maximum": 86400 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - }, - "maxStalenessPrefix": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - } - }, - "required": [ - "defaultConsistencyLevel" - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "ContainerPartitionKey": { - "type": "object", - "properties": { - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the kind of algorithm used for partitioning." - }, - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths using which data within the container can be partitioned" - }, - "version": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the version of the partition key definition" - } - }, - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "CorsPolicy": { - "type": "object", - "properties": { - "allowedHeaders": { - "type": "string", - "description": "The request headers that the origin domain may specify on the CORS request." - }, - "allowedMethods": { - "type": "string", - "description": "The methods (HTTP request verbs) that the origin domain may use for a CORS request." - }, - "allowedOrigins": { - "type": "string", - "description": "The origin domains that are permitted to make a request against the service via CORS." - }, - "exposedHeaders": { - "type": "string", - "description": "The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer." - }, - "maxAgeInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The maximum amount time that a browser should cache the preflight OPTIONS request." - } - }, - "required": [ - "allowedOrigins" - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "CreateUpdateOptions": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Request Units per second. For example, \"throughput\": 10000." - } - }, - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "DatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "apiProperties": { - "oneOf": [ - { - "$ref": "#/definitions/ApiProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "capabilities": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cosmos DB capabilities for the account" - }, - "connectorOffer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cassandra connector offer type for the Cosmos DB database C* account." - }, - "consistencyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConsistencyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "cors": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CorsPolicy" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "databaseAccountOfferType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The offer type for the database" - }, - "disableKeyBasedMetadataWriteAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys" - }, - "enableAnalyticalStorage": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable storage analytics." - }, - "enableAutomaticFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." - }, - "enableCassandraConnector": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the cassandra connector on the Cosmos DB C* account" - }, - "enableFreeTier": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether Free Tier is enabled." - }, - "enableMultipleWriteLocations": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the account to write in multiple locations" - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IpAddressOrRange" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Array of IpAddressOrRange objects." - }, - "isVirtualNetworkFilterEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." - }, - "keyVaultKeyUri": { - "type": "string", - "description": "The URI of the key vault" - }, - "locations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether requests from Public Network are allowed." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." - } - }, - "required": [ - "databaseAccountOfferType", - "locations" - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "databaseAccounts_cassandraKeyspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_sqlDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - }, - "ExcludedPath": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "GremlinDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin database resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "GremlinDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin database resource object" - }, - "GremlinGraphCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin graph resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "GremlinGraphResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin graph" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin graph resource object" - }, - "IncludedPath": { - "type": "object", - "properties": { - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Indexes" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of indexes for this path" - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - }, - "description": "The paths that are included in indexing" - }, - "Indexes": { - "type": "object", - "properties": { - "dataType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Number", - "Point", - "Polygon", - "LineString", - "MultiPolygon" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The datatype for which the indexing behavior is applied to." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "Spatial" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of index." - }, - "precision": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The precision of the index. -1 is maximum precision." - } - }, - "description": "The indexes for the path." - }, - "IndexingPolicy": { - "type": "object", - "properties": { - "automatic": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates if the indexing policy is automatic" - }, - "compositeIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/CompositePath" - } - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of composite path list" - }, - "excludedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExcludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to exclude from indexing" - }, - "includedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IncludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to include in the indexing" - }, - "indexingMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Consistent", - "Lazy", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the indexing mode." - }, - "spatialIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SpatialSpec" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of spatial specifics" - } - }, - "description": "Cosmos DB indexing policy" - }, - "IpAddressOrRange": { - "type": "object", - "properties": { - "ipAddressOrRange": { - "type": "string", - "description": "A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”." - } - }, - "description": "IpAddressOrRange object" - }, - "Location": { - "type": "object", - "properties": { - "failoverPriority": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." - }, - "isZoneRedundant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether or not this region is an AvailabilityZone region" - }, - "locationName": { - "type": "string", - "description": "The name of the region." - }, - "provisioningState": { - "type": "string", - "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed." - } - }, - "description": "A region in which the Azure Cosmos DB database account is deployed." - }, - "MongoDBCollectionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "MongoDBCollectionResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB collection" - }, - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MongoIndex" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of index keys" - }, - "shardKey": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoDBDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB database resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "MongoDBDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB database resource object" - }, - "MongoIndex": { - "type": "object", - "properties": { - "key": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "options": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection index options" - } - }, - "description": "Cosmos DB MongoDB collection index key" - }, - "MongoIndexKeys": { - "type": "object", - "properties": { - "keys": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" - } - }, - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoIndexOptions": { - "type": "object", - "properties": { - "expireAfterSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Expire after seconds" - }, - "unique": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is unique or not" - } - }, - "description": "Cosmos DB MongoDB collection index options" - }, - "SpatialSpec": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - }, - "types": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Point", - "LineString", - "Polygon", - "MultiPolygon" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of path's spatial type" - } - } - }, - "SqlContainerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL container resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "SqlContainerResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL container" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL container resource object" - }, - "SqlDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL database resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "SqlDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL database resource object" - }, - "SqlStoredProcedureCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL storedProcedure resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "SqlStoredProcedureResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Stored Procedure" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL storedProcedure" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL storedProcedure resource object" - }, - "SqlTriggerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL trigger resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "SqlTriggerResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Trigger" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL trigger" - }, - "triggerOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "All", - "Create", - "Update", - "Delete", - "Replace" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The operation the trigger is associated with." - }, - "triggerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pre", - "Post" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of the Trigger." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL trigger resource object" - }, - "SqlUserDefinedFunctionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "SqlUserDefinedFunctionResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the User Defined Function" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL userDefinedFunction" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - }, - "TableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/TableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB table resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "TableResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB table" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB table resource object" - }, - "ThroughputPolicyResource": { - "type": "object", - "properties": { - "incrementPercent": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents the percentage by which throughput can increase every time throughput policy kicks in." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Determines whether the ThroughputPolicy is active or not" - } - }, - "description": "Cosmos DB resource throughput policy" - }, - "ThroughputSettingsResource": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - }, - "ThroughputSettingsUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "required": [ - "resource" - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "UniqueKey": { - "type": "object", - "properties": { - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths must be unique for each document in the Azure Cosmos DB service" - } - }, - "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - }, - "UniqueKeyPolicy": { - "type": "object", - "properties": { - "uniqueKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UniqueKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - } - }, - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." - }, - "ignoreMissingVNetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." - } - }, - "description": "Virtual Network ACL Rule object" - } - } -} \ No newline at end of file diff --git a/schemas/2020-06-01-preview/Microsoft.DocumentDB.json b/schemas/2020-06-01-preview/Microsoft.DocumentDB.json deleted file mode 100644 index 260cbac43a..0000000000 --- a/schemas/2020-06-01-preview/Microsoft.DocumentDB.json +++ /dev/null @@ -1,5679 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "databaseAccounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "GlobalDocumentDB", - "MongoDB", - "Parse" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of database account. This can only be set at database account creation." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", - "minLength": 3, - "maxLength": 50 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB database account name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlRoleDefinitions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlRoleAssignments_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_tables_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_notebookWorkspaces_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts" - }, - "databaseAccounts_cassandraKeyspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_sqlDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_storedProcedures_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_triggers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_sqlRoleAssignments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Assignment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleAssignmentResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - }, - "databaseAccounts_sqlRoleDefinitions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Definition." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - }, - "databaseAccounts_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - } - }, - "definitions": { - "ApiProperties": { - "type": "object", - "properties": { - "serverVersion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "3.2", - "3.6" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the ServerVersion of an a MongoDB account." - } - } - }, - "AutoscaleSettings": { - "type": "object", - "properties": { - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput, the resource can scale up to." - } - } - }, - "AutoscaleSettingsResource": { - "type": "object", - "properties": { - "autoUpgradePolicy": { - "oneOf": [ - { - "$ref": "#/definitions/AutoUpgradePolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource auto-upgrade policy" - }, - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput container can scale up to." - } - }, - "required": [ - "maxThroughput" - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "AutoUpgradePolicyResource": { - "type": "object", - "properties": { - "throughputPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputPolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput policy" - } - }, - "description": "Cosmos DB resource auto-upgrade policy" - }, - "BackupPolicy": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeBackupPolicy" - }, - { - "$ref": "#/definitions/ContinuousModeBackupPolicy" - } - ], - "properties": {}, - "description": "The object representing the policy for taking backups on an account." - }, - "Capability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." - } - }, - "description": "Cosmos DB capability object" - }, - "CassandraKeyspaceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra keyspace resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "CassandraKeyspaceResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra keyspace" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra keyspace resource object" - }, - "CassandraPartitionKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table partition key" - } - }, - "description": "Cosmos DB Cassandra table partition key" - }, - "CassandraSchema": { - "type": "object", - "properties": { - "clusterKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of cluster key." - }, - "columns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Column" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cassandra table columns." - }, - "partitionKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraPartitionKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of partition key." - } - }, - "description": "Cosmos DB Cassandra table schema" - }, - "CassandraTableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "CassandraTableResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time to live of the Cosmos DB Cassandra table" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table" - }, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraSchema" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table schema" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra table resource object" - }, - "ClusterKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table cluster key" - }, - "orderBy": { - "type": "string", - "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" - } - }, - "description": "Cosmos DB Cassandra table cluster key" - }, - "Column": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table column" - }, - "type": { - "type": "string", - "description": "Type of the Cosmos DB Cassandra table column" - } - }, - "description": "Cosmos DB Cassandra table column" - }, - "Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties": { - "type": "object", - "properties": {} - }, - "CompositePath": { - "type": "object", - "properties": { - "order": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Ascending", - "Descending" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sort order for composite paths." - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "ConflictResolutionPolicy": { - "type": "object", - "properties": { - "conflictResolutionPath": { - "type": "string", - "description": "The conflict resolution path in the case of LastWriterWins mode." - }, - "conflictResolutionProcedure": { - "type": "string", - "description": "The procedure to resolve conflicts in the case of custom mode." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastWriterWins", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the conflict resolution mode." - } - }, - "description": "The conflict resolution policy for the container." - }, - "ConsistencyPolicy": { - "type": "object", - "properties": { - "defaultConsistencyLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Eventual", - "Session", - "BoundedStaleness", - "Strong", - "ConsistentPrefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default consistency level and configuration settings of the Cosmos DB account." - }, - "maxIntervalInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 5, - "maximum": 86400 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - }, - "maxStalenessPrefix": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - } - }, - "required": [ - "defaultConsistencyLevel" - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "ContainerPartitionKey": { - "type": "object", - "properties": { - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the kind of algorithm used for partitioning." - }, - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths using which data within the container can be partitioned" - }, - "version": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the version of the partition key definition" - } - }, - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "ContinuousModeBackupPolicy": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Continuous" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing continuous mode backup policy." - }, - "CorsPolicy": { - "type": "object", - "properties": { - "allowedHeaders": { - "type": "string", - "description": "The request headers that the origin domain may specify on the CORS request." - }, - "allowedMethods": { - "type": "string", - "description": "The methods (HTTP request verbs) that the origin domain may use for a CORS request." - }, - "allowedOrigins": { - "type": "string", - "description": "The origin domains that are permitted to make a request against the service via CORS." - }, - "exposedHeaders": { - "type": "string", - "description": "The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer." - }, - "maxAgeInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The maximum amount time that a browser should cache the preflight OPTIONS request." - } - }, - "required": [ - "allowedOrigins" - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "CreateUpdateOptions": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Request Units per second. For example, \"throughput\": 10000." - } - }, - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "DatabaseAccountCreateUpdateProperties": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/DefaultRequestDatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "#/definitions/RestoreReqeustDatabaseAccountCreateUpdateProperties" - } - ], - "properties": { - "apiProperties": { - "oneOf": [ - { - "$ref": "#/definitions/ApiProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "backupPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/BackupPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The object representing the policy for taking backups on an account." - }, - "capabilities": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cosmos DB capabilities for the account" - }, - "connectorOffer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cassandra connector offer type for the Cosmos DB database C* account." - }, - "consistencyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConsistencyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "cors": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CorsPolicy" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "databaseAccountOfferType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The offer type for the database" - }, - "disableKeyBasedMetadataWriteAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys" - }, - "enableAnalyticalStorage": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable storage analytics." - }, - "enableAutomaticFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." - }, - "enableCassandraConnector": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the cassandra connector on the Cosmos DB C* account" - }, - "enableFreeTier": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether Free Tier is enabled." - }, - "enableMultipleWriteLocations": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the account to write in multiple locations" - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IpAddressOrRange" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Array of IpAddressOrRange objects." - }, - "isVirtualNetworkFilterEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." - }, - "keyVaultKeyUri": { - "type": "string", - "description": "The URI of the key vault" - }, - "locations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether requests from Public Network are allowed." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." - } - }, - "required": [ - "databaseAccountOfferType", - "locations" - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "databaseAccounts_cassandraKeyspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_sqlDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_sqlRoleAssignments_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Assignment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleAssignmentResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "type": { - "type": "string", - "enum": [ - "sqlRoleAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - }, - "databaseAccounts_sqlRoleDefinitions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Definition." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "sqlRoleDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - }, - "databaseAccounts_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - }, - "DatabaseRestoreResource": { - "type": "object", - "properties": { - "collectionNames": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The names of the collections available for restore." - }, - "databaseName": { - "type": "string", - "description": "The name of the database available for restore." - } - }, - "description": "Specific Databases to restore." - }, - "DefaultRequestDatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "createMode": { - "type": "string", - "enum": [ - "Default" - ] - } - }, - "required": [ - "createMode" - ], - "description": "Properties for non-restore Azure Cosmos DB database account requests." - }, - "ExcludedPath": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "GremlinDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin database resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "GremlinDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin database resource object" - }, - "GremlinGraphCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin graph resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "GremlinGraphResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin graph" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin graph resource object" - }, - "IncludedPath": { - "type": "object", - "properties": { - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Indexes" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of indexes for this path" - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - }, - "description": "The paths that are included in indexing" - }, - "Indexes": { - "type": "object", - "properties": { - "dataType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Number", - "Point", - "Polygon", - "LineString", - "MultiPolygon" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The datatype for which the indexing behavior is applied to." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "Spatial" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of index." - }, - "precision": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The precision of the index. -1 is maximum precision." - } - }, - "description": "The indexes for the path." - }, - "IndexingPolicy": { - "type": "object", - "properties": { - "automatic": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates if the indexing policy is automatic" - }, - "compositeIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/CompositePath" - } - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of composite path list" - }, - "excludedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExcludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to exclude from indexing" - }, - "includedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IncludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to include in the indexing" - }, - "indexingMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Consistent", - "Lazy", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the indexing mode." - }, - "spatialIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SpatialSpec" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of spatial specifics" - } - }, - "description": "Cosmos DB indexing policy" - }, - "IpAddressOrRange": { - "type": "object", - "properties": { - "ipAddressOrRange": { - "type": "string", - "description": "A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”." - } - }, - "description": "IpAddressOrRange object" - }, - "Location": { - "type": "object", - "properties": { - "failoverPriority": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." - }, - "isZoneRedundant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether or not this region is an AvailabilityZone region" - }, - "locationName": { - "type": "string", - "description": "The name of the region." - }, - "provisioningState": { - "type": "string", - "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed." - } - }, - "description": "A region in which the Azure Cosmos DB database account is deployed." - }, - "ManagedServiceIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned,UserAssigned", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." - } - }, - "description": "Identity for the resource." - }, - "MongoDBCollectionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "MongoDBCollectionResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB collection" - }, - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MongoIndex" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of index keys" - }, - "shardKey": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoDBDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB database resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "MongoDBDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB database resource object" - }, - "MongoIndex": { - "type": "object", - "properties": { - "key": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "options": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection index options" - } - }, - "description": "Cosmos DB MongoDB collection index key" - }, - "MongoIndexKeys": { - "type": "object", - "properties": { - "keys": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" - } - }, - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoIndexOptions": { - "type": "object", - "properties": { - "expireAfterSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Expire after seconds" - }, - "unique": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is unique or not" - } - }, - "description": "Cosmos DB MongoDB collection index options" - }, - "PeriodicModeBackupPolicy": { - "type": "object", - "properties": { - "periodicModeProperties": { - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Configuration values for periodic mode backup" - }, - "type": { - "type": "string", - "enum": [ - "Periodic" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing periodic mode backup policy." - }, - "PeriodicModeProperties": { - "type": "object", - "properties": { - "backupIntervalInMinutes": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the interval in minutes between two backups" - }, - "backupRetentionIntervalInHours": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the time (in hours) that each backup is retained" - }, - "backupStorageRedundancy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Geo", - "Local", - "Zone" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enum to indicate type of backup residency." - } - }, - "description": "Configuration values for periodic mode backup" - }, - "Permission": { - "type": "object", - "properties": { - "dataActions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of data actions that are allowed." - }, - "notDataActions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of data actions that are denied." - } - }, - "description": "The set of data plane operations permitted through this Role Definition." - }, - "RestoreParameters": { - "type": "object", - "properties": { - "databasesToRestore": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/DatabaseRestoreResource" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of specific databases available for restore." - }, - "restoreMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "PointInTime" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the mode of the restore." - }, - "restoreSource": { - "type": "string", - "description": "The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}" - }, - "restoreTimestampInUtc": { - "type": "string", - "format": "date-time", - "description": "Time to which the account has to be restored (ISO-8601 format)." - } - }, - "description": "Parameters to indicate the information about the restore." - }, - "RestoreReqeustDatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "createMode": { - "type": "string", - "enum": [ - "Restore" - ] - }, - "restoreParameters": { - "oneOf": [ - { - "$ref": "#/definitions/RestoreParameters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Parameters to indicate the information about the restore." - } - }, - "required": [ - "createMode" - ], - "description": "Properties to restore Azure Cosmos DB database account." - }, - "SpatialSpec": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - }, - "types": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Point", - "LineString", - "Polygon", - "MultiPolygon" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of path's spatial type" - } - } - }, - "SqlContainerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL container resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "SqlContainerResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL container" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL container resource object" - }, - "SqlDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL database resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "SqlDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL database resource object" - }, - "SqlRoleAssignmentResource": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription." - }, - "roleDefinitionId": { - "type": "string", - "description": "The unique identifier for the associated Role Definition." - }, - "scope": { - "type": "string", - "description": "The data plane resource path for which access is being granted through this Role Assignment." - } - }, - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "SqlRoleDefinitionResource": { - "type": "object", - "properties": { - "assignableScopes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist." - }, - "permissions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Permission" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The set of operations allowed through this Role Definition." - }, - "roleName": { - "type": "string", - "description": "A user-friendly name for the Role Definition. Must be unique for the database account." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BuiltInRole", - "CustomRole" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the Role Definition was built-in or user created." - } - }, - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "SqlStoredProcedureCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL storedProcedure resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "SqlStoredProcedureResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Stored Procedure" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL storedProcedure" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL storedProcedure resource object" - }, - "SqlTriggerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL trigger resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "SqlTriggerResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Trigger" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL trigger" - }, - "triggerOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "All", - "Create", - "Update", - "Delete", - "Replace" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The operation the trigger is associated with." - }, - "triggerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pre", - "Post" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of the Trigger." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL trigger resource object" - }, - "SqlUserDefinedFunctionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "SqlUserDefinedFunctionResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the User Defined Function" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL userDefinedFunction" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - }, - "TableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/TableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB table resource object" - } - }, - "required": [ - "options", - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "TableResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB table" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB table resource object" - }, - "ThroughputPolicyResource": { - "type": "object", - "properties": { - "incrementPercent": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents the percentage by which throughput can increase every time throughput policy kicks in." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Determines whether the ThroughputPolicy is active or not" - } - }, - "description": "Cosmos DB resource throughput policy" - }, - "ThroughputSettingsResource": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - }, - "ThroughputSettingsUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "required": [ - "resource" - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "UniqueKey": { - "type": "object", - "properties": { - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths must be unique for each document in the Azure Cosmos DB service" - } - }, - "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - }, - "UniqueKeyPolicy": { - "type": "object", - "properties": { - "uniqueKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UniqueKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - } - }, - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." - }, - "ignoreMissingVNetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." - } - }, - "description": "Virtual Network ACL Rule object" - } - } -} \ No newline at end of file diff --git a/schemas/2020-09-01/Microsoft.DocumentDB.json b/schemas/2020-09-01/Microsoft.DocumentDB.json deleted file mode 100644 index 8e602b5372..0000000000 --- a/schemas/2020-09-01/Microsoft.DocumentDB.json +++ /dev/null @@ -1,4764 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "databaseAccounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "GlobalDocumentDB", - "MongoDB", - "Parse" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of database account. This can only be set at database account creation." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", - "minLength": 3, - "maxLength": 50 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB database account name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_tables_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_notebookWorkspaces_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts" - }, - "databaseAccounts_cassandraKeyspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_sqlDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_storedProcedures_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_triggers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - } - }, - "definitions": { - "ApiProperties": { - "type": "object", - "properties": { - "serverVersion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "3.2", - "3.6" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the ServerVersion of an a MongoDB account." - } - } - }, - "AutoscaleSettings": { - "type": "object", - "properties": { - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput, the resource can scale up to." - } - } - }, - "AutoscaleSettingsResource": { - "type": "object", - "properties": { - "autoUpgradePolicy": { - "oneOf": [ - { - "$ref": "#/definitions/AutoUpgradePolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource auto-upgrade policy" - }, - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput container can scale up to." - } - }, - "required": [ - "maxThroughput" - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "AutoUpgradePolicyResource": { - "type": "object", - "properties": { - "throughputPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputPolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput policy" - } - }, - "description": "Cosmos DB resource auto-upgrade policy" - }, - "BackupPolicy": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeBackupPolicy" - }, - { - "$ref": "#/definitions/ContinuousModeBackupPolicy" - } - ], - "properties": {}, - "description": "The object representing the policy for taking backups on an account." - }, - "Capability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." - } - }, - "description": "Cosmos DB capability object" - }, - "CassandraKeyspaceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra keyspace resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "CassandraKeyspaceResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra keyspace" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra keyspace resource object" - }, - "CassandraPartitionKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table partition key" - } - }, - "description": "Cosmos DB Cassandra table partition key" - }, - "CassandraSchema": { - "type": "object", - "properties": { - "clusterKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of cluster key." - }, - "columns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Column" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cassandra table columns." - }, - "partitionKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraPartitionKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of partition key." - } - }, - "description": "Cosmos DB Cassandra table schema" - }, - "CassandraTableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "CassandraTableResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time to live of the Cosmos DB Cassandra table" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table" - }, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraSchema" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table schema" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra table resource object" - }, - "ClusterKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table cluster key" - }, - "orderBy": { - "type": "string", - "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" - } - }, - "description": "Cosmos DB Cassandra table cluster key" - }, - "Column": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table column" - }, - "type": { - "type": "string", - "description": "Type of the Cosmos DB Cassandra table column" - } - }, - "description": "Cosmos DB Cassandra table column" - }, - "CompositePath": { - "type": "object", - "properties": { - "order": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Ascending", - "Descending" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sort order for composite paths." - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "ConflictResolutionPolicy": { - "type": "object", - "properties": { - "conflictResolutionPath": { - "type": "string", - "description": "The conflict resolution path in the case of LastWriterWins mode." - }, - "conflictResolutionProcedure": { - "type": "string", - "description": "The procedure to resolve conflicts in the case of custom mode." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastWriterWins", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the conflict resolution mode." - } - }, - "description": "The conflict resolution policy for the container." - }, - "ConsistencyPolicy": { - "type": "object", - "properties": { - "defaultConsistencyLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Eventual", - "Session", - "BoundedStaleness", - "Strong", - "ConsistentPrefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default consistency level and configuration settings of the Cosmos DB account." - }, - "maxIntervalInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 5, - "maximum": 86400 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - }, - "maxStalenessPrefix": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - } - }, - "required": [ - "defaultConsistencyLevel" - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "ContainerPartitionKey": { - "type": "object", - "properties": { - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the kind of algorithm used for partitioning." - }, - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths using which data within the container can be partitioned" - }, - "version": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the version of the partition key definition" - } - }, - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "ContinuousModeBackupPolicy": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Continuous" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing continuous mode backup policy." - }, - "CorsPolicy": { - "type": "object", - "properties": { - "allowedHeaders": { - "type": "string", - "description": "The request headers that the origin domain may specify on the CORS request." - }, - "allowedMethods": { - "type": "string", - "description": "The methods (HTTP request verbs) that the origin domain may use for a CORS request." - }, - "allowedOrigins": { - "type": "string", - "description": "The origin domains that are permitted to make a request against the service via CORS." - }, - "exposedHeaders": { - "type": "string", - "description": "The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer." - }, - "maxAgeInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The maximum amount time that a browser should cache the preflight OPTIONS request." - } - }, - "required": [ - "allowedOrigins" - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "CreateUpdateOptions": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Request Units per second. For example, \"throughput\": 10000." - } - }, - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "DatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "apiProperties": { - "oneOf": [ - { - "$ref": "#/definitions/ApiProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "backupPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/BackupPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The object representing the policy for taking backups on an account." - }, - "capabilities": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cosmos DB capabilities for the account" - }, - "connectorOffer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cassandra connector offer type for the Cosmos DB database C* account." - }, - "consistencyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConsistencyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "cors": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CorsPolicy" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "databaseAccountOfferType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The offer type for the database" - }, - "disableKeyBasedMetadataWriteAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys" - }, - "enableAnalyticalStorage": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable storage analytics." - }, - "enableAutomaticFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." - }, - "enableCassandraConnector": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the cassandra connector on the Cosmos DB C* account" - }, - "enableFreeTier": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether Free Tier is enabled." - }, - "enableMultipleWriteLocations": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the account to write in multiple locations" - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IpAddressOrRange" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Array of IpAddressOrRange objects." - }, - "isVirtualNetworkFilterEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." - }, - "keyVaultKeyUri": { - "type": "string", - "description": "The URI of the key vault" - }, - "locations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether requests from Public Network are allowed." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." - } - }, - "required": [ - "databaseAccountOfferType", - "locations" - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "databaseAccounts_cassandraKeyspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_sqlDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-09-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - }, - "ExcludedPath": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "GremlinDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "GremlinDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin database resource object" - }, - "GremlinGraphCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin graph resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "GremlinGraphResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin graph" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin graph resource object" - }, - "IncludedPath": { - "type": "object", - "properties": { - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Indexes" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of indexes for this path" - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - }, - "description": "The paths that are included in indexing" - }, - "Indexes": { - "type": "object", - "properties": { - "dataType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Number", - "Point", - "Polygon", - "LineString", - "MultiPolygon" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The datatype for which the indexing behavior is applied to." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "Spatial" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of index." - }, - "precision": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The precision of the index. -1 is maximum precision." - } - }, - "description": "The indexes for the path." - }, - "IndexingPolicy": { - "type": "object", - "properties": { - "automatic": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates if the indexing policy is automatic" - }, - "compositeIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/CompositePath" - } - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of composite path list" - }, - "excludedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExcludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to exclude from indexing" - }, - "includedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IncludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to include in the indexing" - }, - "indexingMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Consistent", - "Lazy", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the indexing mode." - }, - "spatialIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SpatialSpec" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of spatial specifics" - } - }, - "description": "Cosmos DB indexing policy" - }, - "IpAddressOrRange": { - "type": "object", - "properties": { - "ipAddressOrRange": { - "type": "string", - "description": "A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”." - } - }, - "description": "IpAddressOrRange object" - }, - "Location": { - "type": "object", - "properties": { - "failoverPriority": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." - }, - "isZoneRedundant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether or not this region is an AvailabilityZone region" - }, - "locationName": { - "type": "string", - "description": "The name of the region." - }, - "provisioningState": { - "type": "string", - "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed." - } - }, - "description": "A region in which the Azure Cosmos DB database account is deployed." - }, - "MongoDBCollectionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "MongoDBCollectionResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB collection" - }, - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MongoIndex" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of index keys" - }, - "shardKey": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoDBDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "MongoDBDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB database resource object" - }, - "MongoIndex": { - "type": "object", - "properties": { - "key": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "options": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection index options" - } - }, - "description": "Cosmos DB MongoDB collection index key" - }, - "MongoIndexKeys": { - "type": "object", - "properties": { - "keys": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" - } - }, - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoIndexOptions": { - "type": "object", - "properties": { - "expireAfterSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Expire after seconds" - }, - "unique": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is unique or not" - } - }, - "description": "Cosmos DB MongoDB collection index options" - }, - "PeriodicModeBackupPolicy": { - "type": "object", - "properties": { - "periodicModeProperties": { - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Configuration values for periodic mode backup" - }, - "type": { - "type": "string", - "enum": [ - "Periodic" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing periodic mode backup policy." - }, - "PeriodicModeProperties": { - "type": "object", - "properties": { - "backupIntervalInMinutes": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the interval in minutes between two backups" - }, - "backupRetentionIntervalInHours": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the time (in hours) that each backup is retained" - } - }, - "description": "Configuration values for periodic mode backup" - }, - "SpatialSpec": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - }, - "types": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Point", - "LineString", - "Polygon", - "MultiPolygon" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of path's spatial type" - } - } - }, - "SqlContainerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL container resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "SqlContainerResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL container" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL container resource object" - }, - "SqlDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "SqlDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL database resource object" - }, - "SqlStoredProcedureCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL storedProcedure resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "SqlStoredProcedureResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Stored Procedure" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL storedProcedure" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL storedProcedure resource object" - }, - "SqlTriggerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL trigger resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "SqlTriggerResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Trigger" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL trigger" - }, - "triggerOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "All", - "Create", - "Update", - "Delete", - "Replace" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The operation the trigger is associated with." - }, - "triggerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pre", - "Post" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of the Trigger." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL trigger resource object" - }, - "SqlUserDefinedFunctionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "SqlUserDefinedFunctionResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the User Defined Function" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL userDefinedFunction" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - }, - "TableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/TableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "TableResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB table" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB table resource object" - }, - "ThroughputPolicyResource": { - "type": "object", - "properties": { - "incrementPercent": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents the percentage by which throughput can increase every time throughput policy kicks in." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Determines whether the ThroughputPolicy is active or not" - } - }, - "description": "Cosmos DB resource throughput policy" - }, - "ThroughputSettingsResource": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - }, - "ThroughputSettingsUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "required": [ - "resource" - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "UniqueKey": { - "type": "object", - "properties": { - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths must be unique for each document in the Azure Cosmos DB service" - } - }, - "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - }, - "UniqueKeyPolicy": { - "type": "object", - "properties": { - "uniqueKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UniqueKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - } - }, - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." - }, - "ignoreMissingVNetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." - } - }, - "description": "Virtual Network ACL Rule object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-01-15/Microsoft.DocumentDB.json b/schemas/2021-01-15/Microsoft.DocumentDB.json deleted file mode 100644 index f49e6d343b..0000000000 --- a/schemas/2021-01-15/Microsoft.DocumentDB.json +++ /dev/null @@ -1,4989 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "databaseAccounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "GlobalDocumentDB", - "MongoDB", - "Parse" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of database account. This can only be set at database account creation." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", - "minLength": 3, - "maxLength": 50 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB database account name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_tables_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_notebookWorkspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_privateEndpointConnections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts" - }, - "databaseAccounts_cassandraKeyspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - }, - "databaseAccounts_sqlDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_storedProcedures_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_triggers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - } - }, - "definitions": { - "ApiProperties": { - "type": "object", - "properties": { - "serverVersion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "3.2", - "3.6", - "4.0" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the ServerVersion of an a MongoDB account." - } - } - }, - "AutoscaleSettings": { - "type": "object", - "properties": { - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput, the resource can scale up to." - } - } - }, - "AutoscaleSettingsResource": { - "type": "object", - "properties": { - "autoUpgradePolicy": { - "oneOf": [ - { - "$ref": "#/definitions/AutoUpgradePolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource auto-upgrade policy" - }, - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput container can scale up to." - } - }, - "required": [ - "maxThroughput" - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "AutoUpgradePolicyResource": { - "type": "object", - "properties": { - "throughputPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputPolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput policy" - } - }, - "description": "Cosmos DB resource auto-upgrade policy" - }, - "BackupPolicy": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeBackupPolicy" - }, - { - "$ref": "#/definitions/ContinuousModeBackupPolicy" - } - ], - "properties": {}, - "description": "The object representing the policy for taking backups on an account." - }, - "Capability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." - } - }, - "description": "Cosmos DB capability object" - }, - "CassandraKeyspaceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra keyspace resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "CassandraKeyspaceResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra keyspace" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra keyspace resource object" - }, - "CassandraPartitionKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table partition key" - } - }, - "description": "Cosmos DB Cassandra table partition key" - }, - "CassandraSchema": { - "type": "object", - "properties": { - "clusterKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of cluster key." - }, - "columns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Column" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cassandra table columns." - }, - "partitionKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraPartitionKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of partition key." - } - }, - "description": "Cosmos DB Cassandra table schema" - }, - "CassandraTableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "CassandraTableResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time to live of the Cosmos DB Cassandra table" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table" - }, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraSchema" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table schema" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra table resource object" - }, - "ClusterKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table cluster key" - }, - "orderBy": { - "type": "string", - "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" - } - }, - "description": "Cosmos DB Cassandra table cluster key" - }, - "Column": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table column" - }, - "type": { - "type": "string", - "description": "Type of the Cosmos DB Cassandra table column" - } - }, - "description": "Cosmos DB Cassandra table column" - }, - "Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties": { - "type": "object", - "properties": {} - }, - "CompositePath": { - "type": "object", - "properties": { - "order": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ascending", - "descending" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sort order for composite paths." - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "ConflictResolutionPolicy": { - "type": "object", - "properties": { - "conflictResolutionPath": { - "type": "string", - "description": "The conflict resolution path in the case of LastWriterWins mode." - }, - "conflictResolutionProcedure": { - "type": "string", - "description": "The procedure to resolve conflicts in the case of custom mode." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastWriterWins", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the conflict resolution mode." - } - }, - "description": "The conflict resolution policy for the container." - }, - "ConsistencyPolicy": { - "type": "object", - "properties": { - "defaultConsistencyLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Eventual", - "Session", - "BoundedStaleness", - "Strong", - "ConsistentPrefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default consistency level and configuration settings of the Cosmos DB account." - }, - "maxIntervalInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 5, - "maximum": 86400 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - }, - "maxStalenessPrefix": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - } - }, - "required": [ - "defaultConsistencyLevel" - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "ContainerPartitionKey": { - "type": "object", - "properties": { - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "MultiHash" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create." - }, - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths using which data within the container can be partitioned" - }, - "version": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the version of the partition key definition" - } - }, - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "ContinuousModeBackupPolicy": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Continuous" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing continuous mode backup policy." - }, - "CorsPolicy": { - "type": "object", - "properties": { - "allowedHeaders": { - "type": "string", - "description": "The request headers that the origin domain may specify on the CORS request." - }, - "allowedMethods": { - "type": "string", - "description": "The methods (HTTP request verbs) that the origin domain may use for a CORS request." - }, - "allowedOrigins": { - "type": "string", - "description": "The origin domains that are permitted to make a request against the service via CORS." - }, - "exposedHeaders": { - "type": "string", - "description": "The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer." - }, - "maxAgeInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The maximum amount time that a browser should cache the preflight OPTIONS request." - } - }, - "required": [ - "allowedOrigins" - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "CreateUpdateOptions": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Request Units per second. For example, \"throughput\": 10000." - } - }, - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "DatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "apiProperties": { - "oneOf": [ - { - "$ref": "#/definitions/ApiProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "backupPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/BackupPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The object representing the policy for taking backups on an account." - }, - "capabilities": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cosmos DB capabilities for the account" - }, - "connectorOffer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cassandra connector offer type for the Cosmos DB database C* account." - }, - "consistencyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConsistencyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "cors": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CorsPolicy" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "databaseAccountOfferType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The offer type for the database" - }, - "disableKeyBasedMetadataWriteAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys" - }, - "enableAnalyticalStorage": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable storage analytics." - }, - "enableAutomaticFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." - }, - "enableCassandraConnector": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the cassandra connector on the Cosmos DB C* account" - }, - "enableFreeTier": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether Free Tier is enabled." - }, - "enableMultipleWriteLocations": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the account to write in multiple locations" - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IpAddressOrRange" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Array of IpAddressOrRange objects." - }, - "isVirtualNetworkFilterEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." - }, - "keyVaultKeyUri": { - "type": "string", - "description": "The URI of the key vault" - }, - "locations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." - }, - "networkAclBypass": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "AzureServices" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates what services are allowed to bypass firewall checks." - }, - "networkAclBypassResourceIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether requests from Public Network are allowed." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." - } - }, - "required": [ - "databaseAccountOfferType", - "locations" - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "databaseAccounts_cassandraKeyspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - }, - "databaseAccounts_sqlDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-01-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - }, - "ExcludedPath": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "GremlinDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "GremlinDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin database resource object" - }, - "GremlinGraphCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin graph resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "GremlinGraphResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin graph" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin graph resource object" - }, - "IncludedPath": { - "type": "object", - "properties": { - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Indexes" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of indexes for this path" - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - }, - "description": "The paths that are included in indexing" - }, - "Indexes": { - "type": "object", - "properties": { - "dataType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Number", - "Point", - "Polygon", - "LineString", - "MultiPolygon" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The datatype for which the indexing behavior is applied to." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "Spatial" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of index." - }, - "precision": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The precision of the index. -1 is maximum precision." - } - }, - "description": "The indexes for the path." - }, - "IndexingPolicy": { - "type": "object", - "properties": { - "automatic": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates if the indexing policy is automatic" - }, - "compositeIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/CompositePath" - } - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of composite path list" - }, - "excludedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExcludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to exclude from indexing" - }, - "includedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IncludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to include in the indexing" - }, - "indexingMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "consistent", - "lazy", - "none" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the indexing mode." - }, - "spatialIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SpatialSpec" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of spatial specifics" - } - }, - "description": "Cosmos DB indexing policy" - }, - "IpAddressOrRange": { - "type": "object", - "properties": { - "ipAddressOrRange": { - "type": "string", - "description": "A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”." - } - }, - "description": "IpAddressOrRange object" - }, - "Location": { - "type": "object", - "properties": { - "failoverPriority": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." - }, - "isZoneRedundant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether or not this region is an AvailabilityZone region" - }, - "locationName": { - "type": "string", - "description": "The name of the region." - }, - "provisioningState": { - "type": "string", - "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed." - } - }, - "description": "A region in which the Azure Cosmos DB database account is deployed." - }, - "ManagedServiceIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned,UserAssigned", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." - } - }, - "description": "Identity for the resource." - }, - "MongoDBCollectionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "MongoDBCollectionResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB collection" - }, - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MongoIndex" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of index keys" - }, - "shardKey": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoDBDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "MongoDBDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB database resource object" - }, - "MongoIndex": { - "type": "object", - "properties": { - "key": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "options": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection index options" - } - }, - "description": "Cosmos DB MongoDB collection index key" - }, - "MongoIndexKeys": { - "type": "object", - "properties": { - "keys": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" - } - }, - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoIndexOptions": { - "type": "object", - "properties": { - "expireAfterSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Expire after seconds" - }, - "unique": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is unique or not" - } - }, - "description": "Cosmos DB MongoDB collection index options" - }, - "PeriodicModeBackupPolicy": { - "type": "object", - "properties": { - "periodicModeProperties": { - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Configuration values for periodic mode backup" - }, - "type": { - "type": "string", - "enum": [ - "Periodic" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing periodic mode backup policy." - }, - "PeriodicModeProperties": { - "type": "object", - "properties": { - "backupIntervalInMinutes": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the interval in minutes between two backups" - }, - "backupRetentionIntervalInHours": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the time (in hours) that each backup is retained" - } - }, - "description": "Configuration values for periodic mode backup" - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "groupId": { - "type": "string", - "description": "Group id of the private endpoint." - }, - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Connection State of the Private Endpoint Connection." - }, - "provisioningState": { - "type": "string", - "description": "Provisioning state of the private endpoint." - } - }, - "description": "Properties of a private endpoint connection." - }, - "PrivateEndpointProperty": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the private endpoint." - } - }, - "description": "Private endpoint which the connection belongs to." - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The private link service connection description." - }, - "status": { - "type": "string", - "description": "The private link service connection status." - } - }, - "description": "Connection State of the Private Endpoint Connection." - }, - "SpatialSpec": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - }, - "types": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Point", - "LineString", - "Polygon", - "MultiPolygon" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of path's spatial type" - } - } - }, - "SqlContainerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL container resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "SqlContainerResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL container" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL container resource object" - }, - "SqlDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "SqlDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL database resource object" - }, - "SqlStoredProcedureCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL storedProcedure resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "SqlStoredProcedureResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Stored Procedure" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL storedProcedure" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL storedProcedure resource object" - }, - "SqlTriggerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL trigger resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "SqlTriggerResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Trigger" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL trigger" - }, - "triggerOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "All", - "Create", - "Update", - "Delete", - "Replace" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The operation the trigger is associated with." - }, - "triggerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pre", - "Post" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of the Trigger." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL trigger resource object" - }, - "SqlUserDefinedFunctionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "SqlUserDefinedFunctionResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the User Defined Function" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL userDefinedFunction" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - }, - "TableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/TableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "TableResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB table" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB table resource object" - }, - "ThroughputPolicyResource": { - "type": "object", - "properties": { - "incrementPercent": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents the percentage by which throughput can increase every time throughput policy kicks in." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Determines whether the ThroughputPolicy is active or not" - } - }, - "description": "Cosmos DB resource throughput policy" - }, - "ThroughputSettingsResource": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - }, - "ThroughputSettingsUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "required": [ - "resource" - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "UniqueKey": { - "type": "object", - "properties": { - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths must be unique for each document in the Azure Cosmos DB service" - } - }, - "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - }, - "UniqueKeyPolicy": { - "type": "object", - "properties": { - "uniqueKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UniqueKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - } - }, - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." - }, - "ignoreMissingVNetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." - } - }, - "description": "Virtual Network ACL Rule object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-03-01-preview/Microsoft.DocumentDB.json b/schemas/2021-03-01-preview/Microsoft.DocumentDB.json deleted file mode 100644 index 82ca199cd8..0000000000 --- a/schemas/2021-03-01-preview/Microsoft.DocumentDB.json +++ /dev/null @@ -1,6235 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "cassandraClusters": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$", - "minLength": 1, - "maxLength": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Managed Cassandra cluster name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ClusterResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a managed Cassandra cluster." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/cassandraClusters_dataCenters_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/cassandraClusters" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/cassandraClusters" - }, - "cassandraClusters_dataCenters": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$", - "minLength": 1, - "maxLength": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Data center name in a managed Cassandra cluster." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DataCenterResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a managed Cassandra data center." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/cassandraClusters/dataCenters" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/cassandraClusters/dataCenters" - }, - "databaseAccounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "GlobalDocumentDB", - "MongoDB", - "Parse" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of database account. This can only be set at database account creation." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", - "minLength": 3, - "maxLength": 50 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB database account name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlRoleDefinitions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlRoleAssignments_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_tables_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_notebookWorkspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_privateEndpointConnections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts" - }, - "databaseAccounts_cassandraKeyspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - }, - "databaseAccounts_sqlDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_storedProcedures_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_triggers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_sqlRoleAssignments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Assignment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleAssignmentResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - }, - "databaseAccounts_sqlRoleDefinitions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Definition." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - }, - "databaseAccounts_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - } - }, - "definitions": { - "ApiProperties": { - "type": "object", - "properties": { - "serverVersion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "3.2", - "3.6", - "4.0" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the ServerVersion of an a MongoDB account." - } - } - }, - "AutoscaleSettings": { - "type": "object", - "properties": { - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput, the resource can scale up to." - } - } - }, - "AutoscaleSettingsResource": { - "type": "object", - "properties": { - "autoUpgradePolicy": { - "oneOf": [ - { - "$ref": "#/definitions/AutoUpgradePolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource auto-upgrade policy" - }, - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput container can scale up to." - } - }, - "required": [ - "maxThroughput" - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "AutoUpgradePolicyResource": { - "type": "object", - "properties": { - "throughputPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputPolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput policy" - } - }, - "description": "Cosmos DB resource auto-upgrade policy" - }, - "BackupPolicy": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeBackupPolicy" - }, - { - "$ref": "#/definitions/ContinuousModeBackupPolicy" - } - ], - "properties": {}, - "description": "The object representing the policy for taking backups on an account." - }, - "Capability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." - } - }, - "description": "Cosmos DB capability object" - }, - "cassandraClusters_dataCenters_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$", - "minLength": 1, - "maxLength": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Data center name in a managed Cassandra cluster." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DataCenterResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a managed Cassandra data center." - }, - "type": { - "type": "string", - "enum": [ - "dataCenters" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/cassandraClusters/dataCenters" - }, - "CassandraKeyspaceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra keyspace resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "CassandraKeyspaceResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra keyspace" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra keyspace resource object" - }, - "CassandraPartitionKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table partition key" - } - }, - "description": "Cosmos DB Cassandra table partition key" - }, - "CassandraSchema": { - "type": "object", - "properties": { - "clusterKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of cluster key." - }, - "columns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Column" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cassandra table columns." - }, - "partitionKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraPartitionKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of partition key." - } - }, - "description": "Cosmos DB Cassandra table schema" - }, - "CassandraTableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "CassandraTableResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time to live of the Cosmos DB Cassandra table" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table" - }, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraSchema" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table schema" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra table resource object" - }, - "Certificate": { - "type": "object", - "properties": { - "pem": { - "type": "string", - "description": "PEM formatted public key." - } - } - }, - "ClusterKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table cluster key" - }, - "orderBy": { - "type": "string", - "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" - } - }, - "description": "Cosmos DB Cassandra table cluster key" - }, - "ClusterResourceProperties": { - "type": "object", - "properties": { - "authenticationMethod": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Cassandra" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'." - }, - "cassandraVersion": { - "type": "string", - "description": "Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version." - }, - "clientCertificates": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Certificate" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property." - }, - "clusterNameOverride": { - "type": "string", - "description": "If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property." - }, - "delegatedManagementSubnetId": { - "type": "string", - "description": "Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'" - }, - "externalGossipCertificates": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Certificate" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property." - }, - "externalSeedNodes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SeedNode" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes." - }, - "hoursBetweenBackups": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of hours to wait between taking a backup of the cluster. To disable backups, set this property to 0." - }, - "initialCassandraAdminPassword": { - "type": "string", - "description": "Initial password for clients connecting as admin to the cluster. Should be changed after cluster creation. Returns null on GET. This field only applies when the authenticationMethod field is 'Cassandra'." - }, - "prometheusEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/SeedNode" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "repairEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs." - }, - "restoreFromBackupId": { - "type": "string", - "description": "To create an empty cluster, omit this field or set it to null. To restore a backup into a new cluster, set this field to the resource id of the backup." - } - }, - "description": "Properties of a managed Cassandra cluster." - }, - "Column": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table column" - }, - "type": { - "type": "string", - "description": "Type of the Cosmos DB Cassandra table column" - } - }, - "description": "Cosmos DB Cassandra table column" - }, - "Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties": { - "type": "object", - "properties": {} - }, - "CompositePath": { - "type": "object", - "properties": { - "order": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ascending", - "descending" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sort order for composite paths." - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "ConflictResolutionPolicy": { - "type": "object", - "properties": { - "conflictResolutionPath": { - "type": "string", - "description": "The conflict resolution path in the case of LastWriterWins mode." - }, - "conflictResolutionProcedure": { - "type": "string", - "description": "The procedure to resolve conflicts in the case of custom mode." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastWriterWins", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the conflict resolution mode." - } - }, - "description": "The conflict resolution policy for the container." - }, - "ConsistencyPolicy": { - "type": "object", - "properties": { - "defaultConsistencyLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Eventual", - "Session", - "BoundedStaleness", - "Strong", - "ConsistentPrefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default consistency level and configuration settings of the Cosmos DB account." - }, - "maxIntervalInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 5, - "maximum": 86400 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - }, - "maxStalenessPrefix": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - } - }, - "required": [ - "defaultConsistencyLevel" - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "ContainerPartitionKey": { - "type": "object", - "properties": { - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "MultiHash" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create." - }, - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths using which data within the container can be partitioned" - }, - "version": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the version of the partition key definition" - } - }, - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "ContinuousModeBackupPolicy": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Continuous" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing continuous mode backup policy." - }, - "CorsPolicy": { - "type": "object", - "properties": { - "allowedHeaders": { - "type": "string", - "description": "The request headers that the origin domain may specify on the CORS request." - }, - "allowedMethods": { - "type": "string", - "description": "The methods (HTTP request verbs) that the origin domain may use for a CORS request." - }, - "allowedOrigins": { - "type": "string", - "description": "The origin domains that are permitted to make a request against the service via CORS." - }, - "exposedHeaders": { - "type": "string", - "description": "The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer." - }, - "maxAgeInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The maximum amount time that a browser should cache the preflight OPTIONS request." - } - }, - "required": [ - "allowedOrigins" - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "CreateUpdateOptions": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Request Units per second. For example, \"throughput\": 10000." - } - }, - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "DatabaseAccountCreateUpdateProperties": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/DefaultRequestDatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "#/definitions/RestoreReqeustDatabaseAccountCreateUpdateProperties" - } - ], - "properties": { - "apiProperties": { - "oneOf": [ - { - "$ref": "#/definitions/ApiProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "backupPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/BackupPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The object representing the policy for taking backups on an account." - }, - "capabilities": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cosmos DB capabilities for the account" - }, - "connectorOffer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cassandra connector offer type for the Cosmos DB database C* account." - }, - "consistencyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConsistencyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "cors": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CorsPolicy" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "databaseAccountOfferType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The offer type for the database" - }, - "disableKeyBasedMetadataWriteAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys" - }, - "enableAnalyticalStorage": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable storage analytics." - }, - "enableAutomaticFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." - }, - "enableCassandraConnector": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the cassandra connector on the Cosmos DB C* account" - }, - "enableFreeTier": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether Free Tier is enabled." - }, - "enableMultipleWriteLocations": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the account to write in multiple locations" - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IpAddressOrRange" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Array of IpAddressOrRange objects." - }, - "isVirtualNetworkFilterEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." - }, - "keyVaultKeyUri": { - "type": "string", - "description": "The URI of the key vault" - }, - "locations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." - }, - "networkAclBypass": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "AzureServices" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates what services are allowed to bypass firewall checks." - }, - "networkAclBypassResourceIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether requests from Public Network are allowed." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." - } - }, - "required": [ - "databaseAccountOfferType", - "locations" - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "databaseAccounts_cassandraKeyspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - }, - "databaseAccounts_sqlDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_sqlRoleAssignments_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Assignment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleAssignmentResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "type": { - "type": "string", - "enum": [ - "sqlRoleAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - }, - "databaseAccounts_sqlRoleDefinitions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Definition." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "sqlRoleDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - }, - "databaseAccounts_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - }, - "DatabaseRestoreResource": { - "type": "object", - "properties": { - "collectionNames": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The names of the collections available for restore." - }, - "databaseName": { - "type": "string", - "description": "The name of the database available for restore." - } - }, - "description": "Specific Databases to restore." - }, - "DataCenterResourceProperties": { - "type": "object", - "properties": { - "base64EncodedCassandraYamlFragment": { - "type": "string", - "description": "A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed." - }, - "dataCenterLocation": { - "type": "string", - "description": "The region this data center should be created in." - }, - "delegatedSubnetId": { - "type": "string", - "description": "Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'." - }, - "nodeCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Properties of a managed Cassandra data center." - }, - "DefaultRequestDatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "createMode": { - "type": "string", - "enum": [ - "Default" - ] - } - }, - "required": [ - "createMode" - ], - "description": "Properties for non-restore Azure Cosmos DB database account requests." - }, - "ExcludedPath": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "GremlinDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "GremlinDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin database resource object" - }, - "GremlinGraphCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin graph resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "GremlinGraphResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin graph" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin graph resource object" - }, - "IncludedPath": { - "type": "object", - "properties": { - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Indexes" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of indexes for this path" - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - }, - "description": "The paths that are included in indexing" - }, - "Indexes": { - "type": "object", - "properties": { - "dataType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Number", - "Point", - "Polygon", - "LineString", - "MultiPolygon" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The datatype for which the indexing behavior is applied to." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "Spatial" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of index." - }, - "precision": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The precision of the index. -1 is maximum precision." - } - }, - "description": "The indexes for the path." - }, - "IndexingPolicy": { - "type": "object", - "properties": { - "automatic": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates if the indexing policy is automatic" - }, - "compositeIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/CompositePath" - } - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of composite path list" - }, - "excludedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExcludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to exclude from indexing" - }, - "includedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IncludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to include in the indexing" - }, - "indexingMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "consistent", - "lazy", - "none" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the indexing mode." - }, - "spatialIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SpatialSpec" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of spatial specifics" - } - }, - "description": "Cosmos DB indexing policy" - }, - "IpAddressOrRange": { - "type": "object", - "properties": { - "ipAddressOrRange": { - "type": "string", - "description": "A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”." - } - }, - "description": "IpAddressOrRange object" - }, - "Location": { - "type": "object", - "properties": { - "failoverPriority": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." - }, - "isZoneRedundant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether or not this region is an AvailabilityZone region" - }, - "locationName": { - "type": "string", - "description": "The name of the region." - }, - "provisioningState": { - "type": "string", - "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed." - } - }, - "description": "A region in which the Azure Cosmos DB database account is deployed." - }, - "ManagedServiceIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned,UserAssigned", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." - } - }, - "description": "Identity for the resource." - }, - "MongoDBCollectionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "MongoDBCollectionResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB collection" - }, - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MongoIndex" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of index keys" - }, - "shardKey": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoDBDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "MongoDBDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB database resource object" - }, - "MongoIndex": { - "type": "object", - "properties": { - "key": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "options": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection index options" - } - }, - "description": "Cosmos DB MongoDB collection index key" - }, - "MongoIndexKeys": { - "type": "object", - "properties": { - "keys": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" - } - }, - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoIndexOptions": { - "type": "object", - "properties": { - "expireAfterSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Expire after seconds" - }, - "unique": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is unique or not" - } - }, - "description": "Cosmos DB MongoDB collection index options" - }, - "PeriodicModeBackupPolicy": { - "type": "object", - "properties": { - "periodicModeProperties": { - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Configuration values for periodic mode backup" - }, - "type": { - "type": "string", - "enum": [ - "Periodic" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing periodic mode backup policy." - }, - "PeriodicModeProperties": { - "type": "object", - "properties": { - "backupIntervalInMinutes": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the interval in minutes between two backups" - }, - "backupRetentionIntervalInHours": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the time (in hours) that each backup is retained" - }, - "backupStorageRedundancy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Geo", - "Local", - "Zone" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enum to indicate type of backup residency." - } - }, - "description": "Configuration values for periodic mode backup" - }, - "Permission": { - "type": "object", - "properties": { - "dataActions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of data actions that are allowed." - }, - "notDataActions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of data actions that are denied." - } - }, - "description": "The set of data plane operations permitted through this Role Definition." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "groupId": { - "type": "string", - "description": "Group id of the private endpoint." - }, - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Connection State of the Private Endpoint Connection." - }, - "provisioningState": { - "type": "string", - "description": "Provisioning state of the private endpoint." - } - }, - "description": "Properties of a private endpoint connection." - }, - "PrivateEndpointProperty": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the private endpoint." - } - }, - "description": "Private endpoint which the connection belongs to." - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The private link service connection description." - }, - "status": { - "type": "string", - "description": "The private link service connection status." - } - }, - "description": "Connection State of the Private Endpoint Connection." - }, - "RestoreParameters": { - "type": "object", - "properties": { - "databasesToRestore": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/DatabaseRestoreResource" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of specific databases available for restore." - }, - "restoreMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "PointInTime" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the mode of the restore." - }, - "restoreSource": { - "type": "string", - "description": "The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}" - }, - "restoreTimestampInUtc": { - "type": "string", - "format": "date-time", - "description": "Time to which the account has to be restored (ISO-8601 format)." - } - }, - "description": "Parameters to indicate the information about the restore." - }, - "RestoreReqeustDatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "createMode": { - "type": "string", - "enum": [ - "Restore" - ] - }, - "restoreParameters": { - "oneOf": [ - { - "$ref": "#/definitions/RestoreParameters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Parameters to indicate the information about the restore." - } - }, - "required": [ - "createMode" - ], - "description": "Properties to restore Azure Cosmos DB database account." - }, - "SeedNode": { - "type": "object", - "properties": { - "ipAddress": { - "type": "string", - "description": "IP address of this seed node." - } - } - }, - "SpatialSpec": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - }, - "types": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Point", - "LineString", - "Polygon", - "MultiPolygon" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of path's spatial type" - } - } - }, - "SqlContainerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL container resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "SqlContainerResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL container" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL container resource object" - }, - "SqlDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "SqlDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL database resource object" - }, - "SqlRoleAssignmentResource": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription." - }, - "roleDefinitionId": { - "type": "string", - "description": "The unique identifier for the associated Role Definition." - }, - "scope": { - "type": "string", - "description": "The data plane resource path for which access is being granted through this Role Assignment." - } - }, - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "SqlRoleDefinitionResource": { - "type": "object", - "properties": { - "assignableScopes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist." - }, - "permissions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Permission" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The set of operations allowed through this Role Definition." - }, - "roleName": { - "type": "string", - "description": "A user-friendly name for the Role Definition. Must be unique for the database account." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BuiltInRole", - "CustomRole" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the Role Definition was built-in or user created." - } - }, - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "SqlStoredProcedureCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL storedProcedure resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "SqlStoredProcedureResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Stored Procedure" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL storedProcedure" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL storedProcedure resource object" - }, - "SqlTriggerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL trigger resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "SqlTriggerResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Trigger" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL trigger" - }, - "triggerOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "All", - "Create", - "Update", - "Delete", - "Replace" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The operation the trigger is associated with." - }, - "triggerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pre", - "Post" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of the Trigger." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL trigger resource object" - }, - "SqlUserDefinedFunctionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "SqlUserDefinedFunctionResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the User Defined Function" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL userDefinedFunction" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - }, - "TableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/TableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "TableResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB table" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB table resource object" - }, - "ThroughputPolicyResource": { - "type": "object", - "properties": { - "incrementPercent": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents the percentage by which throughput can increase every time throughput policy kicks in." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Determines whether the ThroughputPolicy is active or not" - } - }, - "description": "Cosmos DB resource throughput policy" - }, - "ThroughputSettingsResource": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - }, - "ThroughputSettingsUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "required": [ - "resource" - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "UniqueKey": { - "type": "object", - "properties": { - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths must be unique for each document in the Azure Cosmos DB service" - } - }, - "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - }, - "UniqueKeyPolicy": { - "type": "object", - "properties": { - "uniqueKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UniqueKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - } - }, - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." - }, - "ignoreMissingVNetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." - } - }, - "description": "Virtual Network ACL Rule object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-03-15/Microsoft.DocumentDB.json b/schemas/2021-03-15/Microsoft.DocumentDB.json deleted file mode 100644 index a4d533fbbf..0000000000 --- a/schemas/2021-03-15/Microsoft.DocumentDB.json +++ /dev/null @@ -1,4993 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "databaseAccounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "GlobalDocumentDB", - "MongoDB", - "Parse" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of database account. This can only be set at database account creation." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", - "minLength": 3, - "maxLength": 50 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB database account name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_tables_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_notebookWorkspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_privateEndpointConnections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts" - }, - "databaseAccounts_cassandraKeyspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - }, - "databaseAccounts_sqlDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_storedProcedures_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_triggers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - } - }, - "definitions": { - "ApiProperties": { - "type": "object", - "properties": { - "serverVersion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "3.2", - "3.6", - "4.0" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the ServerVersion of an a MongoDB account." - } - } - }, - "AutoscaleSettings": { - "type": "object", - "properties": { - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput, the resource can scale up to." - } - } - }, - "AutoscaleSettingsResource": { - "type": "object", - "properties": { - "autoUpgradePolicy": { - "oneOf": [ - { - "$ref": "#/definitions/AutoUpgradePolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource auto-upgrade policy" - }, - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput container can scale up to." - } - }, - "required": [ - "maxThroughput" - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "AutoUpgradePolicyResource": { - "type": "object", - "properties": { - "throughputPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputPolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput policy" - } - }, - "description": "Cosmos DB resource auto-upgrade policy" - }, - "BackupPolicy": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeBackupPolicy" - }, - { - "$ref": "#/definitions/ContinuousModeBackupPolicy" - } - ], - "properties": {}, - "description": "The object representing the policy for taking backups on an account." - }, - "Capability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." - } - }, - "description": "Cosmos DB capability object" - }, - "CassandraKeyspaceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra keyspace resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "CassandraKeyspaceResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra keyspace" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra keyspace resource object" - }, - "CassandraPartitionKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table partition key" - } - }, - "description": "Cosmos DB Cassandra table partition key" - }, - "CassandraSchema": { - "type": "object", - "properties": { - "clusterKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of cluster key." - }, - "columns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Column" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cassandra table columns." - }, - "partitionKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraPartitionKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of partition key." - } - }, - "description": "Cosmos DB Cassandra table schema" - }, - "CassandraTableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "CassandraTableResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time to live of the Cosmos DB Cassandra table" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table" - }, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraSchema" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table schema" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra table resource object" - }, - "ClusterKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table cluster key" - }, - "orderBy": { - "type": "string", - "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" - } - }, - "description": "Cosmos DB Cassandra table cluster key" - }, - "Column": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table column" - }, - "type": { - "type": "string", - "description": "Type of the Cosmos DB Cassandra table column" - } - }, - "description": "Cosmos DB Cassandra table column" - }, - "Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties": { - "type": "object", - "properties": {} - }, - "CompositePath": { - "type": "object", - "properties": { - "order": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ascending", - "descending" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sort order for composite paths." - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "ConflictResolutionPolicy": { - "type": "object", - "properties": { - "conflictResolutionPath": { - "type": "string", - "description": "The conflict resolution path in the case of LastWriterWins mode." - }, - "conflictResolutionProcedure": { - "type": "string", - "description": "The procedure to resolve conflicts in the case of custom mode." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastWriterWins", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the conflict resolution mode." - } - }, - "description": "The conflict resolution policy for the container." - }, - "ConsistencyPolicy": { - "type": "object", - "properties": { - "defaultConsistencyLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Eventual", - "Session", - "BoundedStaleness", - "Strong", - "ConsistentPrefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default consistency level and configuration settings of the Cosmos DB account." - }, - "maxIntervalInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 5, - "maximum": 86400 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - }, - "maxStalenessPrefix": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - } - }, - "required": [ - "defaultConsistencyLevel" - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "ContainerPartitionKey": { - "type": "object", - "properties": { - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "MultiHash" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create." - }, - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths using which data within the container can be partitioned" - }, - "version": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the version of the partition key definition" - } - }, - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "ContinuousModeBackupPolicy": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Continuous" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing continuous mode backup policy." - }, - "CorsPolicy": { - "type": "object", - "properties": { - "allowedHeaders": { - "type": "string", - "description": "The request headers that the origin domain may specify on the CORS request." - }, - "allowedMethods": { - "type": "string", - "description": "The methods (HTTP request verbs) that the origin domain may use for a CORS request." - }, - "allowedOrigins": { - "type": "string", - "description": "The origin domains that are permitted to make a request against the service via CORS." - }, - "exposedHeaders": { - "type": "string", - "description": "The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer." - }, - "maxAgeInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The maximum amount time that a browser should cache the preflight OPTIONS request." - } - }, - "required": [ - "allowedOrigins" - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "CreateUpdateOptions": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Request Units per second. For example, \"throughput\": 10000." - } - }, - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "DatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "apiProperties": { - "oneOf": [ - { - "$ref": "#/definitions/ApiProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "backupPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/BackupPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The object representing the policy for taking backups on an account." - }, - "capabilities": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cosmos DB capabilities for the account" - }, - "connectorOffer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cassandra connector offer type for the Cosmos DB database C* account." - }, - "consistencyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConsistencyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "cors": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CorsPolicy" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "databaseAccountOfferType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The offer type for the database" - }, - "defaultIdentity": { - "type": "string", - "description": "The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be \"FirstPartyIdentity\", \"SystemAssignedIdentity\" and more." - }, - "disableKeyBasedMetadataWriteAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys" - }, - "enableAnalyticalStorage": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable storage analytics." - }, - "enableAutomaticFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." - }, - "enableCassandraConnector": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the cassandra connector on the Cosmos DB C* account" - }, - "enableFreeTier": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether Free Tier is enabled." - }, - "enableMultipleWriteLocations": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the account to write in multiple locations" - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IpAddressOrRange" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Array of IpAddressOrRange objects." - }, - "isVirtualNetworkFilterEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." - }, - "keyVaultKeyUri": { - "type": "string", - "description": "The URI of the key vault" - }, - "locations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." - }, - "networkAclBypass": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "AzureServices" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates what services are allowed to bypass firewall checks." - }, - "networkAclBypassResourceIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether requests from Public Network are allowed." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." - } - }, - "required": [ - "databaseAccountOfferType", - "locations" - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "databaseAccounts_cassandraKeyspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - }, - "databaseAccounts_sqlDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - }, - "ExcludedPath": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "GremlinDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "GremlinDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin database resource object" - }, - "GremlinGraphCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin graph resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "GremlinGraphResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin graph" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin graph resource object" - }, - "IncludedPath": { - "type": "object", - "properties": { - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Indexes" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of indexes for this path" - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - }, - "description": "The paths that are included in indexing" - }, - "Indexes": { - "type": "object", - "properties": { - "dataType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Number", - "Point", - "Polygon", - "LineString", - "MultiPolygon" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The datatype for which the indexing behavior is applied to." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "Spatial" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of index." - }, - "precision": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The precision of the index. -1 is maximum precision." - } - }, - "description": "The indexes for the path." - }, - "IndexingPolicy": { - "type": "object", - "properties": { - "automatic": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates if the indexing policy is automatic" - }, - "compositeIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/CompositePath" - } - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of composite path list" - }, - "excludedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExcludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to exclude from indexing" - }, - "includedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IncludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to include in the indexing" - }, - "indexingMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "consistent", - "lazy", - "none" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the indexing mode." - }, - "spatialIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SpatialSpec" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of spatial specifics" - } - }, - "description": "Cosmos DB indexing policy" - }, - "IpAddressOrRange": { - "type": "object", - "properties": { - "ipAddressOrRange": { - "type": "string", - "description": "A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”." - } - }, - "description": "IpAddressOrRange object" - }, - "Location": { - "type": "object", - "properties": { - "failoverPriority": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." - }, - "isZoneRedundant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether or not this region is an AvailabilityZone region" - }, - "locationName": { - "type": "string", - "description": "The name of the region." - }, - "provisioningState": { - "type": "string", - "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed." - } - }, - "description": "A region in which the Azure Cosmos DB database account is deployed." - }, - "ManagedServiceIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned,UserAssigned", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." - } - }, - "description": "Identity for the resource." - }, - "MongoDBCollectionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "MongoDBCollectionResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB collection" - }, - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MongoIndex" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of index keys" - }, - "shardKey": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoDBDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "MongoDBDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB database resource object" - }, - "MongoIndex": { - "type": "object", - "properties": { - "key": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "options": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection index options" - } - }, - "description": "Cosmos DB MongoDB collection index key" - }, - "MongoIndexKeys": { - "type": "object", - "properties": { - "keys": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" - } - }, - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoIndexOptions": { - "type": "object", - "properties": { - "expireAfterSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Expire after seconds" - }, - "unique": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is unique or not" - } - }, - "description": "Cosmos DB MongoDB collection index options" - }, - "PeriodicModeBackupPolicy": { - "type": "object", - "properties": { - "periodicModeProperties": { - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Configuration values for periodic mode backup" - }, - "type": { - "type": "string", - "enum": [ - "Periodic" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing periodic mode backup policy." - }, - "PeriodicModeProperties": { - "type": "object", - "properties": { - "backupIntervalInMinutes": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the interval in minutes between two backups" - }, - "backupRetentionIntervalInHours": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the time (in hours) that each backup is retained" - } - }, - "description": "Configuration values for periodic mode backup" - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "groupId": { - "type": "string", - "description": "Group id of the private endpoint." - }, - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Connection State of the Private Endpoint Connection." - }, - "provisioningState": { - "type": "string", - "description": "Provisioning state of the private endpoint." - } - }, - "description": "Properties of a private endpoint connection." - }, - "PrivateEndpointProperty": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the private endpoint." - } - }, - "description": "Private endpoint which the connection belongs to." - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The private link service connection description." - }, - "status": { - "type": "string", - "description": "The private link service connection status." - } - }, - "description": "Connection State of the Private Endpoint Connection." - }, - "SpatialSpec": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - }, - "types": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Point", - "LineString", - "Polygon", - "MultiPolygon" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of path's spatial type" - } - } - }, - "SqlContainerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL container resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "SqlContainerResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL container" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL container resource object" - }, - "SqlDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "SqlDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL database resource object" - }, - "SqlStoredProcedureCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL storedProcedure resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "SqlStoredProcedureResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Stored Procedure" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL storedProcedure" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL storedProcedure resource object" - }, - "SqlTriggerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL trigger resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "SqlTriggerResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Trigger" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL trigger" - }, - "triggerOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "All", - "Create", - "Update", - "Delete", - "Replace" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The operation the trigger is associated with." - }, - "triggerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pre", - "Post" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of the Trigger." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL trigger resource object" - }, - "SqlUserDefinedFunctionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "SqlUserDefinedFunctionResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the User Defined Function" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL userDefinedFunction" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - }, - "TableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/TableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "TableResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB table" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB table resource object" - }, - "ThroughputPolicyResource": { - "type": "object", - "properties": { - "incrementPercent": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents the percentage by which throughput can increase every time throughput policy kicks in." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Determines whether the ThroughputPolicy is active or not" - } - }, - "description": "Cosmos DB resource throughput policy" - }, - "ThroughputSettingsResource": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - }, - "ThroughputSettingsUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "required": [ - "resource" - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "UniqueKey": { - "type": "object", - "properties": { - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths must be unique for each document in the Azure Cosmos DB service" - } - }, - "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - }, - "UniqueKeyPolicy": { - "type": "object", - "properties": { - "uniqueKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UniqueKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - } - }, - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." - }, - "ignoreMissingVNetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." - } - }, - "description": "Virtual Network ACL Rule object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-04-01-preview/Microsoft.DocumentDB.json b/schemas/2021-04-01-preview/Microsoft.DocumentDB.json deleted file mode 100644 index eb275791db..0000000000 --- a/schemas/2021-04-01-preview/Microsoft.DocumentDB.json +++ /dev/null @@ -1,6371 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "cassandraClusters": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$", - "minLength": 1, - "maxLength": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Managed Cassandra cluster name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ClusterResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a managed Cassandra cluster." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/cassandraClusters_dataCenters_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/cassandraClusters" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/cassandraClusters" - }, - "cassandraClusters_dataCenters": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$", - "minLength": 1, - "maxLength": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Data center name in a managed Cassandra cluster." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DataCenterResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a managed Cassandra data center." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/cassandraClusters/dataCenters" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/cassandraClusters/dataCenters" - }, - "databaseAccounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "GlobalDocumentDB", - "MongoDB", - "Parse" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of database account. This can only be set at database account creation." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", - "minLength": 3, - "maxLength": 50 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB database account name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlRoleDefinitions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlRoleAssignments_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_tables_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_notebookWorkspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_services_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts" - }, - "databaseAccounts_cassandraKeyspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - }, - "databaseAccounts_services": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 50, - "description": "Cosmos DB service name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceResourceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties in ServiceResourceCreateUpdateParameters." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/services" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/services" - }, - "databaseAccounts_sqlDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_storedProcedures_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_triggers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_sqlRoleAssignments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Assignment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleAssignmentResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - }, - "databaseAccounts_sqlRoleDefinitions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Definition." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - }, - "databaseAccounts_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - } - }, - "definitions": { - "ApiProperties": { - "type": "object", - "properties": { - "serverVersion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "3.2", - "3.6", - "4.0" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the ServerVersion of an a MongoDB account." - } - } - }, - "AutoscaleSettings": { - "type": "object", - "properties": { - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput, the resource can scale up to." - } - } - }, - "AutoscaleSettingsResource": { - "type": "object", - "properties": { - "autoUpgradePolicy": { - "oneOf": [ - { - "$ref": "#/definitions/AutoUpgradePolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource auto-upgrade policy" - }, - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput container can scale up to." - } - }, - "required": [ - "maxThroughput" - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "AutoUpgradePolicyResource": { - "type": "object", - "properties": { - "throughputPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputPolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput policy" - } - }, - "description": "Cosmos DB resource auto-upgrade policy" - }, - "BackupPolicy": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeBackupPolicy" - }, - { - "$ref": "#/definitions/ContinuousModeBackupPolicy" - } - ], - "properties": {}, - "description": "The object representing the policy for taking backups on an account." - }, - "Capability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." - } - }, - "description": "Cosmos DB capability object" - }, - "cassandraClusters_dataCenters_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$", - "minLength": 1, - "maxLength": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Data center name in a managed Cassandra cluster." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DataCenterResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a managed Cassandra data center." - }, - "type": { - "type": "string", - "enum": [ - "dataCenters" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/cassandraClusters/dataCenters" - }, - "CassandraKeyspaceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra keyspace resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "CassandraKeyspaceResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra keyspace" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra keyspace resource object" - }, - "CassandraPartitionKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table partition key" - } - }, - "description": "Cosmos DB Cassandra table partition key" - }, - "CassandraSchema": { - "type": "object", - "properties": { - "clusterKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of cluster key." - }, - "columns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Column" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cassandra table columns." - }, - "partitionKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraPartitionKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of partition key." - } - }, - "description": "Cosmos DB Cassandra table schema" - }, - "CassandraTableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "CassandraTableResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time to live of the Cosmos DB Cassandra table" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table" - }, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraSchema" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table schema" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra table resource object" - }, - "Certificate": { - "type": "object", - "properties": { - "pem": { - "type": "string", - "description": "PEM formatted public key." - } - } - }, - "ClusterKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table cluster key" - }, - "orderBy": { - "type": "string", - "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" - } - }, - "description": "Cosmos DB Cassandra table cluster key" - }, - "ClusterResourceProperties": { - "type": "object", - "properties": { - "authenticationMethod": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Cassandra" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'." - }, - "cassandraVersion": { - "type": "string", - "description": "Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version." - }, - "clientCertificates": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Certificate" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property." - }, - "clusterNameOverride": { - "type": "string", - "description": "If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property." - }, - "delegatedManagementSubnetId": { - "type": "string", - "description": "Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'" - }, - "externalGossipCertificates": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Certificate" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property." - }, - "externalSeedNodes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SeedNode" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes." - }, - "hoursBetweenBackups": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of hours to wait between taking a backup of the cluster. To disable backups, set this property to 0." - }, - "initialCassandraAdminPassword": { - "type": "string", - "description": "Initial password for clients connecting as admin to the cluster. Should be changed after cluster creation. Returns null on GET. This field only applies when the authenticationMethod field is 'Cassandra'." - }, - "prometheusEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/SeedNode" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "repairEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs." - }, - "restoreFromBackupId": { - "type": "string", - "description": "To create an empty cluster, omit this field or set it to null. To restore a backup into a new cluster, set this field to the resource id of the backup." - } - }, - "description": "Properties of a managed Cassandra cluster." - }, - "Column": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table column" - }, - "type": { - "type": "string", - "description": "Type of the Cosmos DB Cassandra table column" - } - }, - "description": "Cosmos DB Cassandra table column" - }, - "Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties": { - "type": "object", - "properties": {} - }, - "CompositePath": { - "type": "object", - "properties": { - "order": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ascending", - "descending" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sort order for composite paths." - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "ConflictResolutionPolicy": { - "type": "object", - "properties": { - "conflictResolutionPath": { - "type": "string", - "description": "The conflict resolution path in the case of LastWriterWins mode." - }, - "conflictResolutionProcedure": { - "type": "string", - "description": "The procedure to resolve conflicts in the case of custom mode." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastWriterWins", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the conflict resolution mode." - } - }, - "description": "The conflict resolution policy for the container." - }, - "ConsistencyPolicy": { - "type": "object", - "properties": { - "defaultConsistencyLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Eventual", - "Session", - "BoundedStaleness", - "Strong", - "ConsistentPrefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default consistency level and configuration settings of the Cosmos DB account." - }, - "maxIntervalInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 5, - "maximum": 86400 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - }, - "maxStalenessPrefix": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - } - }, - "required": [ - "defaultConsistencyLevel" - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "ContainerPartitionKey": { - "type": "object", - "properties": { - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "MultiHash" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create." - }, - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths using which data within the container can be partitioned" - }, - "version": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the version of the partition key definition" - } - }, - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "ContinuousModeBackupPolicy": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Continuous" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing continuous mode backup policy." - }, - "CorsPolicy": { - "type": "object", - "properties": { - "allowedHeaders": { - "type": "string", - "description": "The request headers that the origin domain may specify on the CORS request." - }, - "allowedMethods": { - "type": "string", - "description": "The methods (HTTP request verbs) that the origin domain may use for a CORS request." - }, - "allowedOrigins": { - "type": "string", - "description": "The origin domains that are permitted to make a request against the service via CORS." - }, - "exposedHeaders": { - "type": "string", - "description": "The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer." - }, - "maxAgeInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The maximum amount time that a browser should cache the preflight OPTIONS request." - } - }, - "required": [ - "allowedOrigins" - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "CreateUpdateOptions": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Request Units per second. For example, \"throughput\": 10000." - } - }, - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "DatabaseAccountCreateUpdateProperties": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/DefaultRequestDatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "#/definitions/RestoreReqeustDatabaseAccountCreateUpdateProperties" - } - ], - "properties": { - "apiProperties": { - "oneOf": [ - { - "$ref": "#/definitions/ApiProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "backupPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/BackupPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The object representing the policy for taking backups on an account." - }, - "capabilities": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cosmos DB capabilities for the account" - }, - "connectorOffer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cassandra connector offer type for the Cosmos DB database C* account." - }, - "consistencyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConsistencyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "cors": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CorsPolicy" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "databaseAccountOfferType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The offer type for the database" - }, - "defaultIdentity": { - "type": "string", - "description": "The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be \"FirstPartyIdentity\", \"SystemAssignedIdentity\" and more." - }, - "disableKeyBasedMetadataWriteAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys" - }, - "enableAnalyticalStorage": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable storage analytics." - }, - "enableAutomaticFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." - }, - "enableCassandraConnector": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the cassandra connector on the Cosmos DB C* account" - }, - "enableFreeTier": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether Free Tier is enabled." - }, - "enableMultipleWriteLocations": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the account to write in multiple locations" - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IpAddressOrRange" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Array of IpAddressOrRange objects." - }, - "isVirtualNetworkFilterEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." - }, - "keyVaultKeyUri": { - "type": "string", - "description": "The URI of the key vault" - }, - "locations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." - }, - "networkAclBypass": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "AzureServices" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates what services are allowed to bypass firewall checks." - }, - "networkAclBypassResourceIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether requests from Public Network are allowed." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." - } - }, - "required": [ - "databaseAccountOfferType", - "locations" - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "databaseAccounts_cassandraKeyspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - }, - "databaseAccounts_services_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 50, - "description": "Cosmos DB service name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceResourceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties in ServiceResourceCreateUpdateParameters." - }, - "type": { - "type": "string", - "enum": [ - "services" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/services" - }, - "databaseAccounts_sqlDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_sqlRoleAssignments_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Assignment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleAssignmentResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "type": { - "type": "string", - "enum": [ - "sqlRoleAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - }, - "databaseAccounts_sqlRoleDefinitions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Definition." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "sqlRoleDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - }, - "databaseAccounts_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - }, - "DatabaseRestoreResource": { - "type": "object", - "properties": { - "collectionNames": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The names of the collections available for restore." - }, - "databaseName": { - "type": "string", - "description": "The name of the database available for restore." - } - }, - "description": "Specific Databases to restore." - }, - "DataCenterResourceProperties": { - "type": "object", - "properties": { - "base64EncodedCassandraYamlFragment": { - "type": "string", - "description": "A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed." - }, - "dataCenterLocation": { - "type": "string", - "description": "The region this data center should be created in." - }, - "delegatedSubnetId": { - "type": "string", - "description": "Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'." - }, - "nodeCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Properties of a managed Cassandra data center." - }, - "DefaultRequestDatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "createMode": { - "type": "string", - "enum": [ - "Default" - ] - } - }, - "required": [ - "createMode" - ], - "description": "Properties for non-restore Azure Cosmos DB database account requests." - }, - "ExcludedPath": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "GremlinDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "GremlinDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin database resource object" - }, - "GremlinGraphCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin graph resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "GremlinGraphResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin graph" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin graph resource object" - }, - "IncludedPath": { - "type": "object", - "properties": { - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Indexes" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of indexes for this path" - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - }, - "description": "The paths that are included in indexing" - }, - "Indexes": { - "type": "object", - "properties": { - "dataType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Number", - "Point", - "Polygon", - "LineString", - "MultiPolygon" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The datatype for which the indexing behavior is applied to." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "Spatial" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of index." - }, - "precision": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The precision of the index. -1 is maximum precision." - } - }, - "description": "The indexes for the path." - }, - "IndexingPolicy": { - "type": "object", - "properties": { - "automatic": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates if the indexing policy is automatic" - }, - "compositeIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/CompositePath" - } - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of composite path list" - }, - "excludedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExcludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to exclude from indexing" - }, - "includedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IncludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to include in the indexing" - }, - "indexingMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "consistent", - "lazy", - "none" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the indexing mode." - }, - "spatialIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SpatialSpec" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of spatial specifics" - } - }, - "description": "Cosmos DB indexing policy" - }, - "IpAddressOrRange": { - "type": "object", - "properties": { - "ipAddressOrRange": { - "type": "string", - "description": "A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”." - } - }, - "description": "IpAddressOrRange object" - }, - "Location": { - "type": "object", - "properties": { - "failoverPriority": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." - }, - "isZoneRedundant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether or not this region is an AvailabilityZone region" - }, - "locationName": { - "type": "string", - "description": "The name of the region." - }, - "provisioningState": { - "type": "string", - "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed." - } - }, - "description": "A region in which the Azure Cosmos DB database account is deployed." - }, - "ManagedServiceIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned,UserAssigned", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." - } - }, - "description": "Identity for the resource." - }, - "MongoDBCollectionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "MongoDBCollectionResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB collection" - }, - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MongoIndex" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of index keys" - }, - "shardKey": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoDBDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "MongoDBDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB database resource object" - }, - "MongoIndex": { - "type": "object", - "properties": { - "key": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "options": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection index options" - } - }, - "description": "Cosmos DB MongoDB collection index key" - }, - "MongoIndexKeys": { - "type": "object", - "properties": { - "keys": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" - } - }, - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoIndexOptions": { - "type": "object", - "properties": { - "expireAfterSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Expire after seconds" - }, - "unique": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is unique or not" - } - }, - "description": "Cosmos DB MongoDB collection index options" - }, - "PeriodicModeBackupPolicy": { - "type": "object", - "properties": { - "periodicModeProperties": { - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Configuration values for periodic mode backup" - }, - "type": { - "type": "string", - "enum": [ - "Periodic" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing periodic mode backup policy." - }, - "PeriodicModeProperties": { - "type": "object", - "properties": { - "backupIntervalInMinutes": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the interval in minutes between two backups" - }, - "backupRetentionIntervalInHours": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the time (in hours) that each backup is retained" - }, - "backupStorageRedundancy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Geo", - "Local", - "Zone" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enum to indicate type of backup residency." - } - }, - "description": "Configuration values for periodic mode backup" - }, - "Permission": { - "type": "object", - "properties": { - "dataActions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of data actions that are allowed." - }, - "notDataActions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of data actions that are denied." - } - }, - "description": "The set of data plane operations permitted through this Role Definition." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "groupId": { - "type": "string", - "description": "Group id of the private endpoint." - }, - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Connection State of the Private Endpoint Connection." - }, - "provisioningState": { - "type": "string", - "description": "Provisioning state of the private endpoint." - } - }, - "description": "Properties of a private endpoint connection." - }, - "PrivateEndpointProperty": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the private endpoint." - } - }, - "description": "Private endpoint which the connection belongs to." - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The private link service connection description." - }, - "status": { - "type": "string", - "description": "The private link service connection status." - } - }, - "description": "Connection State of the Private Endpoint Connection." - }, - "RestoreParameters": { - "type": "object", - "properties": { - "databasesToRestore": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/DatabaseRestoreResource" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of specific databases available for restore." - }, - "restoreMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "PointInTime" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the mode of the restore." - }, - "restoreSource": { - "type": "string", - "description": "The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}" - }, - "restoreTimestampInUtc": { - "type": "string", - "format": "date-time", - "description": "Time to which the account has to be restored (ISO-8601 format)." - } - }, - "description": "Parameters to indicate the information about the restore." - }, - "RestoreReqeustDatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "createMode": { - "type": "string", - "enum": [ - "Restore" - ] - }, - "restoreParameters": { - "oneOf": [ - { - "$ref": "#/definitions/RestoreParameters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Parameters to indicate the information about the restore." - } - }, - "required": [ - "createMode" - ], - "description": "Properties to restore Azure Cosmos DB database account." - }, - "SeedNode": { - "type": "object", - "properties": { - "ipAddress": { - "type": "string", - "description": "IP address of this seed node." - } - } - }, - "ServiceResourceCreateUpdateProperties": { - "type": "object", - "properties": { - "instanceCount": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Instance count for the service." - }, - "instanceSize": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Cosmos.D4s", - "Cosmos.D8s", - "Cosmos.D16s" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "serviceType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SqlDedicatedGateway", - "DataTransfer" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Properties in ServiceResourceCreateUpdateParameters." - }, - "SpatialSpec": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - }, - "types": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Point", - "LineString", - "Polygon", - "MultiPolygon" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of path's spatial type" - } - } - }, - "SqlContainerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL container resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "SqlContainerResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL container" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL container resource object" - }, - "SqlDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "SqlDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL database resource object" - }, - "SqlRoleAssignmentResource": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription." - }, - "roleDefinitionId": { - "type": "string", - "description": "The unique identifier for the associated Role Definition." - }, - "scope": { - "type": "string", - "description": "The data plane resource path for which access is being granted through this Role Assignment." - } - }, - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "SqlRoleDefinitionResource": { - "type": "object", - "properties": { - "assignableScopes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist." - }, - "permissions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Permission" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The set of operations allowed through this Role Definition." - }, - "roleName": { - "type": "string", - "description": "A user-friendly name for the Role Definition. Must be unique for the database account." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BuiltInRole", - "CustomRole" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the Role Definition was built-in or user created." - } - }, - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "SqlStoredProcedureCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL storedProcedure resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "SqlStoredProcedureResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Stored Procedure" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL storedProcedure" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL storedProcedure resource object" - }, - "SqlTriggerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL trigger resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "SqlTriggerResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Trigger" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL trigger" - }, - "triggerOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "All", - "Create", - "Update", - "Delete", - "Replace" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The operation the trigger is associated with." - }, - "triggerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pre", - "Post" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of the Trigger." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL trigger resource object" - }, - "SqlUserDefinedFunctionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "SqlUserDefinedFunctionResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the User Defined Function" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL userDefinedFunction" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - }, - "TableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/TableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "TableResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB table" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB table resource object" - }, - "ThroughputPolicyResource": { - "type": "object", - "properties": { - "incrementPercent": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents the percentage by which throughput can increase every time throughput policy kicks in." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Determines whether the ThroughputPolicy is active or not" - } - }, - "description": "Cosmos DB resource throughput policy" - }, - "ThroughputSettingsResource": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - }, - "ThroughputSettingsUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "required": [ - "resource" - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "UniqueKey": { - "type": "object", - "properties": { - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths must be unique for each document in the Azure Cosmos DB service" - } - }, - "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - }, - "UniqueKeyPolicy": { - "type": "object", - "properties": { - "uniqueKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UniqueKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - } - }, - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." - }, - "ignoreMissingVNetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." - } - }, - "description": "Virtual Network ACL Rule object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-04-15/Microsoft.DocumentDB.json b/schemas/2021-04-15/Microsoft.DocumentDB.json deleted file mode 100644 index ed45880392..0000000000 --- a/schemas/2021-04-15/Microsoft.DocumentDB.json +++ /dev/null @@ -1,5260 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "databaseAccounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "GlobalDocumentDB", - "MongoDB", - "Parse" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of database account. This can only be set at database account creation." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", - "minLength": 3, - "maxLength": 50 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB database account name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlRoleDefinitions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlRoleAssignments_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_tables_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_notebookWorkspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_privateEndpointConnections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts" - }, - "databaseAccounts_cassandraKeyspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - }, - "databaseAccounts_sqlDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_storedProcedures_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_triggers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_sqlRoleAssignments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Assignment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleAssignmentResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - }, - "databaseAccounts_sqlRoleDefinitions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Definition." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - }, - "databaseAccounts_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - } - }, - "definitions": { - "ApiProperties": { - "type": "object", - "properties": { - "serverVersion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "3.2", - "3.6", - "4.0" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the ServerVersion of an a MongoDB account." - } - } - }, - "AutoscaleSettings": { - "type": "object", - "properties": { - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput, the resource can scale up to." - } - } - }, - "AutoscaleSettingsResource": { - "type": "object", - "properties": { - "autoUpgradePolicy": { - "oneOf": [ - { - "$ref": "#/definitions/AutoUpgradePolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource auto-upgrade policy" - }, - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput container can scale up to." - } - }, - "required": [ - "maxThroughput" - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "AutoUpgradePolicyResource": { - "type": "object", - "properties": { - "throughputPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputPolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput policy" - } - }, - "description": "Cosmos DB resource auto-upgrade policy" - }, - "BackupPolicy": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeBackupPolicy" - }, - { - "$ref": "#/definitions/ContinuousModeBackupPolicy" - } - ], - "properties": {}, - "description": "The object representing the policy for taking backups on an account." - }, - "Capability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." - } - }, - "description": "Cosmos DB capability object" - }, - "CassandraKeyspaceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra keyspace resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "CassandraKeyspaceResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra keyspace" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra keyspace resource object" - }, - "CassandraPartitionKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table partition key" - } - }, - "description": "Cosmos DB Cassandra table partition key" - }, - "CassandraSchema": { - "type": "object", - "properties": { - "clusterKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of cluster key." - }, - "columns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Column" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cassandra table columns." - }, - "partitionKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraPartitionKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of partition key." - } - }, - "description": "Cosmos DB Cassandra table schema" - }, - "CassandraTableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "CassandraTableResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time to live of the Cosmos DB Cassandra table" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table" - }, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraSchema" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table schema" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra table resource object" - }, - "ClusterKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table cluster key" - }, - "orderBy": { - "type": "string", - "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" - } - }, - "description": "Cosmos DB Cassandra table cluster key" - }, - "Column": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table column" - }, - "type": { - "type": "string", - "description": "Type of the Cosmos DB Cassandra table column" - } - }, - "description": "Cosmos DB Cassandra table column" - }, - "Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties": { - "type": "object", - "properties": {} - }, - "CompositePath": { - "type": "object", - "properties": { - "order": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ascending", - "descending" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sort order for composite paths." - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "ConflictResolutionPolicy": { - "type": "object", - "properties": { - "conflictResolutionPath": { - "type": "string", - "description": "The conflict resolution path in the case of LastWriterWins mode." - }, - "conflictResolutionProcedure": { - "type": "string", - "description": "The procedure to resolve conflicts in the case of custom mode." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastWriterWins", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the conflict resolution mode." - } - }, - "description": "The conflict resolution policy for the container." - }, - "ConsistencyPolicy": { - "type": "object", - "properties": { - "defaultConsistencyLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Eventual", - "Session", - "BoundedStaleness", - "Strong", - "ConsistentPrefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default consistency level and configuration settings of the Cosmos DB account." - }, - "maxIntervalInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 5, - "maximum": 86400 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - }, - "maxStalenessPrefix": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - } - }, - "required": [ - "defaultConsistencyLevel" - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "ContainerPartitionKey": { - "type": "object", - "properties": { - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "MultiHash" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create." - }, - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths using which data within the container can be partitioned" - }, - "version": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the version of the partition key definition" - } - }, - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "ContinuousModeBackupPolicy": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Continuous" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing continuous mode backup policy." - }, - "CorsPolicy": { - "type": "object", - "properties": { - "allowedHeaders": { - "type": "string", - "description": "The request headers that the origin domain may specify on the CORS request." - }, - "allowedMethods": { - "type": "string", - "description": "The methods (HTTP request verbs) that the origin domain may use for a CORS request." - }, - "allowedOrigins": { - "type": "string", - "description": "The origin domains that are permitted to make a request against the service via CORS." - }, - "exposedHeaders": { - "type": "string", - "description": "The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer." - }, - "maxAgeInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The maximum amount time that a browser should cache the preflight OPTIONS request." - } - }, - "required": [ - "allowedOrigins" - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "CreateUpdateOptions": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Request Units per second. For example, \"throughput\": 10000." - } - }, - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "DatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "apiProperties": { - "oneOf": [ - { - "$ref": "#/definitions/ApiProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "backupPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/BackupPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The object representing the policy for taking backups on an account." - }, - "capabilities": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cosmos DB capabilities for the account" - }, - "connectorOffer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cassandra connector offer type for the Cosmos DB database C* account." - }, - "consistencyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConsistencyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "cors": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CorsPolicy" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "databaseAccountOfferType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The offer type for the database" - }, - "defaultIdentity": { - "type": "string", - "description": "The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be \"FirstPartyIdentity\", \"SystemAssignedIdentity\" and more." - }, - "disableKeyBasedMetadataWriteAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys" - }, - "enableAnalyticalStorage": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable storage analytics." - }, - "enableAutomaticFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." - }, - "enableCassandraConnector": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the cassandra connector on the Cosmos DB C* account" - }, - "enableFreeTier": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether Free Tier is enabled." - }, - "enableMultipleWriteLocations": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the account to write in multiple locations" - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IpAddressOrRange" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Array of IpAddressOrRange objects." - }, - "isVirtualNetworkFilterEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." - }, - "keyVaultKeyUri": { - "type": "string", - "description": "The URI of the key vault" - }, - "locations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." - }, - "networkAclBypass": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "AzureServices" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates what services are allowed to bypass firewall checks." - }, - "networkAclBypassResourceIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether requests from Public Network are allowed." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." - } - }, - "required": [ - "databaseAccountOfferType", - "locations" - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "databaseAccounts_cassandraKeyspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - }, - "databaseAccounts_sqlDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_sqlRoleAssignments_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Assignment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleAssignmentResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "type": { - "type": "string", - "enum": [ - "sqlRoleAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - }, - "databaseAccounts_sqlRoleDefinitions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Definition." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "sqlRoleDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - }, - "databaseAccounts_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - }, - "ExcludedPath": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "GremlinDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "GremlinDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin database resource object" - }, - "GremlinGraphCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin graph resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "GremlinGraphResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin graph" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin graph resource object" - }, - "IncludedPath": { - "type": "object", - "properties": { - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Indexes" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of indexes for this path" - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - }, - "description": "The paths that are included in indexing" - }, - "Indexes": { - "type": "object", - "properties": { - "dataType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Number", - "Point", - "Polygon", - "LineString", - "MultiPolygon" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The datatype for which the indexing behavior is applied to." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "Spatial" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of index." - }, - "precision": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The precision of the index. -1 is maximum precision." - } - }, - "description": "The indexes for the path." - }, - "IndexingPolicy": { - "type": "object", - "properties": { - "automatic": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates if the indexing policy is automatic" - }, - "compositeIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/CompositePath" - } - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of composite path list" - }, - "excludedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExcludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to exclude from indexing" - }, - "includedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IncludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to include in the indexing" - }, - "indexingMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "consistent", - "lazy", - "none" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the indexing mode." - }, - "spatialIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SpatialSpec" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of spatial specifics" - } - }, - "description": "Cosmos DB indexing policy" - }, - "IpAddressOrRange": { - "type": "object", - "properties": { - "ipAddressOrRange": { - "type": "string", - "description": "A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”." - } - }, - "description": "IpAddressOrRange object" - }, - "Location": { - "type": "object", - "properties": { - "failoverPriority": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." - }, - "isZoneRedundant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether or not this region is an AvailabilityZone region" - }, - "locationName": { - "type": "string", - "description": "The name of the region." - }, - "provisioningState": { - "type": "string", - "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed." - } - }, - "description": "A region in which the Azure Cosmos DB database account is deployed." - }, - "ManagedServiceIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned,UserAssigned", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." - } - }, - "description": "Identity for the resource." - }, - "MongoDBCollectionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "MongoDBCollectionResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB collection" - }, - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MongoIndex" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of index keys" - }, - "shardKey": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoDBDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "MongoDBDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB database resource object" - }, - "MongoIndex": { - "type": "object", - "properties": { - "key": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "options": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection index options" - } - }, - "description": "Cosmos DB MongoDB collection index key" - }, - "MongoIndexKeys": { - "type": "object", - "properties": { - "keys": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" - } - }, - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoIndexOptions": { - "type": "object", - "properties": { - "expireAfterSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Expire after seconds" - }, - "unique": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is unique or not" - } - }, - "description": "Cosmos DB MongoDB collection index options" - }, - "PeriodicModeBackupPolicy": { - "type": "object", - "properties": { - "periodicModeProperties": { - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Configuration values for periodic mode backup" - }, - "type": { - "type": "string", - "enum": [ - "Periodic" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing periodic mode backup policy." - }, - "PeriodicModeProperties": { - "type": "object", - "properties": { - "backupIntervalInMinutes": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the interval in minutes between two backups" - }, - "backupRetentionIntervalInHours": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the time (in hours) that each backup is retained" - } - }, - "description": "Configuration values for periodic mode backup" - }, - "Permission": { - "type": "object", - "properties": { - "dataActions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of data actions that are allowed." - }, - "notDataActions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of data actions that are denied." - } - }, - "description": "The set of data plane operations permitted through this Role Definition." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "groupId": { - "type": "string", - "description": "Group id of the private endpoint." - }, - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Connection State of the Private Endpoint Connection." - }, - "provisioningState": { - "type": "string", - "description": "Provisioning state of the private endpoint." - } - }, - "description": "Properties of a private endpoint connection." - }, - "PrivateEndpointProperty": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the private endpoint." - } - }, - "description": "Private endpoint which the connection belongs to." - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The private link service connection description." - }, - "status": { - "type": "string", - "description": "The private link service connection status." - } - }, - "description": "Connection State of the Private Endpoint Connection." - }, - "SpatialSpec": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - }, - "types": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Point", - "LineString", - "Polygon", - "MultiPolygon" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of path's spatial type" - } - } - }, - "SqlContainerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL container resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "SqlContainerResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL container" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL container resource object" - }, - "SqlDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "SqlDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL database resource object" - }, - "SqlRoleAssignmentResource": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription." - }, - "roleDefinitionId": { - "type": "string", - "description": "The unique identifier for the associated Role Definition." - }, - "scope": { - "type": "string", - "description": "The data plane resource path for which access is being granted through this Role Assignment." - } - }, - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "SqlRoleDefinitionResource": { - "type": "object", - "properties": { - "assignableScopes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist." - }, - "permissions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Permission" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The set of operations allowed through this Role Definition." - }, - "roleName": { - "type": "string", - "description": "A user-friendly name for the Role Definition. Must be unique for the database account." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BuiltInRole", - "CustomRole" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the Role Definition was built-in or user created." - } - }, - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "SqlStoredProcedureCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL storedProcedure resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "SqlStoredProcedureResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Stored Procedure" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL storedProcedure" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL storedProcedure resource object" - }, - "SqlTriggerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL trigger resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "SqlTriggerResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Trigger" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL trigger" - }, - "triggerOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "All", - "Create", - "Update", - "Delete", - "Replace" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The operation the trigger is associated with." - }, - "triggerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pre", - "Post" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of the Trigger." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL trigger resource object" - }, - "SqlUserDefinedFunctionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "SqlUserDefinedFunctionResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the User Defined Function" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL userDefinedFunction" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - }, - "TableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/TableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "TableResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB table" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB table resource object" - }, - "ThroughputPolicyResource": { - "type": "object", - "properties": { - "incrementPercent": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents the percentage by which throughput can increase every time throughput policy kicks in." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Determines whether the ThroughputPolicy is active or not" - } - }, - "description": "Cosmos DB resource throughput policy" - }, - "ThroughputSettingsResource": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - }, - "ThroughputSettingsUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "required": [ - "resource" - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "UniqueKey": { - "type": "object", - "properties": { - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths must be unique for each document in the Azure Cosmos DB service" - } - }, - "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - }, - "UniqueKeyPolicy": { - "type": "object", - "properties": { - "uniqueKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UniqueKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - } - }, - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." - }, - "ignoreMissingVNetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." - } - }, - "description": "Virtual Network ACL Rule object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-05-15/Microsoft.DocumentDB.json b/schemas/2021-05-15/Microsoft.DocumentDB.json deleted file mode 100644 index babd6781d1..0000000000 --- a/schemas/2021-05-15/Microsoft.DocumentDB.json +++ /dev/null @@ -1,5291 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "databaseAccounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "GlobalDocumentDB", - "MongoDB", - "Parse" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of database account. This can only be set at database account creation." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", - "minLength": 3, - "maxLength": 50 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB database account name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlRoleDefinitions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlRoleAssignments_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_tables_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_notebookWorkspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_privateEndpointConnections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts" - }, - "databaseAccounts_cassandraKeyspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - }, - "databaseAccounts_sqlDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_storedProcedures_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_triggers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_sqlRoleAssignments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Assignment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleAssignmentResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - }, - "databaseAccounts_sqlRoleDefinitions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Definition." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - }, - "databaseAccounts_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - } - }, - "definitions": { - "AnalyticalStorageConfiguration": { - "type": "object", - "properties": { - "schemaType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "WellDefined", - "FullFidelity" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Analytical storage specific properties." - }, - "ApiProperties": { - "type": "object", - "properties": { - "serverVersion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "3.2", - "3.6", - "4.0" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the ServerVersion of an a MongoDB account." - } - } - }, - "AutoscaleSettings": { - "type": "object", - "properties": { - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput, the resource can scale up to." - } - } - }, - "AutoscaleSettingsResource": { - "type": "object", - "properties": { - "autoUpgradePolicy": { - "oneOf": [ - { - "$ref": "#/definitions/AutoUpgradePolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource auto-upgrade policy" - }, - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput container can scale up to." - } - }, - "required": [ - "maxThroughput" - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "AutoUpgradePolicyResource": { - "type": "object", - "properties": { - "throughputPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputPolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput policy" - } - }, - "description": "Cosmos DB resource auto-upgrade policy" - }, - "BackupPolicy": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeBackupPolicy" - }, - { - "$ref": "#/definitions/ContinuousModeBackupPolicy" - } - ], - "properties": {}, - "description": "The object representing the policy for taking backups on an account." - }, - "Capability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." - } - }, - "description": "Cosmos DB capability object" - }, - "CassandraKeyspaceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra keyspace resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "CassandraKeyspaceResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra keyspace" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra keyspace resource object" - }, - "CassandraPartitionKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table partition key" - } - }, - "description": "Cosmos DB Cassandra table partition key" - }, - "CassandraSchema": { - "type": "object", - "properties": { - "clusterKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of cluster key." - }, - "columns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Column" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cassandra table columns." - }, - "partitionKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraPartitionKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of partition key." - } - }, - "description": "Cosmos DB Cassandra table schema" - }, - "CassandraTableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "CassandraTableResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time to live of the Cosmos DB Cassandra table" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table" - }, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraSchema" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table schema" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra table resource object" - }, - "ClusterKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table cluster key" - }, - "orderBy": { - "type": "string", - "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" - } - }, - "description": "Cosmos DB Cassandra table cluster key" - }, - "Column": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table column" - }, - "type": { - "type": "string", - "description": "Type of the Cosmos DB Cassandra table column" - } - }, - "description": "Cosmos DB Cassandra table column" - }, - "Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties": { - "type": "object", - "properties": {} - }, - "CompositePath": { - "type": "object", - "properties": { - "order": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ascending", - "descending" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sort order for composite paths." - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "ConflictResolutionPolicy": { - "type": "object", - "properties": { - "conflictResolutionPath": { - "type": "string", - "description": "The conflict resolution path in the case of LastWriterWins mode." - }, - "conflictResolutionProcedure": { - "type": "string", - "description": "The procedure to resolve conflicts in the case of custom mode." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastWriterWins", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the conflict resolution mode." - } - }, - "description": "The conflict resolution policy for the container." - }, - "ConsistencyPolicy": { - "type": "object", - "properties": { - "defaultConsistencyLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Eventual", - "Session", - "BoundedStaleness", - "Strong", - "ConsistentPrefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default consistency level and configuration settings of the Cosmos DB account." - }, - "maxIntervalInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 5, - "maximum": 86400 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - }, - "maxStalenessPrefix": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - } - }, - "required": [ - "defaultConsistencyLevel" - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "ContainerPartitionKey": { - "type": "object", - "properties": { - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "MultiHash" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create." - }, - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths using which data within the container can be partitioned" - }, - "version": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the version of the partition key definition" - } - }, - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "ContinuousModeBackupPolicy": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Continuous" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing continuous mode backup policy." - }, - "CorsPolicy": { - "type": "object", - "properties": { - "allowedHeaders": { - "type": "string", - "description": "The request headers that the origin domain may specify on the CORS request." - }, - "allowedMethods": { - "type": "string", - "description": "The methods (HTTP request verbs) that the origin domain may use for a CORS request." - }, - "allowedOrigins": { - "type": "string", - "description": "The origin domains that are permitted to make a request against the service via CORS." - }, - "exposedHeaders": { - "type": "string", - "description": "The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer." - }, - "maxAgeInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The maximum amount time that a browser should cache the preflight OPTIONS request." - } - }, - "required": [ - "allowedOrigins" - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "CreateUpdateOptions": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Request Units per second. For example, \"throughput\": 10000." - } - }, - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "DatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "analyticalStorageConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/AnalyticalStorageConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical storage specific properties." - }, - "apiProperties": { - "oneOf": [ - { - "$ref": "#/definitions/ApiProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "backupPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/BackupPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The object representing the policy for taking backups on an account." - }, - "capabilities": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cosmos DB capabilities for the account" - }, - "connectorOffer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cassandra connector offer type for the Cosmos DB database C* account." - }, - "consistencyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConsistencyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "cors": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CorsPolicy" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "databaseAccountOfferType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The offer type for the database" - }, - "defaultIdentity": { - "type": "string", - "description": "The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be \"FirstPartyIdentity\", \"SystemAssignedIdentity\" and more." - }, - "disableKeyBasedMetadataWriteAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys" - }, - "enableAnalyticalStorage": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable storage analytics." - }, - "enableAutomaticFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." - }, - "enableCassandraConnector": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the cassandra connector on the Cosmos DB C* account" - }, - "enableFreeTier": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether Free Tier is enabled." - }, - "enableMultipleWriteLocations": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the account to write in multiple locations" - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IpAddressOrRange" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Array of IpAddressOrRange objects." - }, - "isVirtualNetworkFilterEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." - }, - "keyVaultKeyUri": { - "type": "string", - "description": "The URI of the key vault" - }, - "locations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." - }, - "networkAclBypass": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "AzureServices" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates what services are allowed to bypass firewall checks." - }, - "networkAclBypassResourceIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether requests from Public Network are allowed." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." - } - }, - "required": [ - "databaseAccountOfferType", - "locations" - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "databaseAccounts_cassandraKeyspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - }, - "databaseAccounts_sqlDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_sqlRoleAssignments_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Assignment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleAssignmentResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "type": { - "type": "string", - "enum": [ - "sqlRoleAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - }, - "databaseAccounts_sqlRoleDefinitions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Definition." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "sqlRoleDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - }, - "databaseAccounts_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - }, - "ExcludedPath": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "GremlinDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "GremlinDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin database resource object" - }, - "GremlinGraphCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin graph resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "GremlinGraphResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin graph" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin graph resource object" - }, - "IncludedPath": { - "type": "object", - "properties": { - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Indexes" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of indexes for this path" - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - }, - "description": "The paths that are included in indexing" - }, - "Indexes": { - "type": "object", - "properties": { - "dataType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Number", - "Point", - "Polygon", - "LineString", - "MultiPolygon" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The datatype for which the indexing behavior is applied to." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "Spatial" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of index." - }, - "precision": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The precision of the index. -1 is maximum precision." - } - }, - "description": "The indexes for the path." - }, - "IndexingPolicy": { - "type": "object", - "properties": { - "automatic": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates if the indexing policy is automatic" - }, - "compositeIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/CompositePath" - } - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of composite path list" - }, - "excludedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExcludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to exclude from indexing" - }, - "includedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IncludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to include in the indexing" - }, - "indexingMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "consistent", - "lazy", - "none" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the indexing mode." - }, - "spatialIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SpatialSpec" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of spatial specifics" - } - }, - "description": "Cosmos DB indexing policy" - }, - "IpAddressOrRange": { - "type": "object", - "properties": { - "ipAddressOrRange": { - "type": "string", - "description": "A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”." - } - }, - "description": "IpAddressOrRange object" - }, - "Location": { - "type": "object", - "properties": { - "failoverPriority": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." - }, - "isZoneRedundant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether or not this region is an AvailabilityZone region" - }, - "locationName": { - "type": "string", - "description": "The name of the region." - }, - "provisioningState": { - "type": "string", - "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed." - } - }, - "description": "A region in which the Azure Cosmos DB database account is deployed." - }, - "ManagedServiceIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned,UserAssigned", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." - } - }, - "description": "Identity for the resource." - }, - "MongoDBCollectionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "MongoDBCollectionResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB collection" - }, - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MongoIndex" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of index keys" - }, - "shardKey": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoDBDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "MongoDBDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB database resource object" - }, - "MongoIndex": { - "type": "object", - "properties": { - "key": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "options": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection index options" - } - }, - "description": "Cosmos DB MongoDB collection index key" - }, - "MongoIndexKeys": { - "type": "object", - "properties": { - "keys": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" - } - }, - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoIndexOptions": { - "type": "object", - "properties": { - "expireAfterSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Expire after seconds" - }, - "unique": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is unique or not" - } - }, - "description": "Cosmos DB MongoDB collection index options" - }, - "PeriodicModeBackupPolicy": { - "type": "object", - "properties": { - "periodicModeProperties": { - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Configuration values for periodic mode backup" - }, - "type": { - "type": "string", - "enum": [ - "Periodic" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing periodic mode backup policy." - }, - "PeriodicModeProperties": { - "type": "object", - "properties": { - "backupIntervalInMinutes": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the interval in minutes between two backups" - }, - "backupRetentionIntervalInHours": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the time (in hours) that each backup is retained" - } - }, - "description": "Configuration values for periodic mode backup" - }, - "Permission": { - "type": "object", - "properties": { - "dataActions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of data actions that are allowed." - }, - "notDataActions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of data actions that are denied." - } - }, - "description": "The set of data plane operations permitted through this Role Definition." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "groupId": { - "type": "string", - "description": "Group id of the private endpoint." - }, - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Connection State of the Private Endpoint Connection." - }, - "provisioningState": { - "type": "string", - "description": "Provisioning state of the private endpoint." - } - }, - "description": "Properties of a private endpoint connection." - }, - "PrivateEndpointProperty": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the private endpoint." - } - }, - "description": "Private endpoint which the connection belongs to." - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The private link service connection description." - }, - "status": { - "type": "string", - "description": "The private link service connection status." - } - }, - "description": "Connection State of the Private Endpoint Connection." - }, - "SpatialSpec": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - }, - "types": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Point", - "LineString", - "Polygon", - "MultiPolygon" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of path's spatial type" - } - } - }, - "SqlContainerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL container resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "SqlContainerResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL container" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL container resource object" - }, - "SqlDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "SqlDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL database resource object" - }, - "SqlRoleAssignmentResource": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription." - }, - "roleDefinitionId": { - "type": "string", - "description": "The unique identifier for the associated Role Definition." - }, - "scope": { - "type": "string", - "description": "The data plane resource path for which access is being granted through this Role Assignment." - } - }, - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "SqlRoleDefinitionResource": { - "type": "object", - "properties": { - "assignableScopes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist." - }, - "permissions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Permission" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The set of operations allowed through this Role Definition." - }, - "roleName": { - "type": "string", - "description": "A user-friendly name for the Role Definition. Must be unique for the database account." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BuiltInRole", - "CustomRole" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the Role Definition was built-in or user created." - } - }, - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "SqlStoredProcedureCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL storedProcedure resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "SqlStoredProcedureResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Stored Procedure" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL storedProcedure" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL storedProcedure resource object" - }, - "SqlTriggerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL trigger resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "SqlTriggerResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Trigger" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL trigger" - }, - "triggerOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "All", - "Create", - "Update", - "Delete", - "Replace" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The operation the trigger is associated with." - }, - "triggerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pre", - "Post" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of the Trigger." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL trigger resource object" - }, - "SqlUserDefinedFunctionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "SqlUserDefinedFunctionResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the User Defined Function" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL userDefinedFunction" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - }, - "TableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/TableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "TableResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB table" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB table resource object" - }, - "ThroughputPolicyResource": { - "type": "object", - "properties": { - "incrementPercent": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents the percentage by which throughput can increase every time throughput policy kicks in." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Determines whether the ThroughputPolicy is active or not" - } - }, - "description": "Cosmos DB resource throughput policy" - }, - "ThroughputSettingsResource": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - }, - "ThroughputSettingsUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "required": [ - "resource" - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "UniqueKey": { - "type": "object", - "properties": { - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths must be unique for each document in the Azure Cosmos DB service" - } - }, - "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - }, - "UniqueKeyPolicy": { - "type": "object", - "properties": { - "uniqueKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UniqueKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - } - }, - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." - }, - "ignoreMissingVNetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." - } - }, - "description": "Virtual Network ACL Rule object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-06-15/Microsoft.DocumentDB.json b/schemas/2021-06-15/Microsoft.DocumentDB.json deleted file mode 100644 index 186146d3aa..0000000000 --- a/schemas/2021-06-15/Microsoft.DocumentDB.json +++ /dev/null @@ -1,5450 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "databaseAccounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "GlobalDocumentDB", - "MongoDB", - "Parse" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of database account. This can only be set at database account creation." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", - "minLength": 3, - "maxLength": 50 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB database account name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlRoleDefinitions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlRoleAssignments_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_tables_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_notebookWorkspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_privateEndpointConnections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts" - }, - "databaseAccounts_cassandraKeyspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - }, - "databaseAccounts_sqlDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_storedProcedures_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_triggers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_sqlRoleAssignments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Assignment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleAssignmentResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - }, - "databaseAccounts_sqlRoleDefinitions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Definition." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - }, - "databaseAccounts_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - } - }, - "definitions": { - "AnalyticalStorageConfiguration": { - "type": "object", - "properties": { - "schemaType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "WellDefined", - "FullFidelity" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Analytical storage specific properties." - }, - "ApiProperties": { - "type": "object", - "properties": { - "serverVersion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "3.2", - "3.6", - "4.0" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the ServerVersion of an a MongoDB account." - } - } - }, - "AutoscaleSettings": { - "type": "object", - "properties": { - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput, the resource can scale up to." - } - } - }, - "AutoscaleSettingsResource": { - "type": "object", - "properties": { - "autoUpgradePolicy": { - "oneOf": [ - { - "$ref": "#/definitions/AutoUpgradePolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource auto-upgrade policy" - }, - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput container can scale up to." - } - }, - "required": [ - "maxThroughput" - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "AutoUpgradePolicyResource": { - "type": "object", - "properties": { - "throughputPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputPolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput policy" - } - }, - "description": "Cosmos DB resource auto-upgrade policy" - }, - "BackupPolicy": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeBackupPolicy" - }, - { - "$ref": "#/definitions/ContinuousModeBackupPolicy" - } - ], - "properties": { - "migrationState": { - "oneOf": [ - { - "$ref": "#/definitions/BackupPolicyMigrationState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The object representing the state of the migration between the backup policies." - } - }, - "description": "The object representing the policy for taking backups on an account." - }, - "BackupPolicyMigrationState": { - "type": "object", - "properties": { - "startTime": { - "type": "string", - "format": "date-time", - "description": "Time at which the backup policy migration started (ISO-8601 format)." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Invalid", - "InProgress", - "Completed", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the status of migration between backup policy types." - }, - "targetType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Periodic", - "Continuous" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the target backup policy type of the backup policy migration." - } - }, - "description": "The object representing the state of the migration between the backup policies." - }, - "Capability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." - } - }, - "description": "Cosmos DB capability object" - }, - "CassandraKeyspaceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra keyspace resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "CassandraKeyspaceResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra keyspace" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra keyspace resource object" - }, - "CassandraPartitionKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table partition key" - } - }, - "description": "Cosmos DB Cassandra table partition key" - }, - "CassandraSchema": { - "type": "object", - "properties": { - "clusterKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of cluster key." - }, - "columns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Column" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cassandra table columns." - }, - "partitionKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraPartitionKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of partition key." - } - }, - "description": "Cosmos DB Cassandra table schema" - }, - "CassandraTableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "CassandraTableResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time to live of the Cosmos DB Cassandra table" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table" - }, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraSchema" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table schema" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra table resource object" - }, - "ClusterKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table cluster key" - }, - "orderBy": { - "type": "string", - "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" - } - }, - "description": "Cosmos DB Cassandra table cluster key" - }, - "Column": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table column" - }, - "type": { - "type": "string", - "description": "Type of the Cosmos DB Cassandra table column" - } - }, - "description": "Cosmos DB Cassandra table column" - }, - "Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties": { - "type": "object", - "properties": {} - }, - "CompositePath": { - "type": "object", - "properties": { - "order": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ascending", - "descending" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sort order for composite paths." - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "ConflictResolutionPolicy": { - "type": "object", - "properties": { - "conflictResolutionPath": { - "type": "string", - "description": "The conflict resolution path in the case of LastWriterWins mode." - }, - "conflictResolutionProcedure": { - "type": "string", - "description": "The procedure to resolve conflicts in the case of custom mode." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastWriterWins", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the conflict resolution mode." - } - }, - "description": "The conflict resolution policy for the container." - }, - "ConsistencyPolicy": { - "type": "object", - "properties": { - "defaultConsistencyLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Eventual", - "Session", - "BoundedStaleness", - "Strong", - "ConsistentPrefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default consistency level and configuration settings of the Cosmos DB account." - }, - "maxIntervalInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 5, - "maximum": 86400 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - }, - "maxStalenessPrefix": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - } - }, - "required": [ - "defaultConsistencyLevel" - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "ContainerPartitionKey": { - "type": "object", - "properties": { - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "MultiHash" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create." - }, - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths using which data within the container can be partitioned" - }, - "version": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the version of the partition key definition" - } - }, - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "ContinuousModeBackupPolicy": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Continuous" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing continuous mode backup policy." - }, - "CorsPolicy": { - "type": "object", - "properties": { - "allowedHeaders": { - "type": "string", - "description": "The request headers that the origin domain may specify on the CORS request." - }, - "allowedMethods": { - "type": "string", - "description": "The methods (HTTP request verbs) that the origin domain may use for a CORS request." - }, - "allowedOrigins": { - "type": "string", - "description": "The origin domains that are permitted to make a request against the service via CORS." - }, - "exposedHeaders": { - "type": "string", - "description": "The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer." - }, - "maxAgeInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The maximum amount time that a browser should cache the preflight OPTIONS request." - } - }, - "required": [ - "allowedOrigins" - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "CreateUpdateOptions": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Request Units per second. For example, \"throughput\": 10000." - } - }, - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "DatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "analyticalStorageConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/AnalyticalStorageConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical storage specific properties." - }, - "apiProperties": { - "oneOf": [ - { - "$ref": "#/definitions/ApiProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "backupPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/BackupPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The object representing the policy for taking backups on an account." - }, - "capabilities": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cosmos DB capabilities for the account" - }, - "connectorOffer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cassandra connector offer type for the Cosmos DB database C* account." - }, - "consistencyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConsistencyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "cors": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CorsPolicy" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "createMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Default", - "Restore" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enum to indicate the mode of account creation." - }, - "databaseAccountOfferType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The offer type for the database" - }, - "defaultIdentity": { - "type": "string", - "description": "The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be \"FirstPartyIdentity\", \"SystemAssignedIdentity\" and more." - }, - "disableKeyBasedMetadataWriteAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys" - }, - "disableLocalAuth": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication." - }, - "enableAnalyticalStorage": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable storage analytics." - }, - "enableAutomaticFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." - }, - "enableCassandraConnector": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the cassandra connector on the Cosmos DB C* account" - }, - "enableFreeTier": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether Free Tier is enabled." - }, - "enableMultipleWriteLocations": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the account to write in multiple locations" - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IpAddressOrRange" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Array of IpAddressOrRange objects." - }, - "isVirtualNetworkFilterEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." - }, - "keyVaultKeyUri": { - "type": "string", - "description": "The URI of the key vault" - }, - "locations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." - }, - "networkAclBypass": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "AzureServices" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates what services are allowed to bypass firewall checks." - }, - "networkAclBypassResourceIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether requests from Public Network are allowed." - }, - "restoreParameters": { - "oneOf": [ - { - "$ref": "#/definitions/RestoreParameters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Parameters to indicate the information about the restore." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." - } - }, - "required": [ - "databaseAccountOfferType", - "locations" - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "databaseAccounts_cassandraKeyspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - }, - "databaseAccounts_sqlDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_sqlRoleAssignments_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Assignment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleAssignmentResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "type": { - "type": "string", - "enum": [ - "sqlRoleAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - }, - "databaseAccounts_sqlRoleDefinitions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Definition." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "sqlRoleDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - }, - "databaseAccounts_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - }, - "DatabaseRestoreResource": { - "type": "object", - "properties": { - "collectionNames": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The names of the collections available for restore." - }, - "databaseName": { - "type": "string", - "description": "The name of the database available for restore." - } - }, - "description": "Specific Databases to restore." - }, - "ExcludedPath": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "GremlinDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "GremlinDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin database resource object" - }, - "GremlinGraphCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin graph resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "GremlinGraphResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin graph" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin graph resource object" - }, - "IncludedPath": { - "type": "object", - "properties": { - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Indexes" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of indexes for this path" - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - }, - "description": "The paths that are included in indexing" - }, - "Indexes": { - "type": "object", - "properties": { - "dataType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Number", - "Point", - "Polygon", - "LineString", - "MultiPolygon" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The datatype for which the indexing behavior is applied to." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "Spatial" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of index." - }, - "precision": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The precision of the index. -1 is maximum precision." - } - }, - "description": "The indexes for the path." - }, - "IndexingPolicy": { - "type": "object", - "properties": { - "automatic": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates if the indexing policy is automatic" - }, - "compositeIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/CompositePath" - } - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of composite path list" - }, - "excludedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExcludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to exclude from indexing" - }, - "includedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IncludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to include in the indexing" - }, - "indexingMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "consistent", - "lazy", - "none" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the indexing mode." - }, - "spatialIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SpatialSpec" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of spatial specifics" - } - }, - "description": "Cosmos DB indexing policy" - }, - "IpAddressOrRange": { - "type": "object", - "properties": { - "ipAddressOrRange": { - "type": "string", - "description": "A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”." - } - }, - "description": "IpAddressOrRange object" - }, - "Location": { - "type": "object", - "properties": { - "failoverPriority": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." - }, - "isZoneRedundant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether or not this region is an AvailabilityZone region" - }, - "locationName": { - "type": "string", - "description": "The name of the region." - }, - "provisioningState": { - "type": "string", - "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed." - } - }, - "description": "A region in which the Azure Cosmos DB database account is deployed." - }, - "ManagedServiceIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned,UserAssigned", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." - } - }, - "description": "Identity for the resource." - }, - "MongoDBCollectionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "MongoDBCollectionResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB collection" - }, - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MongoIndex" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of index keys" - }, - "shardKey": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoDBDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "MongoDBDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB database resource object" - }, - "MongoIndex": { - "type": "object", - "properties": { - "key": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "options": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection index options" - } - }, - "description": "Cosmos DB MongoDB collection index key" - }, - "MongoIndexKeys": { - "type": "object", - "properties": { - "keys": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" - } - }, - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoIndexOptions": { - "type": "object", - "properties": { - "expireAfterSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Expire after seconds" - }, - "unique": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is unique or not" - } - }, - "description": "Cosmos DB MongoDB collection index options" - }, - "PeriodicModeBackupPolicy": { - "type": "object", - "properties": { - "periodicModeProperties": { - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Configuration values for periodic mode backup" - }, - "type": { - "type": "string", - "enum": [ - "Periodic" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing periodic mode backup policy." - }, - "PeriodicModeProperties": { - "type": "object", - "properties": { - "backupIntervalInMinutes": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the interval in minutes between two backups" - }, - "backupRetentionIntervalInHours": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the time (in hours) that each backup is retained" - } - }, - "description": "Configuration values for periodic mode backup" - }, - "Permission": { - "type": "object", - "properties": { - "dataActions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of data actions that are allowed." - }, - "notDataActions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of data actions that are denied." - } - }, - "description": "The set of data plane operations permitted through this Role Definition." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "groupId": { - "type": "string", - "description": "Group id of the private endpoint." - }, - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Connection State of the Private Endpoint Connection." - }, - "provisioningState": { - "type": "string", - "description": "Provisioning state of the private endpoint." - } - }, - "description": "Properties of a private endpoint connection." - }, - "PrivateEndpointProperty": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the private endpoint." - } - }, - "description": "Private endpoint which the connection belongs to." - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The private link service connection description." - }, - "status": { - "type": "string", - "description": "The private link service connection status." - } - }, - "description": "Connection State of the Private Endpoint Connection." - }, - "RestoreParameters": { - "type": "object", - "properties": { - "databasesToRestore": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/DatabaseRestoreResource" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of specific databases available for restore." - }, - "restoreMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "PointInTime" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the mode of the restore." - }, - "restoreSource": { - "type": "string", - "description": "The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}" - }, - "restoreTimestampInUtc": { - "type": "string", - "format": "date-time", - "description": "Time to which the account has to be restored (ISO-8601 format)." - } - }, - "description": "Parameters to indicate the information about the restore." - }, - "SpatialSpec": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - }, - "types": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Point", - "LineString", - "Polygon", - "MultiPolygon" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of path's spatial type" - } - } - }, - "SqlContainerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL container resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "SqlContainerResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL container" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL container resource object" - }, - "SqlDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "SqlDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL database resource object" - }, - "SqlRoleAssignmentResource": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription." - }, - "roleDefinitionId": { - "type": "string", - "description": "The unique identifier for the associated Role Definition." - }, - "scope": { - "type": "string", - "description": "The data plane resource path for which access is being granted through this Role Assignment." - } - }, - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "SqlRoleDefinitionResource": { - "type": "object", - "properties": { - "assignableScopes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist." - }, - "permissions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Permission" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The set of operations allowed through this Role Definition." - }, - "roleName": { - "type": "string", - "description": "A user-friendly name for the Role Definition. Must be unique for the database account." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BuiltInRole", - "CustomRole" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the Role Definition was built-in or user created." - } - }, - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "SqlStoredProcedureCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL storedProcedure resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "SqlStoredProcedureResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Stored Procedure" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL storedProcedure" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL storedProcedure resource object" - }, - "SqlTriggerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL trigger resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "SqlTriggerResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Trigger" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL trigger" - }, - "triggerOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "All", - "Create", - "Update", - "Delete", - "Replace" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The operation the trigger is associated with." - }, - "triggerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pre", - "Post" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of the Trigger." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL trigger resource object" - }, - "SqlUserDefinedFunctionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "SqlUserDefinedFunctionResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the User Defined Function" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL userDefinedFunction" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - }, - "TableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/TableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "TableResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB table" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB table resource object" - }, - "ThroughputPolicyResource": { - "type": "object", - "properties": { - "incrementPercent": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents the percentage by which throughput can increase every time throughput policy kicks in." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Determines whether the ThroughputPolicy is active or not" - } - }, - "description": "Cosmos DB resource throughput policy" - }, - "ThroughputSettingsResource": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - }, - "ThroughputSettingsUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "required": [ - "resource" - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "UniqueKey": { - "type": "object", - "properties": { - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths must be unique for each document in the Azure Cosmos DB service" - } - }, - "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - }, - "UniqueKeyPolicy": { - "type": "object", - "properties": { - "uniqueKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UniqueKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - } - }, - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." - }, - "ignoreMissingVNetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." - } - }, - "description": "Virtual Network ACL Rule object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-07-01-preview/Microsoft.DocumentDB.json b/schemas/2021-07-01-preview/Microsoft.DocumentDB.json deleted file mode 100644 index ab4fd14f62..0000000000 --- a/schemas/2021-07-01-preview/Microsoft.DocumentDB.json +++ /dev/null @@ -1,7012 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "cassandraClusters": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$", - "minLength": 1, - "maxLength": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Managed Cassandra cluster name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ClusterResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a managed Cassandra cluster." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/cassandraClusters_dataCenters_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/cassandraClusters" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/cassandraClusters" - }, - "cassandraClusters_dataCenters": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$", - "minLength": 1, - "maxLength": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Data center name in a managed Cassandra cluster." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DataCenterResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a managed Cassandra data center." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/cassandraClusters/dataCenters" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/cassandraClusters/dataCenters" - }, - "databaseAccounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "GlobalDocumentDB", - "MongoDB", - "Parse" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of database account. This can only be set at database account creation." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", - "minLength": 3, - "maxLength": 50 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB database account name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_graphs_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlRoleDefinitions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlRoleAssignments_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_tables_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_notebookWorkspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_services_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts" - }, - "databaseAccounts_cassandraKeyspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_views_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_views": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB view name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraViewCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra view." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_views_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views" - }, - "databaseAccounts_cassandraKeyspaces_views_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views/throughputSettings" - }, - "databaseAccounts_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph resource name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GraphResourceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Graph resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/graphs" - }, - "databaseAccounts_gremlinDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - }, - "databaseAccounts_services": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 50, - "description": "Cosmos DB service name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceResourceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties in ServiceResourceCreateUpdateParameters." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/services" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/services" - }, - "databaseAccounts_sqlDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_storedProcedures_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_triggers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_sqlRoleAssignments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Assignment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleAssignmentResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - }, - "databaseAccounts_sqlRoleDefinitions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Definition." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - }, - "databaseAccounts_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - } - }, - "definitions": { - "AnalyticalStorageConfiguration": { - "type": "object", - "properties": { - "schemaType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "WellDefined", - "FullFidelity" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Analytical storage specific properties." - }, - "ApiProperties": { - "type": "object", - "properties": { - "serverVersion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "3.2", - "3.6", - "4.0" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the ServerVersion of an a MongoDB account." - } - } - }, - "AutoscaleSettings": { - "type": "object", - "properties": { - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput, the resource can scale up to." - } - } - }, - "AutoscaleSettingsResource": { - "type": "object", - "properties": { - "autoUpgradePolicy": { - "oneOf": [ - { - "$ref": "#/definitions/AutoUpgradePolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource auto-upgrade policy" - }, - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput container can scale up to." - } - }, - "required": [ - "maxThroughput" - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "AutoUpgradePolicyResource": { - "type": "object", - "properties": { - "throughputPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputPolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput policy" - } - }, - "description": "Cosmos DB resource auto-upgrade policy" - }, - "BackupPolicy": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeBackupPolicy" - }, - { - "$ref": "#/definitions/ContinuousModeBackupPolicy" - } - ], - "properties": { - "migrationState": { - "oneOf": [ - { - "$ref": "#/definitions/BackupPolicyMigrationState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The object representing the state of the migration between the backup policies." - } - }, - "description": "The object representing the policy for taking backups on an account." - }, - "BackupPolicyMigrationState": { - "type": "object", - "properties": { - "startTime": { - "type": "string", - "format": "date-time", - "description": "Time at which the backup policy migration started (ISO-8601 format)." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Invalid", - "InProgress", - "Completed", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the status of migration between backup policy types." - }, - "targetType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Periodic", - "Continuous" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the target backup policy type of the backup policy migration." - } - }, - "description": "The object representing the state of the migration between the backup policies." - }, - "Capability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." - } - }, - "description": "Cosmos DB capability object" - }, - "cassandraClusters_dataCenters_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$", - "minLength": 1, - "maxLength": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Data center name in a managed Cassandra cluster." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DataCenterResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a managed Cassandra data center." - }, - "type": { - "type": "string", - "enum": [ - "dataCenters" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/cassandraClusters/dataCenters" - }, - "CassandraKeyspaceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra keyspace resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "CassandraKeyspaceResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra keyspace" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra keyspace resource object" - }, - "CassandraPartitionKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table partition key" - } - }, - "description": "Cosmos DB Cassandra table partition key" - }, - "CassandraSchema": { - "type": "object", - "properties": { - "clusterKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of cluster key." - }, - "columns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Column" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cassandra table columns." - }, - "partitionKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraPartitionKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of partition key." - } - }, - "description": "Cosmos DB Cassandra table schema" - }, - "CassandraTableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "CassandraTableResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time to live of the Cosmos DB Cassandra table" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table" - }, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraSchema" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table schema" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra table resource object" - }, - "CassandraViewCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraViewResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra view resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra view." - }, - "CassandraViewResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra view" - }, - "viewDefinition": { - "type": "string", - "description": "View Definition of the Cosmos DB Cassandra view" - } - }, - "required": [ - "id", - "viewDefinition" - ], - "description": "Cosmos DB Cassandra view resource object" - }, - "Certificate": { - "type": "object", - "properties": { - "pem": { - "type": "string", - "description": "PEM formatted public key." - } - } - }, - "ClusterKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table cluster key" - }, - "orderBy": { - "type": "string", - "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" - } - }, - "description": "Cosmos DB Cassandra table cluster key" - }, - "ClusterResourceProperties": { - "type": "object", - "properties": { - "authenticationMethod": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Cassandra" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'." - }, - "cassandraVersion": { - "type": "string", - "description": "Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version." - }, - "clientCertificates": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Certificate" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property." - }, - "clusterNameOverride": { - "type": "string", - "description": "If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property." - }, - "delegatedManagementSubnetId": { - "type": "string", - "description": "Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'" - }, - "externalGossipCertificates": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Certificate" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property." - }, - "externalSeedNodes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SeedNode" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes." - }, - "hoursBetweenBackups": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of hours to wait between taking a backup of the cluster. To disable backups, set this property to 0." - }, - "initialCassandraAdminPassword": { - "type": "string", - "description": "Initial password for clients connecting as admin to the cluster. Should be changed after cluster creation. Returns null on GET. This field only applies when the authenticationMethod field is 'Cassandra'." - }, - "prometheusEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/SeedNode" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "repairEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs." - }, - "restoreFromBackupId": { - "type": "string", - "description": "To create an empty cluster, omit this field or set it to null. To restore a backup into a new cluster, set this field to the resource id of the backup." - } - }, - "description": "Properties of a managed Cassandra cluster." - }, - "Column": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table column" - }, - "type": { - "type": "string", - "description": "Type of the Cosmos DB Cassandra table column" - } - }, - "description": "Cosmos DB Cassandra table column" - }, - "Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties": { - "type": "object", - "properties": {} - }, - "CompositePath": { - "type": "object", - "properties": { - "order": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ascending", - "descending" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sort order for composite paths." - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "ConflictResolutionPolicy": { - "type": "object", - "properties": { - "conflictResolutionPath": { - "type": "string", - "description": "The conflict resolution path in the case of LastWriterWins mode." - }, - "conflictResolutionProcedure": { - "type": "string", - "description": "The procedure to resolve conflicts in the case of custom mode." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastWriterWins", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the conflict resolution mode." - } - }, - "description": "The conflict resolution policy for the container." - }, - "ConsistencyPolicy": { - "type": "object", - "properties": { - "defaultConsistencyLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Eventual", - "Session", - "BoundedStaleness", - "Strong", - "ConsistentPrefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default consistency level and configuration settings of the Cosmos DB account." - }, - "maxIntervalInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 5, - "maximum": 86400 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - }, - "maxStalenessPrefix": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - } - }, - "required": [ - "defaultConsistencyLevel" - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "ContainerPartitionKey": { - "type": "object", - "properties": { - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "MultiHash" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create." - }, - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths using which data within the container can be partitioned" - }, - "version": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the version of the partition key definition" - } - }, - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "ContinuousModeBackupPolicy": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Continuous" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing continuous mode backup policy." - }, - "CorsPolicy": { - "type": "object", - "properties": { - "allowedHeaders": { - "type": "string", - "description": "The request headers that the origin domain may specify on the CORS request." - }, - "allowedMethods": { - "type": "string", - "description": "The methods (HTTP request verbs) that the origin domain may use for a CORS request." - }, - "allowedOrigins": { - "type": "string", - "description": "The origin domains that are permitted to make a request against the service via CORS." - }, - "exposedHeaders": { - "type": "string", - "description": "The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer." - }, - "maxAgeInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The maximum amount time that a browser should cache the preflight OPTIONS request." - } - }, - "required": [ - "allowedOrigins" - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "CreateUpdateOptions": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Request Units per second. For example, \"throughput\": 10000." - } - }, - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "DatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "analyticalStorageConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/AnalyticalStorageConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical storage specific properties." - }, - "apiProperties": { - "oneOf": [ - { - "$ref": "#/definitions/ApiProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "backupPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/BackupPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The object representing the policy for taking backups on an account." - }, - "capabilities": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cosmos DB capabilities for the account" - }, - "connectorOffer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cassandra connector offer type for the Cosmos DB database C* account." - }, - "consistencyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConsistencyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "cors": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CorsPolicy" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "createMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Default", - "Restore" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enum to indicate the mode of account creation." - }, - "databaseAccountOfferType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The offer type for the database" - }, - "defaultIdentity": { - "type": "string", - "description": "The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be \"FirstPartyIdentity\", \"SystemAssignedIdentity\" and more." - }, - "diagnosticLogSettings": { - "oneOf": [ - { - "$ref": "#/definitions/DiagnosticLogSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates what diagnostic log settings are to be enabled." - }, - "disableKeyBasedMetadataWriteAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys" - }, - "disableLocalAuth": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication." - }, - "enableAnalyticalStorage": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable storage analytics." - }, - "enableAutomaticFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." - }, - "enableCassandraConnector": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the cassandra connector on the Cosmos DB C* account" - }, - "enableFreeTier": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether Free Tier is enabled." - }, - "enableMultipleWriteLocations": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the account to write in multiple locations" - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IpAddressOrRange" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Array of IpAddressOrRange objects." - }, - "isVirtualNetworkFilterEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." - }, - "keyVaultKeyUri": { - "type": "string", - "description": "The URI of the key vault" - }, - "locations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." - }, - "networkAclBypass": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "AzureServices" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates what services are allowed to bypass firewall checks." - }, - "networkAclBypassResourceIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether requests from Public Network are allowed." - }, - "restoreParameters": { - "oneOf": [ - { - "$ref": "#/definitions/RestoreParameters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Parameters to indicate the information about the restore." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." - } - }, - "required": [ - "createMode", - "databaseAccountOfferType", - "locations" - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "databaseAccounts_cassandraKeyspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_views_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB view name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraViewCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra view." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "views" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views" - }, - "databaseAccounts_cassandraKeyspaces_views_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views/throughputSettings" - }, - "databaseAccounts_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph resource name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GraphResourceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Graph resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/graphs" - }, - "databaseAccounts_gremlinDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - }, - "databaseAccounts_services_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 50, - "description": "Cosmos DB service name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceResourceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties in ServiceResourceCreateUpdateParameters." - }, - "type": { - "type": "string", - "enum": [ - "services" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/services" - }, - "databaseAccounts_sqlDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_sqlRoleAssignments_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Assignment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleAssignmentResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "type": { - "type": "string", - "enum": [ - "sqlRoleAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - }, - "databaseAccounts_sqlRoleDefinitions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Definition." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "sqlRoleDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - }, - "databaseAccounts_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - }, - "DatabaseRestoreResource": { - "type": "object", - "properties": { - "collectionNames": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The names of the collections available for restore." - }, - "databaseName": { - "type": "string", - "description": "The name of the database available for restore." - } - }, - "description": "Specific Databases to restore." - }, - "DataCenterResourceProperties": { - "type": "object", - "properties": { - "base64EncodedCassandraYamlFragment": { - "type": "string", - "description": "A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed." - }, - "dataCenterLocation": { - "type": "string", - "description": "The region this data center should be created in." - }, - "delegatedSubnetId": { - "type": "string", - "description": "Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'." - }, - "nodeCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Properties of a managed Cassandra data center." - }, - "DiagnosticLogSettings": { - "type": "object", - "properties": { - "enableFullTextQuery": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "True", - "False" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describe the level of detail with which queries are to be logged." - } - }, - "description": "Indicates what diagnostic log settings are to be enabled." - }, - "ExcludedPath": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "GraphResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Graph" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Graph resource object" - }, - "GraphResourceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Graph resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Graph resource." - }, - "GremlinDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "GremlinDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin database resource object" - }, - "GremlinGraphCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin graph resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "GremlinGraphResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin graph" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin graph resource object" - }, - "IncludedPath": { - "type": "object", - "properties": { - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Indexes" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of indexes for this path" - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - }, - "description": "The paths that are included in indexing" - }, - "Indexes": { - "type": "object", - "properties": { - "dataType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Number", - "Point", - "Polygon", - "LineString", - "MultiPolygon" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The datatype for which the indexing behavior is applied to." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "Spatial" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of index." - }, - "precision": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The precision of the index. -1 is maximum precision." - } - }, - "description": "The indexes for the path." - }, - "IndexingPolicy": { - "type": "object", - "properties": { - "automatic": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates if the indexing policy is automatic" - }, - "compositeIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/CompositePath" - } - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of composite path list" - }, - "excludedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExcludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to exclude from indexing" - }, - "includedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IncludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to include in the indexing" - }, - "indexingMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "consistent", - "lazy", - "none" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the indexing mode." - }, - "spatialIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SpatialSpec" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of spatial specifics" - } - }, - "description": "Cosmos DB indexing policy" - }, - "IpAddressOrRange": { - "type": "object", - "properties": { - "ipAddressOrRange": { - "type": "string", - "description": "A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”." - } - }, - "description": "IpAddressOrRange object" - }, - "Location": { - "type": "object", - "properties": { - "failoverPriority": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." - }, - "isZoneRedundant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether or not this region is an AvailabilityZone region" - }, - "locationName": { - "type": "string", - "description": "The name of the region." - }, - "provisioningState": { - "type": "string", - "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed." - } - }, - "description": "A region in which the Azure Cosmos DB database account is deployed." - }, - "ManagedServiceIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned,UserAssigned", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." - } - }, - "description": "Identity for the resource." - }, - "MongoDBCollectionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "MongoDBCollectionResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB collection" - }, - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MongoIndex" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of index keys" - }, - "shardKey": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoDBDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "MongoDBDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB database resource object" - }, - "MongoIndex": { - "type": "object", - "properties": { - "key": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "options": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection index options" - } - }, - "description": "Cosmos DB MongoDB collection index key" - }, - "MongoIndexKeys": { - "type": "object", - "properties": { - "keys": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" - } - }, - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoIndexOptions": { - "type": "object", - "properties": { - "expireAfterSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Expire after seconds" - }, - "unique": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is unique or not" - } - }, - "description": "Cosmos DB MongoDB collection index options" - }, - "PeriodicModeBackupPolicy": { - "type": "object", - "properties": { - "periodicModeProperties": { - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Configuration values for periodic mode backup" - }, - "type": { - "type": "string", - "enum": [ - "Periodic" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing periodic mode backup policy." - }, - "PeriodicModeProperties": { - "type": "object", - "properties": { - "backupIntervalInMinutes": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the interval in minutes between two backups" - }, - "backupRetentionIntervalInHours": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the time (in hours) that each backup is retained" - }, - "backupStorageRedundancy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Geo", - "Local", - "Zone" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enum to indicate type of backup residency." - } - }, - "description": "Configuration values for periodic mode backup" - }, - "Permission": { - "type": "object", - "properties": { - "dataActions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of data actions that are allowed." - }, - "notDataActions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of data actions that are denied." - } - }, - "description": "The set of data plane operations permitted through this Role Definition." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "groupId": { - "type": "string", - "description": "Group id of the private endpoint." - }, - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Connection State of the Private Endpoint Connection." - }, - "provisioningState": { - "type": "string", - "description": "Provisioning state of the private endpoint." - } - }, - "description": "Properties of a private endpoint connection." - }, - "PrivateEndpointProperty": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the private endpoint." - } - }, - "description": "Private endpoint which the connection belongs to." - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The private link service connection description." - }, - "status": { - "type": "string", - "description": "The private link service connection status." - } - }, - "description": "Connection State of the Private Endpoint Connection." - }, - "RestoreParameters": { - "type": "object", - "properties": { - "databasesToRestore": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/DatabaseRestoreResource" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of specific databases available for restore." - }, - "restoreMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "PointInTime" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the mode of the restore." - }, - "restoreSource": { - "type": "string", - "description": "The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}" - }, - "restoreTimestampInUtc": { - "type": "string", - "format": "date-time", - "description": "Time to which the account has to be restored (ISO-8601 format)." - } - }, - "description": "Parameters to indicate the information about the restore." - }, - "SeedNode": { - "type": "object", - "properties": { - "ipAddress": { - "type": "string", - "description": "IP address of this seed node." - } - } - }, - "ServiceResourceCreateUpdateProperties": { - "type": "object", - "properties": { - "instanceCount": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Instance count for the service." - }, - "instanceSize": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Cosmos.D4s", - "Cosmos.D8s", - "Cosmos.D16s" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "serviceType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SqlDedicatedGateway", - "DataTransfer", - "GraphAPICompute" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Properties in ServiceResourceCreateUpdateParameters." - }, - "SpatialSpec": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - }, - "types": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Point", - "LineString", - "Polygon", - "MultiPolygon" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of path's spatial type" - } - } - }, - "SqlContainerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL container resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "SqlContainerResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL container" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL container resource object" - }, - "SqlDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "SqlDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL database resource object" - }, - "SqlRoleAssignmentResource": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription." - }, - "roleDefinitionId": { - "type": "string", - "description": "The unique identifier for the associated Role Definition." - }, - "scope": { - "type": "string", - "description": "The data plane resource path for which access is being granted through this Role Assignment." - } - }, - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "SqlRoleDefinitionResource": { - "type": "object", - "properties": { - "assignableScopes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist." - }, - "permissions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Permission" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The set of operations allowed through this Role Definition." - }, - "roleName": { - "type": "string", - "description": "A user-friendly name for the Role Definition. Must be unique for the database account." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BuiltInRole", - "CustomRole" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the Role Definition was built-in or user created." - } - }, - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "SqlStoredProcedureCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL storedProcedure resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "SqlStoredProcedureResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Stored Procedure" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL storedProcedure" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL storedProcedure resource object" - }, - "SqlTriggerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL trigger resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "SqlTriggerResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Trigger" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL trigger" - }, - "triggerOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "All", - "Create", - "Update", - "Delete", - "Replace" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The operation the trigger is associated with." - }, - "triggerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pre", - "Post" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of the Trigger." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL trigger resource object" - }, - "SqlUserDefinedFunctionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "SqlUserDefinedFunctionResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the User Defined Function" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL userDefinedFunction" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - }, - "TableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/TableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "TableResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB table" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB table resource object" - }, - "ThroughputPolicyResource": { - "type": "object", - "properties": { - "incrementPercent": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents the percentage by which throughput can increase every time throughput policy kicks in." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Determines whether the ThroughputPolicy is active or not" - } - }, - "description": "Cosmos DB resource throughput policy" - }, - "ThroughputSettingsResource": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - }, - "ThroughputSettingsUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "required": [ - "resource" - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "UniqueKey": { - "type": "object", - "properties": { - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths must be unique for each document in the Azure Cosmos DB service" - } - }, - "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - }, - "UniqueKeyPolicy": { - "type": "object", - "properties": { - "uniqueKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UniqueKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - } - }, - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." - }, - "ignoreMissingVNetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." - } - }, - "description": "Virtual Network ACL Rule object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-10-15-preview/Microsoft.DocumentDB.json b/schemas/2021-10-15-preview/Microsoft.DocumentDB.json deleted file mode 100644 index 348cd5febf..0000000000 --- a/schemas/2021-10-15-preview/Microsoft.DocumentDB.json +++ /dev/null @@ -1,7841 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "cassandraClusters": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedCassandraManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$", - "minLength": 1, - "maxLength": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Managed Cassandra cluster name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ClusterResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a managed Cassandra cluster." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/cassandraClusters_dataCenters_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/cassandraClusters" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/cassandraClusters" - }, - "cassandraClusters_dataCenters": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$", - "minLength": 1, - "maxLength": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Data center name in a managed Cassandra cluster." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DataCenterResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a managed Cassandra data center." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/cassandraClusters/dataCenters" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/cassandraClusters/dataCenters" - }, - "databaseAccounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "GlobalDocumentDB", - "MongoDB", - "Parse" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of database account. This can only be set at database account creation." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", - "minLength": 3, - "maxLength": 50 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB database account name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_graphs_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlRoleDefinitions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlRoleAssignments_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbRoleDefinitions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbUserDefinitions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_tables_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_notebookWorkspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_services_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_dataTransferJobs_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts" - }, - "databaseAccounts_cassandraKeyspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_views_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_views": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB view name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraViewCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra view." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_views_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views" - }, - "databaseAccounts_cassandraKeyspaces_views_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views/throughputSettings" - }, - "databaseAccounts_dataTransferJobs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "name": { - "type": "string", - "description": "Name of the Data Transfer Job" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DataTransferJobProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of a DataTransfer Job" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/dataTransferJobs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/dataTransferJobs" - }, - "databaseAccounts_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph resource name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GraphResourceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Graph resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/graphs" - }, - "databaseAccounts_gremlinDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_mongodbRoleDefinitions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "name": { - "type": "string", - "description": "The ID for the Role Definition {dbName.roleName}." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoRoleDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB Mongo Role Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbRoleDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbRoleDefinitions" - }, - "databaseAccounts_mongodbUserDefinitions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "name": { - "type": "string", - "description": "The ID for the User Definition {dbName.userName}." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoUserDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB Mongo User Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbUserDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbUserDefinitions" - }, - "databaseAccounts_notebookWorkspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - }, - "databaseAccounts_services": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 50, - "description": "Cosmos DB service name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceResourceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties in ServiceResourceCreateUpdateParameters." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/services" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/services" - }, - "databaseAccounts_sqlDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_clientEncryptionKeys_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_clientEncryptionKeys": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB ClientEncryptionKey name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ClientEncryptionKeyCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update ClientEncryptionKey." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/clientEncryptionKeys" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/clientEncryptionKeys" - }, - "databaseAccounts_sqlDatabases_containers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_storedProcedures_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_triggers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_sqlRoleAssignments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Assignment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleAssignmentResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - }, - "databaseAccounts_sqlRoleDefinitions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Definition." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - }, - "databaseAccounts_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - } - }, - "definitions": { - "AnalyticalStorageConfiguration": { - "type": "object", - "properties": { - "schemaType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "WellDefined", - "FullFidelity" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Analytical storage specific properties." - }, - "ApiProperties": { - "type": "object", - "properties": { - "serverVersion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "3.2", - "3.6", - "4.0" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the ServerVersion of an a MongoDB account." - } - } - }, - "AuthenticationMethodLdapProperties": { - "type": "object", - "properties": { - "searchBaseDistinguishedName": { - "type": "string", - "description": "Distinguished name of the object to start the recursive search of users from." - }, - "searchFilterTemplate": { - "type": "string", - "description": "Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login." - }, - "serverCertificates": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Certificate" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "serverHostname": { - "type": "string", - "description": "Hostname of the LDAP server." - }, - "serverPort": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Port of the LDAP server." - }, - "serviceUserDistinguishedName": { - "type": "string", - "description": "Distinguished name of the look up user account, who can look up user details on authentication." - }, - "serviceUserPassword": { - "type": "string", - "description": "Password of the look up user." - } - }, - "description": "Ldap authentication method properties. This feature is in preview." - }, - "AutoscaleSettings": { - "type": "object", - "properties": { - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput, the resource can scale up to." - } - } - }, - "AutoscaleSettingsResource": { - "type": "object", - "properties": { - "autoUpgradePolicy": { - "oneOf": [ - { - "$ref": "#/definitions/AutoUpgradePolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource auto-upgrade policy" - }, - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput container can scale up to." - } - }, - "required": [ - "maxThroughput" - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "AutoUpgradePolicyResource": { - "type": "object", - "properties": { - "throughputPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputPolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput policy" - } - }, - "description": "Cosmos DB resource auto-upgrade policy" - }, - "AzureBlobDataTransferDataSourceSink": { - "type": "object", - "properties": { - "component": { - "type": "string", - "enum": [ - "AzureBlobStorage" - ] - }, - "containerName": { - "type": "string" - }, - "endpointUrl": { - "type": "string" - } - }, - "required": [ - "component", - "containerName" - ], - "description": "An Azure Blob Storage data source/sink" - }, - "BackupPolicy": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeBackupPolicy" - }, - { - "$ref": "#/definitions/ContinuousModeBackupPolicy" - } - ], - "properties": { - "migrationState": { - "oneOf": [ - { - "$ref": "#/definitions/BackupPolicyMigrationState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The object representing the state of the migration between the backup policies." - } - }, - "description": "The object representing the policy for taking backups on an account." - }, - "BackupPolicyMigrationState": { - "type": "object", - "properties": { - "startTime": { - "type": "string", - "format": "date-time", - "description": "Time at which the backup policy migration started (ISO-8601 format)." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Invalid", - "InProgress", - "Completed", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the status of migration between backup policy types." - }, - "targetType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Periodic", - "Continuous" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the target backup policy type of the backup policy migration." - } - }, - "description": "The object representing the state of the migration between the backup policies." - }, - "Capability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." - } - }, - "description": "Cosmos DB capability object" - }, - "Capacity": { - "type": "object", - "properties": { - "totalThroughputLimit": { - "oneOf": [ - { - "type": "integer", - "minimum": -1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput." - } - }, - "description": "The object that represents all properties related to capacity enforcement on an account." - }, - "cassandraClusters_dataCenters_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$", - "minLength": 1, - "maxLength": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Data center name in a managed Cassandra cluster." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DataCenterResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a managed Cassandra data center." - }, - "type": { - "type": "string", - "enum": [ - "dataCenters" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/cassandraClusters/dataCenters" - }, - "CassandraKeyspaceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra keyspace resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "CassandraKeyspaceResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra keyspace" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra keyspace resource object" - }, - "CassandraPartitionKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table partition key" - } - }, - "description": "Cosmos DB Cassandra table partition key" - }, - "CassandraSchema": { - "type": "object", - "properties": { - "clusterKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of cluster key." - }, - "columns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Column" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cassandra table columns." - }, - "partitionKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraPartitionKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of partition key." - } - }, - "description": "Cosmos DB Cassandra table schema" - }, - "CassandraTableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "CassandraTableResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time to live of the Cosmos DB Cassandra table" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table" - }, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraSchema" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table schema" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra table resource object" - }, - "CassandraViewCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraViewResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra view resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra view." - }, - "CassandraViewResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra view" - }, - "viewDefinition": { - "type": "string", - "description": "View Definition of the Cosmos DB Cassandra view" - } - }, - "required": [ - "id", - "viewDefinition" - ], - "description": "Cosmos DB Cassandra view resource object" - }, - "Certificate": { - "type": "object", - "properties": { - "pem": { - "type": "string", - "description": "PEM formatted public key." - } - } - }, - "ClientEncryptionKeyCreateUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ClientEncryptionKeyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB client encryption key resource object." - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update ClientEncryptionKey." - }, - "ClientEncryptionKeyResource": { - "type": "object", - "properties": { - "encryptionAlgorithm": { - "type": "string", - "description": "Encryption algorithm that will be used along with this client encryption key to encrypt/decrypt data." - }, - "id": { - "type": "string", - "description": "Name of the ClientEncryptionKey" - }, - "keyWrapMetadata": { - "oneOf": [ - { - "$ref": "#/definitions/KeyWrapMetadata" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents key wrap metadata that a key wrapping provider can use to wrap/unwrap a client encryption key." - }, - "wrappedDataEncryptionKey": { - "oneOf": [ - { - "type": "string", - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Wrapped (encrypted) form of the key represented as a byte array." - } - }, - "description": "Cosmos DB client encryption key resource object." - }, - "ClusterKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table cluster key" - }, - "orderBy": { - "type": "string", - "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" - } - }, - "description": "Cosmos DB Cassandra table cluster key" - }, - "ClusterResourceProperties": { - "type": "object", - "properties": { - "authenticationMethod": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Cassandra", - "Ldap" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. 'Ldap' is in preview." - }, - "cassandraAuditLoggingEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether Cassandra audit logging is enabled" - }, - "cassandraVersion": { - "type": "string", - "description": "Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version." - }, - "clientCertificates": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Certificate" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property." - }, - "clusterNameOverride": { - "type": "string", - "description": "If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property." - }, - "deallocated": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether the cluster and associated data centers has been deallocated." - }, - "delegatedManagementSubnetId": { - "type": "string", - "description": "Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'" - }, - "externalGossipCertificates": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Certificate" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property." - }, - "externalSeedNodes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SeedNode" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes." - }, - "hoursBetweenBackups": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of hours to wait between taking a backup of the cluster." - }, - "initialCassandraAdminPassword": { - "type": "string", - "description": "Initial password for clients connecting as admin to the cluster. Should be changed after cluster creation. Returns null on GET. This field only applies when the authenticationMethod field is 'Cassandra'." - }, - "prometheusEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/SeedNode" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "repairEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs." - }, - "restoreFromBackupId": { - "type": "string", - "description": "To create an empty cluster, omit this field or set it to null. To restore a backup into a new cluster, set this field to the resource id of the backup." - } - }, - "description": "Properties of a managed Cassandra cluster." - }, - "Column": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table column" - }, - "type": { - "type": "string", - "description": "Type of the Cosmos DB Cassandra table column" - } - }, - "description": "Cosmos DB Cassandra table column" - }, - "Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties": { - "type": "object", - "properties": {} - }, - "CompositePath": { - "type": "object", - "properties": { - "order": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ascending", - "descending" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sort order for composite paths." - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "ConflictResolutionPolicy": { - "type": "object", - "properties": { - "conflictResolutionPath": { - "type": "string", - "description": "The conflict resolution path in the case of LastWriterWins mode." - }, - "conflictResolutionProcedure": { - "type": "string", - "description": "The procedure to resolve conflicts in the case of custom mode." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastWriterWins", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the conflict resolution mode." - } - }, - "description": "The conflict resolution policy for the container." - }, - "ConsistencyPolicy": { - "type": "object", - "properties": { - "defaultConsistencyLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Eventual", - "Session", - "BoundedStaleness", - "Strong", - "ConsistentPrefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default consistency level and configuration settings of the Cosmos DB account." - }, - "maxIntervalInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 5, - "maximum": 86400 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - }, - "maxStalenessPrefix": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - } - }, - "required": [ - "defaultConsistencyLevel" - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "ContainerPartitionKey": { - "type": "object", - "properties": { - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "MultiHash" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create." - }, - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths using which data within the container can be partitioned" - }, - "version": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the version of the partition key definition" - } - }, - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "ContinuousModeBackupPolicy": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Continuous" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing continuous mode backup policy." - }, - "CorsPolicy": { - "type": "object", - "properties": { - "allowedHeaders": { - "type": "string", - "description": "The request headers that the origin domain may specify on the CORS request." - }, - "allowedMethods": { - "type": "string", - "description": "The methods (HTTP request verbs) that the origin domain may use for a CORS request." - }, - "allowedOrigins": { - "type": "string", - "description": "The origin domains that are permitted to make a request against the service via CORS." - }, - "exposedHeaders": { - "type": "string", - "description": "The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer." - }, - "maxAgeInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The maximum amount time that a browser should cache the preflight OPTIONS request." - } - }, - "required": [ - "allowedOrigins" - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "CosmosCassandraDataTransferDataSourceSink": { - "type": "object", - "properties": { - "component": { - "type": "string", - "enum": [ - "CosmosDBCassandra" - ] - }, - "keyspaceName": { - "type": "string" - }, - "tableName": { - "type": "string" - } - }, - "required": [ - "component", - "keyspaceName", - "tableName" - ], - "description": "A CosmosDB Cassandra API data source/sink" - }, - "CreateUpdateOptions": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Request Units per second. For example, \"throughput\": 10000." - } - }, - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "DatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "analyticalStorageConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/AnalyticalStorageConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical storage specific properties." - }, - "apiProperties": { - "oneOf": [ - { - "$ref": "#/definitions/ApiProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "backupPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/BackupPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The object representing the policy for taking backups on an account." - }, - "capabilities": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cosmos DB capabilities for the account" - }, - "capacity": { - "oneOf": [ - { - "$ref": "#/definitions/Capacity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The object that represents all properties related to capacity enforcement on an account." - }, - "connectorOffer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cassandra connector offer type for the Cosmos DB database C* account." - }, - "consistencyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConsistencyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "cors": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CorsPolicy" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "createMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Default", - "Restore" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enum to indicate the mode of account creation." - }, - "databaseAccountOfferType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The offer type for the database" - }, - "defaultIdentity": { - "type": "string", - "description": "The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be \"FirstPartyIdentity\", \"SystemAssignedIdentity\" and more." - }, - "diagnosticLogSettings": { - "oneOf": [ - { - "$ref": "#/definitions/DiagnosticLogSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates what diagnostic log settings are to be enabled." - }, - "disableKeyBasedMetadataWriteAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys" - }, - "disableLocalAuth": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication." - }, - "enableAnalyticalStorage": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable storage analytics." - }, - "enableAutomaticFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." - }, - "enableCassandraConnector": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the cassandra connector on the Cosmos DB C* account" - }, - "enableFreeTier": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether Free Tier is enabled." - }, - "enableMultipleWriteLocations": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the account to write in multiple locations" - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IpAddressOrRange" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Array of IpAddressOrRange objects." - }, - "isVirtualNetworkFilterEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." - }, - "keyVaultKeyUri": { - "type": "string", - "description": "The URI of the key vault" - }, - "locations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." - }, - "networkAclBypass": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "AzureServices" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates what services are allowed to bypass firewall checks." - }, - "networkAclBypassResourceIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether requests from Public Network are allowed." - }, - "restoreParameters": { - "oneOf": [ - { - "$ref": "#/definitions/RestoreParameters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Parameters to indicate the information about the restore." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." - } - }, - "required": [ - "databaseAccountOfferType", - "locations" - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "databaseAccounts_cassandraKeyspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_views_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB view name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraViewCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra view." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "views" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views" - }, - "databaseAccounts_cassandraKeyspaces_views_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views/throughputSettings" - }, - "databaseAccounts_dataTransferJobs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "name": { - "type": "string", - "description": "Name of the Data Transfer Job" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DataTransferJobProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of a DataTransfer Job" - }, - "type": { - "type": "string", - "enum": [ - "dataTransferJobs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/dataTransferJobs" - }, - "databaseAccounts_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph resource name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GraphResourceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Graph resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/graphs" - }, - "databaseAccounts_gremlinDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_mongodbRoleDefinitions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "name": { - "type": "string", - "description": "The ID for the Role Definition {dbName.roleName}." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoRoleDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB Mongo Role Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "mongodbRoleDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbRoleDefinitions" - }, - "databaseAccounts_mongodbUserDefinitions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "name": { - "type": "string", - "description": "The ID for the User Definition {dbName.userName}." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoUserDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB Mongo User Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "mongodbUserDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbUserDefinitions" - }, - "databaseAccounts_notebookWorkspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - }, - "databaseAccounts_services_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 50, - "description": "Cosmos DB service name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceResourceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties in ServiceResourceCreateUpdateParameters." - }, - "type": { - "type": "string", - "enum": [ - "services" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/services" - }, - "databaseAccounts_sqlDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_clientEncryptionKeys_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "name": { - "type": "string", - "description": "Cosmos DB ClientEncryptionKey name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ClientEncryptionKeyCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update ClientEncryptionKey." - }, - "type": { - "type": "string", - "enum": [ - "clientEncryptionKeys" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/clientEncryptionKeys" - }, - "databaseAccounts_sqlDatabases_containers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_sqlRoleAssignments_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Assignment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleAssignmentResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "type": { - "type": "string", - "enum": [ - "sqlRoleAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - }, - "databaseAccounts_sqlRoleDefinitions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Definition." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "sqlRoleDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - }, - "databaseAccounts_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - }, - "DatabaseRestoreResource": { - "type": "object", - "properties": { - "collectionNames": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The names of the collections available for restore." - }, - "databaseName": { - "type": "string", - "description": "The name of the database available for restore." - } - }, - "description": "Specific Databases to restore." - }, - "DataCenterResourceProperties": { - "type": "object", - "properties": { - "authenticationMethodLdapProperties": { - "oneOf": [ - { - "$ref": "#/definitions/AuthenticationMethodLdapProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Ldap authentication method properties. This feature is in preview." - }, - "availabilityZone": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If the data center has Availability Zone feature, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines." - }, - "backupStorageCustomerKeyUri": { - "type": "string", - "description": "Indicates the Key Uri of the customer key to use for encryption of the backup storage account." - }, - "base64EncodedCassandraYamlFragment": { - "type": "string", - "description": "A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed." - }, - "dataCenterLocation": { - "type": "string", - "description": "The region this data center should be created in." - }, - "delegatedSubnetId": { - "type": "string", - "description": "Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'." - }, - "diskCapacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of disk used for data centers. Default value is 4." - }, - "diskSku": { - "type": "string", - "description": "Disk SKU used for data centers. Default value is P30." - }, - "managedDiskCustomerKeyUri": { - "type": "string", - "description": "Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key." - }, - "nodeCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "type": "string", - "description": "Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2" - } - }, - "description": "Properties of a managed Cassandra data center." - }, - "DataTransferDataSourceSink": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/CosmosCassandraDataTransferDataSourceSink" - }, - { - "$ref": "#/definitions/AzureBlobDataTransferDataSourceSink" - } - ], - "properties": {}, - "description": "Base class for all DataTransfer source/sink" - }, - "DataTransferJobProperties": { - "type": "object", - "properties": { - "destination": { - "oneOf": [ - { - "$ref": "#/definitions/DataTransferDataSourceSink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Base class for all DataTransfer source/sink" - }, - "source": { - "oneOf": [ - { - "$ref": "#/definitions/DataTransferDataSourceSink" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Base class for all DataTransfer source/sink" - }, - "workerCount": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Worker count" - } - }, - "required": [ - "destination", - "source" - ], - "description": "The properties of a DataTransfer Job" - }, - "DiagnosticLogSettings": { - "type": "object", - "properties": { - "enableFullTextQuery": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "True", - "False" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describe the level of detail with which queries are to be logged." - } - }, - "description": "Indicates what diagnostic log settings are to be enabled." - }, - "ExcludedPath": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "GraphResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Graph" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Graph resource object" - }, - "GraphResourceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Graph resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Graph resource." - }, - "GremlinDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "GremlinDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin database resource object" - }, - "GremlinGraphCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin graph resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "GremlinGraphResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin graph" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin graph resource object" - }, - "IncludedPath": { - "type": "object", - "properties": { - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Indexes" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of indexes for this path" - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - }, - "description": "The paths that are included in indexing" - }, - "Indexes": { - "type": "object", - "properties": { - "dataType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Number", - "Point", - "Polygon", - "LineString", - "MultiPolygon" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The datatype for which the indexing behavior is applied to." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "Spatial" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of index." - }, - "precision": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The precision of the index. -1 is maximum precision." - } - }, - "description": "The indexes for the path." - }, - "IndexingPolicy": { - "type": "object", - "properties": { - "automatic": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates if the indexing policy is automatic" - }, - "compositeIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/CompositePath" - } - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of composite path list" - }, - "excludedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExcludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to exclude from indexing" - }, - "includedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IncludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to include in the indexing" - }, - "indexingMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "consistent", - "lazy", - "none" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the indexing mode." - }, - "spatialIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SpatialSpec" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of spatial specifics" - } - }, - "description": "Cosmos DB indexing policy" - }, - "IpAddressOrRange": { - "type": "object", - "properties": { - "ipAddressOrRange": { - "type": "string", - "description": "A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”." - } - }, - "description": "IpAddressOrRange object" - }, - "KeyWrapMetadata": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of associated KeyEncryptionKey (aka CustomerManagedKey)." - }, - "type": { - "type": "string", - "description": "ProviderName of KeyStoreProvider." - }, - "value": { - "type": "string", - "description": "Reference / link to the KeyEncryptionKey." - } - }, - "description": "Represents key wrap metadata that a key wrapping provider can use to wrap/unwrap a client encryption key." - }, - "Location": { - "type": "object", - "properties": { - "failoverPriority": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." - }, - "isZoneRedundant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether or not this region is an AvailabilityZone region" - }, - "locationName": { - "type": "string", - "description": "The name of the region." - }, - "provisioningState": { - "type": "string", - "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed." - } - }, - "description": "A region in which the Azure Cosmos DB database account is deployed." - }, - "ManagedCassandraManagedServiceIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the resource." - } - }, - "description": "Identity for the resource." - }, - "ManagedServiceIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned,UserAssigned", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." - } - }, - "description": "Identity for the resource." - }, - "MongoDBCollectionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "MongoDBCollectionResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB collection" - }, - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MongoIndex" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of index keys" - }, - "shardKey": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoDBDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "MongoDBDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB database resource object" - }, - "MongoIndex": { - "type": "object", - "properties": { - "key": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "options": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection index options" - } - }, - "description": "Cosmos DB MongoDB collection index key" - }, - "MongoIndexKeys": { - "type": "object", - "properties": { - "keys": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" - } - }, - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoIndexOptions": { - "type": "object", - "properties": { - "expireAfterSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Expire after seconds" - }, - "unique": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is unique or not" - } - }, - "description": "Cosmos DB MongoDB collection index options" - }, - "MongoRoleDefinitionResource": { - "type": "object", - "properties": { - "databaseName": { - "type": "string", - "description": "The database name for which access is being granted for this Role Definition." - }, - "privileges": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Privilege" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege." - }, - "roleName": { - "type": "string", - "description": "A user-friendly name for the Role Definition. Must be unique for the database account." - }, - "roles": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Role" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The set of roles inherited by this Role Definition." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BuiltInRole", - "CustomRole" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the Role Definition was built-in or user created." - } - }, - "description": "Azure Cosmos DB Mongo Role Definition resource object." - }, - "MongoUserDefinitionResource": { - "type": "object", - "properties": { - "customData": { - "type": "string", - "description": "A custom definition for the USer Definition." - }, - "databaseName": { - "type": "string", - "description": "The database name for which access is being granted for this User Definition." - }, - "mechanisms": { - "type": "string", - "description": "The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256." - }, - "password": { - "type": "string", - "description": "The password for User Definition. Response does not contain user password." - }, - "roles": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Role" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The set of roles inherited by the User Definition." - }, - "userName": { - "type": "string", - "description": "The user name for User Definition." - } - }, - "description": "Azure Cosmos DB Mongo User Definition resource object." - }, - "PeriodicModeBackupPolicy": { - "type": "object", - "properties": { - "periodicModeProperties": { - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Configuration values for periodic mode backup" - }, - "type": { - "type": "string", - "enum": [ - "Periodic" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing periodic mode backup policy." - }, - "PeriodicModeProperties": { - "type": "object", - "properties": { - "backupIntervalInMinutes": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the interval in minutes between two backups" - }, - "backupRetentionIntervalInHours": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the time (in hours) that each backup is retained" - }, - "backupStorageRedundancy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Geo", - "Local", - "Zone" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enum to indicate type of backup residency." - } - }, - "description": "Configuration values for periodic mode backup" - }, - "Permission": { - "type": "object", - "properties": { - "dataActions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of data actions that are allowed." - }, - "notDataActions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of data actions that are denied." - } - }, - "description": "The set of data plane operations permitted through this Role Definition." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "groupId": { - "type": "string", - "description": "Group id of the private endpoint." - }, - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Connection State of the Private Endpoint Connection." - }, - "provisioningState": { - "type": "string", - "description": "Provisioning state of the private endpoint." - } - }, - "description": "Properties of a private endpoint connection." - }, - "PrivateEndpointProperty": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the private endpoint." - } - }, - "description": "Private endpoint which the connection belongs to." - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The private link service connection description." - }, - "status": { - "type": "string", - "description": "The private link service connection status." - } - }, - "description": "Connection State of the Private Endpoint Connection." - }, - "Privilege": { - "type": "object", - "properties": { - "actions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of actions that are allowed." - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/PrivilegeResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An Azure Cosmos DB Mongo DB Resource." - } - }, - "description": "The set of data plane operations permitted through this Role Definition." - }, - "PrivilegeResource": { - "type": "object", - "properties": { - "collection": { - "type": "string", - "description": "The collection name the role is applied." - }, - "db": { - "type": "string", - "description": "The database name the role is applied." - } - }, - "description": "An Azure Cosmos DB Mongo DB Resource." - }, - "RestoreParameters": { - "type": "object", - "properties": { - "databasesToRestore": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/DatabaseRestoreResource" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of specific databases available for restore." - }, - "restoreMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "PointInTime" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the mode of the restore." - }, - "restoreSource": { - "type": "string", - "description": "The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}" - }, - "restoreTimestampInUtc": { - "type": "string", - "format": "date-time", - "description": "Time to which the account has to be restored (ISO-8601 format)." - } - }, - "description": "Parameters to indicate the information about the restore." - }, - "Role": { - "type": "object", - "properties": { - "db": { - "type": "string", - "description": "The database name the role is applied." - }, - "role": { - "type": "string", - "description": "The role name." - } - }, - "description": "The set of roles permitted through this Role Definition." - }, - "SeedNode": { - "type": "object", - "properties": { - "ipAddress": { - "type": "string", - "description": "IP address of this seed node." - } - } - }, - "ServiceResourceCreateUpdateProperties": { - "type": "object", - "properties": { - "instanceCount": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Instance count for the service." - }, - "instanceSize": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Cosmos.D4s", - "Cosmos.D8s", - "Cosmos.D16s" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "serviceType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SqlDedicatedGateway", - "DataTransfer", - "GraphAPICompute", - "MaterializedViewsBuilder" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Properties in ServiceResourceCreateUpdateParameters." - }, - "SpatialSpec": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - }, - "types": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Point", - "LineString", - "Polygon", - "MultiPolygon" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of path's spatial type" - } - } - }, - "SqlContainerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL container resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "SqlContainerResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL container" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL container resource object" - }, - "SqlDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "SqlDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL database resource object" - }, - "SqlRoleAssignmentResource": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription." - }, - "roleDefinitionId": { - "type": "string", - "description": "The unique identifier for the associated Role Definition." - }, - "scope": { - "type": "string", - "description": "The data plane resource path for which access is being granted through this Role Assignment." - } - }, - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "SqlRoleDefinitionResource": { - "type": "object", - "properties": { - "assignableScopes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist." - }, - "permissions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Permission" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The set of operations allowed through this Role Definition." - }, - "roleName": { - "type": "string", - "description": "A user-friendly name for the Role Definition. Must be unique for the database account." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BuiltInRole", - "CustomRole" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the Role Definition was built-in or user created." - } - }, - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "SqlStoredProcedureCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL storedProcedure resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "SqlStoredProcedureResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Stored Procedure" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL storedProcedure" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL storedProcedure resource object" - }, - "SqlTriggerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL trigger resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "SqlTriggerResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Trigger" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL trigger" - }, - "triggerOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "All", - "Create", - "Update", - "Delete", - "Replace" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The operation the trigger is associated with." - }, - "triggerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pre", - "Post" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of the Trigger." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL trigger resource object" - }, - "SqlUserDefinedFunctionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "SqlUserDefinedFunctionResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the User Defined Function" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL userDefinedFunction" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - }, - "TableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/TableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "TableResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB table" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB table resource object" - }, - "ThroughputPolicyResource": { - "type": "object", - "properties": { - "incrementPercent": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents the percentage by which throughput can increase every time throughput policy kicks in." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Determines whether the ThroughputPolicy is active or not" - } - }, - "description": "Cosmos DB resource throughput policy" - }, - "ThroughputSettingsResource": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - }, - "ThroughputSettingsUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "required": [ - "resource" - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "UniqueKey": { - "type": "object", - "properties": { - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths must be unique for each document in the Azure Cosmos DB service" - } - }, - "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - }, - "UniqueKeyPolicy": { - "type": "object", - "properties": { - "uniqueKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UniqueKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - } - }, - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." - }, - "ignoreMissingVNetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." - } - }, - "description": "Virtual Network ACL Rule object" - } - } -} \ No newline at end of file diff --git a/schemas/2021-10-15/Microsoft.DocumentDB.json b/schemas/2021-10-15/Microsoft.DocumentDB.json deleted file mode 100644 index 46cd3fb0d0..0000000000 --- a/schemas/2021-10-15/Microsoft.DocumentDB.json +++ /dev/null @@ -1,5961 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DocumentDB", - "description": "Microsoft DocumentDB Resource Types", - "resourceDefinitions": { - "cassandraClusters": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedCassandraManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$", - "minLength": 1, - "maxLength": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Managed Cassandra cluster name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ClusterResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a managed Cassandra cluster." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/cassandraClusters_dataCenters_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/cassandraClusters" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/cassandraClusters" - }, - "cassandraClusters_dataCenters": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$", - "minLength": 1, - "maxLength": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Data center name in a managed Cassandra cluster." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DataCenterResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a managed Cassandra data center." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/cassandraClusters/dataCenters" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/cassandraClusters/dataCenters" - }, - "databaseAccounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "GlobalDocumentDB", - "MongoDB", - "Parse" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of database account. This can only be set at database account creation." - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", - "minLength": 3, - "maxLength": 50 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB database account name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlRoleDefinitions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlRoleAssignments_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_tables_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_notebookWorkspaces_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_privateEndpointConnections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts" - }, - "databaseAccounts_cassandraKeyspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - }, - "databaseAccounts_sqlDatabases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_throughputSettings_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_storedProcedures_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource" - }, - { - "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_triggers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_sqlRoleAssignments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Assignment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleAssignmentResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - }, - "databaseAccounts_sqlRoleDefinitions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Definition." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - }, - "databaseAccounts_tables": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/databaseAccounts_tables_throughputSettings_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - } - }, - "definitions": { - "AnalyticalStorageConfiguration": { - "type": "object", - "properties": { - "schemaType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "WellDefined", - "FullFidelity" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Analytical storage specific properties." - }, - "ApiProperties": { - "type": "object", - "properties": { - "serverVersion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "3.2", - "3.6", - "4.0" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the ServerVersion of an a MongoDB account." - } - } - }, - "AutoscaleSettings": { - "type": "object", - "properties": { - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput, the resource can scale up to." - } - } - }, - "AutoscaleSettingsResource": { - "type": "object", - "properties": { - "autoUpgradePolicy": { - "oneOf": [ - { - "$ref": "#/definitions/AutoUpgradePolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource auto-upgrade policy" - }, - "maxThroughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents maximum throughput container can scale up to." - } - }, - "required": [ - "maxThroughput" - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "AutoUpgradePolicyResource": { - "type": "object", - "properties": { - "throughputPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputPolicyResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput policy" - } - }, - "description": "Cosmos DB resource auto-upgrade policy" - }, - "BackupPolicy": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeBackupPolicy" - }, - { - "$ref": "#/definitions/ContinuousModeBackupPolicy" - } - ], - "properties": { - "migrationState": { - "oneOf": [ - { - "$ref": "#/definitions/BackupPolicyMigrationState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The object representing the state of the migration between the backup policies." - } - }, - "description": "The object representing the policy for taking backups on an account." - }, - "BackupPolicyMigrationState": { - "type": "object", - "properties": { - "startTime": { - "type": "string", - "format": "date-time", - "description": "Time at which the backup policy migration started (ISO-8601 format)." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Invalid", - "InProgress", - "Completed", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the status of migration between backup policy types." - }, - "targetType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Periodic", - "Continuous" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the target backup policy type of the backup policy migration." - } - }, - "description": "The object representing the state of the migration between the backup policies." - }, - "Capability": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." - } - }, - "description": "Cosmos DB capability object" - }, - "Capacity": { - "type": "object", - "properties": { - "totalThroughputLimit": { - "oneOf": [ - { - "type": "integer", - "minimum": -1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput." - } - }, - "description": "The object that represents all properties related to capacity enforcement on an account." - }, - "cassandraClusters_dataCenters_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$", - "minLength": 1, - "maxLength": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Data center name in a managed Cassandra cluster." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DataCenterResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a managed Cassandra data center." - }, - "type": { - "type": "string", - "enum": [ - "dataCenters" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/cassandraClusters/dataCenters" - }, - "CassandraKeyspaceCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra keyspace resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "CassandraKeyspaceResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra keyspace" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra keyspace resource object" - }, - "CassandraPartitionKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table partition key" - } - }, - "description": "Cosmos DB Cassandra table partition key" - }, - "CassandraSchema": { - "type": "object", - "properties": { - "clusterKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of cluster key." - }, - "columns": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Column" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cassandra table columns." - }, - "partitionKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraPartitionKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of partition key." - } - }, - "description": "Cosmos DB Cassandra table schema" - }, - "CassandraTableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "CassandraTableResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time to live of the Cosmos DB Cassandra table" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table" - }, - "schema": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraSchema" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Cassandra table schema" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Cassandra table resource object" - }, - "Certificate": { - "type": "object", - "properties": { - "pem": { - "type": "string", - "description": "PEM formatted public key." - } - } - }, - "ClusterKey": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table cluster key" - }, - "orderBy": { - "type": "string", - "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" - } - }, - "description": "Cosmos DB Cassandra table cluster key" - }, - "ClusterResourceProperties": { - "type": "object", - "properties": { - "authenticationMethod": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Cassandra" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'." - }, - "cassandraAuditLoggingEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether Cassandra audit logging is enabled" - }, - "cassandraVersion": { - "type": "string", - "description": "Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version." - }, - "clientCertificates": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Certificate" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property." - }, - "clusterNameOverride": { - "type": "string", - "description": "If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property." - }, - "deallocated": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether the cluster and associated data centers has been deallocated." - }, - "delegatedManagementSubnetId": { - "type": "string", - "description": "Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'" - }, - "externalGossipCertificates": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Certificate" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property." - }, - "externalSeedNodes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SeedNode" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes." - }, - "hoursBetweenBackups": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of hours to wait between taking a backup of the cluster. To disable backups, set this property to 0." - }, - "initialCassandraAdminPassword": { - "type": "string", - "description": "Initial password for clients connecting as admin to the cluster. Should be changed after cluster creation. Returns null on GET. This field only applies when the authenticationMethod field is 'Cassandra'." - }, - "prometheusEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/SeedNode" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "repairEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs." - }, - "restoreFromBackupId": { - "type": "string", - "description": "To create an empty cluster, omit this field or set it to null. To restore a backup into a new cluster, set this field to the resource id of the backup." - } - }, - "description": "Properties of a managed Cassandra cluster." - }, - "Column": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the Cosmos DB Cassandra table column" - }, - "type": { - "type": "string", - "description": "Type of the Cosmos DB Cassandra table column" - } - }, - "description": "Cosmos DB Cassandra table column" - }, - "Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties": { - "type": "object", - "properties": {} - }, - "CompositePath": { - "type": "object", - "properties": { - "order": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ascending", - "descending" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sort order for composite paths." - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "ConflictResolutionPolicy": { - "type": "object", - "properties": { - "conflictResolutionPath": { - "type": "string", - "description": "The conflict resolution path in the case of LastWriterWins mode." - }, - "conflictResolutionProcedure": { - "type": "string", - "description": "The procedure to resolve conflicts in the case of custom mode." - }, - "mode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LastWriterWins", - "Custom" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the conflict resolution mode." - } - }, - "description": "The conflict resolution policy for the container." - }, - "ConsistencyPolicy": { - "type": "object", - "properties": { - "defaultConsistencyLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Eventual", - "Session", - "BoundedStaleness", - "Strong", - "ConsistentPrefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default consistency level and configuration settings of the Cosmos DB account." - }, - "maxIntervalInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 5, - "maximum": 86400 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - }, - "maxStalenessPrefix": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." - } - }, - "required": [ - "defaultConsistencyLevel" - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "ContainerPartitionKey": { - "type": "object", - "properties": { - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "MultiHash" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create." - }, - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths using which data within the container can be partitioned" - }, - "version": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the version of the partition key definition" - } - }, - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "ContinuousModeBackupPolicy": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Continuous" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing continuous mode backup policy." - }, - "CorsPolicy": { - "type": "object", - "properties": { - "allowedHeaders": { - "type": "string", - "description": "The request headers that the origin domain may specify on the CORS request." - }, - "allowedMethods": { - "type": "string", - "description": "The methods (HTTP request verbs) that the origin domain may use for a CORS request." - }, - "allowedOrigins": { - "type": "string", - "description": "The origin domains that are permitted to make a request against the service via CORS." - }, - "exposedHeaders": { - "type": "string", - "description": "The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer." - }, - "maxAgeInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 2147483647 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The maximum amount time that a browser should cache the preflight OPTIONS request." - } - }, - "required": [ - "allowedOrigins" - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "CreateUpdateOptions": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Request Units per second. For example, \"throughput\": 10000." - } - }, - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "DatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "analyticalStorageConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/AnalyticalStorageConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical storage specific properties." - }, - "apiProperties": { - "oneOf": [ - { - "$ref": "#/definitions/ApiProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "backupPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/BackupPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The object representing the policy for taking backups on an account." - }, - "capabilities": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Capability" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Cosmos DB capabilities for the account" - }, - "capacity": { - "oneOf": [ - { - "$ref": "#/definitions/Capacity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The object that represents all properties related to capacity enforcement on an account." - }, - "connectorOffer": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cassandra connector offer type for the Cosmos DB database C* account." - }, - "consistencyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConsistencyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The consistency policy for the Cosmos DB database account." - }, - "cors": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CorsPolicy" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The CORS policy for the Cosmos DB database account." - }, - "createMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Default", - "Restore" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enum to indicate the mode of account creation." - }, - "databaseAccountOfferType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The offer type for the database" - }, - "defaultIdentity": { - "type": "string", - "description": "The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be \"FirstPartyIdentity\", \"SystemAssignedIdentity\" and more." - }, - "disableKeyBasedMetadataWriteAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys" - }, - "disableLocalAuth": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication." - }, - "enableAnalyticalStorage": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable storage analytics." - }, - "enableAutomaticFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." - }, - "enableCassandraConnector": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the cassandra connector on the Cosmos DB C* account" - }, - "enableFreeTier": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether Free Tier is enabled." - }, - "enableMultipleWriteLocations": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enables the account to write in multiple locations" - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IpAddressOrRange" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Array of IpAddressOrRange objects." - }, - "isVirtualNetworkFilterEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." - }, - "keyVaultKeyUri": { - "type": "string", - "description": "The URI of the key vault" - }, - "locations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Location" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." - }, - "networkAclBypass": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "AzureServices" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates what services are allowed to bypass firewall checks." - }, - "networkAclBypassResourceIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether requests from Public Network are allowed." - }, - "restoreParameters": { - "oneOf": [ - { - "$ref": "#/definitions/RestoreParameters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Parameters to indicate the information about the restore." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." - } - }, - "required": [ - "databaseAccountOfferType", - "locations" - ], - "description": "Properties to create and update Azure Cosmos DB database accounts." - }, - "databaseAccounts_cassandraKeyspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB keyspace name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "cassandraKeyspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" - }, - "databaseAccounts_cassandraKeyspaces_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CassandraTableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Cassandra table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" - }, - "databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" - }, - "databaseAccounts_cassandraKeyspaces_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "gremlinDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" - }, - "databaseAccounts_gremlinDatabases_graphs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB graph name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "graphs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" - }, - "databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" - }, - "databaseAccounts_gremlinDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "mongodbDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" - }, - "databaseAccounts_mongodbDatabases_collections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB collection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "collections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" - }, - "databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" - }, - "databaseAccounts_mongodbDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" - }, - "databaseAccounts_notebookWorkspaces_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "The name of the notebook workspace resource." - }, - "type": { - "type": "string", - "enum": [ - "notebookWorkspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" - }, - "databaseAccounts_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a private endpoint connection." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" - }, - "databaseAccounts_sqlDatabases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB database name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "sqlDatabases" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" - }, - "databaseAccounts_sqlDatabases_containers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB container name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "containers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" - }, - "databaseAccounts_sqlDatabases_containers_storedProcedures_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB storedProcedure name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "storedProcedures" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" - }, - "databaseAccounts_sqlDatabases_containers_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" - }, - "databaseAccounts_sqlDatabases_containers_triggers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB trigger name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "triggers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" - }, - "databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB userDefinedFunction name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "userDefinedFunctions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" - }, - "databaseAccounts_sqlDatabases_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" - }, - "databaseAccounts_sqlRoleAssignments_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Assignment." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleAssignmentResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "type": { - "type": "string", - "enum": [ - "sqlRoleAssignments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" - }, - "databaseAccounts_sqlRoleDefinitions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "name": { - "type": "string", - "description": "The GUID for the Role Definition." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlRoleDefinitionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "type": { - "type": "string", - "enum": [ - "sqlRoleDefinitions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" - }, - "databaseAccounts_tables_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "description": "Cosmos DB table name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TableCreateUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "tables" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables" - }, - "databaseAccounts_tables_throughputSettings_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource group to which the resource belongs." - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." - }, - "type": { - "type": "string", - "enum": [ - "throughputSettings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" - }, - "DatabaseRestoreResource": { - "type": "object", - "properties": { - "collectionNames": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The names of the collections available for restore." - }, - "databaseName": { - "type": "string", - "description": "The name of the database available for restore." - } - }, - "description": "Specific Databases to restore." - }, - "DataCenterResourceProperties": { - "type": "object", - "properties": { - "availabilityZone": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If the azure data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines." - }, - "backupStorageCustomerKeyUri": { - "type": "string", - "description": "Indicates the Key Uri of the customer key to use for encryption of the backup storage account." - }, - "base64EncodedCassandraYamlFragment": { - "type": "string", - "description": "A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed." - }, - "dataCenterLocation": { - "type": "string", - "description": "The region this data center should be created in." - }, - "delegatedSubnetId": { - "type": "string", - "description": "Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'." - }, - "diskCapacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of disk used for data centers. Default value is 4." - }, - "diskSku": { - "type": "string", - "description": "Disk SKU used for data centers. Default value is P30." - }, - "managedDiskCustomerKeyUri": { - "type": "string", - "description": "Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key." - }, - "nodeCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "type": "string", - "description": "Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2" - } - }, - "description": "Properties of a managed Cassandra data center." - }, - "ExcludedPath": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - } - }, - "GremlinDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin database." - }, - "GremlinDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin database resource object" - }, - "GremlinGraphCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/GremlinGraphResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB Gremlin graph resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Gremlin graph." - }, - "GremlinGraphResource": { - "type": "object", - "properties": { - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB Gremlin graph" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB Gremlin graph resource object" - }, - "IncludedPath": { - "type": "object", - "properties": { - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Indexes" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of indexes for this path" - }, - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - } - }, - "description": "The paths that are included in indexing" - }, - "Indexes": { - "type": "object", - "properties": { - "dataType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Number", - "Point", - "Polygon", - "LineString", - "MultiPolygon" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The datatype for which the indexing behavior is applied to." - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Hash", - "Range", - "Spatial" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of index." - }, - "precision": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The precision of the index. -1 is maximum precision." - } - }, - "description": "The indexes for the path." - }, - "IndexingPolicy": { - "type": "object", - "properties": { - "automatic": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates if the indexing policy is automatic" - }, - "compositeIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/CompositePath" - } - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of composite path list" - }, - "excludedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExcludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to exclude from indexing" - }, - "includedPaths": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IncludedPath" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths to include in the indexing" - }, - "indexingMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "consistent", - "lazy", - "none" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the indexing mode." - }, - "spatialIndexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SpatialSpec" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of spatial specifics" - } - }, - "description": "Cosmos DB indexing policy" - }, - "IpAddressOrRange": { - "type": "object", - "properties": { - "ipAddressOrRange": { - "type": "string", - "description": "A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”." - } - }, - "description": "IpAddressOrRange object" - }, - "Location": { - "type": "object", - "properties": { - "failoverPriority": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." - }, - "isZoneRedundant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag to indicate whether or not this region is an AvailabilityZone region" - }, - "locationName": { - "type": "string", - "description": "The name of the region." - }, - "provisioningState": { - "type": "string", - "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed." - } - }, - "description": "A region in which the Azure Cosmos DB database account is deployed." - }, - "ManagedCassandraManagedServiceIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the resource." - } - }, - "description": "Identity for the resource." - }, - "ManagedServiceIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned,UserAssigned", - "None" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." - } - }, - "description": "Identity for the resource." - }, - "MongoDBCollectionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBCollectionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB collection." - }, - "MongoDBCollectionResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB collection" - }, - "indexes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MongoIndex" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of index keys" - }, - "shardKey": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoDBDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/MongoDBDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB MongoDB database." - }, - "MongoDBDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB MongoDB database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB MongoDB database resource object" - }, - "MongoIndex": { - "type": "object", - "properties": { - "key": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection resource object" - }, - "options": { - "oneOf": [ - { - "$ref": "#/definitions/MongoIndexOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB MongoDB collection index options" - } - }, - "description": "Cosmos DB MongoDB collection index key" - }, - "MongoIndexKeys": { - "type": "object", - "properties": { - "keys": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" - } - }, - "description": "Cosmos DB MongoDB collection resource object" - }, - "MongoIndexOptions": { - "type": "object", - "properties": { - "expireAfterSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Expire after seconds" - }, - "unique": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is unique or not" - } - }, - "description": "Cosmos DB MongoDB collection index options" - }, - "PeriodicModeBackupPolicy": { - "type": "object", - "properties": { - "periodicModeProperties": { - "oneOf": [ - { - "$ref": "#/definitions/PeriodicModeProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Configuration values for periodic mode backup" - }, - "type": { - "type": "string", - "enum": [ - "Periodic" - ] - } - }, - "required": [ - "type" - ], - "description": "The object representing periodic mode backup policy." - }, - "PeriodicModeProperties": { - "type": "object", - "properties": { - "backupIntervalInMinutes": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the interval in minutes between two backups" - }, - "backupRetentionIntervalInHours": { - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An integer representing the time (in hours) that each backup is retained" - }, - "backupStorageRedundancy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Geo", - "Local", - "Zone" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enum to indicate type of backup residency." - } - }, - "description": "Configuration values for periodic mode backup" - }, - "Permission": { - "type": "object", - "properties": { - "dataActions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of data actions that are allowed." - }, - "notDataActions": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An array of data actions that are denied." - } - }, - "description": "The set of data plane operations permitted through this Role Definition." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "groupId": { - "type": "string", - "description": "Group id of the private endpoint." - }, - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint which the connection belongs to." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Connection State of the Private Endpoint Connection." - }, - "provisioningState": { - "type": "string", - "description": "Provisioning state of the private endpoint." - } - }, - "description": "Properties of a private endpoint connection." - }, - "PrivateEndpointProperty": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource id of the private endpoint." - } - }, - "description": "Private endpoint which the connection belongs to." - }, - "PrivateLinkServiceConnectionStateProperty": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The private link service connection description." - }, - "status": { - "type": "string", - "description": "The private link service connection status." - } - }, - "description": "Connection State of the Private Endpoint Connection." - }, - "RestoreParameters": { - "type": "object", - "properties": { - "databasesToRestore": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/DatabaseRestoreResource" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of specific databases available for restore." - }, - "restoreMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "PointInTime" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the mode of the restore." - }, - "restoreSource": { - "type": "string", - "description": "The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}" - }, - "restoreTimestampInUtc": { - "type": "string", - "format": "date-time", - "description": "Time to which the account has to be restored (ISO-8601 format)." - } - }, - "description": "Parameters to indicate the information about the restore." - }, - "SeedNode": { - "type": "object", - "properties": { - "ipAddress": { - "type": "string", - "description": "IP address of this seed node." - } - } - }, - "SpatialSpec": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" - }, - "types": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Point", - "LineString", - "Polygon", - "MultiPolygon" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of path's spatial type" - } - } - }, - "SqlContainerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlContainerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL container resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB container." - }, - "SqlContainerResource": { - "type": "object", - "properties": { - "analyticalStorageTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Analytical TTL." - }, - "conflictResolutionPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/ConflictResolutionPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The conflict resolution policy for the container." - }, - "defaultTtl": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default time to live" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL container" - }, - "indexingPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/IndexingPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB indexing policy" - }, - "partitionKey": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerPartitionKey" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" - }, - "uniqueKeyPolicy": { - "oneOf": [ - { - "$ref": "#/definitions/UniqueKeyPolicy" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL container resource object" - }, - "SqlDatabaseCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlDatabaseResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL database resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB SQL database." - }, - "SqlDatabaseResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL database" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL database resource object" - }, - "SqlRoleAssignmentResource": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription." - }, - "roleDefinitionId": { - "type": "string", - "description": "The unique identifier for the associated Role Definition." - }, - "scope": { - "type": "string", - "description": "The data plane resource path for which access is being granted through this Role Assignment." - } - }, - "description": "Azure Cosmos DB SQL Role Assignment resource object." - }, - "SqlRoleDefinitionResource": { - "type": "object", - "properties": { - "assignableScopes": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist." - }, - "permissions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Permission" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The set of operations allowed through this Role Definition." - }, - "roleName": { - "type": "string", - "description": "A user-friendly name for the Role Definition. Must be unique for the database account." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BuiltInRole", - "CustomRole" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the Role Definition was built-in or user created." - } - }, - "description": "Azure Cosmos DB SQL Role Definition resource object." - }, - "SqlStoredProcedureCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlStoredProcedureResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL storedProcedure resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB storedProcedure." - }, - "SqlStoredProcedureResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Stored Procedure" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL storedProcedure" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL storedProcedure resource object" - }, - "SqlTriggerCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlTriggerResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL trigger resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB trigger." - }, - "SqlTriggerResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the Trigger" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL trigger" - }, - "triggerOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "All", - "Create", - "Update", - "Delete", - "Replace" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The operation the trigger is associated with." - }, - "triggerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pre", - "Post" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of the Trigger." - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL trigger resource object" - }, - "SqlUserDefinedFunctionCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/SqlUserDefinedFunctionResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." - }, - "SqlUserDefinedFunctionResource": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "Body of the User Defined Function" - }, - "id": { - "type": "string", - "description": "Name of the Cosmos DB SQL userDefinedFunction" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB SQL userDefinedFunction resource object" - }, - "TableCreateUpdateProperties": { - "type": "object", - "properties": { - "options": { - "oneOf": [ - { - "$ref": "#/definitions/CreateUpdateOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" - }, - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/TableResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB table resource object" - } - }, - "required": [ - "resource" - ], - "description": "Properties to create and update Azure Cosmos DB Table." - }, - "TableResource": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Name of the Cosmos DB table" - } - }, - "required": [ - "id" - ], - "description": "Cosmos DB table resource object" - }, - "ThroughputPolicyResource": { - "type": "object", - "properties": { - "incrementPercent": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents the percentage by which throughput can increase every time throughput policy kicks in." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Determines whether the ThroughputPolicy is active or not" - } - }, - "description": "Cosmos DB resource throughput policy" - }, - "ThroughputSettingsResource": { - "type": "object", - "properties": { - "autoscaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/AutoscaleSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB provisioned throughput settings object" - }, - "throughput": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - }, - "ThroughputSettingsUpdateProperties": { - "type": "object", - "properties": { - "resource": { - "oneOf": [ - { - "$ref": "#/definitions/ThroughputSettingsResource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." - } - }, - "required": [ - "resource" - ], - "description": "Properties to update Azure Cosmos DB resource throughput." - }, - "UniqueKey": { - "type": "object", - "properties": { - "paths": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of paths must be unique for each document in the Azure Cosmos DB service" - } - }, - "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - }, - "UniqueKeyPolicy": { - "type": "object", - "properties": { - "uniqueKeys": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UniqueKey" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." - } - }, - "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." - }, - "ignoreMissingVNetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." - } - }, - "description": "Virtual Network ACL Rule object" - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 7decec307f..3a9c3727e8 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6277,1491 +6277,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.DigitalTwins.json#/resourceDefinitions/digitalTwinsInstances_privateEndpointConnections" }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_collections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_collections_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_containers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_containers_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_graphs_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_keyspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_keyspaces_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_keyspaces_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_keyspaces_tables_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_tables_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-08/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-08/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-08/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_collections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-08/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_collections_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-08/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_containers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-08/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_containers_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-08/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-08/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_graphs_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-08/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-08/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_keyspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-08/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_keyspaces_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-08/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_keyspaces_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-08/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_keyspaces_tables_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-08/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-04-08/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_tables_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-06/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-06/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-06/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_collections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-06/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_collections_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-06/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_containers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-06/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_containers_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-06/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-06/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_graphs_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-06/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-06/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_keyspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-06/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_keyspaces_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-06/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_keyspaces_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-06/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_keyspaces_tables_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-06/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-11-06/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_tables_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-19/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-19/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-19/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_collections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-19/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_collections_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-19/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_containers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-19/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_containers_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-19/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-19/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_graphs_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-19/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-19/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_keyspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-19/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_keyspaces_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-19/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_keyspaces_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-19/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_keyspaces_tables_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-19/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-19/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_tables_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-31/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-31/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-31/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_collections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-31/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_collections_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-31/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_containers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-31/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_containers_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-31/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-31/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_graphs_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-31/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_databases_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-31/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_keyspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-31/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_keyspaces_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-31/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_keyspaces_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-31/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_keyspaces_tables_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-31/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-31/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_apis_tables_settings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_notebookWorkspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_storedProcedures" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_triggers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-08-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_notebookWorkspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_storedProcedures" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_triggers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-12-12/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_notebookWorkspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_storedProcedures" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_triggers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_notebookWorkspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_storedProcedures" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_triggers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-04-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_notebookWorkspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_storedProcedures" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_triggers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_notebookWorkspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_storedProcedures" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_triggers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_notebookWorkspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_storedProcedures" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_triggers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-01-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/cassandraClusters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/cassandraClusters_dataCenters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_notebookWorkspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_storedProcedures" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_triggers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_notebookWorkspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_storedProcedures" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_triggers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/cassandraClusters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/cassandraClusters_dataCenters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_notebookWorkspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_services" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_storedProcedures" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_triggers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_notebookWorkspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_storedProcedures" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_triggers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_notebookWorkspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_storedProcedures" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_triggers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_notebookWorkspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_storedProcedures" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_triggers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/cassandraClusters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/cassandraClusters_dataCenters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_views" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_views_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_notebookWorkspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_services" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_storedProcedures" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_triggers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/cassandraClusters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/cassandraClusters_dataCenters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_notebookWorkspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_storedProcedures" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_triggers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/cassandraClusters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/cassandraClusters_dataCenters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_views" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_views_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_dataTransferJobs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbRoleDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbUserDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_notebookWorkspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_services" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_clientEncryptionKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_storedProcedures" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_triggers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_throughputSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleDefinitions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-15-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables_throughputSettings" - }, { "$ref": "https://schema.management.azure.com/schemas/2015-04-01/Microsoft.DomainRegistration.json#/resourceDefinitions/domains" },