Profile

class Profile : KotlinCustomResource

A profile is a logical grouping of endpoints that share the same settings. Uses Azure REST API version 2024-09-01. In version 2.x of the Azure Native provider, it used API version 2023-05-01. Other available API versions: 2023-05-01, 2023-07-01-preview, 2024-02-01, 2024-05-01-preview, 2024-06-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cdn [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

Profiles_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var profile = new AzureNative.Cdn.Profile("profile", new()
{
Location = "global",
ProfileName = "profile1",
ResourceGroupName = "RG",
Sku = new AzureNative.Cdn.Inputs.SkuArgs
{
Name = AzureNative.Cdn.SkuName.Premium_AzureFrontDoor,
},
});
});
package main
import (
cdn "github.com/pulumi/pulumi-azure-native-sdk/cdn/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cdn.NewProfile(ctx, "profile", &cdn.ProfileArgs{
Location: pulumi.String("global"),
ProfileName: pulumi.String("profile1"),
ResourceGroupName: pulumi.String("RG"),
Sku: &cdn.SkuArgs{
Name: pulumi.String(cdn.SkuName_Premium_AzureFrontDoor),
},
})
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.Profile;
import com.pulumi.azurenative.cdn.ProfileArgs;
import com.pulumi.azurenative.cdn.inputs.SkuArgs;
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 profile = new Profile("profile", ProfileArgs.builder()
.location("global")
.profileName("profile1")
.resourceGroupName("RG")
.sku(SkuArgs.builder()
.name("Premium_AzureFrontDoor")
.build())
.build());
}
}

Import

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

$ pulumi import azure-native:cdn:Profile profile1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

Key-Value pair representing additional properties for profiles.

Link copied to clipboard
val frontDoorId: Output<String>

The Id of the frontdoor.

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

Managed service identity (system assigned and/or user assigned identities).

Link copied to clipboard
val kind: Output<String>

Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile.

Link copied to clipboard
val location: Output<String>

Resource location.

Link copied to clipboard

Defines rules that scrub sensitive fields in the Azure Front Door profile logs.

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 of the profile.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceState: Output<String>

Resource status of the profile.

Link copied to clipboard
val sku: Output<SkuResponse>

The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile.

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>