UserArgs class
The set of arguments for User. The set of arguments for User.
Constructors
-
UserArgs({required Input<
String> cluster, Input<List< ? databaseRoles, Input<String> ?>String?> ? deletionPolicy, Input<String?> ? password, Input<String?> ? passwordWo, Input<String?> ? passwordWoVersion, required Input<String> userId, required Input<String> userType}) -
Creates a new UserArgs.
clusterIdentifies the alloydb cluster. Must be in the formatdatabaseRolesList of database roles this database user has.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.passwordPassword for this database user.passwordWoNOTE: This field is write-only and its value will not be updated in state as part of read operations.passwordWoVersionTriggers update ofpasswordWowrite-only. Increment this value when an update topasswordWois needed. For more info see updating write-only argumentsuserIdThe database role name of the user.userTypeThe type of this user.const -
UserArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
cluster
→ Input<
String> -
Identifies the alloydb cluster. Must be in the format
'projects/{project}/locations/{location}/clusters/{cluster_id}'
final
-
databaseRoles
→ Input<
List< ?String> ?> -
List of database roles this database user has.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
password
→ Input<
String?> ? -
Password for this database user.
Note: This property is sensitive and will not be displayed in the plan.
final
-
passwordWo
→ Input<
String?> ? -
NOTE: This field is write-only and its value will not be updated in state as part of read operations.
(Optional, Write-Only)
Password for this database user.
Note: This property is write-only and will not be read from the API.
final
-
passwordWoVersion
→ Input<
String?> ? -
Triggers update of
passwordWowrite-only. Increment this value when an update topasswordWois needed. For more info see updating write-only argumentsfinal - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
userId
→ Input<
String> -
The database role name of the user.
final
-
userType
→ Input<
String> -
The type of this user.
Possible values are:
ALLOYDB_BUILT_IN,ALLOYDB_IAM_USER.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited