
com.pulumi.googlenative.gkehub.v1.kotlin.outputs.GetMembershipResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-kotlin Show documentation
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.gkehub.v1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
*
* @property authority Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
* @property createTime When the Membership was created.
* @property deleteTime When the Membership was deleted.
* @property description Description of this membership, limited to 63 characters. Must match the regex: `a-zA-Z0-9*` This field is present for legacy purposes.
* @property endpoint Optional. Endpoint information to reach this member.
* @property externalId Optional. An externally-generated and managed ID for this Membership. This ID may be modified after creation, but this is not recommended. The ID must match the regex: `a-zA-Z0-9*` If this Membership represents a Kubernetes cluster, this value should be set to the UID of the `kube-system` namespace object.
* @property labels Optional. Labels for this membership.
* @property lastConnectionTime For clusters using Connect, the timestamp of the most recent connection established with Google Cloud. This time is updated every several minutes, not continuously. For clusters that do not use GKE Connect, or that have never connected successfully, this field will be unset.
* @property monitoringConfig Optional. The monitoring config information for this membership.
* @property name The full, unique name of this Membership resource in the format `projects/*/locations/*/memberships/{membership_id}`, set during creation. `membership_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
* @property state State of the Membership resource.
* @property uniqueId Google-generated UUID for this resource. This is unique across all Membership resources. If a Membership resource is deleted and another resource with the same name is created, it gets a different unique_id.
* @property updateTime When the Membership was last updated.
* */*/
*/
public data class GetMembershipResult(
public val authority: AuthorityResponse,
public val createTime: String,
public val deleteTime: String,
public val description: String,
public val endpoint: MembershipEndpointResponse,
public val externalId: String,
public val labels: Map,
public val lastConnectionTime: String,
public val monitoringConfig: MonitoringConfigResponse,
public val name: String,
public val state: MembershipStateResponse,
public val uniqueId: String,
public val updateTime: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.gkehub.v1.outputs.GetMembershipResult): GetMembershipResult = GetMembershipResult(
authority = javaType.authority().let({ args0 ->
com.pulumi.googlenative.gkehub.v1.kotlin.outputs.AuthorityResponse.Companion.toKotlin(args0)
}),
createTime = javaType.createTime(),
deleteTime = javaType.deleteTime(),
description = javaType.description(),
endpoint = javaType.endpoint().let({ args0 ->
com.pulumi.googlenative.gkehub.v1.kotlin.outputs.MembershipEndpointResponse.Companion.toKotlin(args0)
}),
externalId = javaType.externalId(),
labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
lastConnectionTime = javaType.lastConnectionTime(),
monitoringConfig = javaType.monitoringConfig().let({ args0 ->
com.pulumi.googlenative.gkehub.v1.kotlin.outputs.MonitoringConfigResponse.Companion.toKotlin(args0)
}),
name = javaType.name(),
state = javaType.state().let({ args0 ->
com.pulumi.googlenative.gkehub.v1.kotlin.outputs.MembershipStateResponse.Companion.toKotlin(args0)
}),
uniqueId = javaType.uniqueId(),
updateTime = javaType.updateTime(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy