FrontdoorProfileArgs

data class FrontdoorProfileArgs(val name: Output<String>? = null, val resourceGroupName: Output<String>? = null, val responseTimeoutSeconds: Output<Int>? = null, val skuName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<FrontdoorProfileArgs>

Manages a Front Door (standard/premium) Profile which contains a collection of endpoints and origin groups.

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 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")
.tags(Map.of("environment", "Production"))
.build());
}
}

Import

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

$ pulumi import azure:cdn/frontdoorProfile:FrontdoorProfile example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Cdn/profiles/myprofile1

Constructors

Link copied to clipboard
fun FrontdoorProfileArgs(name: Output<String>? = null, resourceGroupName: Output<String>? = null, responseTimeoutSeconds: Output<Int>? = null, skuName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Functions

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

Properties

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

Specifies the name of the Front Door Profile. Changing this forces a new resource to be created.

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

The name of the Resource Group where this Front Door Profile should exist. Changing this forces a new resource to be created.

Link copied to clipboard
val responseTimeoutSeconds: Output<Int>? = null

Specifies the maximum response timeout in seconds. Possible values are between 16 and 240 seconds (inclusive). Defaults to 120 seconds.

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

Specifies the SKU for this Front Door Profile. Possible values include Standard_AzureFrontDoor and Premium_AzureFrontDoor. Changing this forces a new resource to be created.

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

Specifies a mapping of tags to assign to the resource.