func NewServerGroup(ctx *pulumi.Context,
	name string, args *ServerGroupArgs, opts ...pulumi.ResourceOption) (*ServerGroup, error) {
	if args == nil {
		args = &ServerGroupArgs{}
	}

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