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

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

package com.pulumi.gcp.oracledatabase.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 *
 * @property adminPassword The password for the default ADMIN user.
 * @property autonomousDatabaseId The ID of the Autonomous Database to create. This value is restricted
 * to (^a-z?$) and must be a maximum of 63
 * characters in length. The value must start with a letter and end with
 * a letter or a number.
 * @property cidr The subnet CIDR range for the Autonmous Database.
 * @property createTime The date and time that the Autonomous Database was created.
 * @property database The name of the Autonomous Database. The database name must be unique in
 * the project. The name must begin with a letter and can
 * contain a maximum of 30 alphanumeric characters.
 * @property deletionProtection
 * @property displayName The display name for the Autonomous Database. The name does not have to
 * be unique within your project.
 * @property effectiveLabels
 * @property entitlementId The ID of the subscription entitlement associated with the Autonomous
 * Database.
 * @property labels The labels or tags associated with the Autonomous Database.
 * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
 * Please refer to the field 'effective_labels' for all of the labels present on the resource.
 * @property location The location of the resource.
 * - - -
 * @property name Identifier. The name of the Autonomous Database resource in the following format:
 * projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
 * @property network The name of the VPC network used by the Autonomous Database.
 * Format: projects/{project}/global/networks/{network}
 * @property project The project to which the resource belongs. If it
 * is not provided, the provider project is used.
 * @property properties The properties of an Autonomous Database.
 * @property pulumiLabels The combination of labels configured directly on the resource
 *  and default labels configured on the provider.
 */
public data class GetAutonomousDatabasesAutonomousDatabase(
    public val adminPassword: String,
    public val autonomousDatabaseId: String,
    public val cidr: String,
    public val createTime: String,
    public val database: String,
    public val deletionProtection: Boolean,
    public val displayName: String,
    public val effectiveLabels: Map,
    public val entitlementId: String,
    public val labels: Map,
    public val location: String,
    public val name: String,
    public val network: String,
    public val project: String,
    public val properties: List,
    public val pulumiLabels: Map,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.oracledatabase.outputs.GetAutonomousDatabasesAutonomousDatabase): GetAutonomousDatabasesAutonomousDatabase = GetAutonomousDatabasesAutonomousDatabase(
            adminPassword = javaType.adminPassword(),
            autonomousDatabaseId = javaType.autonomousDatabaseId(),
            cidr = javaType.cidr(),
            createTime = javaType.createTime(),
            database = javaType.database(),
            deletionProtection = javaType.deletionProtection(),
            displayName = javaType.displayName(),
            effectiveLabels = javaType.effectiveLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            entitlementId = javaType.entitlementId(),
            labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            location = javaType.location(),
            name = javaType.name(),
            network = javaType.network(),
            project = javaType.project(),
            properties = javaType.properties().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.oracledatabase.kotlin.outputs.GetAutonomousDatabasesAutonomousDatabaseProperty.Companion.toKotlin(args0)
                })
            }),
            pulumiLabels = javaType.pulumiLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy