Get-AzP2sVpnGatewayVpnProfile
產生並傳回 SAS URL,供客戶下載 Vpn 配置檔,以取得點對站用戶端設定的點對站連線至 P2SVpnGateway。
Syntax
Get-AzP2sVpnGatewayVpnProfile
[-Name <String>]
-ResourceGroupName <String>
[-AuthenticationMethod <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzP2sVpnGatewayVpnProfile
-InputObject <PSP2SVpnGateway>
[-AuthenticationMethod <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzP2sVpnGatewayVpnProfile
-ResourceId <String>
[-AuthenticationMethod <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzP2sVpnGatewayVpnProfile Cmdlet 可讓您產生並取得 SAS URL,讓客戶下載 Vpn 配置檔,以取得點對站用戶端設定的點對站連線,以取得 P2SVpnGateway 的點對站連線。 使用此 Vpn 設定檔的點對站用戶端設定只能連線到此特定的 P2SVpnGateway。
範例
範例 1
Get-AzP2sVpnGatewayVpnProfile -Name 683482ade8564515aed4b8448c9757ea-westus-gw -ResourceGroupName P2SCortexGATesting -AuthenticationMethod EAPTLS
ProfileUrl : https://nfvprodsuppby.blob.core.windows.net/vpnprofileimmutable/8cf00031-37ec-4949-b74a-48f9021bf4c0/vpnprofile/2f132439-1051-44c6-9128-b704c1c48cf7/vpnclientconfiguration.zip?sv=2017-04-17&sr=b&sig=HmBSprVrs
6hDY3x1HX958nimOjavnEjL2rlSuKIIW8Q%3D&st=2019-10-25T19%3A20%3A04Z&se=2019-10-25T20%3A20%3A04Z&sp=r&fileExtension=.zip
Get-AzP2sVpnGatewayVpnProfile Cmdlet 可讓您產生並取得 SAS URL,讓客戶下載 Vpn 配置檔,以取得點對站用戶端設定的點對站連線,以取得 P2SVpnGateway 的點對站連線。 ProfileUrl 會顯示客戶可從中下載 Vpn 配置檔的 SAS URL,以供點對站用戶端設定使用。
參數
-AuthenticationMethod
驗證方法
Type: | String |
Accepted values: | EAPTLS, EAPMSCHAPv2 |
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 |
-InputObject
要修改的 p2s vpn 閘道物件
Type: | PSP2SVpnGateway |
Aliases: | P2SVpnGateway |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
資源名稱。
Type: | String |
Aliases: | ResourceName |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
資源組名。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceId
要修改之 P2SVpnGateway 的 Azure 資源識別符。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
輸入
Microsoft.Azure.Commands.Network.Models.PSP2SVpnGateway
輸出
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應