1. Packages
  2. Azure Classic
  3. API Docs
  4. cdn
  5. getFrontdoorEndpoint

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.cdn.getFrontdoorEndpoint

Explore with Pulumi AI

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

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",
});
Copy
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")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: azure:cdn:getFrontdoorEndpoint
      arguments:
        name: existing-endpoint
        profileName: existing-cdn-profile
        resourceGroupName: existing-resources
Copy

Using getFrontdoorEndpoint

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getFrontdoorEndpoint(args: GetFrontdoorEndpointArgs, opts?: InvokeOptions): Promise<GetFrontdoorEndpointResult>
function getFrontdoorEndpointOutput(args: GetFrontdoorEndpointOutputArgs, opts?: InvokeOptions): Output<GetFrontdoorEndpointResult>
Copy
def get_frontdoor_endpoint(name: Optional[str] = None,
                           profile_name: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetFrontdoorEndpointResult
def get_frontdoor_endpoint_output(name: Optional[pulumi.Input[str]] = None,
                           profile_name: Optional[pulumi.Input[str]] = None,
                           resource_group_name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetFrontdoorEndpointResult]
Copy
func LookupFrontdoorEndpoint(ctx *Context, args *LookupFrontdoorEndpointArgs, opts ...InvokeOption) (*LookupFrontdoorEndpointResult, error)
func LookupFrontdoorEndpointOutput(ctx *Context, args *LookupFrontdoorEndpointOutputArgs, opts ...InvokeOption) LookupFrontdoorEndpointResultOutput
Copy

> Note: This function is named LookupFrontdoorEndpoint in the Go SDK.

public static class GetFrontdoorEndpoint 
{
    public static Task<GetFrontdoorEndpointResult> InvokeAsync(GetFrontdoorEndpointArgs args, InvokeOptions? opts = null)
    public static Output<GetFrontdoorEndpointResult> Invoke(GetFrontdoorEndpointInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetFrontdoorEndpointResult> getFrontdoorEndpoint(GetFrontdoorEndpointArgs args, InvokeOptions options)
public static Output<GetFrontdoorEndpointResult> getFrontdoorEndpoint(GetFrontdoorEndpointArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure:cdn/getFrontdoorEndpoint:getFrontdoorEndpoint
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
Specifies the name of the Front Door Endpoint.
ProfileName This property is required. string
The name of the Front Door Profile within which Front Door Endpoint exists.
ResourceGroupName This property is required. string
The name of the Resource Group where the Front Door Profile exists.
Name This property is required. string
Specifies the name of the Front Door Endpoint.
ProfileName This property is required. string
The name of the Front Door Profile within which Front Door Endpoint exists.
ResourceGroupName This property is required. string
The name of the Resource Group where the Front Door Profile exists.
name This property is required. String
Specifies the name of the Front Door Endpoint.
profileName This property is required. String
The name of the Front Door Profile within which Front Door Endpoint exists.
resourceGroupName This property is required. String
The name of the Resource Group where the Front Door Profile exists.
name This property is required. string
Specifies the name of the Front Door Endpoint.
profileName This property is required. string
The name of the Front Door Profile within which Front Door Endpoint exists.
resourceGroupName This property is required. string
The name of the Resource Group where the Front Door Profile exists.
name This property is required. str
Specifies the name of the Front Door Endpoint.
profile_name This property is required. str
The name of the Front Door Profile within which Front Door Endpoint exists.
resource_group_name This property is required. str
The name of the Resource Group where the Front Door Profile exists.
name This property is required. String
Specifies the name of the Front Door Endpoint.
profileName This property is required. String
The name of the Front Door Profile within which Front Door Endpoint exists.
resourceGroupName This property is required. String
The name of the Resource Group where the Front Door Profile exists.

getFrontdoorEndpoint Result

The following output properties are available:

Enabled bool
Specifies whether this Front Door Endpoint is enabled or not.
HostName string
Specifies the host name of the Front Door Endpoint, in the format {endpointName}.{dnsZone} (for example, contoso.azureedge.net).
Id string
The provider-assigned unique ID for this managed resource.
Name string
ProfileName string
ResourceGroupName string
Tags Dictionary<string, string>
Specifies a mapping of Tags assigned to this Front Door Endpoint.
Enabled bool
Specifies whether this Front Door Endpoint is enabled or not.
HostName string
Specifies the host name of the Front Door Endpoint, in the format {endpointName}.{dnsZone} (for example, contoso.azureedge.net).
Id string
The provider-assigned unique ID for this managed resource.
Name string
ProfileName string
ResourceGroupName string
Tags map[string]string
Specifies a mapping of Tags assigned to this Front Door Endpoint.
enabled Boolean
Specifies whether this Front Door Endpoint is enabled or not.
hostName String
Specifies the host name of the Front Door Endpoint, in the format {endpointName}.{dnsZone} (for example, contoso.azureedge.net).
id String
The provider-assigned unique ID for this managed resource.
name String
profileName String
resourceGroupName String
tags Map<String,String>
Specifies a mapping of Tags assigned to this Front Door Endpoint.
enabled boolean
Specifies whether this Front Door Endpoint is enabled or not.
hostName string
Specifies the host name of the Front Door Endpoint, in the format {endpointName}.{dnsZone} (for example, contoso.azureedge.net).
id string
The provider-assigned unique ID for this managed resource.
name string
profileName string
resourceGroupName string
tags {[key: string]: string}
Specifies a mapping of Tags assigned to this Front Door Endpoint.
enabled bool
Specifies whether this Front Door Endpoint is enabled or not.
host_name str
Specifies the host name of the Front Door Endpoint, in the format {endpointName}.{dnsZone} (for example, contoso.azureedge.net).
id str
The provider-assigned unique ID for this managed resource.
name str
profile_name str
resource_group_name str
tags Mapping[str, str]
Specifies a mapping of Tags assigned to this Front Door Endpoint.
enabled Boolean
Specifies whether this Front Door Endpoint is enabled or not.
hostName String
Specifies the host name of the Front Door Endpoint, in the format {endpointName}.{dnsZone} (for example, contoso.azureedge.net).
id String
The provider-assigned unique ID for this managed resource.
name String
profileName String
resourceGroupName String
tags Map<String>
Specifies a mapping of Tags assigned to this Front Door Endpoint.

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi