Skip to content
Docs Try Aspire

ValkeyResource Constructors

Class Constructors 2 members
A resource that represents a Valkey resource independent of the hosting model.
A resource that represents a Valkey resource independent of the hosting model.
public class ValkeyResource
{
public ValkeyResource(
string name)
{
// ...
}
}
name string The name of the resource.
Constructor(string, ParameterResource) Section titled Constructor(string, ParameterResource)
Initializes a new instance of the ValkeyResource class.
public class ValkeyResource
{
public ValkeyResource(
string name,
ParameterResource password)
{
// ...
}
}
name string The name of the resource.
password ParameterResource A parameter that contains the Valkey server password.