다음을 통해 공유


Get-WAPackVMSizeProfile

크기 프로필 개체를 가져옵니다.

참고

이 설명서에서 참조하는 cmdlet은 Service Management API를 사용하는 레거시 Azure 리소스를 관리하기 위한 것입니다. Azure Resource Manager 리소스를 관리하는 cmdlet은 Az PowerShell 모듈을 참조하세요.

Syntax

Get-WAPackVMSizeProfile
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]
Get-WAPackVMSizeProfile
   [-ID <Guid>]
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]
Get-WAPackVMSizeProfile
   [-Name <String>]
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]

Description

이러한 항목은 더 이상 사용되지 않으며 나중에 제거될 예정입니다. 이 항목에서는 Microsoft Azure PowerShell 모듈의 0.8.1 버전에 있는 cmdlet에 대해 설명합니다. 사용 중인 모듈의 버전을 확인하려면 Azure PowerShell 콘솔에서 다음을 입력합니다 (Get-Module -Name Azure).Version.

Get-WAPackVMSizeProfile cmdlet은 가상 머신에 대한 크기 프로필 개체를 가져옵니다.

예제

예제 1: 이름을 사용하여 크기 프로필 가져오기

PS C:\> Get-WAPackVMSizeProfile -Name "ContosoSizeProfile07"

이 명령은 ContosoSizeProfile07이라는 크기 프로필을 가져옵니다.

예제 2: ID를 사용하여 크기 프로필 가져오기

PS C:\> Get-WAPackVMSizeProfile -ID 66242D17-189F-480D-87CF-8E1D749998C8

이 명령은 지정된 ID를 포함하는 크기 프로필을 가져옵니다.

예제 3: 모든 크기 프로필 가져오기

PS C:\> Get-WAPackVMSizeProfile

이 명령은 모든 크기 프로필을 가져옵니다.

매개 변수

-ID

크기 프로필의 고유 ID를 지정합니다.

Type:Guid
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Name

크기 프로필의 이름을 지정합니다.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Profile

이 cmdlet이 읽는 Azure 프로필을 지정합니다. 프로필을 지정하지 않으면 이 cmdlet은 로컬 기본 프로필에서 읽습니다.

Type:AzureSMProfile
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False