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

com.pulumi.gcp.sql.kotlin.outputs.GetBackupRunResult.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.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.sql.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 * A collection of values returned by getBackupRun.
 * @property backupId
 * @property id The provider-assigned unique ID for this managed resource.
 * @property instance
 * @property location Location of the backups.
 * @property mostRecent
 * @property project
 * @property startTime The time the backup operation actually started in UTC timezone in RFC 3339 format, for
 * example 2012-11-15T16:19:00.094Z.
 * @property status The status of this run. Refer to [API reference](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/backupRuns#SqlBackupRunStatus) for possible status values.
 */
public data class GetBackupRunResult(
    public val backupId: Int,
    public val id: String,
    public val instance: String,
    public val location: String,
    public val mostRecent: Boolean? = null,
    public val project: String,
    public val startTime: String,
    public val status: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.sql.outputs.GetBackupRunResult): GetBackupRunResult = GetBackupRunResult(
            backupId = javaType.backupId(),
            id = javaType.id(),
            instance = javaType.instance(),
            location = javaType.location(),
            mostRecent = javaType.mostRecent().map({ args0 -> args0 }).orElse(null),
            project = javaType.project(),
            startTime = javaType.startTime(),
            status = javaType.status(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy