New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject
Create an in-memory object for BgpServiceLoadBalancerConfiguration.
Syntax
Default (Default)
New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject
[-BgpAdvertisement <IBgpAdvertisement[]>]
[-BgpPeer <IServiceLoadBalancerBgpPeer[]>]
[-FabricPeeringEnabled <String>]
[-IPAddressPool <IIPAddressPool[]>]
[<CommonParameters>]
Description
Create an in-memory object for BgpServiceLoadBalancerConfiguration.
Examples
Example 1: Create an in-memory object for BgpServiceLoadBalancerConfiguration.
$ipAddressPools=New-AzNetworkCloudIpAddressPoolObject -Address @("198.51.102.0/24") -Name "pool1" -AutoAssign True -OnlyUseHostIP True
$serviceLoadBalancerBgpPeer=New-AzNetworkCloudServiceLoadBalancerBgpPeerObject -Name name -PeerAddress "203.0.113.254" -PeerAsn "64497" -BfdEnabled False -BgpMultiHop False -HoldTime "P300s" -KeepAliveTime "P300s" -MyAsn 64512 -Password REDACTED -PeerPort 1234
$bgpAdvertisement=New-AzNetworkCloudBgpAdvertisementObject -IPAddressPool @("pool1","pool2") -AdvertiseToFabric "True" -Community @("communityString") -Peer @("peer1")
$object=New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject -BgpAdvertisement @($bgpAdvertisement) -BgpPeer $serviceLoadBalancerBgpPeer -FabricPeeringEnabled True -IPAddressPool @($ipAddressPools)
Write-Host ($object | Format-List | Out-String)
Category : azure-resource-management
Endpoint : {{
"domainName": "domainName",
"port": 1234
}}
Create an in-memory object for BgpServiceLoadBalancerConfiguration.
Parameters
-BgpAdvertisement
The association of IP address pools to the communities and peers, allowing for announcement of IPs.
Parameter properties
| Type: | |
| 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 |
-BgpPeer
The list of additional BgpPeer entities that the Kubernetes cluster will peer with. All peering must be explicitly defined.
Parameter properties
| Type: | |
| 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 |
-FabricPeeringEnabled
The indicator to specify if the load balancer peers with the network fabric.
Parameter properties
| Type: | String |
| 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 |
-IPAddressPool
The list of pools of IP addresses that can be allocated to load balancer services.
Parameter properties
| Type: | |
| 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.