Interface NetworkInterface.DefinitionStages.WithPrimaryPublicIPAddress
- All Known Subinterfaces:
NetworkInterface.Definition,NetworkInterface.DefinitionStages.WithCreate
- Enclosing interface:
NetworkInterface.DefinitionStages
public static interface NetworkInterface.DefinitionStages.WithPrimaryPublicIPAddress
The stage of the network interface definition allowing to associate public IP address with it's primary IP
configuration.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingPrimaryPublicIPAddress(PublicIpAddress publicIPAddress) Associates an existing public IP address with the network interface's primary IP configuration.Creates a new public IP address in the same region and group as the resource and associate it with the network interface's primary IP configuration.withNewPrimaryPublicIPAddress(Creatable<PublicIpAddress> creatable) Create a new public IP address to associate with network interface's primary IP configuration, based on the provided definition.withNewPrimaryPublicIPAddress(String leafDnsLabel) Creates a new public IP address in the same region and group as the resource, with the specified DNS label and associate it with the network interface's primary IP configuration.
-
Method Details
-
withNewPrimaryPublicIPAddress
NetworkInterface.DefinitionStages.WithCreate withNewPrimaryPublicIPAddress(Creatable<PublicIpAddress> creatable) Create a new public IP address to associate with network interface's primary IP configuration, based on the provided definition.- Parameters:
creatable- a creatable definition for a new public IP- Returns:
- the next stage of the definition
-
withNewPrimaryPublicIPAddress
NetworkInterface.DefinitionStages.WithCreate withNewPrimaryPublicIPAddress()Creates a new public IP address in the same region and group as the resource and associate it with the network interface's primary IP configuration.the internal name and DNS label for the public IP address will be derived from the network interface name
- Returns:
- the next stage of the definition
-
withNewPrimaryPublicIPAddress
Creates a new public IP address in the same region and group as the resource, with the specified DNS label and associate it with the network interface's primary IP configuration.the internal name for the public IP address will be derived from the DNS label
- Parameters:
leafDnsLabel- the leaf domain label- Returns:
- the next stage of the definition
-
withExistingPrimaryPublicIPAddress
NetworkInterface.DefinitionStages.WithCreate withExistingPrimaryPublicIPAddress(PublicIpAddress publicIPAddress) Associates an existing public IP address with the network interface's primary IP configuration.- Parameters:
publicIPAddress- an existing public IP address- Returns:
- the next stage of the definition
-