Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2520,6 +2520,12 @@
"202": {
"description": "The retrieve throughput distribution for SQL container operation will complete asynchronously."
},
"200": {
"description": "The retrieve throughput distribution for SQL container operation was completed successfully.",
"schema": {
"$ref": "#/definitions/PhysicalPartitionThroughputInfoResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -2575,6 +2581,12 @@
"202": {
"description": "The redistribution throughput for SQL container operation will complete asynchronously."
},
"200": {
"description": "The redistribution throughput for SQL container operation was completed successfully.",
"schema": {
"$ref": "#/definitions/PhysicalPartitionThroughputInfoResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -3461,7 +3473,7 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default/retrieveThroughputDistribution": {
"post": {
"operationId": "MongoDBResources_SqlContainerRetrieveThroughputDistribution",
"operationId": "MongoDBResources_MongoDBContainerRetrieveThroughputDistribution",
"x-ms-examples": {
"CosmosDBMongoDBCollectionRetrieveThroughputDistribution": {
"$ref": "./examples/CosmosDBMongoDBCollectionRetrieveThroughputDistribution.json"
Expand Down Expand Up @@ -3505,6 +3517,12 @@
"202": {
"description": "The retrieve throughput distribution for MongoDB container operation will complete asynchronously."
},
"200": {
"description": "The retrieve throughput distribution for MongoDB container operation was completed successfully.",
"schema": {
"$ref": "#/definitions/PhysicalPartitionThroughputInfoResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -3560,6 +3578,12 @@
"202": {
"description": "The redistribution throughput for MongoDB container operation will complete asynchronously."
},
"200": {
"description": "The redistribution throughput for MongoDB container operation was completed successfully.",
"schema": {
"$ref": "#/definitions/PhysicalPartitionThroughputInfoResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -8614,6 +8638,49 @@
"id"
]
},
"PhysicalPartitionThroughputInfoResult": {
"description": "An Azure Cosmos DB PhysicalPartitionThroughputInfoResult object.",
"type": "object",
"properties": {
"properties": {
"x-ms-client-flatten": true,
"description": "The properties of an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object",
"$ref": "#/definitions/PhysicalPartitionThroughputInfoResultProperties"
}
},
"allOf": [
{
"$ref": "#/definitions/ARMResourceProperties"
}
]
},
"PhysicalPartitionThroughputInfoResultProperties": {
"description": "The properties of an Azure Cosmos DB PhysicalPartitionThroughputInfoResult object",
"type": "object",
"properties": {
"resource": {
"description": "properties of physical partition throughput info",
"allOf": [
{
"$ref": "#/definitions/PhysicalPartitionThroughputInfoProperties"
}
]
}
}
},
"PhysicalPartitionThroughputInfoProperties": {
"description": "The properties of an Azure Cosmos DB PhysicalPartitionThroughputInfoProperties object",
"type": "object",
"properties": {
"physicalPartitionThroughputInfo": {
"type": "array",
"description": "Array of physical partition throughput info objects",
"items": {
"$ref": "#/definitions/PhysicalPartitionThroughputInfoResource"
}
}
}
},
"PhysicalPartitionThroughputInfoResource": {
"type": "object",
"description": "PhysicalPartitionThroughputInfo object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,32 @@
}
},
"responses": {
"200": {
"body": {
"properties": {
"resource": {
"physicalPartitionThroughputInfo": [
{
"id": "0",
"throughput": 5000
},
{
"id": "1",
"throughput": 5000
},
{
"id": "2",
"throughput": 5000
},
{
"id": "3",
"throughput": 3000
}
]
}
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,24 @@
}
},
"responses": {
"200": {
"body": {
"properties": {
"resource": {
"physicalPartitionThroughputInfo": [
{
"id": "0",
"throughput": 5000
},
{
"id": "1",
"throughput": 5000
}
]
}
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,32 @@
}
},
"responses": {
"200": {
"body": {
"properties": {
"resource": {
"physicalPartitionThroughputInfo": [
{
"id": "0",
"throughput": 5000
},
{
"id": "1",
"throughput": 5000
},
{
"id": "2",
"throughput": 5000
},
{
"id": "3",
"throughput": 3000
}
]
}
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,24 @@
}
},
"responses": {
"200": {
"body": {
"properties": {
"resource": {
"physicalPartitionThroughputInfo": [
{
"id": "0",
"throughput": 5000
},
{
"id": "1",
"throughput": 5000
}
]
}
}
}
},
"202": {}
}
}