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

com.pulumi.azure.apimanagement.kotlin.outputs.BackendServiceFabricCluster.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.apimanagement.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property clientCertificateId The client certificate resource id for the management endpoint.
 * > **Note:** At least one of `client_certificate_thumbprint`, and `client_certificate_id` must be set.
 * >
 * @property clientCertificateThumbprint The client certificate thumbprint for the management endpoint.
 * @property managementEndpoints A list of cluster management endpoints.
 * @property maxPartitionResolutionRetries The maximum number of retries when attempting resolve the partition.
 * @property serverCertificateThumbprints A list of thumbprints of the server certificates of the Service Fabric cluster.
 * @property serverX509Names One or more `server_x509_name` blocks as documented below.
 */
public data class BackendServiceFabricCluster(
    public val clientCertificateId: String? = null,
    public val clientCertificateThumbprint: String? = null,
    public val managementEndpoints: List,
    public val maxPartitionResolutionRetries: Int,
    public val serverCertificateThumbprints: List? = null,
    public val serverX509Names: List? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.apimanagement.outputs.BackendServiceFabricCluster):
            BackendServiceFabricCluster = BackendServiceFabricCluster(
            clientCertificateId = javaType.clientCertificateId().map({ args0 -> args0 }).orElse(null),
            clientCertificateThumbprint = javaType.clientCertificateThumbprint().map({ args0 ->
                args0
            }).orElse(null),
            managementEndpoints = javaType.managementEndpoints().map({ args0 -> args0 }),
            maxPartitionResolutionRetries = javaType.maxPartitionResolutionRetries(),
            serverCertificateThumbprints = javaType.serverCertificateThumbprints().map({ args0 -> args0 }),
            serverX509Names = javaType.serverX509Names().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.apimanagement.kotlin.outputs.BackendServiceFabricClusterServerX509Name.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy