次の方法で共有


Remove-AzExpressRouteCircuitPeeringConfig

ExpressRoute 回線ピアリング構成を削除します。

構文

Default (既定)

Remove-AzExpressRouteCircuitPeeringConfig
    [-Name <String>]
    -ExpressRouteCircuit <PSExpressRouteCircuit>
    [-PeerAddressType <String>]
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

説明

Remove-AzExpressRouteCircuitPeeringConfig コマンドレットは、ExpressRoute 回線ピアリング構成を削除します。

例 1: ExpressRoute 回線からピアリング構成を削除する

$circuit = Get-AzExpressRouteCircuit -Name $CircuitName -ResourceGroupName $rg
Remove-AzExpressRouteCircuitPeeringConfig -Name 'AzurePrivatePeering' -ExpressRouteCircuit $circuit
Set-AzExpressRouteCircuit -ExpressRouteCircuit $circuit

パラメーター

-DefaultProfile

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

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

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

パラメーター セット

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

-ExpressRouteCircuit

削除するピアリング構成を含む ExpressRoute 回線。

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

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

パラメーター セット

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

-Name

削除するピアリング構成の名前。

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

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

パラメーター セット

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

-PeerAddressType

ピアリングのアドレス ファミリ

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

型:String
規定値:None
指定可能な値:IPv4, IPv6, All
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

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

CommonParameters

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

入力

PSExpressRouteCircuit

出力

PSExpressRouteCircuit