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

	if args.Entity == nil {
		return nil, errors.New("invalid value for required argument 'Entity'")
	}
	if args.PartitionKey == nil {
		return nil, errors.New("invalid value for required argument 'PartitionKey'")
	}
	if args.RowKey == nil {
		return nil, errors.New("invalid value for required argument 'RowKey'")
	}
	if args.StorageAccountName == nil {
		return nil, errors.New("invalid value for required argument 'StorageAccountName'")
	}
	if args.TableName == nil {
		return nil, errors.New("invalid value for required argument 'TableName'")
	}
	var resource TableEntity
	err := ctx.RegisterResource("azure:storage/tableEntity:TableEntity", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// NewTableEntity registers a new resource with the given unique name, arguments, and options.
NewTableEntity registers a new resource with the given unique name, arguments, and options.
// NewTableEntity registers a new resource with the given unique name arguments and options .
func NewTableEntity(ctx *pulumi.Context,
	name string, args *TableEntityArgs, opts ...pulumi.ResourceOption) (*TableEntity, error) {
	if args == nil {
		return nil, errors.New("missing one or more required arguments")
	}
	if args.Entity == nil {
		return nil, errors.New("invalid value for required argument 'Entity'")
	}
	if args.PartitionKey == nil {
		return nil, errors.New("invalid value for required argument 'PartitionKey'")
	}
	if args.RowKey == nil {
		return nil, errors.New("invalid value for required argument 'RowKey'")
	}
	if args.StorageAccountName == nil {
		return nil, errors.New("invalid value for required argument 'StorageAccountName'")
	}
	if args.TableName == nil {
		return nil, errors.New("invalid value for required argument 'TableName'")
	}
	var resource TableEntity
	err := ctx.RegisterResource("azure:storage/tableEntity:TableEntity", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func NewTableEntity ( ctx * pulumi . Context , name string , args * TableEntityArgs , opts ... pulumi . ResourceOption ) ( * TableEntity , error ) { if args == nil { return nil , errors . New ( " " ) } if args . Entity == nil { return nil , errors . New ( " " ) } if args . PartitionKey == nil { return nil , errors . New ( " " ) } if args . RowKey == nil { return nil , errors . New ( " " ) } if args . StorageAccountName == nil { return nil , errors . New ( " " ) } if args . TableName == nil { return nil , errors . New ( " " ) } var resource TableEntity err := ctx . RegisterResource ( " " , name , args , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
NewTableEntity registers a new resource with the given unique name, arguments, and options.
NewTableEntity registers a new resource with the given unique name arguments and options .