FrontdoorEndpointArgs

data class FrontdoorEndpointArgs(val cdnFrontdoorProfileId: Output<String>? = null, val enabled: Output<Boolean>? = null, val name: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<FrontdoorEndpointArgs>

Manages a Front Door (standard/premium) Endpoint.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.cdn.FrontdoorProfile;
import com.pulumi.azure.cdn.FrontdoorProfileArgs;
import com.pulumi.azure.cdn.FrontdoorEndpoint;
import com.pulumi.azure.cdn.FrontdoorEndpointArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleFrontdoorProfile = new FrontdoorProfile("exampleFrontdoorProfile", FrontdoorProfileArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.skuName("Standard_AzureFrontDoor")
.build());
var exampleFrontdoorEndpoint = new FrontdoorEndpoint("exampleFrontdoorEndpoint", FrontdoorEndpointArgs.builder()
.cdnFrontdoorProfileId(exampleFrontdoorProfile.id())
.tags(Map.of("ENV", "example"))
.build());
}
}

Import

Front Door Endpoints can be imported using the resource id, e.g.

$ pulumi import azure:cdn/frontdoorEndpoint:FrontdoorEndpoint example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Cdn/profiles/profile1/afdEndpoints/endpoint1

Constructors

Link copied to clipboard
fun FrontdoorEndpointArgs(cdnFrontdoorProfileId: Output<String>? = null, enabled: Output<Boolean>? = null, name: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Functions

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

Properties

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

The ID of the Front Door Profile within which this Front Door Endpoint should exist. Changing this forces a new Front Door Endpoint to be created.

Link copied to clipboard
val enabled: Output<Boolean>? = null

Specifies if this Front Door Endpoint is enabled? Defaults to true.

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

The name which should be used for this Front Door Endpoint. Changing this forces a new Front Door Endpoint to be created.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Specifies a mapping of tags which should be assigned to the Front Door Endpoint.