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

com.pulumi.azure.apimanagement.kotlin.outputs.CustomDomainDeveloperPortal.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

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

/**
 *
 * @property certificate The Base64 Encoded Certificate. (Mutually exclusive with `key_vault_id`.)
 * @property certificatePassword The password associated with the certificate provided above.
 * @property certificateSource
 * @property certificateStatus
 * @property expiry
 * @property hostName The Hostname to use for the corresponding endpoint.
 * @property keyVaultId The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type application/x-pkcs12.
 * @property negotiateClientCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to `false`.
 * @property sslKeyvaultIdentityClientId System or User Assigned Managed identity clientId as generated by Azure AD, which has `GET` access to the keyVault containing the SSL certificate.
 * > **NOTE:** If a User Assigned Managed identity is specified for `ssl_keyvault_identity_client_id` then this identity must be associated to the `azure.apimanagement.Service` within an `identity` block.
 * @property subject
 * @property thumbprint
 */
public data class CustomDomainDeveloperPortal(
    public val certificate: String? = null,
    public val certificatePassword: String? = null,
    public val certificateSource: String? = null,
    public val certificateStatus: String? = null,
    public val expiry: String? = null,
    public val hostName: String,
    public val keyVaultId: String? = null,
    public val negotiateClientCertificate: Boolean? = null,
    public val sslKeyvaultIdentityClientId: String? = null,
    public val subject: String? = null,
    public val thumbprint: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.apimanagement.outputs.CustomDomainDeveloperPortal): CustomDomainDeveloperPortal = CustomDomainDeveloperPortal(
            certificate = javaType.certificate().map({ args0 -> args0 }).orElse(null),
            certificatePassword = javaType.certificatePassword().map({ args0 -> args0 }).orElse(null),
            certificateSource = javaType.certificateSource().map({ args0 -> args0 }).orElse(null),
            certificateStatus = javaType.certificateStatus().map({ args0 -> args0 }).orElse(null),
            expiry = javaType.expiry().map({ args0 -> args0 }).orElse(null),
            hostName = javaType.hostName(),
            keyVaultId = javaType.keyVaultId().map({ args0 -> args0 }).orElse(null),
            negotiateClientCertificate = javaType.negotiateClientCertificate().map({ args0 ->
                args0
            }).orElse(null),
            sslKeyvaultIdentityClientId = javaType.sslKeyvaultIdentityClientId().map({ args0 ->
                args0
            }).orElse(null),
            subject = javaType.subject().map({ args0 -> args0 }).orElse(null),
            thumbprint = javaType.thumbprint().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy