New-AzVpnSiteLink

Azure VpnSiteLink オブジェクトを作成します。

構文

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>]

説明

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