com.pulumi.azure.apimanagement.kotlin.outputs.ServiceHostnameConfigurationDeveloperPortal.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
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.azure.apimanagement.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property certificate The Base64 Encoded Certificate.
* @property certificatePassword The password associated with the certificate provided above.
* > **NOTE:** Either `key_vault_id` or `certificate` and `certificate_password` must be specified.
* @property certificateSource The source of the certificate.
* @property certificateStatus The status of the certificate.
* @property expiry The expiration date of the certificate in RFC3339 format: `2000-01-02T03:04:05Z`.
* @property hostName The Hostname to use for the Management API.
* @property keyVaultId The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type `application/x-pkcs12`.
* > **NOTE:** Setting this field requires the `identity` block to be specified, since this identity is used for to retrieve the Key Vault Certificate. Possible values are versioned or versionless secret ID. Auto-updating the Certificate from the Key Vault requires the Secret version isn't specified.
* @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 The subject of the certificate.
* @property thumbprint The thumbprint of the certificate.
*/
public data class ServiceHostnameConfigurationDeveloperPortal(
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.ServiceHostnameConfigurationDeveloperPortal):
ServiceHostnameConfigurationDeveloperPortal = ServiceHostnameConfigurationDeveloperPortal(
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 - 2025 Weber Informatics LLC | Privacy Policy