ParentT
- the stage of the parent network interface definition to return to after attaching this definitionpublic static interface NicIPConfiguration.DefinitionStages.WithNetwork<ParentT>
Modifier and Type | Method and Description |
---|---|
NicIPConfiguration.DefinitionStages.WithSubnet<ParentT> |
withExistingNetwork(Network network)
Associate an existing virtual network with the network interface IP configuration.
|
NicIPConfiguration.DefinitionStages.WithPrivateIP<ParentT> |
withNewNetwork(Creatable<Network> creatable)
Create a new virtual network to associate with the network interface IP configuration,
based on the provided definition.
|
NicIPConfiguration.DefinitionStages.WithPrivateIP<ParentT> |
withNewNetwork(String addressSpace)
Creates a new virtual network to associate with the network interface IP configuration.
|
NicIPConfiguration.DefinitionStages.WithPrivateIP<ParentT> |
withNewNetwork(String name,
String addressSpace)
Creates a new virtual network to associate with the network interface IP configuration.
|
NicIPConfiguration.DefinitionStages.WithPrivateIP<ParentT> withNewNetwork(Creatable<Network> creatable)
creatable
- a creatable definition for a new virtual networkNicIPConfiguration.DefinitionStages.WithPrivateIP<ParentT> withNewNetwork(String name, String addressSpace)
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.
name
- the name of the new virtual networkaddressSpace
- the address space for rhe virtual networkNicIPConfiguration.DefinitionStages.WithPrivateIP<ParentT> withNewNetwork(String addressSpace)
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.
addressSpace
- the address space for the virtual networkNicIPConfiguration.DefinitionStages.WithSubnet<ParentT> withExistingNetwork(Network network)
network
- an existing virtual networkCopyright © 2019. All rights reserved.