IWithNetwork<ParentT>.WithNewNetwork Method

Definition

Overloads

WithNewNetwork(ICreatable<INetwork>)

Create a new virtual network to associate with the network interface IP configuration, based on the provided definition.

WithNewNetwork(String)

Creates a new virtual network to associate with the network interface IP configuration. the virtual network will be created in the same resource group and region as of parent network interface, it will be created with the specified address space and a default subnet covering the entirety of the network IP address space.

WithNewNetwork(String, String)

Creates a new virtual network to associate with the network interface IP configuration. the virtual network will be created in the same resource group and region as of parent network interface, it will be created with the specified address space and a default subnet covering the entirety of the network IP address space.

WithNewNetwork(ICreatable<INetwork>)

Create a new virtual network to associate with the network interface IP configuration, based on the provided definition.

public Microsoft.Azure.Management.Network.Fluent.NicIPConfiguration.Definition.IWithPrivateIP<ParentT> WithNewNetwork (Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Network.Fluent.INetwork> creatable);
abstract member WithNewNetwork : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Network.Fluent.INetwork> -> Microsoft.Azure.Management.Network.Fluent.NicIPConfiguration.Definition.IWithPrivateIP<'ParentT>
Public Function WithNewNetwork (creatable As ICreatable(Of INetwork)) As IWithPrivateIP(Of ParentT)

Parameters

creatable
ICreatable<INetwork>

A creatable definition for a new virtual network.

Returns

Applies to

WithNewNetwork(String)

Creates a new virtual network to associate with the network interface IP configuration. the virtual network will be created in the same resource group and region as of parent network interface, it will be created with the specified address space and a default subnet covering the entirety of the network IP address space.

public Microsoft.Azure.Management.Network.Fluent.NicIPConfiguration.Definition.IWithPrivateIP<ParentT> WithNewNetwork (string addressSpace);
abstract member WithNewNetwork : string -> Microsoft.Azure.Management.Network.Fluent.NicIPConfiguration.Definition.IWithPrivateIP<'ParentT>
Public Function WithNewNetwork (addressSpace As String) As IWithPrivateIP(Of ParentT)

Parameters

addressSpace
String

The address space for the virtual network.

Returns

Applies to

WithNewNetwork(String, String)

Creates a new virtual network to associate with the network interface IP configuration. the virtual network will be created in the same resource group and region as of parent network interface, it will be created with the specified address space and a default subnet covering the entirety of the network IP address space.

public Microsoft.Azure.Management.Network.Fluent.NicIPConfiguration.Definition.IWithPrivateIP<ParentT> WithNewNetwork (string name, string addressSpace);
abstract member WithNewNetwork : string * string -> Microsoft.Azure.Management.Network.Fluent.NicIPConfiguration.Definition.IWithPrivateIP<'ParentT>
Public Function WithNewNetwork (name As String, addressSpace As String) As IWithPrivateIP(Of ParentT)

Parameters

name
String

The name of the new virtual network.

addressSpace
String

The address space for rhe virtual network.

Returns

Applies to