Get-AzVirtualWanVpnServerConfigurationVpnProfile
在點對站用戶端設定 VirtualWan-VpnServerConfiguration 層級產生和下載 Vpn 配置檔。
語法
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
Get-AzVirtualWanVpnServerConfigurationVpnProfile Cmdlet 可讓您在點對站用戶端設定的 VirtualWan-VpnServerConfiguration 層級產生和下載 Vpn 配置檔。 這是從點對站用戶端到 Azure P2SVpnGateway 的點對站連線的必要專案。
範例
範例 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
上述命令會產生並傳回SAS URL,讓客戶在點對站用戶端設定 VirtualWan-VpnServerConfiguration 層級下載 Vpn 配置檔。
參數
-AuthenticationMethod
驗證方法
類型: | String |
接受的值: | EAPTLS, EAPMSCHAPv2 |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Name
資源名稱。
類型: | String |
別名: | ResourceName |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceGroupName
資源組名。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceId
虛擬 Wan 的 Azure 資源識別碼。
類型: | String |
別名: | VirtualWanId |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-VirtualWanObject
虛擬 wan 物件。
類型: | PSVirtualWan |
別名: | VirtualWan |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-VpnServerConfiguration
與此 VirtualWan 相關聯的 VpnServerConfiguration。
類型: | PSVpnServerConfiguration |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-VpnServerConfigurationId
此虛擬 wan 會與此虛擬 wan 相關聯的 Vpn 伺服器組態標識碼。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
輸入
Microsoft.Azure.Commands.Network.Models.PSVirtualWan Microsoft.Azure.Commands.Network.Models.PSVpnServerConfiguration