func GetListener(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ListenerState, opts ...pulumi.ResourceOption) (*Listener, error) {
	var resource Listener
	err := ctx.ReadResource("openstack:loadbalancer/listener:Listener", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// GetListener gets an existing Listener resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
GetListener gets an existing Listener resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
// GetListener gets an existing Listener resource ' s state with the given name ID and optional // state properties that are used to uniquely qualify the lookup ( nil if not required ) .
func GetListener(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ListenerState, opts ...pulumi.ResourceOption) (*Listener, error) {
	var resource Listener
	err := ctx.ReadResource("openstack:loadbalancer/listener:Listener", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func GetListener ( ctx * pulumi . Context , name string , id pulumi . IDInput , state * ListenerState , opts ... pulumi . ResourceOption ) ( * Listener , error ) { var resource Listener err := ctx . ReadResource ( " " , name , id , state , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
GetListener gets an existing Listener resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
GetListener gets an existing Listener resource ' s state with the given name ID and optional state properties that are used to uniquely qualify the lookup ( nil if not required ) .