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

com.pulumi.azure.network.kotlin.outputs.ApplicationGatewayTrustedRootCertificate.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.network.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property data The contents of the Trusted Root Certificate which should be used. Required if `key_vault_secret_id` is not set.
 * @property id The ID of the Rewrite Rule Set
 * @property keyVaultSecretId The Secret ID of (base-64 encoded unencrypted pfx) `Secret` or `Certificate` object stored in Azure KeyVault. You need to enable soft delete for the Key Vault to use this feature. Required if `data` is not set.
 * > **NOTE:** TLS termination with Key Vault certificates is limited to the [v2 SKUs](https://docs.microsoft.com/azure/application-gateway/key-vault-certs).
 * > **NOTE:** For TLS termination with Key Vault certificates to work properly existing user-assigned managed identity, which Application Gateway uses to retrieve certificates from Key Vault, should be defined via `identity` block. Additionally, access policies in the Key Vault to allow the identity to be granted *get* access to the secret should be defined.
 * @property name The Name of the Trusted Root Certificate to use.
 */
public data class ApplicationGatewayTrustedRootCertificate(
    public val `data`: String? = null,
    public val id: String? = null,
    public val keyVaultSecretId: String? = null,
    public val name: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.network.outputs.ApplicationGatewayTrustedRootCertificate):
            ApplicationGatewayTrustedRootCertificate = ApplicationGatewayTrustedRootCertificate(
            `data` = javaType.`data`().map({ args0 -> args0 }).orElse(null),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            keyVaultSecretId = javaType.keyVaultSecretId().map({ args0 -> args0 }).orElse(null),
            name = javaType.name(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy