Freigeben über


New-AzNetworkCloudL3NetworkAttachmentConfigurationObject

Erstellen Sie ein In-Memory-Objekt für L3NetworkAttachmentConfiguration.

Syntax

New-AzNetworkCloudL3NetworkAttachmentConfigurationObject
   -NetworkId <String>
   [-IpamEnabled <L3NetworkConfigurationIpamEnabled>]
   [-PluginType <KubernetesPluginType>]
   [<CommonParameters>]

Beschreibung

Erstellen Sie ein In-Memory-Objekt für L3NetworkAttachmentConfiguration.

Beispiele

Beispiel 1: Erstellen eines Speicherobjekts für L3NetworkAttachmentConfiguration.

New-AzNetworkCloudL3NetworkAttachmentConfigurationObject -NetworkId '/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3network-502' -IpamEnabled True -PluginType 'SRIOV'

IpamEnabled NetworkId                                                                                                                  PluginType
----------- ---------                                                                                                                  ----------
True        /subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3network-502 SRIOV

Erstellen Sie ein In-Memory-Objekt für L3NetworkAttachmentConfiguration.

Parameter

-IpamEnabled

Die Angabe, ob dieses Netzwerk die IP-Adressverwaltung durchführt oder nicht, und zuordnen sie IP-Adressen, wenn sie angefügt sind.

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

-NetworkId

Die Ressourcen-ID des Netzwerks, das für die Anlage konfiguriert wird.

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

-PluginType

Der Indikator, wie dieses Netzwerk vom Kubernetes-Cluster genutzt wird.

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

Ausgaben

L3NetworkAttachmentConfiguration