Get-AzServiceFabricManagedClusterApplicationType
取得 Service Fabric 受控應用程式類型詳細數據。 僅支援 ARM 部署的應用程式類型。
語法
Get-AzServiceFabricManagedClusterApplicationType
[-ResourceGroupName] <String>
[-ClusterName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzServiceFabricManagedClusterApplicationType
[-ResourceGroupName] <String>
[-ClusterName] <String>
[-Name] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzServiceFabricManagedClusterApplicationType
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
使用此 Cmdlet 取得指定資源群組和叢集中的受控應用程式類型詳細數據。
範例
範例 1
$resourceGroupName = "testRG"
$clusterName = "testCluster"
$appTypeName = "testAppType"
Get-AzServiceFabricManagedClusterApplicationType -ResourceGroupName $resourceGroupName -ClusterName $clusterName -Name $appTypeName
如果找不到資源,則會取得具有指定參數的 Managed 應用程式類型詳細數據。如果找不到資源,則會擲回例外狀況。
範例 2
$resourceGroupName = "testRG"
$clusterName = "testCluster"
Get-AzServiceFabricManagedClusterApplicationType -ResourceGroupName $resourceGroupName -ClusterName $clusterName
此範例會取得指定叢集下定義的受控應用程式類型清單。
範例 3
$resourceId = "/subscriptions/13ad2c84-84fa-4798-ad71-e70c07af873f/resourcegroups/testRG/providers/Microsoft.ServiceFabric/managedClusters/testCluster/applicationTypes/testAppType"
Get-AzServiceFabricManagedClusterApplicationType -ResourceId $resourceId
如果找不到資源,則會取得指定 ARM 資源識別碼的受控應用程式類型詳細數據。如果找不到資源,則會擲回例外狀況。
參數
-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 |