【发布时间】:2020-04-06 00:03:49
【问题描述】:
它没有给出正确的预置吞吐量值,它是 500,但显示为“0”
PS C:\windows\system32> Get-AzCosmosDBSqlContainerThroughput -ResourceGroupName $resourceGroupName -AccountName $accountName -DatabaseName $databaseName -Name $containerName | select throughput
Throughput
----------
0
完整输出:
PS C:\windows\system32> $container = Get-AzCosmosDBSqlContainerthroughput `
-ResourceGroupName $resourceGroupName `
-AccountName $accountName -DatabaseName $databaseName `
-Name $containerName
PS C:\windows\system32> $container
Name : ECvc
Id : /subscriptions/dxxxxx/resourceGroups/RG-01/providers/Microsoft.DocumentDB/databaseAccounts/xxxxx
01/sqlDatabases/xxxx/containers/cosmosscaleupordowntest/throughputSettings/default
Throughput : 0
MinimumThroughput :
OfferReplacePending :
【问题讨论】:
-
欢迎来到 Stack Overflow!目前还不清楚你在问什么。请查看stackoverflow.com/help/how-to-ask。
-
@stephenwade - 哪一部分不清楚? OP 希望使用 PowerShell 通过 Azure cmdlet 检索 Cosmos DB 容器的当前吞吐量设置,并看到返回的意外值。也许格式可以改进(我刚刚处理过)?
标签: azure azure-cosmosdb azure-powershell