VirtualMachineScaleSetPublicIpAddressConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. VirtualMachineScaleSetPublicIpAddressConfiguration
- com.
Implements
public final class VirtualMachineScaleSetPublicIpAddressConfiguration
implements JsonSerializable<VirtualMachineScaleSetPublicIpAddressConfiguration>
Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration.
Constructor Summary
Constructor | Description |
---|---|
VirtualMachineScaleSetPublicIpAddressConfiguration() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
Delete |
deleteOption()
Get the delete |
Virtual |
dnsSettings()
Get the dns |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
Integer |
idleTimeoutInMinutes()
Get the idle |
List<Virtual |
ipTags()
Get the ip |
String |
name()
Get the name property: The publicIP address configuration name. |
Ip |
publicIpAddressVersion()
Get the public |
Sub |
publicIpPrefix()
Get the public |
Public |
sku()
Get the sku property: Describes the public IP Sku. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Virtual |
withDeleteOption(DeleteOptions deleteOption)
Set the delete |
Virtual |
withDnsSettings(VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings dnsSettings)
Set the dns |
Virtual |
withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Set the idle |
Virtual |
withIpTags(List<VirtualMachineScaleSetIpTag> ipTags)
Set the ip |
Virtual |
withName(String name)
Set the name property: The publicIP address configuration name. |
Virtual |
withPublicIpAddressVersion(IpVersion publicIpAddressVersion)
Set the public |
Virtual |
withPublicIpPrefix(SubResource publicIpPrefix)
Set the public |
Virtual |
withSku(PublicIpAddressSku sku)
Set the sku property: Describes the public IP Sku. |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineScaleSetPublicIpAddressConfiguration
public VirtualMachineScaleSetPublicIpAddressConfiguration()
Creates an instance of VirtualMachineScaleSetPublicIpAddressConfiguration class.
Method Details
deleteOption
public DeleteOptions deleteOption()
Get the deleteOption property: Specify what happens to the public IP when the VM is deleted.
Returns:
dnsSettings
public VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings dnsSettings()
Get the dnsSettings property: The dns settings to be applied on the publicIP addresses .
Returns:
fromJson
public static VirtualMachineScaleSetPublicIpAddressConfiguration fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineScaleSetPublicIpAddressConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
idleTimeoutInMinutes
public Integer idleTimeoutInMinutes()
Get the idleTimeoutInMinutes property: The idle timeout of the public IP address.
Returns:
ipTags
public List
Get the ipTags property: The list of IP tags associated with the public IP address.
Returns:
name
public String name()
Get the name property: The publicIP address configuration name.
Returns:
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:
publicIpPrefix
public SubResource publicIpPrefix()
Get the publicIpPrefix property: The PublicIPPrefix from which to allocate publicIP addresses.
Returns:
sku
public PublicIpAddressSku sku()
Get the sku property: Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDeleteOption
public VirtualMachineScaleSetPublicIpAddressConfiguration withDeleteOption(DeleteOptions deleteOption)
Set the deleteOption property: Specify what happens to the public IP when the VM is deleted.
Parameters:
Returns:
withDnsSettings
public VirtualMachineScaleSetPublicIpAddressConfiguration withDnsSettings(VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings dnsSettings)
Set the dnsSettings property: The dns settings to be applied on the publicIP addresses .
Parameters:
Returns:
withIdleTimeoutInMinutes
public VirtualMachineScaleSetPublicIpAddressConfiguration withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Set the idleTimeoutInMinutes property: The idle timeout of the public IP address.
Parameters:
Returns:
withIpTags
public VirtualMachineScaleSetPublicIpAddressConfiguration withIpTags(List
Set the ipTags property: The list of IP tags associated with the public IP address.
Parameters:
Returns:
withName
public VirtualMachineScaleSetPublicIpAddressConfiguration withName(String name)
Set the name property: The publicIP address configuration name.
Parameters:
Returns:
withPublicIpAddressVersion
public VirtualMachineScaleSetPublicIpAddressConfiguration 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:
Returns:
withPublicIpPrefix
public VirtualMachineScaleSetPublicIpAddressConfiguration withPublicIpPrefix(SubResource publicIpPrefix)
Set the publicIpPrefix property: The PublicIPPrefix from which to allocate publicIP addresses.
Parameters:
Returns:
withSku
public VirtualMachineScaleSetPublicIpAddressConfiguration withSku(PublicIpAddressSku sku)
Set the sku property: Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.
Parameters:
Returns:
Applies to
Azure SDK for Java