UserState constructor
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.
Implementation
const UserState({
this.cluster,
this.databaseRoles,
this.deletionPolicy,
this.name,
this.password,
this.passwordWo,
this.passwordWoVersion,
this.userId,
this.userType,
});