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.
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.gkehub.v1beta1.kotlin
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.gkehub.v1beta1.MembershipArgs.builder
import com.pulumi.googlenative.gkehub.v1beta1.kotlin.enums.MembershipInfrastructureType
import com.pulumi.googlenative.gkehub.v1beta1.kotlin.inputs.AuthorityArgs
import com.pulumi.googlenative.gkehub.v1beta1.kotlin.inputs.AuthorityArgsBuilder
import com.pulumi.googlenative.gkehub.v1beta1.kotlin.inputs.MembershipEndpointArgs
import com.pulumi.googlenative.gkehub.v1beta1.kotlin.inputs.MembershipEndpointArgsBuilder
import com.pulumi.googlenative.gkehub.v1beta1.kotlin.inputs.MonitoringConfigArgs
import com.pulumi.googlenative.gkehub.v1beta1.kotlin.inputs.MonitoringConfigArgsBuilder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* Creates a new Membership. **This is currently only supported for GKE clusters on Google Cloud**. To register other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.
* Auto-naming is currently not supported for this resource.
* @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 description Optional. Description of this membership, limited to 63 characters. Must match the regex: `a-zA-Z0-9*`
* @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. For GKE clusters, external_id is managed by the Hub API and updates will be ignored. 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 infrastructureType Optional. The infrastructure type this Membership is running on.
* @property labels Optional. GCP labels for this membership.
* @property location
* @property membershipId Required. Client chosen ID for the membership. `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 monitoringConfig Optional. The monitoring config information for this membership.
* @property project
* @property requestId Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
public data class MembershipArgs(
public val authority: Output? = null,
public val description: Output? = null,
public val endpoint: Output? = null,
public val externalId: Output? = null,
public val infrastructureType: Output? = null,
public val labels: Output