AFDEndpoint

class AFDEndpoint : KotlinCustomResource

CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The AzureFrontDoor endpoint uses the URL format .azureedge.net. API Version: 2020-09-01.

Example Usage

AFDEndpoints_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var afdEndpoint = new AzureNative.Cdn.AFDEndpoint("afdEndpoint", new()
{
EnabledState = "Enabled",
EndpointName = "endpoint1",
Location = "CentralUs",
OriginResponseTimeoutSeconds = 30,
ProfileName = "profile1",
ResourceGroupName = "RG",
Tags = null,
});
});
package main
import (
cdn "github.com/pulumi/pulumi-azure-native-sdk/cdn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cdn.NewAFDEndpoint(ctx, "afdEndpoint", &cdn.AFDEndpointArgs{
EnabledState: pulumi.String("Enabled"),
EndpointName: pulumi.String("endpoint1"),
Location: pulumi.String("CentralUs"),
OriginResponseTimeoutSeconds: pulumi.Int(30),
ProfileName: pulumi.String("profile1"),
ResourceGroupName: pulumi.String("RG"),
Tags: nil,
})
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.cdn.AFDEndpoint;
import com.pulumi.azurenative.cdn.AFDEndpointArgs;
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 afdEndpoint = new AFDEndpoint("afdEndpoint", AFDEndpointArgs.builder()
.enabledState("Enabled")
.endpointName("endpoint1")
.location("CentralUs")
.originResponseTimeoutSeconds(30)
.profileName("profile1")
.resourceGroupName("RG")
.tags()
.build());
}
}

Import

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

$ pulumi import azure-native:cdn:AFDEndpoint endpoint1 /subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/afdEndpoints/endpoint1

Properties

Link copied to clipboard
Link copied to clipboard
val enabledState: Output<String>?

Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'

Link copied to clipboard
val hostName: Output<String>

The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

Resource location.

Link copied to clipboard
val name: Output<String>

Resource name.

Link copied to clipboard

Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.

Link copied to clipboard

Provisioning status

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Read only system data

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

Resource tags.

Link copied to clipboard
val type: Output<String>

Resource type.

Link copied to clipboard
val urn: Output<String>