Skip to content

Commit

Permalink
add default response
Browse files Browse the repository at this point in the history
  • Loading branch information
ravgill committed Jun 26, 2020
1 parent 69eff2a commit 18d8799
Show file tree
Hide file tree
Showing 2 changed files with 252 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -1759,6 +1765,12 @@
"schema": {
"$ref": "#/definitions/ThroughputSettingsGetResults"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -2100,6 +2118,12 @@
"schema": {
"$ref": "#/definitions/ThroughputSettingsGetResults"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -2951,6 +2981,12 @@
"schema": {
"$ref": "#/definitions/ThroughputSettingsGetResults"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -3292,6 +3334,12 @@
"schema": {
"$ref": "#/definitions/ThroughputSettingsGetResults"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -3609,6 +3663,12 @@
"schema": {
"$ref": "#/definitions/ThroughputSettingsGetResults"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -3926,6 +3992,12 @@
"schema": {
"$ref": "#/definitions/ThroughputSettingsGetResults"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -4267,6 +4345,12 @@
"schema": {
"$ref": "#/definitions/ThroughputSettingsGetResults"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -4925,6 +5027,12 @@
"schema": {
"$ref": "#/definitions/ThroughputSettingsGetResults"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down
Loading

0 comments on commit 18d8799

Please sign in to comment.