public static class EdgeGatewayDhcpUpdateRequest.StaticBinding extends Object
Constructor and Description |
---|
StaticBinding(Boolean autoConfigureDNS,
String bindingId,
String vmId,
Integer vnicId,
String hostname,
String ipAddress,
String defaultGateway,
String domainName,
String primaryNameServer,
String secondaryNameServer,
String leaseTime,
String macAddress,
String subnetMask,
EdgeGatewayDhcpUpdateRequest.DhcpOptions dhcpOptions,
String nextServer)
Instantiates a new Static bindings.
|
Modifier and Type | Method and Description |
---|---|
String |
getBindingId()
Gets binding id.
|
String |
getDefaultGateway()
Gets default gateway.
|
EdgeGatewayDhcpUpdateRequest.DhcpOptions |
getDhcpOptions()
Get the DHCP options for the static binding.
|
String |
getDomainName()
Gets domain name.
|
String |
getHostname()
Gets hostname.
|
String |
getIpAddress()
Gets ip address.
|
String |
getLeaseTime()
Gets lease time.
|
String |
getMacAddress()
Gets mac address.
|
String |
getNextServer()
Gets next server.
|
String |
getPrimaryNameServer()
Gets primary name server.
|
String |
getSecondaryNameServer()
Gets secondary name server.
|
String |
getSubnetMask()
Gets subnet mask.
|
String |
getVmId()
Gets vm id.
|
Integer |
getVnicId()
Gets vnic id.
|
Boolean |
isAutoConfigureDNS()
Is auto configure dns Boolean.
|
public StaticBinding(Boolean autoConfigureDNS, String bindingId, String vmId, Integer vnicId, String hostname, String ipAddress, String defaultGateway, String domainName, String primaryNameServer, String secondaryNameServer, String leaseTime, String macAddress, String subnetMask, EdgeGatewayDhcpUpdateRequest.DhcpOptions dhcpOptions, String nextServer)
autoConfigureDNS
- the auto configure dnsbindingId
- the binding idvmId
- the vm idvnicId
- the vnic idhostname
- the hostnameipAddress
- the ip addressdefaultGateway
- the default gatewaydomainName
- the domain nameprimaryNameServer
- the primary name serversecondaryNameServer
- the secondary name serverleaseTime
- the lease timemacAddress
- the mac addresssubnetMask
- the subnet maskdhcpOptions
- the dhcp optionsnextServer
- the next serverpublic Boolean isAutoConfigureDNS()
public String getVmId()
String
the vm idpublic Integer getVnicId()
String
the vnic idpublic String getHostname()
String
the hostnamepublic String getIpAddress()
The IP can either belong to a a subnet of one of Edge's vNics or it can be any valid IP address, but the IP must not overlap with any primary/secondary IP addresses associated with any of Edge's vNICs. If the IP does not belong to any Edge vNic subnets, you must ensure that the default gateway and subnetMask are configured via this API call.
String
the ip addresspublic String getDefaultGateway()
If the ipRange (for ipPool) or assigned IP (for staticBinding) falls entirely within one of the Edge vNIC subnets, defaultGateway is set to the primary IP of the vNIC configured with the matching subnet. Otherwise, you must provide the correct gateway IP. If an IP is not provided, the client host may not get default gateway IP from the DHCP server.
String
the default gatewaypublic String getPrimaryNameServer()
If autoConfigureDNS is true, the DNS primary/secondary IPs will be generated from DNS service (if configured).
String
the primary name serverpublic String getSecondaryNameServer()
If autoConfigureDNS is true, the DNS primary/secondary IPs will be generated from DNS service (if configured).
String
the secondary name serverpublic String getLeaseTime()
In seconds, default is 86400. Valid leaseTime is a valid number or infinite.
String
the lease timepublic String getSubnetMask()
If not specified, and the the ipRange (for ipPool) or assigned IP (for staticBinding) belongs to an Edge vNic subnet, it is defaulted to the subnet mask of this vNic subnet. Otherwise, it is defaulted to a minimum subnet mask which is figured out with the IP range itself, e.g. the mask of range 192.168.5.2-192.168.5.20 is 255.255.255.224. You can edit this range, if required.
String
the subnet maskpublic EdgeGatewayDhcpUpdateRequest.DhcpOptions getDhcpOptions()
EdgeGatewayDhcpUpdateRequest.DhcpOptions
dhcp options for static bindingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.