Remove-AzureRmExpressRouteCircuitPeeringConfig
Tar bort en ExpressRoute-kretspeeringskonfiguration.
Varning
AzureRM PowerShell-modulen är officiellt inaktuell från och med den 29 februari 2024. Användare rekommenderas att migrera från AzureRM till Az PowerShell-modulen för att säkerställa fortsatt support och uppdateringar.
Även om AzureRM-modulen fortfarande kan fungera, underhålls den inte längre eller stöds, vilket gör att användaren kan välja och riskera fortsatt användning. Se våra migreringsresurser för vägledning om övergången till Az-modulen.
Syntax
Remove-AzureRmExpressRouteCircuitPeeringConfig
[-Name <String>]
-ExpressRouteCircuit <PSExpressRouteCircuit>
[-PeerAddressType <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Cmdleten Remove-AzureRmExpressRouteCircuitPeeringConfig tar bort en ExpressRoute-kretspeeringskonfiguration.
Exempel
Exempel 1: Ta bort en peering-konfiguration från en ExpressRoute-krets
$circuit = Get-AzureRmExpressRouteCircuit -Name $CircuitName -ResourceGroupName $rg
Remove-AzureRmExpressRouteCircuitPeeringConfig -Name 'AzurePrivatePeering' -ExpressRouteCircuit $circuit
Set-AzureRmExpressRouteCircuit -ExpressRouteCircuit $circuit
Parametrar
-DefaultProfile
Autentiseringsuppgifter, konto, klientorganisation och prenumeration som används för kommunikation med Azure.
Typ: | IAzureContextContainer |
Alias: | 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
Parametrar: ExpressRouteCircuit (ByValue)