getFrontdoorProfile

Use this data source to access information about an existing Front Door (standard/premium) Profile.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.cdn.getFrontdoorProfile({
name: "existing-cdn-profile",
resourceGroupName: "existing-resources",
});
import pulumi
import pulumi_azure as azure
example = azure.cdn.get_frontdoor_profile(name="existing-cdn-profile",
resource_group_name="existing-resources")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = Azure.Cdn.GetFrontdoorProfile.Invoke(new()
{
Name = "existing-cdn-profile",
ResourceGroupName = "existing-resources",
});
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/cdn"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cdn.LookupFrontdoorProfile(ctx, &cdn.LookupFrontdoorProfileArgs{
Name: "existing-cdn-profile",
ResourceGroupName: "existing-resources",
}, 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.azure.cdn.CdnFunctions;
import com.pulumi.azure.cdn.inputs.GetFrontdoorProfileArgs;
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) {
final var example = CdnFunctions.getFrontdoorProfile(GetFrontdoorProfileArgs.builder()
.name("existing-cdn-profile")
.resourceGroupName("existing-resources")
.build());
}
}
variables:
example:
fn::invoke:
function: azure:cdn:getFrontdoorProfile
arguments:
name: existing-cdn-profile
resourceGroupName: existing-resources

Return

A collection of values returned by getFrontdoorProfile.

Parameters

argument

A collection of arguments for invoking getFrontdoorProfile.


suspend fun getFrontdoorProfile(identity: GetFrontdoorProfileIdentity? = null, name: String, resourceGroupName: String): GetFrontdoorProfileResult

Return

A collection of values returned by getFrontdoorProfile.

Parameters

identity

An identity block as defined below.

name

Specifies the name of the Front Door Profile.

resourceGroupName

The name of the Resource Group where this Front Door Profile exists.

See also


Return

A collection of values returned by getFrontdoorProfile.

Parameters

argument

Builder for com.pulumi.azure.cdn.kotlin.inputs.GetFrontdoorProfilePlainArgs.

See also