func NewEndpointGroup(ctx *pulumi.Context,
	name string, args *EndpointGroupArgs, opts ...pulumi.ResourceOption) (*EndpointGroup, error) {
	if args == nil {
		args = &EndpointGroupArgs{}
	}

	var resource EndpointGroup
	err := ctx.RegisterResource("openstack:vpnaas/endpointGroup:EndpointGroup", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// NewEndpointGroup registers a new resource with the given unique name, arguments, and options.
NewEndpointGroup registers a new resource with the given unique name, arguments, and options.
// NewEndpointGroup registers a new resource with the given unique name arguments and options .
func NewEndpointGroup(ctx *pulumi.Context,
	name string, args *EndpointGroupArgs, opts ...pulumi.ResourceOption) (*EndpointGroup, error) {
	if args == nil {
		args = &EndpointGroupArgs{}
	}
	var resource EndpointGroup
	err := ctx.RegisterResource("openstack:vpnaas/endpointGroup:EndpointGroup", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func NewEndpointGroup ( ctx * pulumi . Context , name string , args * EndpointGroupArgs , opts ... pulumi . ResourceOption ) ( * EndpointGroup , error ) { if args == nil { args = & EndpointGroupArgs { } } var resource EndpointGroup err := ctx . RegisterResource ( " " , name , args , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
NewEndpointGroup registers a new resource with the given unique name, arguments, and options.
NewEndpointGroup registers a new resource with the given unique name arguments and options .