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