Freigeben über


Remove-AzExpressRouteCircuitPeeringConfig

Entfernt eine ExpressRoute-Schaltkreis-Peeringkonfiguration.

Syntax

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

Beschreibung

Das Cmdlet Remove-AzExpressRouteCircuitPeeringConfig entfernt eine ExpressRoute-Schaltkreispeerkonfiguration.

Beispiele

Beispiel 1: Entfernen einer Peeringkonfiguration aus einem ExpressRoute-Schaltkreis

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

Parameter

-DefaultProfile

Die Anmeldeinformationen, Konten, Mandanten und Abonnements, die für die Kommunikation mit Azure verwendet werden.

Typ:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-ExpressRouteCircuit

Der ExpressRoute-Schaltkreis, der die zu entfernende Peeringkonfiguration enthält.

Typ:PSExpressRouteCircuit
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

Der Name der zu entfernenden Peeringkonfiguration.

Typ:String
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-PeerAddressType

Die Adressfamilie des Peerings

Typ:String
Zulässige Werte:IPv4, IPv6, All
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

Eingaben

PSExpressRouteCircuit

Ausgaben

PSExpressRouteCircuit