Class LoadBalancerDNSPatch

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class LoadBalancerDNSPatch
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The DNS configuration for this load balancer. Specify `null` to remove the existing DNS configuration, which will remove all DNS `A` records for this load balancer that had been added to `zone`, and add equivalent `A` records to the public DNS zone `lb.appdomain.cloud`. Not supported by private path load balancers.
    • Method Detail

      • instance

        public DNSInstanceIdentity instance()
        Gets the instance. The DNS instance to associate with this load balancer. The specified instance may be in a different region or account, subject to IAM policies.
        Returns:
        the instance
      • zone

        public DNSZoneIdentity zone()
        Gets the zone. The DNS zone to associate with this load balancer. The specified zone may be in a different region or account, subject to IAM policies.
        Returns:
        the zone