UserArgs constructor

const UserArgs({
  1. Input<List<String>?>? databaseRoles,
  2. Input<String?>? deletionPolicy,
  3. Input<String?>? host,
  4. required Input<String> instance,
  5. Input<String?>? name,
  6. Input<String?>? password,
  7. Input<UserPasswordPolicy?>? passwordPolicy,
  8. Input<String?>? passwordWo,
  9. Input<int?>? passwordWoVersion,
  10. Input<String?>? project,
  11. Input<String?>? type,
})

Creates a new UserArgs. 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 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 type The user type. It determines the method to authenticate the

Implementation

const UserArgs({
  this.databaseRoles,
  this.deletionPolicy,
  this.host,
  required this.instance,
  this.name,
  this.password,
  this.passwordPolicy,
  this.passwordWo,
  this.passwordWoVersion,
  this.project,
  this.type,
});