Delen via


Get-WAPackStaticIPAddressPool

Hiermee haalt u statische IP-adresgroepobjecten op.

Notitie

De cmdlets waarnaar in deze documentatie wordt verwezen, zijn bedoeld voor het beheren van verouderde Azure-resources die gebruikmaken van Service Management-API's. Zie de Az PowerShell-module voor cmdlets voor het beheren van Azure Resource Manager-resources.

Syntax

Get-WAPackStaticIPAddressPool
   -VMSubnet <VMSubnet>
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]
Get-WAPackStaticIPAddressPool
   -VMSubnet <VMSubnet>
   -Name <String>
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]

Description

Deze onderwerpen zijn afgeschaft en worden in de toekomst verwijderd. In dit onderwerp wordt de cmdlet in de versie 0.8.1 van de Microsoft Azure PowerShell-module beschreven. Als u wilt achterhalen welke versie van de module u gebruikt, typt (Get-Module -Name Azure).Versionu in de Azure PowerShell-console.

De cmdlet Get-WAPackStaticIPAddressPool haalt statische IP-adresgroepobjecten op.

Voorbeelden

Voorbeeld 1: Een statische IP-adresgroep ophalen uit een bepaald VMSubnet

PS C:\> $Subnet = Get-WAPackVMSubet -Name "ContosoVMSubnet01"
PS C:\> Get-WAPackStaticIPAddressPool -VMSubnet $Subnet -Name "ContosoStaticIPAddressPool01"

Met deze opdracht wordt de statische IP-adresgroep met de naam ContosoStaticIPAddressPool01 opgehaald van een opgegeven VMSubnet.

Voorbeeld 2: alle statische IP-adresgroepen ophalen uit een bepaald VMSubnet

PS C:\> $Subnet = Get-WAPackVMSubet -Name "ContosoVMSubnet01"
PS C:\> Get-WAPackStaticIPAddressPool -VMSubnet $Subnet

Met deze opdracht worden alle statische IP-adresgroepen opgehaald uit een opgegeven VMSubet.

Parameters

-Name

Hiermee geeft u de naam van een statische IP-adresgroep.

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

-Profile

Hiermee geeft u het Azure-profiel op waaruit deze cmdlet wordt gelezen. Als u geen profiel opgeeft, leest deze cmdlet uit het lokale standaardprofiel.

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

-VMSubnet

Hiermee geeft u het VMSubnet-object dat is gekoppeld aan de groep met vaste IP-adressen.

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