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

com.pulumi.googlenative.compute.beta.kotlin.outputs.GetTargetGrpcProxyResult.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.compute.beta.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property creationTimestamp Creation timestamp in RFC3339 text format.
 * @property description An optional description of this resource. Provide this property when you create the resource.
 * @property fingerprint Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetGrpcProxy. An up-to-date fingerprint must be provided in order to patch/update the TargetGrpcProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetGrpcProxy.
 * @property kind Type of the resource. Always compute#targetGrpcProxy for target grpc proxies.
 * @property name Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
 * @property selfLink Server-defined URL for the resource.
 * @property selfLinkWithId Server-defined URL with id for the resource.
 * @property urlMap URL to the UrlMap resource that defines the mapping from URL to the BackendService. The protocol field in the BackendService must be set to GRPC.
 * @property validateForProxyless If true, indicates that the BackendServices referenced by the urlMap may be accessed by gRPC applications without using a sidecar proxy. This will enable configuration checks on urlMap and its referenced BackendServices to not allow unsupported features. A gRPC application must use "xds:///" scheme in the target URI of the service it is connecting to. If false, indicates that the BackendServices referenced by the urlMap will be accessed by gRPC applications via a sidecar proxy. In this case, a gRPC application must not use "xds:///" scheme in the target URI of the service it is connecting to
 */
public data class GetTargetGrpcProxyResult(
    public val creationTimestamp: String,
    public val description: String,
    public val fingerprint: String,
    public val kind: String,
    public val name: String,
    public val selfLink: String,
    public val selfLinkWithId: String,
    public val urlMap: String,
    public val validateForProxyless: Boolean,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.compute.beta.outputs.GetTargetGrpcProxyResult): GetTargetGrpcProxyResult = GetTargetGrpcProxyResult(
            creationTimestamp = javaType.creationTimestamp(),
            description = javaType.description(),
            fingerprint = javaType.fingerprint(),
            kind = javaType.kind(),
            name = javaType.name(),
            selfLink = javaType.selfLink(),
            selfLinkWithId = javaType.selfLinkWithId(),
            urlMap = javaType.urlMap(),
            validateForProxyless = javaType.validateForProxyless(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy