New-AzNetworkCloudTrunkedNetwork
Erstellen Sie ein neues Trunked-Netzwerk, oder aktualisieren Sie die Eigenschaften des vorhandenen Trunked-Netzwerks.
Syntax
New-AzNetworkCloudTrunkedNetwork
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
-ExtendedLocationName <String>
-ExtendedLocationType <String>
-IsolationDomainId <String[]>
-Location <String>
-Vlan <Int64[]>
[-HybridAksPluginType <HybridAksPluginType>]
[-InterfaceName <String>]
[-Tag <Hashtable>]
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Beschreibung
Erstellen Sie ein neues Trunked-Netzwerk, oder aktualisieren Sie die Eigenschaften des vorhandenen Trunked-Netzwerks.
Beispiele
Beispiel 1: Erstellen eines Trunknetzwerks
New-AzNetworkCloudTrunkedNetwork -Name trunkedNetworkName -ResourceGroupName trunkedNetworkRg -SubscriptionId subscriptionId -ExtendedLocationName extendedLocationName -ExtendedLocationType "CustomLocation" -Location location -Vlan vlans -IsolationDomainId isolationDomainId -InterfaceName interfaceName -Tag @{ tag = "tag" }
Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy
-------- ---- ------------------- ------------------- ----------------------- ------------------------ --------
eastus <name> 08/02/2023 21:39:23 <identity> User 08/02/2023 21:39:33 <identity>
Mit diesem Befehl wird ein Trunknetzwerk erstellt.
Parameter
-AsJob
Ausführen des Befehls als Auftrag
Typ: | SwitchParameter |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
Hiermit werden Sie vor der Ausführung des Cmdlets zur Bestätigung aufgefordert.
Typ: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
Der Parameter DefaultProfile ist nicht funktionsfähig. Verwenden Sie den Parameter "SubscriptionId", wenn sie verfügbar ist, wenn Sie das Cmdlet für ein anderes Abonnement ausführen.
Typ: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ExtendedLocationName
Die Ressourcen-ID des erweiterten Speicherorts, an dem die Ressource erstellt wird.
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ExtendedLocationType
Der erweiterte Standorttyp, z. B. CustomLocation.
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-HybridAksPluginType
Feld veraltet. Das Feld war zuvor optional, jetzt hat es kein definiertes Verhalten und wird ignoriert. Der Netzwerk-Plug-In-Typ für Hybrid-AKS.
Typ: | HybridAksPluginType |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InterfaceName
Der Standardschnittstellenname für dieses trunkierte Netzwerk auf dem virtuellen Computer. Dieser Name kann durch den Namen überschrieben werden, der in der Netzwerkanlagenkonfiguration dieses virtuellen Computers angegeben ist.
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IsolationDomainId
Die Liste der Ressourcen-IDs, die die Network Fabric-Isolation darstellen Standard s. Es kann eine beliebige Kombination aus l2IsolationDo Standard und l3IsolationDo Standard Ressourcen sein.
Typ: | String[] |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Location
Der geografische Standort, an dem sich die Ressource befindet
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Der Name des trunkierten Netzwerks.
Typ: | String |
Aliases: | TrunkedNetworkName |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-NoWait
Asynchrones Ausführen des Befehls
Typ: | SwitchParameter |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
Der Name der Ressourcengruppe. Für den Namen wird die Groß-/Kleinschreibung nicht beachtet.
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
Hierbei handelt es sich um die ID des Zielabonnements. Der Wert muss eine UUID sein.
Typ: | String |
Position: | Named |
Standardwert: | (Get-AzContext).Subscription.Id |
Erforderlich: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Tag
Ressourcentags.
Typ: | Hashtable |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Vlan
Die Liste der Vlans, die aus der Isolation ausgewählt sind Standard s für Trunking.
Typ: | Int64[] |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Zeigt, was geschieht, wenn das Cmdlet ausgeführt wird. Das Cmdlet wird nicht ausgeführt.
Typ: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Ausgaben
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für