All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.redis.kotlin.outputs.GetInstanceMaintenancePolicy.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.redis.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property createTime Output only. The time when the policy was created.
 * A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
 * resolution and up to nine fractional digits.
 * @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 Output only. The time when the policy was last updated.
 * A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
 * resolution and up to nine fractional digits.
 * @property weeklyMaintenanceWindows 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 GetInstanceMaintenancePolicy(
    public val createTime: String,
    public val description: String,
    public val updateTime: String,
    public val weeklyMaintenanceWindows: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.redis.outputs.GetInstanceMaintenancePolicy): GetInstanceMaintenancePolicy = GetInstanceMaintenancePolicy(
            createTime = javaType.createTime(),
            description = javaType.description(),
            updateTime = javaType.updateTime(),
            weeklyMaintenanceWindows = javaType.weeklyMaintenanceWindows().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.redis.kotlin.outputs.GetInstanceMaintenancePolicyWeeklyMaintenanceWindow.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy