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

com.pulumi.googlenative.managedidentities.v1beta1.kotlin.outputs.GetPeeringResult.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.managedidentities.v1beta1.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 *
 * @property authorizedNetwork The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. Caller needs to make sure that CIDR subnets do not overlap between networks, else peering creation will fail.
 * @property createTime The time the instance was created.
 * @property domainResource Full domain resource path for the Managed AD Domain involved in peering. The resource path should be in the form: `projects/{project_id}/locations/global/domains/{domain_name}`
 * @property labels Optional. Resource labels to represent user provided metadata.
 * @property name Unique name of the peering in this scope including projects and location using the form: `projects/{project_id}/locations/global/peerings/{peering_id}`.
 * @property state The current state of this Peering.
 * @property statusMessage Additional information about the current status of this peering, if available.
 * @property updateTime Last update time.
 */
public data class GetPeeringResult(
    public val authorizedNetwork: String,
    public val createTime: String,
    public val domainResource: String,
    public val labels: Map,
    public val name: String,
    public val state: String,
    public val statusMessage: String,
    public val updateTime: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.managedidentities.v1beta1.outputs.GetPeeringResult): GetPeeringResult = GetPeeringResult(
            authorizedNetwork = javaType.authorizedNetwork(),
            createTime = javaType.createTime(),
            domainResource = javaType.domainResource(),
            labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            name = javaType.name(),
            state = javaType.state(),
            statusMessage = javaType.statusMessage(),
            updateTime = javaType.updateTime(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy