Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.oracledatabase.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.oracledatabase.inputs.CloudVmClusterPropertiesArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property clusterName OCI Cluster name.
* @property compartmentId (Output)
* 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.
* Structure is documented below.
* @property diskRedundancy The type of redundancy.
* Possible values:
* DISK_REDUNDANCY_UNSPECIFIED
* HIGH
* NORMAL
* @property dnsListenerIp (Output)
* DNS listener IP.
* @property domain (Output)
* Parent DNS domain where SCAN DNS and hosts names are qualified.
* ex: ocispdelegated.ocisp10jvnet.oraclevcn.com
* @property giVersion Grid Infrastructure Version.
* @property hostname (Output)
* 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 (Output)
* Deep link to the OCI console to view this resource.
* @property ocid (Output)
* Oracle Cloud Infrastructure ID of VM Cluster.
* @property ocpuCount OCPU count per VM. Minimum is 0.1.
* @property scanDns (Output)
* SCAN DNS name.
* ex: sp2-yi0xq-scan.ocispdelegated.ocisp10jvnet.oraclevcn.com
* @property scanDnsRecordId (Output)
* OCID of scan DNS record.
* @property scanIpIds (Output)
* OCIDs of scan IPs.
* @property scanListenerPortTcp (Output)
* SCAN listener port - TCP
* @property scanListenerPortTcpSsl (Output)
* SCAN listener port - TLS
* @property shape (Output)
* Shape of VM Cluster.
* @property sparseDiskgroupEnabled Use exadata sparse snapshots.
* @property sshPublicKeys SSH public keys to be stored with cluster.
* @property state (Output)
* State of the cluster.
* Possible values:
* STATE_UNSPECIFIED
* PROVISIONING
* AVAILABLE
* UPDATING
* TERMINATING
* TERMINATED
* FAILED
* MAINTENANCE_IN_PROGRESS
* @property storageSizeGb (Output)
* The storage allocation for the disk group, in gigabytes (GB).
* @property systemVersion (Output)
* Operating system version of the image.
* @property timeZone Represents a time zone from the
* [IANA Time Zone Database](https://www.iana.org/time-zones).
* Structure is documented below.
*/
public data class CloudVmClusterPropertiesArgs(
public val clusterName: Output? = null,
public val compartmentId: Output? = null,
public val cpuCoreCount: Output,
public val dataStorageSizeTb: Output? = null,
public val dbNodeStorageSizeGb: Output? = null,
public val dbServerOcids: Output>? = null,
public val diagnosticsDataCollectionOptions: Output? = null,
public val diskRedundancy: Output? = null,
public val dnsListenerIp: Output? = null,
public val domain: Output? = null,
public val giVersion: Output? = null,
public val hostname: Output? = null,
public val hostnamePrefix: Output? = null,
public val licenseType: Output,
public val localBackupEnabled: Output? = null,
public val memorySizeGb: Output? = null,
public val nodeCount: Output? = null,
public val ociUrl: Output? = null,
public val ocid: Output? = null,
public val ocpuCount: Output? = null,
public val scanDns: Output? = null,
public val scanDnsRecordId: Output? = null,
public val scanIpIds: Output>? = null,
public val scanListenerPortTcp: Output? = null,
public val scanListenerPortTcpSsl: Output? = null,
public val shape: Output? = null,
public val sparseDiskgroupEnabled: Output? = null,
public val sshPublicKeys: Output>? = null,
public val state: Output? = null,
public val storageSizeGb: Output? = null,
public val systemVersion: Output? = null,
public val timeZone: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.oracledatabase.inputs.CloudVmClusterPropertiesArgs =
com.pulumi.gcp.oracledatabase.inputs.CloudVmClusterPropertiesArgs.builder()
.clusterName(clusterName?.applyValue({ args0 -> args0 }))
.compartmentId(compartmentId?.applyValue({ args0 -> args0 }))
.cpuCoreCount(cpuCoreCount.applyValue({ args0 -> args0 }))
.dataStorageSizeTb(dataStorageSizeTb?.applyValue({ args0 -> args0 }))
.dbNodeStorageSizeGb(dbNodeStorageSizeGb?.applyValue({ args0 -> args0 }))
.dbServerOcids(dbServerOcids?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.diagnosticsDataCollectionOptions(
diagnosticsDataCollectionOptions?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.diskRedundancy(diskRedundancy?.applyValue({ args0 -> args0 }))
.dnsListenerIp(dnsListenerIp?.applyValue({ args0 -> args0 }))
.domain(domain?.applyValue({ args0 -> args0 }))
.giVersion(giVersion?.applyValue({ args0 -> args0 }))
.hostname(hostname?.applyValue({ args0 -> args0 }))
.hostnamePrefix(hostnamePrefix?.applyValue({ args0 -> args0 }))
.licenseType(licenseType.applyValue({ args0 -> args0 }))
.localBackupEnabled(localBackupEnabled?.applyValue({ args0 -> args0 }))
.memorySizeGb(memorySizeGb?.applyValue({ args0 -> args0 }))
.nodeCount(nodeCount?.applyValue({ args0 -> args0 }))
.ociUrl(ociUrl?.applyValue({ args0 -> args0 }))
.ocid(ocid?.applyValue({ args0 -> args0 }))
.ocpuCount(ocpuCount?.applyValue({ args0 -> args0 }))
.scanDns(scanDns?.applyValue({ args0 -> args0 }))
.scanDnsRecordId(scanDnsRecordId?.applyValue({ args0 -> args0 }))
.scanIpIds(scanIpIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.scanListenerPortTcp(scanListenerPortTcp?.applyValue({ args0 -> args0 }))
.scanListenerPortTcpSsl(scanListenerPortTcpSsl?.applyValue({ args0 -> args0 }))
.shape(shape?.applyValue({ args0 -> args0 }))
.sparseDiskgroupEnabled(sparseDiskgroupEnabled?.applyValue({ args0 -> args0 }))
.sshPublicKeys(sshPublicKeys?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.state(state?.applyValue({ args0 -> args0 }))
.storageSizeGb(storageSizeGb?.applyValue({ args0 -> args0 }))
.systemVersion(systemVersion?.applyValue({ args0 -> args0 }))
.timeZone(timeZone?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [CloudVmClusterPropertiesArgs].
*/
@PulumiTagMarker
public class CloudVmClusterPropertiesArgsBuilder internal constructor() {
private var clusterName: Output? = null
private var compartmentId: Output? = null
private var cpuCoreCount: Output? = null
private var dataStorageSizeTb: Output? = null
private var dbNodeStorageSizeGb: Output? = null
private var dbServerOcids: Output>? = null
private var diagnosticsDataCollectionOptions:
Output? = null
private var diskRedundancy: Output? = null
private var dnsListenerIp: Output? = null
private var domain: Output? = null
private var giVersion: Output? = null
private var hostname: Output? = null
private var hostnamePrefix: Output? = null
private var licenseType: Output? = null
private var localBackupEnabled: Output? = null
private var memorySizeGb: Output? = null
private var nodeCount: Output? = null
private var ociUrl: Output? = null
private var ocid: Output? = null
private var ocpuCount: Output? = null
private var scanDns: Output? = null
private var scanDnsRecordId: Output? = null
private var scanIpIds: Output>? = null
private var scanListenerPortTcp: Output? = null
private var scanListenerPortTcpSsl: Output? = null
private var shape: Output? = null
private var sparseDiskgroupEnabled: Output? = null
private var sshPublicKeys: Output>? = null
private var state: Output? = null
private var storageSizeGb: Output? = null
private var systemVersion: Output? = null
private var timeZone: Output? = null
/**
* @param value OCI Cluster name.
*/
@JvmName("viqkhmfoblqqcuky")
public suspend fun clusterName(`value`: Output) {
this.clusterName = value
}
/**
* @param value (Output)
* Compartment ID of cluster.
*/
@JvmName("boyovmienqwrpfhj")
public suspend fun compartmentId(`value`: Output) {
this.compartmentId = value
}
/**
* @param value Number of enabled CPU cores.
*/
@JvmName("phhythqeiqfjdyiy")
public suspend fun cpuCoreCount(`value`: Output) {
this.cpuCoreCount = value
}
/**
* @param value The data disk group size to be allocated in TBs.
*/
@JvmName("mxgjtjytlhrmwnwe")
public suspend fun dataStorageSizeTb(`value`: Output) {
this.dataStorageSizeTb = value
}
/**
* @param value Local storage per VM
*/
@JvmName("kkkfeveavicjsgly")
public suspend fun dbNodeStorageSizeGb(`value`: Output) {
this.dbNodeStorageSizeGb = value
}
/**
* @param value OCID of database servers.
*/
@JvmName("etnykvcveivgmwfa")
public suspend fun dbServerOcids(`value`: Output>) {
this.dbServerOcids = value
}
@JvmName("dlqansihyygtnekq")
public suspend fun dbServerOcids(vararg values: Output) {
this.dbServerOcids = Output.all(values.asList())
}
/**
* @param values OCID of database servers.
*/
@JvmName("rjgpfvfuumuhebap")
public suspend fun dbServerOcids(values: List