com.pulumi.gcp.sql.kotlin.outputs.GetDatabaseInstanceSettingPasswordValidationPolicy.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.sql.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property complexity Password complexity.
* @property disallowUsernameSubstring Disallow username as a part of the password.
* @property enablePasswordPolicy Whether the password policy is enabled or not.
* @property minLength Minimum number of characters allowed.
* @property passwordChangeInterval Minimum interval after which the password can be changed. This flag is only supported for PostgresSQL.
* @property reuseInterval Number of previous passwords that cannot be reused.
*/
public data class GetDatabaseInstanceSettingPasswordValidationPolicy(
public val complexity: String,
public val disallowUsernameSubstring: Boolean,
public val enablePasswordPolicy: Boolean,
public val minLength: Int,
public val passwordChangeInterval: String,
public val reuseInterval: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.sql.outputs.GetDatabaseInstanceSettingPasswordValidationPolicy): GetDatabaseInstanceSettingPasswordValidationPolicy =
GetDatabaseInstanceSettingPasswordValidationPolicy(
complexity = javaType.complexity(),
disallowUsernameSubstring = javaType.disallowUsernameSubstring(),
enablePasswordPolicy = javaType.enablePasswordPolicy(),
minLength = javaType.minLength(),
passwordChangeInterval = javaType.passwordChangeInterval(),
reuseInterval = javaType.reuseInterval(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy