Skip to content

Commit

Permalink
Revert "add default response"
Browse files Browse the repository at this point in the history
This reverts commit 18d8799.
  • Loading branch information
Meha Kaushik committed Jul 29, 2020
1 parent 7814490 commit a911044
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 252 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_MigrateToAutoscaleSqlDatabase",
"operationId": "SqlResources_MigrateSqlDatabaseToAutoscale",
"x-ms-examples": {
"CosmosDBSqlDatabaseMigrateToAutoscale": {
"$ref": "./examples/CosmosDBSqlDatabaseMigrateToAutoscale.json"
Expand Down Expand Up @@ -1719,19 +1719,13 @@
"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_MigrateToManualThroughputSqlDatabase",
"operationId": "SqlResources_MigrateSqlDatabaseToManualThroughput",
"x-ms-examples": {
"CosmosDBSqlDatabaseMigrateToManualThroughput": {
"$ref": "./examples/CosmosDBSqlDatabaseMigrateToManualThroughput.json"
Expand Down Expand Up @@ -1765,12 +1759,6 @@
"schema": {
"$ref": "#/definitions/ThroughputSettingsGetResults"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down Expand Up @@ -2032,7 +2020,7 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default/migrateToAutoscale": {
"post": {
"operationId": "SqlResources_MigrateToAutoscaleSqlContainer",
"operationId": "SqlResources_MigrateSqlContainerToAutoscale",
"x-ms-examples": {
"CosmosDBSqlContainerMigrateToAutoscale": {
"$ref": "./examples/CosmosDBSqlContainerMigrateToAutoscale.json"
Expand Down Expand Up @@ -2069,19 +2057,13 @@
"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_MigrateToManualThroughputSqlContainer",
"operationId": "SqlResources_MigrateSqlContainerToManualThroughput",
"x-ms-examples": {
"CosmosDBSqlContainerMigrateToManualThroughput": {
"$ref": "./examples/CosmosDBSqlContainerMigrateToManualThroughput.json"
Expand Down Expand Up @@ -2118,12 +2100,6 @@
"schema": {
"$ref": "#/definitions/ThroughputSettingsGetResults"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down Expand Up @@ -2901,7 +2877,7 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default/migrateToAutoscale": {
"post": {
"operationId": "MongoDBResources_MigrateToAutoscaleMongoDBDatabase",
"operationId": "MongoDBResources_MigrateMongoDBDatabaseToAutoscale",
"x-ms-examples": {
"CosmosDBMongoDBDatabaseMigrateToAutoscale": {
"$ref": "./examples/CosmosDBMongoDBDatabaseMigrateToAutoscale.json"
Expand Down Expand Up @@ -2935,19 +2911,13 @@
"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_MigrateToManualThroughputMongoDBDatabase",
"operationId": "MongoDBResources_MigrateMongoDBDatabaseToManualThroughput",
"x-ms-examples": {
"CosmosDBMongoDBDatabaseMigrateToManualThroughput": {
"$ref": "./examples/CosmosDBMongoDBDatabaseMigrateToManualThroughput.json"
Expand Down Expand Up @@ -2981,12 +2951,6 @@
"schema": {
"$ref": "#/definitions/ThroughputSettingsGetResults"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down Expand Up @@ -3248,7 +3212,7 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default/migrateToAutoscale": {
"post": {
"operationId": "MongoDBResources_MigrateToAutoscaleMongoDBCollection",
"operationId": "MongoDBResources_MigrateMongoDBCollectionToAutoscale",
"x-ms-examples": {
"CosmosDBMongoDBCollectionMigrateToAutoscale": {
"$ref": "./examples/CosmosDBMongoDBCollectionMigrateToAutoscale.json"
Expand Down Expand Up @@ -3285,19 +3249,13 @@
"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_MigrateToManualThroughputMongoDBCollection",
"operationId": "MongoDBResources_MigrateMongoDBCollectionToManualThroughput",
"x-ms-examples": {
"CosmosDBMongoDBCollectionMigrateToManualThroughput": {
"$ref": "./examples/CosmosDBMongoDBCollectionMigrateToManualThroughput.json"
Expand Down Expand Up @@ -3334,12 +3292,6 @@
"schema": {
"$ref": "#/definitions/ThroughputSettingsGetResults"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down Expand Up @@ -3583,7 +3535,7 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default/migrateToAutoscale": {
"post": {
"operationId": "TableResources_MigrateToAutoscaleTable",
"operationId": "TableResources_MigrateTableToAutoscale",
"x-ms-examples": {
"CosmosDBTableMigrateToAutoscale": {
"$ref": "./examples/CosmosDBTableMigrateToAutoscale.json"
Expand Down Expand Up @@ -3617,19 +3569,13 @@
"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_MigrateToManualThroughputTable",
"operationId": "TableResources_MigrateTableToManualThroughput",
"x-ms-examples": {
"CosmosDBTableMigrateToManualThroughput": {
"$ref": "./examples/CosmosDBTableMigrateToManualThroughput.json"
Expand Down Expand Up @@ -3663,12 +3609,6 @@
"schema": {
"$ref": "#/definitions/ThroughputSettingsGetResults"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down Expand Up @@ -3912,7 +3852,7 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default/migrateToAutoscale": {
"post": {
"operationId": "CassandraResources_MigrateToAutoscaleCassandraKeyspace",
"operationId": "CassandraResources_MigrateCassandraKeyspaceToAutoscale",
"x-ms-examples": {
"CosmosDBCassandraKeyspaceMigrateToAutoscale": {
"$ref": "./examples/CosmosDBCassandraKeyspaceMigrateToAutoscale.json"
Expand Down Expand Up @@ -3946,19 +3886,13 @@
"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_MigrateToManualThroughputCassandraKeyspace",
"operationId": "CassandraResources_MigrateCassandraKeyspaceToManualThroughput",
"x-ms-examples": {
"CosmosDBCassandraKeyspaceMigrateToManualThroughput": {
"$ref": "./examples/CosmosDBCassandraKeyspaceMigrateToManualThroughput.json"
Expand Down Expand Up @@ -3992,12 +3926,6 @@
"schema": {
"$ref": "#/definitions/ThroughputSettingsGetResults"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down Expand Up @@ -4259,7 +4187,7 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default/migrateToAutoscale": {
"post": {
"operationId": "CassandraResources_MigrateToAutoscaleCassandraTable",
"operationId": "CassandraResources_MigrateCassandraTableToAutoscale",
"x-ms-examples": {
"CosmosDBCassandraTableMigrateToAutoscale": {
"$ref": "./examples/CosmosDBCassandraTableMigrateToAutoscale.json"
Expand Down Expand Up @@ -4296,19 +4224,13 @@
"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_MigrateToManualThroughputCassandraTable",
"operationId": "CassandraResources_MigrateCassandraTableToManualThroughput",
"x-ms-examples": {
"CosmosDBCassandraTableMigrateToManualThroughput": {
"$ref": "./examples/CosmosDBCassandraTableMigrateToManualThroughput.json"
Expand Down Expand Up @@ -4345,12 +4267,6 @@
"schema": {
"$ref": "#/definitions/ThroughputSettingsGetResults"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down Expand Up @@ -4588,19 +4504,13 @@
"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_MigrateToAutoscaleGremlinDatabase",
"operationId": "GremlinResources_MigrateGremlinDatabaseToAutoscale",
"x-ms-examples": {
"CosmosDBGremlinDatabaseMigrateToAutoscale": {
"$ref": "./examples/CosmosDBGremlinDatabaseMigrateToAutoscale.json"
Expand Down Expand Up @@ -4634,19 +4544,13 @@
"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_MigrateToManualThroughputGremlinDatabase",
"operationId": "GremlinResources_MigrateGremlinDatabaseToManualThroughput",
"x-ms-examples": {
"CosmosDBGremlinDatabaseMigrateToManualThroughput": {
"$ref": "./examples/CosmosDBGremlinDatabaseMigrateToManualThroughput.json"
Expand Down Expand Up @@ -4941,7 +4845,7 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default/migrateToAutoscale": {
"post": {
"operationId": "GremlinResources_MigrateToAutoscaleGremlinGraph",
"operationId": "GremlinResources_MigrateGremlinGraphToAutoscale",
"x-ms-examples": {
"CosmosDBGremlinGraphMigrateToAutoscale": {
"$ref": "./examples/CosmosDBGremlinGraphMigrateToAutoscale.json"
Expand Down Expand Up @@ -4978,19 +4882,13 @@
"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_MigrateToManualThroughputGremlinGraph",
"operationId": "GremlinResources_MigrateGremlinGraphToManualThroughput",
"x-ms-examples": {
"CosmosDBGremlinGraphMigrateToManualThroughput": {
"$ref": "./examples/CosmosDBGremlinGraphMigrateToManualThroughput.json"
Expand Down Expand Up @@ -5027,12 +4925,6 @@
"schema": {
"$ref": "#/definitions/ThroughputSettingsGetResults"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down
Loading

0 comments on commit a911044

Please sign in to comment.