Get-WAPackStaticIPAddressPool
고정 IP 주소 풀 개체를 가져옵니다.
참고
이 설명서에서 참조하는 cmdlet은 Service Management API를 사용하는 레거시 Azure 리소스를 관리하기 위한 것입니다. Azure Resource Manager 리소스를 관리하는 cmdlet은 Az PowerShell 모듈을 참조하세요.
Syntax
Get-WAPackStaticIPAddressPool
-VMSubnet <VMSubnet>
[-Profile <AzureSMProfile>]
[<CommonParameters>]
Get-WAPackStaticIPAddressPool
-VMSubnet <VMSubnet>
-Name <String>
[-Profile <AzureSMProfile>]
[<CommonParameters>]
Description
이러한 항목은 더 이상 사용되지 않으며 나중에 제거될 예정입니다.
이 항목에서는 Microsoft Azure PowerShell 모듈의 0.8.1 버전에 있는 cmdlet에 대해 설명합니다.
사용 중인 모듈의 버전을 확인하려면 Azure PowerShell 콘솔에서 다음을 입력합니다 (Get-Module -Name Azure).Version
.
Get-WAPackStaticIPAddressPool cmdlet은 고정 IP 주소 풀 개체를 가져옵니다.
예제
예제 1: 지정된 VMSubnet에서 고정 IP 주소 풀 가져오기
PS C:\> $Subnet = Get-WAPackVMSubet -Name "ContosoVMSubnet01"
PS C:\> Get-WAPackStaticIPAddressPool -VMSubnet $Subnet -Name "ContosoStaticIPAddressPool01"
이 명령은 지정된 VMSubnet에서 ContosoStaticIPAddressPool01이라는 고정 IP 주소 풀을 가져옵니다.
예제 2: 지정된 VMSubnet에서 모든 고정 IP 주소 풀 가져오기
PS C:\> $Subnet = Get-WAPackVMSubet -Name "ContosoVMSubnet01"
PS C:\> Get-WAPackStaticIPAddressPool -VMSubnet $Subnet
이 명령은 지정된 VMSubet에서 모든 고정 IP 풀을 가져옵니다.
매개 변수
-Name
고정 IP 주소 풀의 이름을 지정합니다.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
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 |
-VMSubnet
고정 IP 주소 풀에 연결된 VMSubnet 개체를 지정합니다.
Type: | VMSubnet |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |