Get-AzP2sVpnGatewayVpnProfile
Genererar och returnerar en SAS-URL för kunden att ladda ned Vpn-profil för punkt-till-plats-klientkonfiguration för att ha punkt-till-plats-anslutning till 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
Med cmdleten Get-AzP2sVpnGatewayVpnProfile kan du generera och hämta en SAS-URL för kunden för att ladda ned VPN-profil för punkt-till-plats-klientkonfiguration så att punkt-till-plats-anslutning till P2SVpnGateway visas. Punkt-till-plats-klientkonfiguration med den här VPN-profilen kan endast ansluta till den här specifika P2SVpnGateway.
Exempel
Exempel 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
Med cmdleten Get-AzP2sVpnGatewayVpnProfile kan du generera och hämta en SAS-URL för kunden för att ladda ned VPN-profil för punkt-till-plats-klientkonfiguration så att punkt-till-plats-anslutning till P2SVpnGateway visas. ProfileUrl visar SAS-URL:en där kunden kan ladda ned Vpn-profilen för plats-till-plats-klientkonfiguration.
Parametrar
-AuthenticationMethod
Autentiseringsmetod
Type: | String |
Accepted values: | EAPTLS, EAPMSCHAPv2 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
Autentiseringsuppgifter, konto, klientorganisation och prenumeration som används för kommunikation med 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 gateway-objektet som ska ändras
Type: | PSP2SVpnGateway |
Aliases: | P2SVpnGateway |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Resursnamnet.
Type: | String |
Aliases: | ResourceName |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
Resursgruppens namn.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceId
Azure-resurs-ID för P2SVpnGateway som ska ändras.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Indata
Microsoft.Azure.Commands.Network.Models.PSP2SVpnGateway
Utdata
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för