New-AzNetworkCloudL3NetworkAttachmentConfigurationObject

Create an in-memory object for L3NetworkAttachmentConfiguration.

Syntax

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

Description

Create an in-memory object for L3NetworkAttachmentConfiguration.

Examples

Example 1: Create an in-memory object for 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

Create an in-memory object for L3NetworkAttachmentConfiguration.

Parameters

-IpamEnabled

The indication of whether this network will or will not perform IP address management and allocate IP addresses when attached.

Type:L3NetworkConfigurationIpamEnabled
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-NetworkId

The resource ID of the network that is being configured for attachment.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-PluginType

The indicator of how this network will be utilized by the Kubernetes cluster.

Type:KubernetesPluginType
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

L3NetworkAttachmentConfiguration