Interface NicIPConfiguration.DefinitionStages.WithNetwork<ParentT>

    • Method Detail

      • withNewNetwork

        NicIPConfiguration.DefinitionStages.WithPrivateIP<ParentT> withNewNetwork​(com.microsoft.azure.management.resources.fluentcore.model.Creatable<Network> creatable)
        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

        NicIPConfiguration.DefinitionStages.WithPrivateIP<ParentT> withNewNetwork​(String name,
                                                                                  String addressSpace)
        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

        NicIPConfiguration.DefinitionStages.WithPrivateIP<ParentT> withNewNetwork​(String addressSpace)
        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