AppServiceEnvironmentAseCustomDnsSuffixConfigurationArgs

data class AppServiceEnvironmentAseCustomDnsSuffixConfigurationArgs(val certificateUrl: Output<String>? = null, val dnsSuffix: Output<String>? = null, val keyVaultReferenceIdentity: Output<String>? = null, val kind: Output<String>? = null, val name: Output<String>? = null, val resourceGroupName: Output<String>? = null) : ConvertibleToJava<AppServiceEnvironmentAseCustomDnsSuffixConfigurationArgs>

Full view of the custom domain suffix configuration for ASEv3. Uses Azure REST API version 2024-04-01. In version 2.x of the Azure Native provider, it used API version 2022-09-01. Other available API versions: 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native web [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

Update ASE custom DNS suffix configuration

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var appServiceEnvironmentAseCustomDnsSuffixConfiguration = new AzureNative.Web.AppServiceEnvironmentAseCustomDnsSuffixConfiguration("appServiceEnvironmentAseCustomDnsSuffixConfiguration", new()
{
CertificateUrl = "https://test-kv.vault.azure.net/secrets/contosocert",
DnsSuffix = "contoso.com",
KeyVaultReferenceIdentity = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/test-rg/providers/microsoft.managedidentity/userassignedidentities/test-user-mi",
Name = "test-ase",
ResourceGroupName = "test-rg",
});
});
package main
import (
web "github.com/pulumi/pulumi-azure-native-sdk/web/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := web.NewAppServiceEnvironmentAseCustomDnsSuffixConfiguration(ctx, "appServiceEnvironmentAseCustomDnsSuffixConfiguration", &web.AppServiceEnvironmentAseCustomDnsSuffixConfigurationArgs{
CertificateUrl: pulumi.String("https://test-kv.vault.azure.net/secrets/contosocert"),
DnsSuffix: pulumi.String("contoso.com"),
KeyVaultReferenceIdentity: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/test-rg/providers/microsoft.managedidentity/userassignedidentities/test-user-mi"),
Name: pulumi.String("test-ase"),
ResourceGroupName: pulumi.String("test-rg"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.web.AppServiceEnvironmentAseCustomDnsSuffixConfiguration;
import com.pulumi.azurenative.web.AppServiceEnvironmentAseCustomDnsSuffixConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var appServiceEnvironmentAseCustomDnsSuffixConfiguration = new AppServiceEnvironmentAseCustomDnsSuffixConfiguration("appServiceEnvironmentAseCustomDnsSuffixConfiguration", AppServiceEnvironmentAseCustomDnsSuffixConfigurationArgs.builder()
.certificateUrl("https://test-kv.vault.azure.net/secrets/contosocert")
.dnsSuffix("contoso.com")
.keyVaultReferenceIdentity("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/test-rg/providers/microsoft.managedidentity/userassignedidentities/test-user-mi")
.name("test-ase")
.resourceGroupName("test-rg")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:web:AppServiceEnvironmentAseCustomDnsSuffixConfiguration customDnsSuffix /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/configurations/customdnssuffix

Constructors

constructor(certificateUrl: Output<String>? = null, dnsSuffix: Output<String>? = null, keyVaultReferenceIdentity: Output<String>? = null, kind: Output<String>? = null, name: Output<String>? = null, resourceGroupName: Output<String>? = null)

Properties

Link copied to clipboard
val certificateUrl: Output<String>? = null

The URL referencing the Azure Key Vault certificate secret that should be used as the default SSL/TLS certificate for sites with the custom domain suffix.

Link copied to clipboard
val dnsSuffix: Output<String>? = null

The default custom domain suffix to use for all sites deployed on the ASE.

Link copied to clipboard
val keyVaultReferenceIdentity: Output<String>? = null

The user-assigned identity to use for resolving the key vault certificate reference. If not specified, the system-assigned ASE identity will be used if available.

Link copied to clipboard
val kind: Output<String>? = null

Kind of resource.

Link copied to clipboard
val name: Output<String>? = null

Name of the App Service Environment.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

Name of the resource group to which the resource belongs.

Functions

Link copied to clipboard
open override fun toJava(): AppServiceEnvironmentAseCustomDnsSuffixConfigurationArgs