다음을 통해 공유


Get-AzServiceFabricManagedClusterApplication

Service Fabric 관리형 애플리케이션 세부 정보를 가져옵니다. ARM 배포 애플리케이션만 지원합니다.

Syntax

Get-AzServiceFabricManagedClusterApplication
   [-ResourceGroupName] <String>
   [-ClusterName] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzServiceFabricManagedClusterApplication
   [-ResourceGroupName] <String>
   [-ClusterName] <String>
   [-Name] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzServiceFabricManagedClusterApplication
   -ResourceId <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

이 cmdlet은 지정된 리소스 그룹 및 클러스터에서 관리되는 애플리케이션 세부 정보를 가져옵니다.

예제

예 1

$resourceGroupName = "testRG"
$clusterName = "testCluster"
$appName = "testApp"
Get-AzServiceFabricManagedClusterApplication -ResourceGroupName $resourceGroupName -ClusterName $clusterName -Name $appName

이 예제에서는 관리되는 애플리케이션 "testApp"에 대한 관리되는 애플리케이션 리소스 세부 정보를 가져옵니다.

예제 2

$resourceGroupName = "testRG"
$clusterName = "testCluster"
Get-AzServiceFabricManagedClusterApplication -ResourceGroupName $resourceGroupName -ClusterName $clusterName

이 예제에서는 클러스터 "testCluster"에서 관리되는 애플리케이션 목록을 가져옵니다.

예 3

$resourceId = "/subscriptions/13ad2c84-84fa-4798-ad71-e70c07af873f/resourcegroups/testRG/providers/Microsoft.ServiceFabric/managedClusters/testCluster/applications/testApp"
Get-AzServiceFabricManagedClusterApplication -ResourceId $resourceId

이 예제에서는 ARM 리소스 ID가 지정된 관리되는 애플리케이션 세부 정보를 가져옵니다. 리소스를 찾지 못하면 예외가 throw됩니다.

매개 변수

-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:ApplicationName
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

입력

String

출력

PSManagedApplication