Remove-WAPackStaticIPAddressPool
고정 IP 주소 풀 개체를 제거합니다.
참고
이 설명서에서 참조하는 cmdlet은 Service Management API를 사용하는 레거시 Azure 리소스를 관리하기 위한 것입니다. Azure Resource Manager 리소스를 관리하는 cmdlet은 Az PowerShell 모듈을 참조하세요.
Syntax
Remove-WAPackStaticIPAddressPool
-StaticIPAddressPool <StaticIPAddressPool>
[-PassThru]
[-Force]
[-Profile <AzureSMProfile>]
[<CommonParameters>]
Description
이러한 항목은 더 이상 사용되지 않으며 나중에 제거될 예정입니다.
이 항목에서는 Microsoft Azure PowerShell 모듈의 0.8.1 버전에 있는 cmdlet에 대해 설명합니다.
사용 중인 모듈의 버전을 확인하려면 Azure PowerShell 콘솔에서 다음을 입력합니다 (Get-Module -Name Azure).Version
.
Remove-WAPackStaticIPAddressPool cmdlet은 고정 IP 주소 풀 개체를 제거합니다.
예제
예제 1: 고정 IP 주소 풀 제거
PS C:\> $StaticIPAddressPool = Get-WAPackStaticIPAddressPool -Name "ContosoStaticIPAddressPool01"
PS C:\> Remove-WAPackStaticIPAddressPool -StaticIPAddressPool $StaticIPAddressPool
첫 번째 명령은 Get-WAPackStaticIPAddressPool cmdlet을 사용하여 ContosoStaticIPAddressPool01이라는 고정 IP 주소 풀을 가져오고 해당 개체를 $StaticIPAddressPool 변수에 저장합니다.
두 번째 명령은 $StaticIPAddressPool 저장된 고정 IP 주소 풀을 제거합니다. 이 명령은 확인 메시지를 표시합니다.
예제 2: 확인 없이 고정 IP 주소 풀 제거
PS C:\> $StaticIPAddressPool = Get-WAPackStaticIPAddressPool -Name "ContosoStaticIPAddressPool02"
PS C:\> Remove-WAPackStaticIPAddressPool -StaticIPAddressPool $StaticIPAddressPool -Force
첫 번째 명령은 Get-WAPackStaticIPAddressPool cmdlet을 사용하여 ContosoStaticIPAddressPool02라는 고정 IP 주소 풀을 가져오고 해당 개체를 $ StaticIPAddressPool 변수에 저장합니다.
두 번째 명령은 $StaticIPAddressPool 저장된 고정 IP 주소 풀을 제거합니다. 이 명령에는 Force 매개 변수가 포함됩니다. 이 명령은 확인 메시지를 표시하지 않습니다.
매개 변수
-Force
사용자 확인을 요청하지 않고 명령을 강제 실행합니다.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PassThru
작업 중인 항목을 나타내는 개체를 반환합니다. 기본적으로 이 cmdlet은 출력을 생성하지 않습니다.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
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 |
-StaticIPAddressPool
StaticIPAddressPool을 지정합니다. 고정 IP 주소 풀을 가져오려면 Get-WAPackStaticIPAddressPool cmdlet을 사용합니다.
Type: | StaticIPAddressPool |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |