Class VirtualMachineScaleSetUpdatePublicIpAddressConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.VirtualMachineScaleSetUpdatePublicIpAddressConfiguration
-
public final class VirtualMachineScaleSetUpdatePublicIpAddressConfiguration extends Object
Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachineScaleSetUpdatePublicIpAddressConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteOptionsdeleteOption()Get the deleteOption property: Specify what happens to the public IP when the VM is deleted.VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettingsdnsSettings()Get the dnsSettings property: The dns settings to be applied on the publicIP addresses .IntegeridleTimeoutInMinutes()Get the idleTimeoutInMinutes property: The idle timeout of the public IP address.Stringname()Get the name property: The publicIP address configuration name.com.azure.core.management.SubResourcepublicIpPrefix()Get the publicIpPrefix property: The PublicIPPrefix from which to allocate publicIP addresses.voidvalidate()Validates the instance.VirtualMachineScaleSetUpdatePublicIpAddressConfigurationwithDeleteOption(DeleteOptions deleteOption)Set the deleteOption property: Specify what happens to the public IP when the VM is deleted.VirtualMachineScaleSetUpdatePublicIpAddressConfigurationwithDnsSettings(VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings dnsSettings)Set the dnsSettings property: The dns settings to be applied on the publicIP addresses .VirtualMachineScaleSetUpdatePublicIpAddressConfigurationwithIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)Set the idleTimeoutInMinutes property: The idle timeout of the public IP address.VirtualMachineScaleSetUpdatePublicIpAddressConfigurationwithName(String name)Set the name property: The publicIP address configuration name.VirtualMachineScaleSetUpdatePublicIpAddressConfigurationwithPublicIpPrefix(com.azure.core.management.SubResource publicIpPrefix)Set the publicIpPrefix property: The PublicIPPrefix from which to allocate publicIP addresses.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The publicIP address configuration name.- Returns:
- the name value.
-
withName
public VirtualMachineScaleSetUpdatePublicIpAddressConfiguration withName(String name)
Set the name property: The publicIP address configuration name.- Parameters:
name- the name value to set.- Returns:
- the VirtualMachineScaleSetUpdatePublicIpAddressConfiguration object itself.
-
idleTimeoutInMinutes
public Integer idleTimeoutInMinutes()
Get the idleTimeoutInMinutes property: The idle timeout of the public IP address.- Returns:
- the idleTimeoutInMinutes value.
-
withIdleTimeoutInMinutes
public VirtualMachineScaleSetUpdatePublicIpAddressConfiguration withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Set the idleTimeoutInMinutes property: The idle timeout of the public IP address.- Parameters:
idleTimeoutInMinutes- the idleTimeoutInMinutes value to set.- Returns:
- the VirtualMachineScaleSetUpdatePublicIpAddressConfiguration object itself.
-
dnsSettings
public VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings dnsSettings()
Get the dnsSettings property: The dns settings to be applied on the publicIP addresses .- Returns:
- the dnsSettings value.
-
withDnsSettings
public VirtualMachineScaleSetUpdatePublicIpAddressConfiguration withDnsSettings(VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings dnsSettings)
Set the dnsSettings property: The dns settings to be applied on the publicIP addresses .- Parameters:
dnsSettings- the dnsSettings value to set.- Returns:
- the VirtualMachineScaleSetUpdatePublicIpAddressConfiguration object itself.
-
publicIpPrefix
public com.azure.core.management.SubResource publicIpPrefix()
Get the publicIpPrefix property: The PublicIPPrefix from which to allocate publicIP addresses.- Returns:
- the publicIpPrefix value.
-
withPublicIpPrefix
public VirtualMachineScaleSetUpdatePublicIpAddressConfiguration withPublicIpPrefix(com.azure.core.management.SubResource publicIpPrefix)
Set the publicIpPrefix property: The PublicIPPrefix from which to allocate publicIP addresses.- Parameters:
publicIpPrefix- the publicIpPrefix value to set.- Returns:
- the VirtualMachineScaleSetUpdatePublicIpAddressConfiguration object itself.
-
deleteOption
public DeleteOptions deleteOption()
Get the deleteOption property: Specify what happens to the public IP when the VM is deleted.- Returns:
- the deleteOption value.
-
withDeleteOption
public VirtualMachineScaleSetUpdatePublicIpAddressConfiguration withDeleteOption(DeleteOptions deleteOption)
Set the deleteOption property: Specify what happens to the public IP when the VM is deleted.- Parameters:
deleteOption- the deleteOption value to set.- Returns:
- the VirtualMachineScaleSetUpdatePublicIpAddressConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-