次の方法で共有


Get-AzExpressRoutePortLinkConfig

ExpressRoutePort リンク構成を取得します。

構文

ResourceNameParameterSet (既定)

Get-AzExpressRoutePortLinkConfig
    -ExpressRoutePort <PSExpressRoutePort>
    [-Name <String>]
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

ResourceIdParameterSet

Get-AzExpressRoutePortLinkConfig
    -ResourceId <String>
    -ExpressRoutePort <PSExpressRoutePort>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

説明

Get-AzExpressRoutePortLinkConfig コマンドレットは、ExpressRoutePort のリンクの構成を取得します。

例 1

Get-AzExpressRoutePortLinkConfig -ExpressRoutePort $erport -Name Link1

ExpressRoutePort $erportの Link1 構成を取得します。

例 2

Get-AzExpressRoutePortLinkConfig -ExpressRoutePort $erport -ResourceId $id

ExpressRoutePort $erport で ResourceId $idを使用したリンクの構成を取得します。

パラメーター

-DefaultProfile

Azure との通信のために使用される資格情報、アカウント、テナント、サブスクリプションです。

パラメーターのプロパティ

型:IAzureContextContainer
規定値:None
ワイルドカードのサポート:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

パラメーター セット

(All)
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-ExpressRoutePort

ExpressRoutePort リソースの参照。

パラメーターのプロパティ

型:PSExpressRoutePort
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

(All)
配置:Named
必須:True
パイプラインからの値:True
プロパティ名別のパイプラインからの値:True
残りの引数からの値:False

-Name

リンクの名前。

パラメーターのプロパティ

型:String
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

ResourceNameParameterSet
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-ResourceId

リンクの ResourceId。

パラメーターのプロパティ

型:String
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

ResourceIdParameterSet
配置:Named
必須:True
パイプラインからの値:False
プロパティ名別のパイプラインからの値:True
残りの引数からの値:False

CommonParameters

このコマンドレットでは、一般的なパラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable の各パラメーターがサポートされています。 詳細については、about_CommonParametersを参照してください。

入力

String

PSExpressRoutePort

出力

PSExpressRouteLink