Get-AzVpnSiteLinkConnectionIkeSa
Get IKE Security Associations of VPN Site Link Connections
Syntax
Get-AzVpnSiteLinkConnectionIkeSa
-ResourceGroupName <String>
-VpnGatewayName <String>
-VpnConnectionName <String>
-Name <String>
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzVpnSiteLinkConnectionIkeSa
-InputObject <PSVpnSiteLinkConnection>
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzVpnSiteLinkConnectionIkeSa
-ResourceId <String>
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzVpnSiteLinkConnectionIkeSa cmdlet returns the IKE Security Associations of your VPN Link Connection based on the VPN Site Link Connection Name, VPN Connection Name, VPN Gateway Name and Resource Group Name. If the Get-AzVpnSiteLinkConnectionIkeSa cmdlet is issued without specifying any of the aforementioned parameters, the output will not show the IKE Security Associations.
Examples
Example 1
Get-AzVpnSiteLinkConnectionIkeSa -ResourceGroupName test-rg -VpnGatewayName test-gateway -VpnConnectionName test-connection -ResourceName test-linkConnection
LocalEndpoint : 52.148.27.69
RemoteEndpoint : 13.78.223.113
InitiatorCookie : 10994953846917485010
ResponderCookie : 4652217515638795111
LocalUdpEncapsulationPort : 0
RemoteUdpEncapsulationPort : 0
Encryption : AES256
Integrity : SHA1
DhGroup : DHGroup2
LifeTimeSeconds : 28800
IsSaInitiator : True
ElapsedTimeInseconds : 21437
Quick Mode SA : 1 item(s)
Returns the IKE Security Associations for the VPN Site Link Connection with the name "test-linkConnection" within the resource group "test-rg"
Parameters
-AsJob
Run cmdlet in the background.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-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 Vpn site link connection object.
Type: | PSVpnSiteLinkConnection |
Aliases: | VpnSiteLinkConnection |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
The Vpn site link connection name.
Type: | String |
Aliases: | ResourceName, VpnSiteLinkConnectionName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
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 Vpn site link connection for which IKE Security Associations needs to be fetched.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-VpnConnectionName
The Vpn connection name.
Type: | String |
Aliases: | ParentName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VpnGatewayName
The Vpn gateway name.
Type: | String |
Aliases: | GrandParentName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Outputs
List<T>[[Microsoft.Azure.Commands.Network.Models.Cortex.PSVpnSiteLinkConnectionIkeSaMainModeSa, Microsoft.Azure.PowerShell.Cmdlets.Network, Version=4.5.0.0, Culture=neutral, PublicKeyToken=null]]