다음을 통해 공유


Get-AzureRmAppServicePlan

지정된 리소스 그룹의 Azure 앱 Service 계획을 가져옵니다.

Warning

AzureRM PowerShell 모듈은 2024년 2월 29일부터 공식적으로 사용되지 않습니다. 사용자는 지속적인 지원 및 업데이트를 보장하기 위해 AzureRM에서 Az PowerShell 모듈로 마이그레이션하는 것이 좋습니다.

AzureRM 모듈은 여전히 작동할 수 있지만 더 이상 기본 또는 지원되지 않으므로 사용자의 재량에 따라 계속 사용할 수 있습니다. Az 모듈로 전환하는 방법에 대한 지침은 마이그레이션 리소스를 참조하세요.

Syntax

Get-AzureRmAppServicePlan
   [[-ResourceGroupName] <String>]
   [[-Name] <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzureRmAppServicePlan
   [-Location] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Get-AzureRmAppServicePlan cmdlet은 지정된 리소스 그룹에서 Azure 앱 Service 계획을 가져옵니다.

예제

예제 1: 리소스 그룹에서 App Service 계획 가져오기

PS C:\>Get-AzureRmAppServicePlan -ResourceGroupName "Default-Web-WestUS" -Name "ContosoASP"

이 명령은 Default-Web-WestUS라는 리소스 그룹에 속하는 ContosoASP라는 App Service 계획을 가져옵니다.

예제 2: 위치에서 모든 App Service 계획 가져오기

PS C:\>Get-AzureRmAppServicePlan -Location "West US"

이 명령은 "미국 서부" 지역에 있는 모든 App Service 계획을 가져옵니다.

매개 변수

-DefaultProfile

Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.

형식:IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
기본값:None
필수:False
Accept pipeline input:False
Accept wildcard characters:False

-Location

위치

형식:String
Position:0
기본값:None
필수:True
Accept pipeline input:False
Accept wildcard characters:False

-Name

App Service 계획 이름

형식:String
Position:1
기본값:None
필수:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

리소스 그룹 이름

형식:String
Position:0
기본값:None
필수:False
Accept pipeline input:False
Accept wildcard characters:False

입력

None

출력

AppServicePlan