Get-AzExpressRoutePortLinkConfig
Gets an ExpressRoutePort link configuration.
Syntax
ResourceNameParameterSet (Default)
Get-AzExpressRoutePortLinkConfig
-ExpressRoutePort <PSExpressRoutePort>
[-Name <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
ResourceIdParameterSet
Get-AzExpressRoutePortLinkConfig
-ResourceId <String>
-ExpressRoutePort <PSExpressRoutePort>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzExpressRoutePortLinkConfig cmdlet retrieves the configuration of a link of an ExpressRoutePort.
Examples
Example 1
Get-AzExpressRoutePortLinkConfig -ExpressRoutePort $erport -Name Link1
Gets the Link1 configuration of ExpressRoutePort $erport
Example 2
Get-AzExpressRoutePortLinkConfig -ExpressRoutePort $erport -ResourceId $id
Gets the configuration of link with ResourceId $id in ExpressRoutePort $erport
Parameters
-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 |
-ExpressRoutePort
The reference of the ExpressRoutePort resource.
Parameter properties
Type: | PSExpressRoutePort |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-Name
Name of the link.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ResourceNameParameterSet
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ResourceId
ResourceId of the link.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ResourceIdParameterSet
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
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.