Get-AzP2sVpnGatewayDetailedConnectionHealth
Gets the detailed information of current point to site connections from P2SVpnGateway.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
Syntax
Get-AzP2sVpnGatewayDetailedConnectionHealth
[-Name <String>]
-ResourceGroupName <String>
-OutputBlobSasUrl <String>
[-VpnUserNamesFilter <String[]>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzP2sVpnGatewayDetailedConnectionHealth
-InputObject <PSP2SVpnGateway>
-OutputBlobSasUrl <String>
[-VpnUserNamesFilter <String[]>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzP2sVpnGatewayDetailedConnectionHealth
-ResourceId <String>
-OutputBlobSasUrl <String>
[-VpnUserNamesFilter <String[]>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzP2sVpnGatewayDetailedConnectionHealth cmdlet enables you to get the detailed information of current point to site connections from P2SVpnGateway. Customer needs to pass SAS url where we can put this detailed health information.
Examples
Example 1
PS C:\> $blobSasUrl = New-AzStorageBlobSASToken -Container contp2stesting -Blob emptyfile.txt -Context $context -Permission "rwd" -StartTime $now.AddHours(-1) -ExpiryTime $now.AddDays(1) -FullUri
PS C:\> $blobSasUrl
SignedSasUrl
PS C:\> Get-AzP2sVpnGatewayDetailedConnectionHealth -Name 683482ade8564515aed4b8448c9757ea-westus-gw -ResourceGroupName P2SCortexGATesting -OutputBlobSasUrl $blobSasUrl
SasUrl : SignedSasUrl
The Get-AzP2sVpnGatewayDetailedConnectionHealth cmdlet enables you to get the detailed information of current point to site connections from P2SVpnGateway. Customer can download health details from passed SAS url download. This will show information of each point to site connection with usernames, bytes in, bytes out, allocated ip address etc.
Parameters
The credentials, account, tenant, and subscription used for communication with Azure.
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The p2s vpn gateway object to be modified
| Type: | PSP2SVpnGateway |
| Aliases: | P2SVpnGateway |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
The resource name.
| Type: | String |
| Aliases: | ResourceName |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
OutputBlob Sas url to which the p2s vpn connection health will be written.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
The resource group name.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The Azure resource ID of the P2SVpnGateway to be modified.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
The list of P2S vpn user names to filter.
| Type: | String[] |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Inputs
Microsoft.Azure.Commands.Network.Models.PSP2SVpnGateway