Get-AzServiceFabricApplication
取得 Service Fabric 應用程式詳細數據。 僅支援 ARM 部署的應用程式。
語法
Get-AzServiceFabricApplication
[-ResourceGroupName] <String>
[-ClusterName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzServiceFabricApplication
[-ResourceGroupName] <String>
[-ClusterName] <String>
[-Name] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzServiceFabricApplication
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
此 Cmdlet 會取得指定資源群組和叢集中的應用程式詳細數據。
範例
範例 1
$resourceGroupName = "testRG"
$clusterName = "testCluster"
$appName = "testApp"
Get-AzServiceFabricApplication -ResourceGroupName $resourceGroupName -ClusterName $clusterName -Name $appName
此範例會取得應用程式 「testApp」 的應用程式資源詳細數據。
範例 2
$resourceGroupName = "testRG"
$clusterName = "testCluster"
Get-AzServiceFabricApplication -ResourceGroupName $resourceGroupName -ClusterName $clusterName
此範例會取得叢集 「testCluster」 下的應用程式清單。
參數
-ClusterName
指定叢集的名稱。
類型: | String |
Position: | 1 |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Name
指定應用程式的名稱。
類型: | String |
別名: | ApplicationName |
Position: | 2 |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-ResourceGroupName
指定資源群組的名稱。
類型: | String |
Position: | 0 |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-ResourceId
應用程式的 Arm ResourceId。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |