// NewLinkedServicePostgresql registers a new resource with the given unique name, arguments, and options.
NewLinkedServicePostgresql registers a new resource with the given unique name, arguments, and options.
// NewLinkedServicePostgresql registers a new resource with the given unique name arguments and options .
func NewLinkedServicePostgresql(ctx *pulumi.Context,
	name string, args *LinkedServicePostgresqlArgs, opts ...pulumi.ResourceOption) (*LinkedServicePostgresql, error) {
	if args == nil {
		return nil, errors.New("missing one or more required arguments")
	}
	if args.ConnectionString == nil {
		return nil, errors.New("invalid value for required argument 'ConnectionString'")
	}
	if args.DataFactoryName == nil {
		return nil, errors.New("invalid value for required argument 'DataFactoryName'")
	}
	if args.ResourceGroupName == nil {
		return nil, errors.New("invalid value for required argument 'ResourceGroupName'")
	}
	var resource LinkedServicePostgresql
	err := ctx.RegisterResource("azure:datafactory/linkedServicePostgresql:LinkedServicePostgresql", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func NewLinkedServicePostgresql ( ctx * pulumi . Context , name string , args * LinkedServicePostgresqlArgs , opts ... pulumi . ResourceOption ) ( * LinkedServicePostgresql , error ) { if args == nil { return nil , errors . New ( " " ) } if args . ConnectionString == nil { return nil , errors . New ( " " ) } if args . DataFactoryName == nil { return nil , errors . New ( " " ) } if args . ResourceGroupName == nil { return nil , errors . New ( " " ) } var resource LinkedServicePostgresql err := ctx . RegisterResource ( " " , name , args , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
NewLinkedServicePostgresql registers a new resource with the given unique name, arguments, and options.
NewLinkedServicePostgresql registers a new resource with the given unique name arguments and options .