UserState class

Input properties used for looking up and filtering User resources.

Constructors

UserState({Input<String?>? cluster, Input<List<String>?>? databaseRoles, Input<String?>? deletionPolicy, Input<String?>? name, Input<String?>? password, Input<String?>? passwordWo, Input<String?>? passwordWoVersion, Input<String?>? userId, Input<String?>? userType})
Creates a new UserState. cluster Identifies the alloydb cluster. Must be in the format databaseRoles List of database roles this database user has. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. name Name of the resource in the form of projects/{project}/locations/{location}/clusters/{cluster}/users/{user}. password Password for this database user. passwordWo NOTE: This field is write-only and its value will not be updated in state as part of read operations. passwordWoVersion Triggers update of passwordWo write-only. Increment this value when an update to passwordWo is needed. For more info see updating write-only arguments userId The database role name of the user. userType The type of this user.
const
UserState.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
name → Input<String?>?
Name of the resource in the form of projects/{project}/locations/{location}/clusters/{cluster}/users/{user}.
final
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 passwordWo write-only. Increment this value when an update to passwordWo is needed. For more info see updating write-only arguments
final
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