Aiven v6.28.0 published on Friday, Nov 15, 2024 by Pulumi
aiven.getValkeyUser
Explore with Pulumi AI
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.
- Service
Name 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.
- Service
Name 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.
- service
Name 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.
- service
Name 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.
- service
Name 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.
- Service
Name 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.
- Valkey
Acl List<string>Categories - Defines command category rules. The field is required with
valkey_acl_commands
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - Valkey
Acl List<string>Channels - Defines the permitted pub/sub channel patterns. Changing this property forces recreation of the resource.
- Valkey
Acl List<string>Commands - Defines rules for individual commands. The field is required with
valkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - Valkey
Acl List<string>Keys - Defines key access rules. The field is required with
valkey_acl_categories
andvalkey_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.
- Service
Name 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.
- Valkey
Acl []stringCategories - Defines command category rules. The field is required with
valkey_acl_commands
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - Valkey
Acl []stringChannels - Defines the permitted pub/sub channel patterns. Changing this property forces recreation of the resource.
- Valkey
Acl []stringCommands - Defines rules for individual commands. The field is required with
valkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - Valkey
Acl []stringKeys - Defines key access rules. The field is required with
valkey_acl_categories
andvalkey_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.
- service
Name 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.
- valkey
Acl List<String>Categories - Defines command category rules. The field is required with
valkey_acl_commands
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey
Acl List<String>Channels - Defines the permitted pub/sub channel patterns. Changing this property forces recreation of the resource.
- valkey
Acl List<String>Commands - Defines rules for individual commands. The field is required with
valkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey
Acl List<String>Keys - Defines key access rules. The field is required with
valkey_acl_categories
andvalkey_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.
- service
Name 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.
- valkey
Acl string[]Categories - Defines command category rules. The field is required with
valkey_acl_commands
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey
Acl string[]Channels - Defines the permitted pub/sub channel patterns. Changing this property forces recreation of the resource.
- valkey
Acl string[]Commands - Defines rules for individual commands. The field is required with
valkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey
Acl string[]Keys - Defines key access rules. The field is required with
valkey_acl_categories
andvalkey_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_ Sequence[str]categories - Defines command category rules. The field is required with
valkey_acl_commands
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey_
acl_ Sequence[str]channels - Defines the permitted pub/sub channel patterns. Changing this property forces recreation of the resource.
- valkey_
acl_ Sequence[str]commands - Defines rules for individual commands. The field is required with
valkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey_
acl_ Sequence[str]keys - Defines key access rules. The field is required with
valkey_acl_categories
andvalkey_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.
- service
Name 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.
- valkey
Acl List<String>Categories - Defines command category rules. The field is required with
valkey_acl_commands
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey
Acl List<String>Channels - Defines the permitted pub/sub channel patterns. Changing this property forces recreation of the resource.
- valkey
Acl List<String>Commands - Defines rules for individual commands. The field is required with
valkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey
Acl List<String>Keys - Defines key access rules. The field is required with
valkey_acl_categories
andvalkey_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.