Get-AzP2sVpnGatewayDetailedConnectionHealth
Gets the detailed information of current point to site connections from P2SVpnGateway.
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.
Please note that the SAS url provided should be one for the blob (file) that has been created in the storage account and not the container. Please use the New-AzStorageBlobSASToken Powershell command and not the New-AzStorageContainerSASToken. You will also need to allow read and write permissions on your SaSURl.
Examples
Example 1
$blobSasUrl = New-AzStorageBlobSASToken -Container contp2stesting -Blob emptyfile.txt -Context $context -Permission "rwd" -StartTime $now.AddHours(-1) -ExpiryTime $now.AddDays(1) -FullUri
$blobSasUrl
SignedSasUrl
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
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
The p2s vpn gateway object to be modified
Type: | PSP2SVpnGateway |
Aliases: | P2SVpnGateway |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
The resource name.
Type: | String |
Aliases: | ResourceName |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-OutputBlobSasUrl
OutputBlob Sas url to which the p2s vpn connection health will be written.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceGroupName
The resource group name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceId
The Azure resource ID of the P2SVpnGateway to be modified.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-VpnUserNamesFilter
The list of P2S vpn user names to filter.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Microsoft.Azure.Commands.Network.Models.PSP2SVpnGateway
Outputs
Azure PowerShell
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기