Class VirtualMachineScaleSetPublicIpAddressConfigurationProperties
- java.lang.Object
-
- com.azure.resourcemanager.compute.fluent.models.VirtualMachineScaleSetPublicIpAddressConfigurationProperties
-
public final class VirtualMachineScaleSetPublicIpAddressConfigurationProperties extends Object
Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachineScaleSetPublicIpAddressConfigurationProperties()
-
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.List<VirtualMachineScaleSetIpTag>ipTags()Get the ipTags property: The list of IP tags associated with the public IP address.IpVersionpublicIpAddressVersion()Get the publicIpAddressVersion property: Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6.com.azure.core.management.SubResourcepublicIpPrefix()Get the publicIpPrefix property: The PublicIPPrefix from which to allocate publicIP addresses.voidvalidate()Validates the instance.VirtualMachineScaleSetPublicIpAddressConfigurationPropertieswithDeleteOption(DeleteOptions deleteOption)Set the deleteOption property: Specify what happens to the public IP when the VM is deleted.VirtualMachineScaleSetPublicIpAddressConfigurationPropertieswithDnsSettings(VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings dnsSettings)Set the dnsSettings property: The dns settings to be applied on the publicIP addresses .VirtualMachineScaleSetPublicIpAddressConfigurationPropertieswithIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)Set the idleTimeoutInMinutes property: The idle timeout of the public IP address.VirtualMachineScaleSetPublicIpAddressConfigurationPropertieswithIpTags(List<VirtualMachineScaleSetIpTag> ipTags)Set the ipTags property: The list of IP tags associated with the public IP address.VirtualMachineScaleSetPublicIpAddressConfigurationPropertieswithPublicIpAddressVersion(IpVersion publicIpAddressVersion)Set the publicIpAddressVersion property: Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6.VirtualMachineScaleSetPublicIpAddressConfigurationPropertieswithPublicIpPrefix(com.azure.core.management.SubResource publicIpPrefix)Set the publicIpPrefix property: The PublicIPPrefix from which to allocate publicIP addresses.
-
-
-
Method Detail
-
idleTimeoutInMinutes
public Integer idleTimeoutInMinutes()
Get the idleTimeoutInMinutes property: The idle timeout of the public IP address.- Returns:
- the idleTimeoutInMinutes value.
-
withIdleTimeoutInMinutes
public VirtualMachineScaleSetPublicIpAddressConfigurationProperties withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Set the idleTimeoutInMinutes property: The idle timeout of the public IP address.- Parameters:
idleTimeoutInMinutes- the idleTimeoutInMinutes value to set.- Returns:
- the VirtualMachineScaleSetPublicIpAddressConfigurationProperties 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 VirtualMachineScaleSetPublicIpAddressConfigurationProperties 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 VirtualMachineScaleSetPublicIpAddressConfigurationProperties object itself.
-
ipTags
public List<VirtualMachineScaleSetIpTag> ipTags()
Get the ipTags property: The list of IP tags associated with the public IP address.- Returns:
- the ipTags value.
-
withIpTags
public VirtualMachineScaleSetPublicIpAddressConfigurationProperties withIpTags(List<VirtualMachineScaleSetIpTag> ipTags)
Set the ipTags property: The list of IP tags associated with the public IP address.- Parameters:
ipTags- the ipTags value to set.- Returns:
- the VirtualMachineScaleSetPublicIpAddressConfigurationProperties 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 VirtualMachineScaleSetPublicIpAddressConfigurationProperties 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 VirtualMachineScaleSetPublicIpAddressConfigurationProperties object itself.
-
publicIpAddressVersion
public IpVersion publicIpAddressVersion()
Get the publicIpAddressVersion property: Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.- Returns:
- the publicIpAddressVersion value.
-
withPublicIpAddressVersion
public VirtualMachineScaleSetPublicIpAddressConfigurationProperties withPublicIpAddressVersion(IpVersion publicIpAddressVersion)
Set the publicIpAddressVersion property: Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.- Parameters:
publicIpAddressVersion- the publicIpAddressVersion value to set.- Returns:
- the VirtualMachineScaleSetPublicIpAddressConfigurationProperties 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 VirtualMachineScaleSetPublicIpAddressConfigurationProperties 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 VirtualMachineScaleSetPublicIpAddressConfigurationProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-