diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2020-03-01/cosmos-db.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2020-03-01/cosmos-db.json index f1afe4948bed..88a511e9cecb 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2020-03-01/cosmos-db.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2020-03-01/cosmos-db.json @@ -1685,7 +1685,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default/migrateToAutoscale": { "post": { - "operationId": "SqlResources_MigrateSqlDatabaseToAutoscale", + "operationId": "SqlResources_MigrateToAutoscaleSqlDatabase", "x-ms-examples": { "CosmosDBSqlDatabaseMigrateToAutoscale": { "$ref": "./examples/CosmosDBSqlDatabaseMigrateToAutoscale.json" @@ -1719,13 +1719,19 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default/migrateToManualThroughput": { "post": { - "operationId": "SqlResources_MigrateSqlDatabaseToManualThroughput", + "operationId": "SqlResources_MigrateToManualThroughputSqlDatabase", "x-ms-examples": { "CosmosDBSqlDatabaseMigrateToManualThroughput": { "$ref": "./examples/CosmosDBSqlDatabaseMigrateToManualThroughput.json" @@ -1759,6 +1765,12 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } @@ -2020,7 +2032,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default/migrateToAutoscale": { "post": { - "operationId": "SqlResources_MigrateSqlContainerToAutoscale", + "operationId": "SqlResources_MigrateToAutoscaleSqlContainer", "x-ms-examples": { "CosmosDBSqlContainerMigrateToAutoscale": { "$ref": "./examples/CosmosDBSqlContainerMigrateToAutoscale.json" @@ -2057,13 +2069,19 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default/migrateToManualThroughput": { "post": { - "operationId": "SqlResources_MigrateSqlContainerToManualThroughput", + "operationId": "SqlResources_MigrateToManualThroughputSqlContainer", "x-ms-examples": { "CosmosDBSqlContainerMigrateToManualThroughput": { "$ref": "./examples/CosmosDBSqlContainerMigrateToManualThroughput.json" @@ -2100,6 +2118,12 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } @@ -2877,7 +2901,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default/migrateToAutoscale": { "post": { - "operationId": "MongoDBResources_MigrateMongoDBDatabaseToAutoscale", + "operationId": "MongoDBResources_MigrateToAutoscaleMongoDBDatabase", "x-ms-examples": { "CosmosDBMongoDBDatabaseMigrateToAutoscale": { "$ref": "./examples/CosmosDBMongoDBDatabaseMigrateToAutoscale.json" @@ -2911,13 +2935,19 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default/migrateToManualThroughput": { "post": { - "operationId": "MongoDBResources_MigrateMongoDBDatabaseToManualThroughput", + "operationId": "MongoDBResources_MigrateToManualThroughputMongoDBDatabase", "x-ms-examples": { "CosmosDBMongoDBDatabaseMigrateToManualThroughput": { "$ref": "./examples/CosmosDBMongoDBDatabaseMigrateToManualThroughput.json" @@ -2951,6 +2981,12 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } @@ -3212,7 +3248,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default/migrateToAutoscale": { "post": { - "operationId": "MongoDBResources_MigrateMongoDBCollectionToAutoscale", + "operationId": "MongoDBResources_MigrateToAutoscaleMongoDBCollection", "x-ms-examples": { "CosmosDBMongoDBCollectionMigrateToAutoscale": { "$ref": "./examples/CosmosDBMongoDBCollectionMigrateToAutoscale.json" @@ -3249,13 +3285,19 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default/migrateToManualThroughput": { "post": { - "operationId": "MongoDBResources_MigrateMongoDBCollectionToManualThroughput", + "operationId": "MongoDBResources_MigrateToManualThroughputMongoDBCollection", "x-ms-examples": { "CosmosDBMongoDBCollectionMigrateToManualThroughput": { "$ref": "./examples/CosmosDBMongoDBCollectionMigrateToManualThroughput.json" @@ -3292,6 +3334,12 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } @@ -3535,7 +3583,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default/migrateToAutoscale": { "post": { - "operationId": "TableResources_MigrateTableToAutoscale", + "operationId": "TableResources_MigrateToAutoscaleTable", "x-ms-examples": { "CosmosDBTableMigrateToAutoscale": { "$ref": "./examples/CosmosDBTableMigrateToAutoscale.json" @@ -3569,13 +3617,19 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default/migrateToManualThroughput": { "post": { - "operationId": "TableResources_MigrateTableToManualThroughput", + "operationId": "TableResources_MigrateToManualThroughputTable", "x-ms-examples": { "CosmosDBTableMigrateToManualThroughput": { "$ref": "./examples/CosmosDBTableMigrateToManualThroughput.json" @@ -3609,6 +3663,12 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } @@ -3852,7 +3912,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default/migrateToAutoscale": { "post": { - "operationId": "CassandraResources_MigrateCassandraKeyspaceToAutoscale", + "operationId": "CassandraResources_MigrateToAutoscaleCassandraKeyspace", "x-ms-examples": { "CosmosDBCassandraKeyspaceMigrateToAutoscale": { "$ref": "./examples/CosmosDBCassandraKeyspaceMigrateToAutoscale.json" @@ -3886,13 +3946,19 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default/migrateToManualThroughput": { "post": { - "operationId": "CassandraResources_MigrateCassandraKeyspaceToManualThroughput", + "operationId": "CassandraResources_MigrateToManualThroughputCassandraKeyspace", "x-ms-examples": { "CosmosDBCassandraKeyspaceMigrateToManualThroughput": { "$ref": "./examples/CosmosDBCassandraKeyspaceMigrateToManualThroughput.json" @@ -3926,6 +3992,12 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } @@ -4187,7 +4259,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default/migrateToAutoscale": { "post": { - "operationId": "CassandraResources_MigrateCassandraTableToAutoscale", + "operationId": "CassandraResources_MigrateToAutoscaleCassandraTable", "x-ms-examples": { "CosmosDBCassandraTableMigrateToAutoscale": { "$ref": "./examples/CosmosDBCassandraTableMigrateToAutoscale.json" @@ -4224,13 +4296,19 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default/migrateToManualThroughput": { "post": { - "operationId": "CassandraResources_MigrateCassandraTableToManualThroughput", + "operationId": "CassandraResources_MigrateToManualThroughputCassandraTable", "x-ms-examples": { "CosmosDBCassandraTableMigrateToManualThroughput": { "$ref": "./examples/CosmosDBCassandraTableMigrateToManualThroughput.json" @@ -4267,6 +4345,12 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } @@ -4504,13 +4588,19 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default/migrateToAutoscale": { "post": { - "operationId": "GremlinResources_MigrateGremlinDatabaseToAutoscale", + "operationId": "GremlinResources_MigrateToAutoscaleGremlinDatabase", "x-ms-examples": { "CosmosDBGremlinDatabaseMigrateToAutoscale": { "$ref": "./examples/CosmosDBGremlinDatabaseMigrateToAutoscale.json" @@ -4544,13 +4634,19 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default/migrateToManualThroughput": { "post": { - "operationId": "GremlinResources_MigrateGremlinDatabaseToManualThroughput", + "operationId": "GremlinResources_MigrateToManualThroughputGremlinDatabase", "x-ms-examples": { "CosmosDBGremlinDatabaseMigrateToManualThroughput": { "$ref": "./examples/CosmosDBGremlinDatabaseMigrateToManualThroughput.json" @@ -4845,7 +4941,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default/migrateToAutoscale": { "post": { - "operationId": "GremlinResources_MigrateGremlinGraphToAutoscale", + "operationId": "GremlinResources_MigrateToAutoscaleGremlinGraph", "x-ms-examples": { "CosmosDBGremlinGraphMigrateToAutoscale": { "$ref": "./examples/CosmosDBGremlinGraphMigrateToAutoscale.json" @@ -4882,13 +4978,19 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default/migrateToManualThroughput": { "post": { - "operationId": "GremlinResources_MigrateGremlinGraphToManualThroughput", + "operationId": "GremlinResources_MigrateToManualThroughputGremlinGraph", "x-ms-examples": { "CosmosDBGremlinGraphMigrateToManualThroughput": { "$ref": "./examples/CosmosDBGremlinGraphMigrateToManualThroughput.json" @@ -4925,6 +5027,12 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2020-04-01/cosmos-db.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2020-04-01/cosmos-db.json index d1e2fcd1cfd3..57a7fe2d60e4 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2020-04-01/cosmos-db.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2020-04-01/cosmos-db.json @@ -1685,7 +1685,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default/migrateToAutoscale": { "post": { - "operationId": "SqlResources_MigrateSqlDatabaseToAutoscale", + "operationId": "SqlResources_MigrateToAutoscaleSqlDatabase", "x-ms-examples": { "CosmosDBSqlDatabaseMigrateToAutoscale": { "$ref": "./examples/CosmosDBSqlDatabaseMigrateToAutoscale.json" @@ -1719,13 +1719,19 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default/migrateToManualThroughput": { "post": { - "operationId": "SqlResources_MigrateSqlDatabaseToManualThroughput", + "operationId": "SqlResources_MigrateToManualThroughputSqlDatabase", "x-ms-examples": { "CosmosDBSqlDatabaseMigrateToManualThroughput": { "$ref": "./examples/CosmosDBSqlDatabaseMigrateToManualThroughput.json" @@ -1759,6 +1765,12 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } @@ -2020,7 +2032,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default/migrateToAutoscale": { "post": { - "operationId": "SqlResources_MigrateSqlContainerToAutoscale", + "operationId": "SqlResources_MigrateToAutoscaleSqlContainer", "x-ms-examples": { "CosmosDBSqlContainerMigrateToAutoscale": { "$ref": "./examples/CosmosDBSqlContainerMigrateToAutoscale.json" @@ -2057,13 +2069,19 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default/migrateToManualThroughput": { "post": { - "operationId": "SqlResources_MigrateSqlContainerToManualThroughput", + "operationId": "SqlResources_MigrateToManualThroughputSqlContainer", "x-ms-examples": { "CosmosDBSqlContainerMigrateToManualThroughput": { "$ref": "./examples/CosmosDBSqlContainerMigrateToManualThroughput.json" @@ -2100,6 +2118,12 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } @@ -2877,7 +2901,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default/migrateToAutoscale": { "post": { - "operationId": "MongoDBResources_MigrateMongoDBDatabaseToAutoscale", + "operationId": "MongoDBResources_MigrateToAutoscaleMongoDBDatabase", "x-ms-examples": { "CosmosDBMongoDBDatabaseMigrateToAutoscale": { "$ref": "./examples/CosmosDBMongoDBDatabaseMigrateToAutoscale.json" @@ -2911,13 +2935,19 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default/migrateToManualThroughput": { "post": { - "operationId": "MongoDBResources_MigrateMongoDBDatabaseToManualThroughput", + "operationId": "MongoDBResources_MigrateToManualThroughputMongoDBDatabase", "x-ms-examples": { "CosmosDBMongoDBDatabaseMigrateToManualThroughput": { "$ref": "./examples/CosmosDBMongoDBDatabaseMigrateToManualThroughput.json" @@ -2951,6 +2981,12 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } @@ -3212,7 +3248,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default/migrateToAutoscale": { "post": { - "operationId": "MongoDBResources_MigrateMongoDBCollectionToAutoscale", + "operationId": "MongoDBResources_MigrateToAutoscaleMongoDBCollection", "x-ms-examples": { "CosmosDBMongoDBCollectionMigrateToAutoscale": { "$ref": "./examples/CosmosDBMongoDBCollectionMigrateToAutoscale.json" @@ -3249,13 +3285,19 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default/migrateToManualThroughput": { "post": { - "operationId": "MongoDBResources_MigrateMongoDBCollectionToManualThroughput", + "operationId": "MongoDBResources_MigrateToManualThroughputMongoDBCollection", "x-ms-examples": { "CosmosDBMongoDBCollectionMigrateToManualThroughput": { "$ref": "./examples/CosmosDBMongoDBCollectionMigrateToManualThroughput.json" @@ -3292,6 +3334,12 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } @@ -3535,7 +3583,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default/migrateToAutoscale": { "post": { - "operationId": "TableResources_MigrateTableToAutoscale", + "operationId": "TableResources_MigrateToAutoscaleTable", "x-ms-examples": { "CosmosDBTableMigrateToAutoscale": { "$ref": "./examples/CosmosDBTableMigrateToAutoscale.json" @@ -3569,13 +3617,19 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default/migrateToManualThroughput": { "post": { - "operationId": "TableResources_MigrateTableToManualThroughput", + "operationId": "TableResources_MigrateToManualThroughputTable", "x-ms-examples": { "CosmosDBTableMigrateToManualThroughput": { "$ref": "./examples/CosmosDBTableMigrateToManualThroughput.json" @@ -3609,6 +3663,12 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } @@ -3852,7 +3912,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default/migrateToAutoscale": { "post": { - "operationId": "CassandraResources_MigrateCassandraKeyspaceToAutoscale", + "operationId": "CassandraResources_MigrateToAutoscaleCassandraKeyspace", "x-ms-examples": { "CosmosDBCassandraKeyspaceMigrateToAutoscale": { "$ref": "./examples/CosmosDBCassandraKeyspaceMigrateToAutoscale.json" @@ -3886,13 +3946,19 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default/migrateToManualThroughput": { "post": { - "operationId": "CassandraResources_MigrateCassandraKeyspaceToManualThroughput", + "operationId": "CassandraResources_MigrateToManualThroughputCassandraKeyspace", "x-ms-examples": { "CosmosDBCassandraKeyspaceMigrateToManualThroughput": { "$ref": "./examples/CosmosDBCassandraKeyspaceMigrateToManualThroughput.json" @@ -3926,6 +3992,12 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } @@ -4187,7 +4259,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default/migrateToAutoscale": { "post": { - "operationId": "CassandraResources_MigrateCassandraTableToAutoscale", + "operationId": "CassandraResources_MigrateToAutoscaleCassandraTable", "x-ms-examples": { "CosmosDBCassandraTableMigrateToAutoscale": { "$ref": "./examples/CosmosDBCassandraTableMigrateToAutoscale.json" @@ -4224,13 +4296,19 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default/migrateToManualThroughput": { "post": { - "operationId": "CassandraResources_MigrateCassandraTableToManualThroughput", + "operationId": "CassandraResources_MigrateToManualThroughputCassandraTable", "x-ms-examples": { "CosmosDBCassandraTableMigrateToManualThroughput": { "$ref": "./examples/CosmosDBCassandraTableMigrateToManualThroughput.json" @@ -4267,6 +4345,12 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } @@ -4510,7 +4594,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default/migrateToAutoscale": { "post": { - "operationId": "GremlinResources_MigrateGremlinDatabaseToAutoscale", + "operationId": "GremlinResources_MigrateToAutoscaleGremlinDatabase", "x-ms-examples": { "CosmosDBGremlinDatabaseMigrateToAutoscale": { "$ref": "./examples/CosmosDBGremlinDatabaseMigrateToAutoscale.json" @@ -4544,13 +4628,19 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default/migrateToManualThroughput": { "post": { - "operationId": "GremlinResources_MigrateGremlinDatabaseToManualThroughput", + "operationId": "GremlinResources_MigrateToManualThroughputGremlinDatabase", "x-ms-examples": { "CosmosDBGremlinDatabaseMigrateToManualThroughput": { "$ref": "./examples/CosmosDBGremlinDatabaseMigrateToManualThroughput.json" @@ -4584,6 +4674,12 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } @@ -4845,7 +4941,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default/migrateToAutoscale": { "post": { - "operationId": "GremlinResources_MigrateGremlinGraphToAutoscale", + "operationId": "GremlinResources_MigrateToAutoscaleGremlinGraph", "x-ms-examples": { "CosmosDBGremlinGraphMigrateToAutoscale": { "$ref": "./examples/CosmosDBGremlinGraphMigrateToAutoscale.json" @@ -4882,13 +4978,19 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default/migrateToManualThroughput": { "post": { - "operationId": "GremlinResources_MigrateGremlinGraphToManualThroughput", + "operationId": "GremlinResources_MigrateToManualThroughputGremlinGraph", "x-ms-examples": { "CosmosDBGremlinGraphMigrateToManualThroughput": { "$ref": "./examples/CosmosDBGremlinGraphMigrateToManualThroughput.json" @@ -4925,6 +5027,12 @@ "schema": { "$ref": "#/definitions/ThroughputSettingsGetResults" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } }