import * as pulumi from "@pulumi/pulumi"; /** * Manages a Container App Environment Custom Domain Suffix. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * import * as std from "@pulumi/std"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("example", { * name: "acctest-01", * location: example.location, * resourceGroupName: example.name, * sku: "PerGB2018", * retentionInDays: 30, * }); * const exampleEnvironment = new azure.containerapp.Environment("example", { * name: "my-environment", * location: example.location, * resourceGroupName: example.name, * logAnalyticsWorkspaceId: exampleAnalyticsWorkspace.id, * }); * const exampleEnvironmentCustomDomain = new azure.containerapp.EnvironmentCustomDomain("example", { * containerAppEnvironmentId: exampleEnvironment.id, * certificateBlobBase64: std.filebase64({ * input: "testacc.pfx", * }).then(invoke => invoke.result), * certificatePassword: "TestAcc", * dnsSuffix: "acceptancetest.contoso.com", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.App` - 2025-07-01 * * * `Microsoft.OperationalInsights` - 2020-08-01 * * ## Import * * A Container App Environment Custom Domain Suffix can be imported using the `resource id` of its parent container App Environment, e.g. * * ```sh * $ pulumi import azure:containerapp/environmentCustomDomain:EnvironmentCustomDomain example "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.App/managedEnvironments/myEnvironment" * ``` */ export declare class EnvironmentCustomDomain extends pulumi.CustomResource { /** * Get an existing EnvironmentCustomDomain resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: EnvironmentCustomDomainState, opts?: pulumi.CustomResourceOptions): EnvironmentCustomDomain; /** * Returns true if the given object is an instance of EnvironmentCustomDomain. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is EnvironmentCustomDomain; /** * The bundle of Private Key and Certificate for the Custom DNS Suffix as a base64 encoded PFX or PEM. */ readonly certificateBlobBase64: pulumi.Output; /** * The password for the Certificate bundle. */ readonly certificatePassword: pulumi.Output; /** * The ID of the Container Apps Managed Environment. Changing this forces a new resource to be created. */ readonly containerAppEnvironmentId: pulumi.Output; /** * Custom DNS Suffix for the Container App Environment. */ readonly dnsSuffix: pulumi.Output; /** * Create a EnvironmentCustomDomain resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: EnvironmentCustomDomainArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EnvironmentCustomDomain resources. */ export interface EnvironmentCustomDomainState { /** * The bundle of Private Key and Certificate for the Custom DNS Suffix as a base64 encoded PFX or PEM. */ certificateBlobBase64?: pulumi.Input; /** * The password for the Certificate bundle. */ certificatePassword?: pulumi.Input; /** * The ID of the Container Apps Managed Environment. Changing this forces a new resource to be created. */ containerAppEnvironmentId?: pulumi.Input; /** * Custom DNS Suffix for the Container App Environment. */ dnsSuffix?: pulumi.Input; } /** * The set of arguments for constructing a EnvironmentCustomDomain resource. */ export interface EnvironmentCustomDomainArgs { /** * The bundle of Private Key and Certificate for the Custom DNS Suffix as a base64 encoded PFX or PEM. */ certificateBlobBase64: pulumi.Input; /** * The password for the Certificate bundle. */ certificatePassword: pulumi.Input; /** * The ID of the Container Apps Managed Environment. Changing this forces a new resource to be created. */ containerAppEnvironmentId: pulumi.Input; /** * Custom DNS Suffix for the Container App Environment. */ dnsSuffix: pulumi.Input; }