// Healthcheck represents an Healthcheck attached to an IP
typeHealthcheckstruct{
Intervalint64`json:"interval,omitempty" doc:"healthcheck definition: time in seconds to wait for each check. Default: 10, minimum: 5"`
Modestring`json:"mode,omitempty" doc:"healthcheck definition: healthcheck mode can be either 'tcp' or 'http'"`
Pathstring`json:"path,omitempty" doc:"healthcheck definition: the path against which the 'http' healthcheck will be performed. Required if mode is 'http', ignored otherwise."`
Portint64`json:"port,omitempty" doc:"healthcheck definition: the port against which the healthcheck will be performed. Required if a 'mode' is provided."`
StrikesFailint64`json:"strikes-fail,omitempty" doc:"healthcheck definition: number of times to retry before declaring the healthcheck 'dead'. Default: 3"`
StrikesOkint64`json:"strikes-ok,omitempty" doc:"healthcheck definition: number of times to retry before declaring the healthcheck 'alive'. Default: 2"`
Timeoutint64`json:"timeout,omitempty" doc:"healthcheck definition: time in seconds to wait for each check. Default: 2, cannot be greater than interval."`
ID*UUID`json:"id,omitempty" doc:"public IP address id"`
IPAddressnet.IP`json:"ipaddress,omitempty" doc:"public IP address"`
IsElasticbool`json:"iselastic,omitempty" doc:"is an elastic ip"`
IsPortablebool`json:"isportable,omitempty" doc:"is public IP portable across the zones"`
IsSourceNatbool`json:"issourcenat,omitempty" doc:"true if the IP address is a source nat address, false otherwise"`
IsStaticNat*bool`json:"isstaticnat,omitempty" doc:"true if this ip is for static nat, false otherwise"`
IsSystembool`json:"issystem,omitempty" doc:"true if this ip is system ip (was allocated as a part of deployVm or createLbRule)"`
NetworkID*UUID`json:"networkid,omitempty" doc:"the ID of the Network where ip belongs to"`
PhysicalNetworkID*UUID`json:"physicalnetworkid,omitempty" doc:"the physical network this belongs to"`
Purposestring`json:"purpose,omitempty" doc:"purpose of the IP address. In Acton this value is not null for Ips with isSystem=true, and can have either StaticNat or LB value"`
ReverseDNS[]ReverseDNS`json:"reversedns,omitempty" doc:"the list of PTR record(s) associated with the ip address"`
Statestring`json:"state,omitempty" doc:"State of the ip address. Can be: Allocatin, Allocated and Releasing"`
Tags[]ResourceTag`json:"tags,omitempty" doc:"the list of resource tags associated with ip address"`
VirtualMachineDisplayNamestring`json:"virtualmachinedisplayname,omitempty" doc:"virtual machine display name the ip address is assigned to (not null only for static nat Ip)"`
VirtualMachineID*UUID`json:"virtualmachineid,omitempty" doc:"virtual machine id the ip address is assigned to (not null only for static nat Ip)"`
VirtualMachineNamestring`json:"virtualmachinename,omitempty" doc:"virtual machine name the ip address is assigned to (not null only for static nat Ip)"`
VlanID*UUID`json:"vlanid,omitempty" doc:"the ID of the VLAN associated with the IP address. This parameter is visible to ROOT admins only"`
VlanNamestring`json:"vlanname,omitempty" doc:"the VLAN associated with the IP address"`
VMIPAddressnet.IP`json:"vmipaddress,omitempty" doc:"virtual machine (dnat) ip address (not null only for static nat Ip)"`
ZoneID*UUID`json:"zoneid,omitempty" doc:"the ID of the zone the public IP address belongs to"`
ZoneNamestring`json:"zonename,omitempty" doc:"the name of the zone the public IP address belongs to"`
HealthcheckIntervalint64`json:"interval,omitempty" doc:"healthcheck definition: time in seconds to wait for each check. Default: 10, minimum: 5"`
HealthcheckModestring`json:"mode,omitempty" doc:"healthcheck definition: healthcheck mode can be either 'tcp' or 'http'"`
HealthcheckPathstring`json:"path,omitempty" doc:"healthcheck definition: the path against which the 'http' healthcheck will be performed. Required if mode is 'http', ignored otherwise."`
HealthcheckPortint64`json:"port,omitempty" doc:"healthcheck definition: the port against which the healthcheck will be performed. Required if a 'mode' is provided."`
HealthcheckStrikesFailint64`json:"strikes-fail,omitempty" doc:"healthcheck definition: number of times to retry before declaring the healthcheck 'dead'. Default: 3"`
HealthcheckStrikesOkint64`json:"strikes-ok,omitempty" doc:"healthcheck definition: number of times to retry before declaring the healthcheck 'alive'. Default: 2"`
HealthcheckTimeoutint64`json:"timeout,omitempty" doc:"healthcheck definition: time in seconds to wait for each check. Default: 2, cannot be greater than interval."`
ZoneID*UUID`json:"zoneid,omitempty" doc:"the ID of the availability zone you want to acquire a public IP address from"`
_bool`name:"associateIpAddress" description:"Acquires and associates a public IP to an account."`
HealthcheckIntervalint64`json:"interval,omitempty" doc:"healthcheck definition: time in seconds to wait for each check. Default: 10, minimum: 5"`
HealthcheckModestring`json:"mode,omitempty" doc:"healthcheck definition: healthcheck mode can be either 'tcp' or 'http'"`
HealthcheckPathstring`json:"path,omitempty" doc:"healthcheck definition: the path against which the 'http' healthcheck will be performed. Required if mode is 'http', ignored otherwise."`
HealthcheckPortint64`json:"port,omitempty" doc:"healthcheck definition: the port against which the healthcheck will be performed. Required if a 'mode' is provided."`
HealthcheckStrikesFailint64`json:"strikes-fail,omitempty" doc:"healthcheck definition: number of times to retry before declaring the healthcheck 'dead'. Default: 3"`
HealthcheckStrikesOkint64`json:"strikes-ok,omitempty" doc:"healthcheck definition: number of times to retry before declaring the healthcheck 'alive'. Default: 2"`
HealthcheckTimeoutint64`json:"timeout,omitempty" doc:"healthcheck definition: time in seconds to wait for each check. Default: 2, cannot be greater than interval."`
ID*UUID`json:"id" doc:"the id of the public IP address to update"`
_bool`name:"updateIpAddress" description:"Updates an IP address"`