1. Packages
  2. Aiven Provider
  3. API Docs
  4. getValkeyUser
Aiven v6.25.0 published on Friday, Sep 27, 2024 by Pulumi

aiven.getValkeyUser

Explore with Pulumi AI

aiven logo
Aiven v6.25.0 published on Friday, Sep 27, 2024 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>
    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]
    func LookupValkeyUser(ctx *Context, args *LookupValkeyUserArgs, opts ...InvokeOption) (*LookupValkeyUserResult, error)
    func LookupValkeyUserOutput(ctx *Context, args *LookupValkeyUserOutputArgs, opts ...InvokeOption) LookupValkeyUserResultOutput

    > 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)
    }
    public static CompletableFuture<GetValkeyUserResult> getValkeyUser(GetValkeyUserArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aiven:index/getValkeyUser:getValkeyUser
      arguments:
        # arguments dictionary

    The following arguments are supported:

    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.
    Username string
    The actual name of the Valkey User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    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.
    Username string
    The actual name of the Valkey User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    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.
    username String
    The actual name of the Valkey User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    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.
    username string
    The actual name of the Valkey User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    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.
    username str
    The actual name of the Valkey User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    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.
    username String
    The actual name of the Valkey 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 password of the Valkey User.
    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
    Type of the user account. Tells whether the user is the primary account or a regular account.
    Username string
    The actual name of the Valkey 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>
    Defines command category rules. The field is required withvalkey_acl_commands and valkey_acl_keys. Changing this property forces recreation of the resource.
    ValkeyAclChannels List<string>
    Defines the permitted pub/sub channel patterns. Changing this property forces recreation of the resource.
    ValkeyAclCommands List<string>
    Defines rules for individual commands. The field is required withvalkey_acl_categories and valkey_acl_keys. Changing this property forces recreation of the resource.
    ValkeyAclKeys List<string>
    Defines key access rules. 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 password of the Valkey User.
    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
    Type of the user account. Tells whether the user is the primary account or a regular account.
    Username string
    The actual name of the Valkey User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    ValkeyAclCategories []string
    Defines command category rules. The field is required withvalkey_acl_commands and valkey_acl_keys. Changing this property forces recreation of the resource.
    ValkeyAclChannels []string
    Defines the permitted pub/sub channel patterns. Changing this property forces recreation of the resource.
    ValkeyAclCommands []string
    Defines rules for individual commands. The field is required withvalkey_acl_categories and valkey_acl_keys. Changing this property forces recreation of the resource.
    ValkeyAclKeys []string
    Defines key access rules. 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 password of the Valkey User.
    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
    Type of the user account. Tells whether the user is the primary account or a regular account.
    username String
    The actual name of the Valkey 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>
    Defines command category rules. The field is required withvalkey_acl_commands and valkey_acl_keys. Changing this property forces recreation of the resource.
    valkeyAclChannels List<String>
    Defines the permitted pub/sub channel patterns. Changing this property forces recreation of the resource.
    valkeyAclCommands List<String>
    Defines rules for individual commands. The field is required withvalkey_acl_categories and valkey_acl_keys. Changing this property forces recreation of the resource.
    valkeyAclKeys List<String>
    Defines key access rules. 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 password of the Valkey User.
    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
    Type of the user account. Tells whether the user is the primary account or a regular account.
    username string
    The actual name of the Valkey User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    valkeyAclCategories string[]
    Defines command category rules. The field is required withvalkey_acl_commands and valkey_acl_keys. Changing this property forces recreation of the resource.
    valkeyAclChannels string[]
    Defines the permitted pub/sub channel patterns. Changing this property forces recreation of the resource.
    valkeyAclCommands string[]
    Defines rules for individual commands. The field is required withvalkey_acl_categories and valkey_acl_keys. Changing this property forces recreation of the resource.
    valkeyAclKeys string[]
    Defines key access rules. 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 password of the Valkey User.
    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
    Type of the user account. Tells whether the user is the primary account or a regular account.
    username str
    The actual name of the Valkey 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]
    Defines command category rules. The field is required withvalkey_acl_commands and valkey_acl_keys. Changing this property forces recreation of the resource.
    valkey_acl_channels Sequence[str]
    Defines the permitted pub/sub channel patterns. Changing this property forces recreation of the resource.
    valkey_acl_commands Sequence[str]
    Defines rules for individual commands. The field is required withvalkey_acl_categories and valkey_acl_keys. Changing this property forces recreation of the resource.
    valkey_acl_keys Sequence[str]
    Defines key access rules. 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 password of the Valkey User.
    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
    Type of the user account. Tells whether the user is the primary account or a regular account.
    username String
    The actual name of the Valkey 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>
    Defines command category rules. The field is required withvalkey_acl_commands and valkey_acl_keys. Changing this property forces recreation of the resource.
    valkeyAclChannels List<String>
    Defines the permitted pub/sub channel patterns. Changing this property forces recreation of the resource.
    valkeyAclCommands List<String>
    Defines rules for individual commands. The field is required withvalkey_acl_categories and valkey_acl_keys. Changing this property forces recreation of the resource.
    valkeyAclKeys List<String>
    Defines key access rules. 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 logo
    Aiven v6.25.0 published on Friday, Sep 27, 2024 by Pulumi