Edit

Share via


New-AzNetworkCloudL3NetworkAttachmentConfigurationObject

Create an in-memory object for L3NetworkAttachmentConfiguration.

Syntax

Default (Default)

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.

Parameter properties

Type:L3NetworkConfigurationIpamEnabled
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-NetworkId

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PluginType

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

Parameter properties

Type:KubernetesPluginType
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

L3NetworkAttachmentConfiguration