Get-AzVpnSiteLinkConnectionIkeSa
Get IKE Security Associations of VPN Site Link Connections
Syntax
ByName (Default)
Get-AzVpnSiteLinkConnectionIkeSa
-ResourceGroupName <String>
-VpnGatewayName <String>
-VpnConnectionName <String>
-Name <String>
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzVpnSiteLinkConnectionIkeSa
-InputObject <PSVpnSiteLinkConnection>
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
ByResourceId
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.
Parameter properties
Type: SwitchParameter
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Parameter properties
Type: IAzureContextContainer
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AzContext, AzureRmContext, AzureCredential
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
The Vpn site link connection object.
Type: PSVpnSiteLinkConnection
Default value: None
Supports wildcards: False
DontShow: False
Aliases: VpnSiteLinkConnection
ByInputObject
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-Name
The Vpn site link connection name.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Aliases: ResourceName, VpnSiteLinkConnectionName
Parameter sets
ByName
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ResourceGroupName
The resource group name.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
ByName
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ResourceId
The Azure resource ID of the Vpn site link connection for which IKE Security Associations needs to be fetched.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
ByResourceId
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
-VpnConnectionName
The Vpn connection name.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Aliases: ParentName
Parameter sets
ByName
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-VpnGatewayName
The Vpn gateway name.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Aliases: GrandParentName
Parameter sets
ByName
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs