Interface NicIpConfiguration.UpdateDefinitionStages.WithNetwork<ParentT>

Type Parameters:
ParentT - the stage of the parent network interface update to return to after attaching this definition
All Known Subinterfaces:
NicIpConfiguration.UpdateDefinition<ParentT>, NicIpConfiguration.UpdateDefinitionStages.Blank<ParentT>
Enclosing interface:
NicIpConfiguration.UpdateDefinitionStages

public static interface NicIpConfiguration.UpdateDefinitionStages.WithNetwork<ParentT>
The stage of the network interface IP configuration definition allowing to specify the virtual network.
  • Method Details

    • withNewNetwork

      Create a new virtual network to associate with the network interface IP configuration, based on the provided definition.
      Parameters:
      creatable - a creatable definition for a new virtual network
      Returns:
      the next stage of the definition
    • withNewNetwork

      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.

      Parameters:
      name - the name of the new virtual network
      addressSpace - the address space for rhe virtual network
      Returns:
      the next stage of the definition
    • withNewNetwork

      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.

      Parameters:
      addressSpace - the address space for the virtual network
      Returns:
      the next stage of the definition
    • withExistingNetwork

      Associate an existing virtual network with the network interface IP configuration.
      Parameters:
      network - an existing virtual network
      Returns:
      the next stage of the definition