編輯

共用方式為


Get-AzVirtualWanVpnServerConfigurationVpnProfile

Generates and downloads Vpn profile at VirtualWan-VpnServerConfiguration level for Point to site client setup.

Syntax

Get-AzVirtualWanVpnServerConfigurationVpnProfile
   [-Name <String>]
   -ResourceGroupName <String>
   -VpnServerConfiguration <PSVpnServerConfiguration>
   [-AuthenticationMethod <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzVirtualWanVpnServerConfigurationVpnProfile
   [-Name <String>]
   -ResourceGroupName <String>
   -VpnServerConfigurationId <String>
   [-AuthenticationMethod <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzVirtualWanVpnServerConfigurationVpnProfile
   -VirtualWanObject <PSVirtualWan>
   -VpnServerConfiguration <PSVpnServerConfiguration>
   [-AuthenticationMethod <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzVirtualWanVpnServerConfigurationVpnProfile
   -VirtualWanObject <PSVirtualWan>
   -VpnServerConfigurationId <String>
   [-AuthenticationMethod <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzVirtualWanVpnServerConfigurationVpnProfile
   -ResourceId <String>
   -VpnServerConfiguration <PSVpnServerConfiguration>
   [-AuthenticationMethod <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzVirtualWanVpnServerConfigurationVpnProfile
   -ResourceId <String>
   -VpnServerConfigurationId <String>
   [-AuthenticationMethod <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzVirtualWanVpnServerConfigurationVpnProfile cmdlet enables you to generate and download the Vpn profile at VirtualWan-VpnServerConfiguration level for Point to site client setup. This is required for Point to site connectivity from Point to site client to Azure P2SVpnGateway.

Examples

Example 1

Get-AzVirtualWanVpnServerConfigurationVpnProfile -Name WestUsVirtualWan -ResourceGroupName P2SCortexGATesting -VpnServerConfiguration $vpnServerConfig -AuthenticationMethod EAPTLS

ProfileUrl : https://nfvprodsuppby.blob.core.windows.net/vpnprofileimmutable/aa316f33-d0f6-4e61-994a-9aa24c0e5f70/vpnprofile/eb99aa3d-1106-49eb-9644-791c045c5cca/vpnclientconfiguration.zip?sv=2017-04-17&sr=b&sig=kZinevNqW
             qsEAbWAcYiKfUHFxZzh2hwvtb49dfVtUDA%3D&st=2019-10-25T19%3A52%3A36Z&se=2019-10-25T20%3A52%3A36Z&sp=r&fileExtension=.zip

The above command will generate and returns SAS Url for customer to download the Vpn profile at VirtualWan-VpnServerConfiguration level for Point to site client setup.

Parameters

-AuthenticationMethod

Authentication Method

Type:String
Accepted values:EAPTLS, EAPMSCHAPv2
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

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

-Name

The resource name.

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

-ResourceGroupName

The resource group name.

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

-ResourceId

The Azure resource ID for the virtual wan.

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

-VirtualWanObject

The virtual wan object.

Type:PSVirtualWan
Aliases:VirtualWan
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-VpnServerConfiguration

The VpnServerConfiguration with which this VirtualWan is associated.

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

-VpnServerConfigurationId

The id of Vpn server configuraiton object this Virtual wan will be associated with.

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

Inputs

String

Microsoft.Azure.Commands.Network.Models.PSVirtualWan Microsoft.Azure.Commands.Network.Models.PSVpnServerConfiguration

Outputs

PSVpnProfileResponse