New-AzVpnSiteLink

Azure VpnSiteLink nesnesi oluşturur.

Syntax

New-AzVpnSiteLink
   -Name <String>
   -IPAddress <String>
   [-LinkProviderName <String>]
   [-LinkSpeedInMbps <UInt32>]
   [-BGPAsn <UInt32>]
   [-BGPPeeringAddress <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
New-AzVpnSiteLink
   -Name <String>
   -Fqdn <String>
   [-LinkProviderName <String>]
   [-LinkSpeedInMbps <UInt32>]
   [-BGPAsn <UInt32>]
   [-BGPPeeringAddress <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Azure VpnSiteLink nesnesi oluşturur.

Örnekler

Örnek 1

New-AzResourceGroup -Location "West US" -Name "testRG"
$virtualWan = New-AzVirtualWan -ResourceGroupName testRG -Name myVirtualWAN -Location "West US"
$vpnSiteAddressSpaces = New-Object string[] 2
$vpnSiteAddressSpaces[0] = "192.168.2.0/24"
$vpnSiteAddressSpaces[1] = "192.168.3.0/24"

$vpnSiteLink = New-AzVpnSiteLink -Name "testVpnSiteLink1" -IpAddress "15.25.35.45" -LinkProviderName "SomeTelecomProvider" -LinkSpeedInMbps "10"
$vpnSite = New-AzVpnSite -ResourceGroupName "testRG" -Name "testVpnSite" -Location "West US" -VirtualWan $virtualWan -AddressSpace $vpnSiteAddressSpaces -DeviceModel "SomeDevice" -DeviceVendor "SomeDeviceVendor" -VpnSiteLink @($vpnSiteLink)

Yukarıdakiler, Azure'da "testRG" kaynak grubunda Batı ABD'de 1 VpnSiteLinks ile Sanal WAN ve VpnSite adlı bir kaynak grubu oluşturur.

Örnek 2

Azure VpnSiteLink nesnesi oluşturur. (otomatik olarak oluşturulmuş)

New-AzVpnSiteLink -BGPAsn <UInt32> -BGPPeeringAddress <String> -IPAddress '15.25.35.45' -LinkProviderName 'SomeTelecomProvider' -LinkSpeedInMbps '10' -Name 'testVpnSiteLink1'

Parametreler

-BGPAsn

Bu VpnSiteLink için BGP ASN.

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

-BGPPeeringAddress

Bu VpnSiteLink için BGP Eşleme Adresi.

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

-DefaultProfile

Azure ile iletişim için kullanılan kimlik bilgileri, hesap, kiracı ve abonelik.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Fqdn

Sonraki Atlama Fqdn'i.

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

-IPAddress

Sonraki Atlama IpAddress.

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

-LinkProviderName

Bağlantı Sağlayıcısı Adı.

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

-LinkSpeedInMbps

Mb/sn cinsinden bağlantı hızı.

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

-Name

Veri Akışı Adı

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

Girişler

None

Çıkışlar

PSVpnSiteLink