共用方式為


Get-AzOperationalInsightsTable

取得或列出工作區的數據表。

語法

Get-AzOperationalInsightsTable
   [-ResourceGroupName] <String>
   [-WorkspaceName] <String>
   [[-TableName] <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

未提供 「-TableName」 時,取得或列出工作區的數據表、列出工作區底下的數據表。

範例

範例 1:取得工作區的所有數據表

Get-AzOperationalInsightsTable -ResourceGroupName "ContosoResourceGroup" -WorkspaceName "ContosoWorkspace"

此命令會取得與工作區相關聯的所有數據表。

範例 2:依名稱取得特定數據表

Get-AzOperationalInsightsTable -ResourceGroupName "ContosoResourceGroup" -WorkspaceName "ContosoWorkspace" -tableName "ContosoSavedTableName"

此命令會依其名稱取得特定數據表。

參數

-DefaultProfile

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

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

-ResourceGroupName

資源組名。

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

-TableName

資料表名稱。

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

-WorkspaceName

包含數據表的工作區名稱。

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

輸入

String

輸出

PSTable