New-AzNetworkCloudIpAddressPoolObject
Create an in-memory object for IpAddressPool.
Syntax
Default (Default)
New-AzNetworkCloudIpAddressPoolObject
-Address <String[]>
-Name <String>
[-AutoAssign <BfdEnabled>]
[-OnlyUseHostIP <BfdEnabled>]
[<CommonParameters>]
Description
Create an in-memory object for IpAddressPool.
Examples
Example 1: Create an in-memory object for IpAddressPool.
New-AzNetworkCloudIpAddressPoolObject -Address @("198.51.102.0/24") -Name "pool1" -AutoAssign True -OnlyUseHostIP True
Address AutoAssign Name OnlyUseHostIP
------- ---------- ---- -------------
{198.51.102.0/24} True pool1 True
Create an in-memory object for IpAddressPool.
Parameters
-Address
The list of IP address ranges. Each range can be a either a subnet in CIDR format or an explicit start-end range of IP addresses. For a BGP service load balancer configuration, only CIDR format is supported and excludes /32 (IPv4) and /128 (IPv6) prefixes.
Parameter properties
Type: | String[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-AutoAssign
The indicator to determine if automatic allocation from the pool should occur.
Parameter properties
Type: | BfdEnabled |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Name
The name used to identify this IP address pool for association with a BGP advertisement.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-OnlyUseHostIP
The indicator to prevent the use of IP addresses ending with .0 and .255 for this pool. Enabling this option will only use IP addresses between .1 and .254 inclusive.
Parameter properties
Type: | BfdEnabled |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.