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

	if args.DataLakeStoreId == nil {
		return nil, errors.New("invalid value for required argument 'DataLakeStoreId'")
	}
	if args.DataShareId == nil {
		return nil, errors.New("invalid value for required argument 'DataShareId'")
	}
	if args.FolderPath == nil {
		return nil, errors.New("invalid value for required argument 'FolderPath'")
	}
	var resource DatasetDataLakeGen1
	err := ctx.RegisterResource("azure:datashare/datasetDataLakeGen1:DatasetDataLakeGen1", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// NewDatasetDataLakeGen1 registers a new resource with the given unique name, arguments, and options.
NewDatasetDataLakeGen1 registers a new resource with the given unique name, arguments, and options.
// NewDatasetDataLakeGen1 registers a new resource with the given unique name arguments and options .
func NewDatasetDataLakeGen1(ctx *pulumi.Context,
	name string, args *DatasetDataLakeGen1Args, opts ...pulumi.ResourceOption) (*DatasetDataLakeGen1, error) {
	if args == nil {
		return nil, errors.New("missing one or more required arguments")
	}
	if args.DataLakeStoreId == nil {
		return nil, errors.New("invalid value for required argument 'DataLakeStoreId'")
	}
	if args.DataShareId == nil {
		return nil, errors.New("invalid value for required argument 'DataShareId'")
	}
	if args.FolderPath == nil {
		return nil, errors.New("invalid value for required argument 'FolderPath'")
	}
	var resource DatasetDataLakeGen1
	err := ctx.RegisterResource("azure:datashare/datasetDataLakeGen1:DatasetDataLakeGen1", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func NewDatasetDataLakeGen1 ( ctx * pulumi . Context , name string , args * DatasetDataLakeGen1Args , opts ... pulumi . ResourceOption ) ( * DatasetDataLakeGen1 , error ) { if args == nil { return nil , errors . New ( " " ) } if args . DataLakeStoreId == nil { return nil , errors . New ( " " ) } if args . DataShareId == nil { return nil , errors . New ( " " ) } if args . FolderPath == nil { return nil , errors . New ( " " ) } var resource DatasetDataLakeGen1 err := ctx . RegisterResource ( " " , name , args , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
NewDatasetDataLakeGen1 registers a new resource with the given unique name, arguments, and options.
NewDatasetDataLakeGen1 registers a new resource with the given unique name arguments and options .