Get-AzServiceFabricManagedCluster
取得受控叢集資源詳細數據。
語法
Get-AzServiceFabricManagedCluster
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzServiceFabricManagedCluster
[-ResourceGroupName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzServiceFabricManagedCluster
[-ResourceGroupName] <String>
[-Name] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
取得受控叢集資源詳細數據。
範例
範例 1
$rgName = "testRG"
$clusterName = "testCluster"
Get-AzServiceFabricManagedCluster -ResourceGroupName $rgName -Name $clusterName
取得叢集詳細數據。
範例 2
$rgName = "testRG"
Get-AzServiceFabricManagedCluster -ResourceGroupName $rgName
取得指定資源群組下叢集的清單。
範例 3
Get-AzServiceFabricManagedCluster
取得目前訂用帳戶底下的叢集清單。
參數
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Name
指定叢集的名稱。
類型: | String |
別名: | ClusterName |
Position: | 1 |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-ResourceGroupName
指定資源群組的名稱。
類型: | String |
Position: | 0 |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |