Get-AzOperationalInsightsCluster
取得或列出叢集
語法
Get-AzOperationalInsightsCluster
[-ResourceGroupName <String>]
[-ClusterName <String>]
[-ResourceId <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzOperationalInsightsCluster
-ResourceGroupName <String>
-ClusterName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzOperationalInsightsCluster
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
取得或列出叢集、未提供 「-ClusterName」 時列出資源群組下的叢集、未提供 “-ClusterName” 和 “ResourceGroupName” 時,列出訂用帳戶下的叢集。
範例
範例 1
Get-AzOperationalInsightsCluster -ResourceGroupName "rg-name" -ClusterName "cluster-name"
Identity : Microsoft.Azure.Commands.OperationalInsights.Models.PSIdentity
Sku : Microsoft.Azure.Commands.OperationalInsights.Models.PSClusterSku
ClusterId : {cluster-id}
ProvisioningState : Succeeded
IsDoubleEncryptionEnabled : True
IsAvailabilityZonesEnabled : False
BillingType : Cluster
KeyVaultProperties : Microsoft.Azure.Commands.OperationalInsights.Models.PSKeyVaultProperties
LastModifiedDate : Wed, 26 May 2021 15:19:38 GMT
CreatedDate : Sun, 27 Dec 2020 11:17:11 GMT
AssociatedWorkspaces : {workspaces}
CapacityReservationProperties : Microsoft.Azure.Management.OperationalInsights.Models.CapacityReservationProperties
Location : South Central US
Id : /subscriptions/{subscription}/resourceGroups/{rg-name}/providers/Microsoft.OperationalInsights/clusters/{cluster-name}
Name : {cluster-name}
Type : Microsoft.OperationalInsights/clusters
Tags : {}
取得叢集
參數
-ClusterName
叢集名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceGroupName
資源組名。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceId
目的地資源標識碼。 這可以從 Azure 中目的地資源的 [屬性] 項目複製。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |