func NewTempUrl(ctx *pulumi.Context,
	name string, args *TempUrlArgs, opts ...pulumi.ResourceOption) (*TempUrl, error) {
	if args == nil {
		return nil, errors.New("missing one or more required arguments")
	}

	if args.Container == nil {
		return nil, errors.New("invalid value for required argument 'Container'")
	}
	if args.Object == nil {
		return nil, errors.New("invalid value for required argument 'Object'")
	}
	if args.Ttl == nil {
		return nil, errors.New("invalid value for required argument 'Ttl'")
	}
	var resource TempUrl
	err := ctx.RegisterResource("openstack:objectstorage/tempUrl:TempUrl", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// NewTempUrl registers a new resource with the given unique name, arguments, and options.
NewTempUrl registers a new resource with the given unique name, arguments, and options.
// NewTempUrl registers a new resource with the given unique name arguments and options .
func NewTempUrl(ctx *pulumi.Context,
	name string, args *TempUrlArgs, opts ...pulumi.ResourceOption) (*TempUrl, error) {
	if args == nil {
		return nil, errors.New("missing one or more required arguments")
	}
	if args.Container == nil {
		return nil, errors.New("invalid value for required argument 'Container'")
	}
	if args.Object == nil {
		return nil, errors.New("invalid value for required argument 'Object'")
	}
	if args.Ttl == nil {
		return nil, errors.New("invalid value for required argument 'Ttl'")
	}
	var resource TempUrl
	err := ctx.RegisterResource("openstack:objectstorage/tempUrl:TempUrl", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func NewTempUrl ( ctx * pulumi . Context , name string , args * TempUrlArgs , opts ... pulumi . ResourceOption ) ( * TempUrl , error ) { if args == nil { return nil , errors . New ( " " ) } if args . Container == nil { return nil , errors . New ( " " ) } if args . Object == nil { return nil , errors . New ( " " ) } if args . Ttl == nil { return nil , errors . New ( " " ) } var resource TempUrl err := ctx . RegisterResource ( " " , name , args , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
NewTempUrl registers a new resource with the given unique name, arguments, and options.
NewTempUrl registers a new resource with the given unique name arguments and options .