共用方式為


Get-AzCosmosDBMongoDBDatabaseThroughput

取得 MongoDB 資料庫的 CosmosDB 輸送量屬性。

語法

Get-AzCosmosDBMongoDBDatabaseThroughput
   -ResourceGroupName <String>
   -AccountName <String>
   -Name <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzCosmosDBMongoDBDatabaseThroughput
   -Name <String>
   -InputObject <PSDatabaseAccountGetResults>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Get-AzCosmosDBMongoDBDatabaseThroughput Cmdlet 會取得 MongoDB 資料庫的輸送量屬性。

範例

範例 1

Get-AzCosmosDBMongoDBDatabaseThroughput -ResourceGroupName "rgName" -AccountName "accountName" -Name "databaseName"

Name: {throughputName}
Id: {Id}
Throughput: {value} 
MinimumThroughput: {value}
OfferReplacePending: {value}

參數

-AccountName

Cosmos DB 資料庫帳戶的名稱。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-DefaultProfile

用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。

類型:IAzureContextContainer
別名:AzContext, AzureRmContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-InputObject

CosmosDB Account 物件

類型:PSDatabaseAccountGetResults
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-Name

資料庫名稱。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-ResourceGroupName

資源群組的名稱。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

輸入

None

輸出

PSThroughputSettingsGetResults