NetworkInterface.DefinitionStages.WithPrimaryPublicIPAddress Interface
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 Type | Method and Description |
---|---|
abstract
With |
withExistingPrimaryPublicIPAddress(PublicIPAddress publicIPAddress)
Associates an existing public IP address with the network interface's primary IP configuration. |
abstract
With |
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. |
abstract
With |
withNewPrimaryPublicIPAddress(Creatable<PublicIPAddress> creatable)
Create a new public IP address to associate with network interface's primary IP configuration, based on the provided definition. |
abstract
With |
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
withExistingPrimaryPublicIPAddress
public abstract NetworkInterface.DefinitionStages.WithCreate withExistingPrimaryPublicIPAddress(PublicIPAddress publicIPAddress)
Associates an existing public IP address with the network interface's primary IP configuration.
Parameters:
Returns:
withNewPrimaryPublicIPAddress
public abstract 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:
withNewPrimaryPublicIPAddress
public abstract NetworkInterface.DefinitionStages.WithCreate withNewPrimaryPublicIPAddress(Creatable
Create a new public IP address to associate with network interface's primary IP configuration, based on the provided definition.
Parameters:
Returns:
withNewPrimaryPublicIPAddress
public abstract NetworkInterface.DefinitionStages.WithCreate 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.
the internal name for the public IP address will be derived from the DNS label
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for