UserState constructor
- Input<
List< ? databaseRoles,String> ?> - Input<
String?> ? deletionPolicy, - Input<
String?> ? host, - Input<
String?> ? iamEmail, - Input<
String?> ? instance, - Input<
String?> ? name, - Input<
String?> ? password, - Input<
UserPasswordPolicy?> ? passwordPolicy, - Input<
String?> ? passwordWo, - Input<
int?> ? passwordWoVersion, - Input<
String?> ? project, - Input<
List< ? sqlServerUserDetails,UserSqlServerUserDetail> ?> - Input<
String?> ? type,
Creates a new UserState.
databaseRoles A list of database roles to be assigned to the user.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE".
host The host the user can connect from. This is only supported
iamEmail IAM email address for MySQL IAM database users.
instance The name of the Cloud SQL instance. Changing this
name The name of the user. Changing this forces a new resource
password The password for the user. Can be updated. For Postgres
passwordPolicy Optional.
passwordWo NOTE: This field is write-only and its value will not be updated in state as part of read operations.
passwordWoVersion An integer value used to trigger an update for passwordWo. This property should be incremented when updating passwordWo. For more info see updating write-only arguments.
project The ID of the project in which the resource belongs. If it
sqlServerUserDetails Optional.
type The user type. It determines the method to authenticate the
Implementation
const UserState({
this.databaseRoles,
this.deletionPolicy,
this.host,
this.iamEmail,
this.instance,
this.name,
this.password,
this.passwordPolicy,
this.passwordWo,
this.passwordWoVersion,
this.project,
this.sqlServerUserDetails,
this.type,
});