New-AzVpnSiteLink

Azure VpnSiteLink 개체를 만듭니다.

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 개체를 만듭니다.

예제

예 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)

위에서는 Azure의 "testRG" 리소스 그룹에 미국 서부에 1개의 VpnSiteLinks가 있는 리소스 그룹, Virtual WAN 및 VpnSite를 만듭니다.

예제 2

Azure VpnSiteLink 개체를 만듭니다. (자동 생성됨)

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

매개 변수

-BGPAsn

이 VpnSiteLink에 대한 BGP ASN입니다.

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

-BGPPeeringAddress

이 VpnSiteLink의 BGP 피어링 주소입니다.

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

-DefaultProfile

Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.

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

-Fqdn

다음 홉 Fqdn입니다.

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

-IPAddress

다음 홉 IpAddress입니다.

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

-LinkProviderName

링크 공급자 이름입니다.

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

-LinkSpeedInMbps

링크 속도(Mbps)입니다.

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

-Name

속성

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

입력

None

출력

PSVpnSiteLink