NetworkInterface.UpdateStages.WithPrimaryPublicIPAddress Interface
public static interface NetworkInterface.UpdateStages.WithPrimaryPublicIPAddress
The stage of the network interface update allowing to associate public IP address with it's primary IP configuration.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withExistingPrimaryPublicIPAddress(PublicIPAddress publicIPAddress)
Associates an existing public IP address with the network interface's primary IP configuration. |
abstract Update |
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 Update |
withNewPrimaryPublicIPAddress(Creatable<PublicIPAddress> creatable)
Create a new public IP address to associate the network interface's primary IP configuration, based on the provided definition. |
abstract Update |
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. |
abstract Update |
withoutPrimaryPublicIPAddress()
Specifies that remove any public IP associated with the network interface's primary IP configuration. |
Method Details
withExistingPrimaryPublicIPAddress
public abstract NetworkInterface.Update withExistingPrimaryPublicIPAddress(PublicIPAddress publicIPAddress)
Associates an existing public IP address with the network interface's primary IP configuration. if there is an existing public IP association then that will be removed in favour of this
Parameters:
Returns:
withNewPrimaryPublicIPAddress
public abstract NetworkInterface.Update 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, if there is an existing public IP association then that will be removed in favour of this
Returns:
withNewPrimaryPublicIPAddress
public abstract NetworkInterface.Update withNewPrimaryPublicIPAddress(Creatable
Create a new public IP address to associate the network interface's primary IP configuration, based on the provided definition.
if there is public IP associated with the primary IP configuration then that will be removed in favour of this
Parameters:
Returns:
withNewPrimaryPublicIPAddress
public abstract NetworkInterface.Update 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, if there is an existing public IP association then that will be removed in favour of this
Parameters:
Returns:
withoutPrimaryPublicIPAddress
public abstract NetworkInterface.Update withoutPrimaryPublicIPAddress()
Specifies that remove any public IP associated with the network interface's primary IP configuration.
Returns:
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per