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

com.pulumi.gcp.vmwareengine.kotlin.outputs.PrivateCloudNetworkConfig.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.vmwareengine.kotlin.outputs

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

/**
 *
 * @property dnsServerIp (Output)
 * DNS Server IP of the Private Cloud.
 * @property managementCidr Management CIDR used by VMware management appliances.
 * @property managementIpAddressLayoutVersion (Output)
 * The IP address layout version of the management IP address range.
 * Possible versions include:
 * * managementIpAddressLayoutVersion=1: Indicates the legacy IP address layout used by some existing private clouds. This is no longer supported for new private clouds
 * as it does not support all features.
 * * managementIpAddressLayoutVersion=2: Indicates the latest IP address layout
 * used by all newly created private clouds. This version supports all current features.
 * @property vmwareEngineNetwork The relative resource name of the VMware Engine network attached to the private cloud.
 * Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmwareEngineNetworkId}
 * where {project} can either be a project number or a project ID.
 * @property vmwareEngineNetworkCanonical (Output)
 * The canonical name of the VMware Engine network in
 * the form: projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmwareEngineNetworkId}
 */
public data class PrivateCloudNetworkConfig(
    public val dnsServerIp: String? = null,
    public val managementCidr: String,
    public val managementIpAddressLayoutVersion: Int? = null,
    public val vmwareEngineNetwork: String? = null,
    public val vmwareEngineNetworkCanonical: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.vmwareengine.outputs.PrivateCloudNetworkConfig): PrivateCloudNetworkConfig = PrivateCloudNetworkConfig(
            dnsServerIp = javaType.dnsServerIp().map({ args0 -> args0 }).orElse(null),
            managementCidr = javaType.managementCidr(),
            managementIpAddressLayoutVersion = javaType.managementIpAddressLayoutVersion().map({ args0 ->
                args0
            }).orElse(null),
            vmwareEngineNetwork = javaType.vmwareEngineNetwork().map({ args0 -> args0 }).orElse(null),
            vmwareEngineNetworkCanonical = javaType.vmwareEngineNetworkCanonical().map({ args0 ->
                args0
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy