com.pulumi.azure.containerapp.kotlin.EnvironmentCertificateArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.containerapp.kotlin
import com.pulumi.azure.containerapp.EnvironmentCertificateArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* Manages a Container App Environment Certificate.
* ## Example Usage
*
* ```yaml
* resources:
* example:
* type: azure:core:ResourceGroup
* properties:
* name: example-resources
* location: West Europe
* exampleAnalyticsWorkspace:
* type: azure:operationalinsights:AnalyticsWorkspace
* name: example
* properties:
* name: acctest-01
* location: ${example.location}
* resourceGroupName: ${example.name}
* sku: PerGB2018
* retentionInDays: 30
* exampleEnvironment:
* type: azure:containerapp:Environment
* name: example
* properties:
* name: myEnvironment
* location: ${example.location}
* resourceGroupName: ${example.name}
* logAnalyticsWorkspaceId: ${exampleAnalyticsWorkspace.id}
* exampleEnvironmentCertificate:
* type: azure:containerapp:EnvironmentCertificate
* name: example
* properties:
* name: myfriendlyname
* containerAppEnvironmentId: ${exampleEnvironment.id}
* certificateBlob:
* fn::invoke:
* Function: std:filebase64
* Arguments:
* input: path/to/certificate_file.pfx
* Return: result
* certificatePassword: $3cretSqu1rreL
* ```
*
* ## Import
* A Container App Environment Certificate can be imported using the `resource id`, e.g.
* ```sh
* $ pulumi import azure:containerapp/environmentCertificate:EnvironmentCertificate example "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.App/managedEnvironments/myenv/certificates/mycertificate"
* ```
* @property certificateBlobBase64 The Certificate Private Key as a base64 encoded PFX or PEM. Changing this forces a new resource to be created.
* @property certificatePassword The password for the Certificate. Changing this forces a new resource to be created.
* @property containerAppEnvironmentId The Container App Managed Environment ID to configure this Certificate on. Changing this forces a new resource to be created.
* @property name The name of the Container Apps Environment Certificate. Changing this forces a new resource to be created.
* @property tags A mapping of tags to assign to the resource.
*/
public data class EnvironmentCertificateArgs(
public val certificateBlobBase64: Output? = null,
public val certificatePassword: Output? = null,
public val containerAppEnvironmentId: Output? = null,
public val name: Output? = null,
public val tags: Output