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

com.pulumi.azure.cosmosdb.kotlin.outputs.GetRestorableDatabaseAccountsAccount.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.cosmosdb.kotlin.outputs

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

/**
 *
 * @property apiType The API type of the Cosmos DB Restorable Database Account.
 * @property creationTime The creation time of the regional Cosmos DB Restorable Database Account.
 * @property deletionTime The deletion time of the regional Cosmos DB Restorable Database Account.
 * @property id The ID of the Cosmos DB Restorable Database Account.
 * @property restorableLocations One or more `restorable_locations` blocks as defined below.
 */
public data class GetRestorableDatabaseAccountsAccount(
    public val apiType: String,
    public val creationTime: String,
    public val deletionTime: String,
    public val id: String,
    public val restorableLocations: List,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.cosmosdb.outputs.GetRestorableDatabaseAccountsAccount):
            GetRestorableDatabaseAccountsAccount = GetRestorableDatabaseAccountsAccount(
            apiType = javaType.apiType(),
            creationTime = javaType.creationTime(),
            deletionTime = javaType.deletionTime(),
            id = javaType.id(),
            restorableLocations = javaType.restorableLocations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cosmosdb.kotlin.outputs.GetRestorableDatabaseAccountsAccountRestorableLocation.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy