get Frontdoor Endpoint
suspend fun getFrontdoorEndpoint(argument: GetFrontdoorEndpointPlainArgs): GetFrontdoorEndpointResult
Use this data source to access information about an existing Front Door (standard/premium) Endpoint.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.cdn.getFrontdoorEndpoint({
name: "existing-endpoint",
profileName: "existing-cdn-profile",
resourceGroupName: "existing-resources",
});
Content copied to clipboard
import pulumi
import pulumi_azure as azure
example = azure.cdn.get_frontdoor_endpoint(name="existing-endpoint",
profile_name="existing-cdn-profile",
resource_group_name="existing-resources")
Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = Azure.Cdn.GetFrontdoorEndpoint.Invoke(new()
{
Name = "existing-endpoint",
ProfileName = "existing-cdn-profile",
ResourceGroupName = "existing-resources",
});
});
Content copied to clipboard
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.LookupFrontdoorEndpoint(ctx, &cdn.LookupFrontdoorEndpointArgs{
Name: "existing-endpoint",
ProfileName: "existing-cdn-profile",
ResourceGroupName: "existing-resources",
}, nil)
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
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.GetFrontdoorEndpointArgs;
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.getFrontdoorEndpoint(GetFrontdoorEndpointArgs.builder()
.name("existing-endpoint")
.profileName("existing-cdn-profile")
.resourceGroupName("existing-resources")
.build());
}
}
Content copied to clipboard
variables:
example:
fn::invoke:
function: azure:cdn:getFrontdoorEndpoint
arguments:
name: existing-endpoint
profileName: existing-cdn-profile
resourceGroupName: existing-resources
Content copied to clipboard
Return
A collection of values returned by getFrontdoorEndpoint.
Parameters
argument
A collection of arguments for invoking getFrontdoorEndpoint.
suspend fun getFrontdoorEndpoint(name: String, profileName: String, resourceGroupName: String): GetFrontdoorEndpointResult
Return
A collection of values returned by getFrontdoorEndpoint.
Parameters
name
Specifies the name of the Front Door Endpoint.
profile Name
The name of the Front Door Profile within which Front Door Endpoint exists.
resource Group Name
The name of the Resource Group where the Front Door Profile exists.
See also
suspend fun getFrontdoorEndpoint(argument: suspend GetFrontdoorEndpointPlainArgsBuilder.() -> Unit): GetFrontdoorEndpointResult
Return
A collection of values returned by getFrontdoorEndpoint.
Parameters
argument
Builder for com.pulumi.azure.cdn.kotlin.inputs.GetFrontdoorEndpointPlainArgs.