1. Packages
  2. Aiven Provider
  3. API Docs
  4. getValkeyUser
Aiven v6.35.0 published on Friday, Feb 21, 2025 by Pulumi

aiven.getValkeyUser

Explore with Pulumi AI

Aiven v6.35.0 published on Friday, Feb 21, 2025 by Pulumi

The Valkey User data source provides information about the existing Aiven for Valkey user.

Using getValkeyUser

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getValkeyUser(args: GetValkeyUserArgs, opts?: InvokeOptions): Promise<GetValkeyUserResult>
function getValkeyUserOutput(args: GetValkeyUserOutputArgs, opts?: InvokeOptions): Output<GetValkeyUserResult>
Copy
def get_valkey_user(project: Optional[str] = None,
                    service_name: Optional[str] = None,
                    username: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetValkeyUserResult
def get_valkey_user_output(project: Optional[pulumi.Input[str]] = None,
                    service_name: Optional[pulumi.Input[str]] = None,
                    username: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetValkeyUserResult]
Copy
func LookupValkeyUser(ctx *Context, args *LookupValkeyUserArgs, opts ...InvokeOption) (*LookupValkeyUserResult, error)
func LookupValkeyUserOutput(ctx *Context, args *LookupValkeyUserOutputArgs, opts ...InvokeOption) LookupValkeyUserResultOutput
Copy

> Note: This function is named LookupValkeyUser in the Go SDK.

public static class GetValkeyUser 
{
    public static Task<GetValkeyUserResult> InvokeAsync(GetValkeyUserArgs args, InvokeOptions? opts = null)
    public static Output<GetValkeyUserResult> Invoke(GetValkeyUserInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetValkeyUserResult> getValkeyUser(GetValkeyUserArgs args, InvokeOptions options)
public static Output<GetValkeyUserResult> getValkeyUser(GetValkeyUserArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aiven:index/getValkeyUser:getValkeyUser
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Project This property is required. string
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
ServiceName This property is required. string
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
Username This property is required. string
Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
Project This property is required. string
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
ServiceName This property is required. string
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
Username This property is required. string
Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
project This property is required. String
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
serviceName This property is required. String
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
username This property is required. String
Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
project This property is required. string
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
serviceName This property is required. string
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
username This property is required. string
Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
project This property is required. str
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
service_name This property is required. str
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
username This property is required. str
Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
project This property is required. String
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
serviceName This property is required. String
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
username This property is required. String
Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.

getValkeyUser Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Password string
The Valkey service user's password.
Project string
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
ServiceName string
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
Type string
User account type, such as primary or regular account.
Username string
Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
ValkeyAclCategories List<string>
Allow or disallow command categories. To allow a category use the prefix +@ and to disallow use -@. See the Valkey documentation for details on the ACL feature. The field is required withvalkey_acl_commands and valkey_acl_keys. Changing this property forces recreation of the resource.
ValkeyAclChannels List<string>
Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
ValkeyAclCommands List<string>
Defines rules for individual commands. To allow a command use the prefix + and to disallow use -. The field is required withvalkey_acl_categories and valkey_acl_keys. Changing this property forces recreation of the resource.
ValkeyAclKeys List<string>
Key access rules. Entries are defined as standard glob patterns. The field is required withvalkey_acl_categories and valkey_acl_keys. Changing this property forces recreation of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Password string
The Valkey service user's password.
Project string
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
ServiceName string
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
Type string
User account type, such as primary or regular account.
Username string
Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
ValkeyAclCategories []string
Allow or disallow command categories. To allow a category use the prefix +@ and to disallow use -@. See the Valkey documentation for details on the ACL feature. The field is required withvalkey_acl_commands and valkey_acl_keys. Changing this property forces recreation of the resource.
ValkeyAclChannels []string
Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
ValkeyAclCommands []string
Defines rules for individual commands. To allow a command use the prefix + and to disallow use -. The field is required withvalkey_acl_categories and valkey_acl_keys. Changing this property forces recreation of the resource.
ValkeyAclKeys []string
Key access rules. Entries are defined as standard glob patterns. The field is required withvalkey_acl_categories and valkey_acl_keys. Changing this property forces recreation of the resource.
id String
The provider-assigned unique ID for this managed resource.
password String
The Valkey service user's password.
project String
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
serviceName String
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
type String
User account type, such as primary or regular account.
username String
Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
valkeyAclCategories List<String>
Allow or disallow command categories. To allow a category use the prefix +@ and to disallow use -@. See the Valkey documentation for details on the ACL feature. The field is required withvalkey_acl_commands and valkey_acl_keys. Changing this property forces recreation of the resource.
valkeyAclChannels List<String>
Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
valkeyAclCommands List<String>
Defines rules for individual commands. To allow a command use the prefix + and to disallow use -. The field is required withvalkey_acl_categories and valkey_acl_keys. Changing this property forces recreation of the resource.
valkeyAclKeys List<String>
Key access rules. Entries are defined as standard glob patterns. The field is required withvalkey_acl_categories and valkey_acl_keys. Changing this property forces recreation of the resource.
id string
The provider-assigned unique ID for this managed resource.
password string
The Valkey service user's password.
project string
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
serviceName string
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
type string
User account type, such as primary or regular account.
username string
Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
valkeyAclCategories string[]
Allow or disallow command categories. To allow a category use the prefix +@ and to disallow use -@. See the Valkey documentation for details on the ACL feature. The field is required withvalkey_acl_commands and valkey_acl_keys. Changing this property forces recreation of the resource.
valkeyAclChannels string[]
Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
valkeyAclCommands string[]
Defines rules for individual commands. To allow a command use the prefix + and to disallow use -. The field is required withvalkey_acl_categories and valkey_acl_keys. Changing this property forces recreation of the resource.
valkeyAclKeys string[]
Key access rules. Entries are defined as standard glob patterns. The field is required withvalkey_acl_categories and valkey_acl_keys. Changing this property forces recreation of the resource.
id str
The provider-assigned unique ID for this managed resource.
password str
The Valkey service user's password.
project str
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
service_name str
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
type str
User account type, such as primary or regular account.
username str
Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
valkey_acl_categories Sequence[str]
Allow or disallow command categories. To allow a category use the prefix +@ and to disallow use -@. See the Valkey documentation for details on the ACL feature. The field is required withvalkey_acl_commands and valkey_acl_keys. Changing this property forces recreation of the resource.
valkey_acl_channels Sequence[str]
Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
valkey_acl_commands Sequence[str]
Defines rules for individual commands. To allow a command use the prefix + and to disallow use -. The field is required withvalkey_acl_categories and valkey_acl_keys. Changing this property forces recreation of the resource.
valkey_acl_keys Sequence[str]
Key access rules. Entries are defined as standard glob patterns. The field is required withvalkey_acl_categories and valkey_acl_keys. Changing this property forces recreation of the resource.
id String
The provider-assigned unique ID for this managed resource.
password String
The Valkey service user's password.
project String
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
serviceName String
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
type String
User account type, such as primary or regular account.
username String
Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
valkeyAclCategories List<String>
Allow or disallow command categories. To allow a category use the prefix +@ and to disallow use -@. See the Valkey documentation for details on the ACL feature. The field is required withvalkey_acl_commands and valkey_acl_keys. Changing this property forces recreation of the resource.
valkeyAclChannels List<String>
Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
valkeyAclCommands List<String>
Defines rules for individual commands. To allow a command use the prefix + and to disallow use -. The field is required withvalkey_acl_categories and valkey_acl_keys. Changing this property forces recreation of the resource.
valkeyAclKeys List<String>
Key access rules. Entries are defined as standard glob patterns. The field is required withvalkey_acl_categories and valkey_acl_keys. Changing this property forces recreation of the resource.

Package Details

Repository
Aiven pulumi/pulumi-aiven
License
Apache-2.0
Notes
This Pulumi package is based on the aiven Terraform Provider.
Aiven v6.35.0 published on Friday, Feb 21, 2025 by Pulumi