Compartir a través de


New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject

Create an in-memory object for BgpServiceLoadBalancerConfiguration.

Sintaxis

Default (Es el valor predeterminado).

New-AzNetworkCloudBgpServiceLoadBalancerConfigurationObject
    [-BgpAdvertisement <IBgpAdvertisement[]>]
    [-BgpPeer <IServiceLoadBalancerBgpPeer[]>]
    [-FabricPeeringEnabled <FabricPeeringEnabled>]
    [-IPAddressPool <IIPAddressPool[]>]
    [<CommonParameters>]

Description

Create an in-memory object for BgpServiceLoadBalancerConfiguration.

Ejemplos

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 password -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.

Parámetros

-BgpAdvertisement

The association of IP address pools to the communities and peers, allowing for announcement of IPs. To construct, see NOTES section for BGPADVERTISEMENT properties and create a hash table.

Propiedades del parámetro

Tipo:

IBgpAdvertisement[]

Valor predeterminado:None
Admite caracteres comodín:False
DontShow:False

Conjuntos de parámetros

(All)
Posición:Named
Mandatory:False
Valor de la canalización:False
Valor de la canalización por nombre de propiedad:False
Valor de los argumentos restantes:False

-BgpPeer

The list of additional BgpPeer entities that the Kubernetes cluster will peer with. All peering must be explicitly defined. To construct, see NOTES section for BGPPEER properties and create a hash table.

Propiedades del parámetro

Tipo:

IServiceLoadBalancerBgpPeer[]

Valor predeterminado:None
Admite caracteres comodín:False
DontShow:False

Conjuntos de parámetros

(All)
Posición:Named
Mandatory:False
Valor de la canalización:False
Valor de la canalización por nombre de propiedad:False
Valor de los argumentos restantes:False

-FabricPeeringEnabled

The indicator to specify if the load balancer peers with the network fabric.

Propiedades del parámetro

Tipo:FabricPeeringEnabled
Valor predeterminado:None
Admite caracteres comodín:False
DontShow:False

Conjuntos de parámetros

(All)
Posición:Named
Mandatory:False
Valor de la canalización:False
Valor de la canalización por nombre de propiedad:False
Valor de los argumentos restantes:False

-IPAddressPool

The list of pools of IP addresses that can be allocated to Load Balancer services. To construct, see NOTES section for IPADDRESSPOOL properties and create a hash table.

Propiedades del parámetro

Tipo:

IIPAddressPool[]

Valor predeterminado:None
Admite caracteres comodín:False
DontShow:False

Conjuntos de parámetros

(All)
Posición:Named
Mandatory:False
Valor de la canalización:False
Valor de la canalización por nombre de propiedad:False
Valor de los argumentos restantes: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.

Salidas

BgpServiceLoadBalancerConfiguration