Dela via


Remove-AzExpressRouteCircuitPeeringConfig

Tar bort en ExpressRoute-kretspeeringskonfiguration.

Syntax

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

Description

Cmdleten Remove-AzExpressRouteCircuitPeeringConfig tar bort en ExpressRoute-kretspeeringskonfiguration.

Exempel

Exempel 1: Ta bort en peering-konfiguration från en ExpressRoute-krets

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

Parametrar

-DefaultProfile

Autentiseringsuppgifter, konto, klientorganisation och prenumeration som används för kommunikation med Azure.

Typ:IAzureContextContainer
Alias:AzContext, AzureRmContext, AzureCredential
Position:Named
Standardvärde:None
Obligatorisk:False
Godkänn pipeline-indata:False
Godkänn jokertecken:False

-ExpressRouteCircuit

ExpressRoute-kretsen som innehåller peering-konfigurationen som ska tas bort.

Typ:PSExpressRouteCircuit
Position:Named
Standardvärde:None
Obligatorisk:True
Godkänn pipeline-indata:True
Godkänn jokertecken:False

-Name

Namnet på peeringkonfigurationen som ska tas bort.

Typ:String
Position:Named
Standardvärde:None
Obligatorisk:False
Godkänn pipeline-indata:False
Godkänn jokertecken:False

-PeerAddressType

Peeringens adressfamilj

Typ:String
Godkända värden:IPv4, IPv6, All
Position:Named
Standardvärde:None
Obligatorisk:False
Godkänn pipeline-indata:False
Godkänn jokertecken:False

Indata

PSExpressRouteCircuit

Utdata

PSExpressRouteCircuit