Get-AzP2sVpnGatewayVpnProfile
產生並傳回 SAS URL,供客戶下載 Vpn 配置檔,以取得點對站用戶端設定的點對站連線至 P2SVpnGateway。
語法
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
驗證方法
類型: | String |
接受的值: | EAPTLS, EAPMSCHAPv2 |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-InputObject
要修改的 p2s vpn 閘道物件
類型: | PSP2SVpnGateway |
別名: | P2SVpnGateway |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-Name
資源名稱。
類型: | String |
別名: | ResourceName |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceGroupName
資源組名。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceId
要修改之 P2SVpnGateway 的 Azure 資源識別符。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
輸入
Microsoft.Azure.Commands.Network.Models.PSP2SVpnGateway