Class IpAddress
java.lang.Object
com.azure.resourcemanager.containerinstance.models.IpAddress
IP address for the container group.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the dnsNameLabel property: The Dns name label for the IP.Get the dnsNameLabelReusePolicy property: The value representing the security enum.fqdn()Get the fqdn property: The FQDN for the IP.ip()Get the ip property: The IP exposed to the public internet.ports()Get the ports property: The list of ports exposed on the container group.type()Get the type property: Specifies if the IP is exposed to the public internet or private VNET.voidvalidate()Validates the instance.withDnsNameLabel(String dnsNameLabel) Set the dnsNameLabel property: The Dns name label for the IP.withDnsNameLabelReusePolicy(DnsNameLabelReusePolicy dnsNameLabelReusePolicy) Set the dnsNameLabelReusePolicy property: The value representing the security enum.Set the ip property: The IP exposed to the public internet.Set the ports property: The list of ports exposed on the container group.Set the type property: Specifies if the IP is exposed to the public internet or private VNET.
-
Constructor Details
-
IpAddress
public IpAddress()
-
-
Method Details
-
ports
Get the ports property: The list of ports exposed on the container group.- Returns:
- the ports value.
-
withPorts
Set the ports property: The list of ports exposed on the container group.- Parameters:
ports- the ports value to set.- Returns:
- the IpAddress object itself.
-
type
Get the type property: Specifies if the IP is exposed to the public internet or private VNET.- Returns:
- the type value.
-
withType
Set the type property: Specifies if the IP is exposed to the public internet or private VNET.- Parameters:
type- the type value to set.- Returns:
- the IpAddress object itself.
-
ip
Get the ip property: The IP exposed to the public internet.- Returns:
- the ip value.
-
withIp
Set the ip property: The IP exposed to the public internet.- Parameters:
ip- the ip value to set.- Returns:
- the IpAddress object itself.
-
dnsNameLabel
Get the dnsNameLabel property: The Dns name label for the IP.- Returns:
- the dnsNameLabel value.
-
withDnsNameLabel
Set the dnsNameLabel property: The Dns name label for the IP.- Parameters:
dnsNameLabel- the dnsNameLabel value to set.- Returns:
- the IpAddress object itself.
-
dnsNameLabelReusePolicy
Get the dnsNameLabelReusePolicy property: The value representing the security enum.- Returns:
- the dnsNameLabelReusePolicy value.
-
withDnsNameLabelReusePolicy
Set the dnsNameLabelReusePolicy property: The value representing the security enum.- Parameters:
dnsNameLabelReusePolicy- the dnsNameLabelReusePolicy value to set.- Returns:
- the IpAddress object itself.
-
fqdn
Get the fqdn property: The FQDN for the IP.- Returns:
- the fqdn value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-