public class IpAddress extends Object
Constructor and Description |
---|
IpAddress() |
Modifier and Type | Method and Description |
---|---|
String |
dnsNameLabel()
Get the Dns name label for the IP.
|
String |
fqdn()
Get the FQDN for the IP.
|
String |
ip()
Get the IP exposed to the public internet.
|
List<Port> |
ports()
Get the list of ports exposed on the container group.
|
ContainerGroupIpAddressType |
type()
Get specifies if the IP is exposed to the public internet or private VNET.
|
IpAddress |
withDnsNameLabel(String dnsNameLabel)
Set the Dns name label for the IP.
|
IpAddress |
withIp(String ip)
Set the IP exposed to the public internet.
|
IpAddress |
withPorts(List<Port> ports)
Set the list of ports exposed on the container group.
|
IpAddress |
withType(ContainerGroupIpAddressType type)
Set specifies if the IP is exposed to the public internet or private VNET.
|
public List<Port> ports()
public IpAddress withPorts(List<Port> ports)
ports
- the ports value to setpublic ContainerGroupIpAddressType type()
public IpAddress withType(ContainerGroupIpAddressType type)
type
- the type value to setpublic String ip()
public IpAddress withIp(String ip)
ip
- the ip value to setpublic String dnsNameLabel()
public IpAddress withDnsNameLabel(String dnsNameLabel)
dnsNameLabel
- the dnsNameLabel value to setpublic String fqdn()
Copyright © 2019. All rights reserved.