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

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