com.pulumi.googlenative.redis.v1beta1.kotlin.outputs.MaintenancePolicyResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.redis.v1beta1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Maintenance policy for an instance.
* @property createTime The time when the policy was created.
* @property description Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
* @property updateTime The time when the policy was last updated.
* @property weeklyMaintenanceWindow Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
*/
public data class MaintenancePolicyResponse(
public val createTime: String,
public val description: String,
public val updateTime: String,
public val weeklyMaintenanceWindow: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.redis.v1beta1.outputs.MaintenancePolicyResponse): MaintenancePolicyResponse = MaintenancePolicyResponse(
createTime = javaType.createTime(),
description = javaType.description(),
updateTime = javaType.updateTime(),
weeklyMaintenanceWindow = javaType.weeklyMaintenanceWindow().map({ args0 ->
args0.let({ args0 ->
com.pulumi.googlenative.redis.v1beta1.kotlin.outputs.WeeklyMaintenanceWindowResponse.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy