github.com/opentelekomcloud/gophertelekomcloud@v0.9.3/openstack/apigw/v2/gateway/DisableIngressELB.go (about)

     1  package gateway
     2  
     3  import golangsdk "github.com/opentelekomcloud/gophertelekomcloud"
     4  
     5  // DisableElbIngressAccess is a method to unbind the ingress eip associated with an existing APIG dedicated instance.
     6  // Supported only when load balancer_provider is set to elb.
     7  func DisableElbIngressAccess(client *golangsdk.ServiceClient, instanceId string) error {
     8  	_, err := client.Delete(client.ServiceURL("apigw", "instances", instanceId, "ingress-eip"), nil)
     9  	return err
    10  }