Get-AzServiceFabricManagedClusterApplicationType
取得 Service Fabric 受控應用程式類型詳細數據。 僅支援 ARM 部署的應用程式類型。
Syntax
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 |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
指定受控應用程式類型的名稱
類型: | String |
Aliases: | ApplicationTypeName |
Position: | 2 |
預設值: | None |
必要: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceGroupName
指定資源群組的名稱。
類型: | String |
Position: | 0 |
預設值: | None |
必要: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceId
受控應用程式類型的 Arm ResourceId。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
輸入
輸出
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應