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

com.pulumi.gcp.oracledatabase.kotlin.outputs.GetCloudVmClusterProperty.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.Boolean
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property clusterName OCI Cluster name.
 * @property compartmentId Compartment ID of cluster.
 * @property cpuCoreCount Number of enabled CPU cores.
 * @property dataStorageSizeTb The data disk group size to be allocated in TBs.
 * @property dbNodeStorageSizeGb Local storage per VM
 * @property dbServerOcids OCID of database servers.
 * @property diagnosticsDataCollectionOptions Data collection options for diagnostics.
 * @property diskRedundancy The type of redundancy.
 *  Possible values:
 *  DISK_REDUNDANCY_UNSPECIFIED
 * HIGH
 * NORMAL
 * @property dnsListenerIp DNS listener IP.
 * @property domain Parent DNS domain where SCAN DNS and hosts names are qualified.
 * ex: ocispdelegated.ocisp10jvnet.oraclevcn.com
 * @property giVersion Grid Infrastructure Version.
 * @property hostname host name without domain.
 * format: "-" with some suffix.
 * ex: sp2-yi0xq where "sp2" is the hostname_prefix.
 * @property hostnamePrefix Prefix for VM cluster host names.
 * @property licenseType License type of VM Cluster.
 *  Possible values:
 *  LICENSE_TYPE_UNSPECIFIED
 * LICENSE_INCLUDED
 * BRING_YOUR_OWN_LICENSE
 * @property localBackupEnabled Use local backup.
 * @property memorySizeGb Memory allocated in GBs.
 * @property nodeCount Number of database servers.
 * @property ociUrl Deep link to the OCI console to view this resource.
 * @property ocid Oracle Cloud Infrastructure ID of VM Cluster.
 * @property ocpuCount OCPU count per VM. Minimum is 0.1.
 * @property scanDns SCAN DNS name.
 * ex: sp2-yi0xq-scan.ocispdelegated.ocisp10jvnet.oraclevcn.com
 * @property scanDnsRecordId OCID of scan DNS record.
 * @property scanIpIds OCIDs of scan IPs.
 * @property scanListenerPortTcp SCAN listener port - TCP
 * @property scanListenerPortTcpSsl SCAN listener port - TLS
 * @property shape Shape of VM Cluster.
 * @property sparseDiskgroupEnabled Use exadata sparse snapshots.
 * @property sshPublicKeys SSH public keys to be stored with cluster.
 * @property state State of the cluster.
 *  Possible values:
 *  STATE_UNSPECIFIED
 * PROVISIONING
 * AVAILABLE
 * UPDATING
 * TERMINATING
 * TERMINATED
 * FAILED
 * MAINTENANCE_IN_PROGRESS
 * @property storageSizeGb The storage allocation for the disk group, in gigabytes (GB).
 * @property systemVersion Operating system version of the image.
 * @property timeZones Represents a time zone from the
 * [IANA Time Zone Database](https://www.iana.org/time-zones).
 */
public data class GetCloudVmClusterProperty(
    public val clusterName: String,
    public val compartmentId: String,
    public val cpuCoreCount: Int,
    public val dataStorageSizeTb: Double,
    public val dbNodeStorageSizeGb: Int,
    public val dbServerOcids: List,
    public val diagnosticsDataCollectionOptions: List,
    public val diskRedundancy: String,
    public val dnsListenerIp: String,
    public val domain: String,
    public val giVersion: String,
    public val hostname: String,
    public val hostnamePrefix: String,
    public val licenseType: String,
    public val localBackupEnabled: Boolean,
    public val memorySizeGb: Int,
    public val nodeCount: Int,
    public val ociUrl: String,
    public val ocid: String,
    public val ocpuCount: Double,
    public val scanDns: String,
    public val scanDnsRecordId: String,
    public val scanIpIds: List,
    public val scanListenerPortTcp: Int,
    public val scanListenerPortTcpSsl: Int,
    public val shape: String,
    public val sparseDiskgroupEnabled: Boolean,
    public val sshPublicKeys: List,
    public val state: String,
    public val storageSizeGb: Int,
    public val systemVersion: String,
    public val timeZones: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.oracledatabase.outputs.GetCloudVmClusterProperty): GetCloudVmClusterProperty = GetCloudVmClusterProperty(
            clusterName = javaType.clusterName(),
            compartmentId = javaType.compartmentId(),
            cpuCoreCount = javaType.cpuCoreCount(),
            dataStorageSizeTb = javaType.dataStorageSizeTb(),
            dbNodeStorageSizeGb = javaType.dbNodeStorageSizeGb(),
            dbServerOcids = javaType.dbServerOcids().map({ args0 -> args0 }),
            diagnosticsDataCollectionOptions = javaType.diagnosticsDataCollectionOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.oracledatabase.kotlin.outputs.GetCloudVmClusterPropertyDiagnosticsDataCollectionOption.Companion.toKotlin(args0)
                })
            }),
            diskRedundancy = javaType.diskRedundancy(),
            dnsListenerIp = javaType.dnsListenerIp(),
            domain = javaType.domain(),
            giVersion = javaType.giVersion(),
            hostname = javaType.hostname(),
            hostnamePrefix = javaType.hostnamePrefix(),
            licenseType = javaType.licenseType(),
            localBackupEnabled = javaType.localBackupEnabled(),
            memorySizeGb = javaType.memorySizeGb(),
            nodeCount = javaType.nodeCount(),
            ociUrl = javaType.ociUrl(),
            ocid = javaType.ocid(),
            ocpuCount = javaType.ocpuCount(),
            scanDns = javaType.scanDns(),
            scanDnsRecordId = javaType.scanDnsRecordId(),
            scanIpIds = javaType.scanIpIds().map({ args0 -> args0 }),
            scanListenerPortTcp = javaType.scanListenerPortTcp(),
            scanListenerPortTcpSsl = javaType.scanListenerPortTcpSsl(),
            shape = javaType.shape(),
            sparseDiskgroupEnabled = javaType.sparseDiskgroupEnabled(),
            sshPublicKeys = javaType.sshPublicKeys().map({ args0 -> args0 }),
            state = javaType.state(),
            storageSizeGb = javaType.storageSizeGb(),
            systemVersion = javaType.systemVersion(),
            timeZones = javaType.timeZones().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.oracledatabase.kotlin.outputs.GetCloudVmClusterPropertyTimeZone.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy