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

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