Azure Classic

Pulumi Official
Package maintained by Pulumi
v5.11.0 published on Monday, Jun 27, 2022 by Pulumi

getFrontdoorEndpoint

Use this data source to access information about an existing CDN FrontDoor Endpoint.

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Azure.Cdn.GetFrontdoorEndpoint.InvokeAsync(new Azure.Cdn.GetFrontdoorEndpointArgs
        {
            Name = "existing-endpoint",
            ProfileName = "existing-cdn-profile",
            ResourceGroupName = "existing-resources",
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = Output.of(CdnFunctions.getFrontdoorEndpoint(GetFrontdoorEndpointArgs.builder()
            .name("existing-endpoint")
            .profileName("existing-cdn-profile")
            .resourceGroupName("existing-resources")
            .build()));

    }
}
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")
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const example = pulumi.output(azure.cdn.getFrontdoorEndpoint({
    name: "existing-endpoint",
    profileName: "existing-cdn-profile",
    resourceGroupName: "existing-resources",
}));
variables:
  example:
    Fn::Invoke:
      Function: azure:cdn:getFrontdoorEndpoint
      Arguments:
        name: existing-endpoint
        profileName: existing-cdn-profile
        resourceGroupName: existing-resources

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>
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]
func LookupFrontdoorEndpoint(ctx *Context, args *LookupFrontdoorEndpointArgs, opts ...InvokeOption) (*LookupFrontdoorEndpointResult, error)
func LookupFrontdoorEndpointOutput(ctx *Context, args *LookupFrontdoorEndpointOutputArgs, opts ...InvokeOption) LookupFrontdoorEndpointResultOutput

> 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)
}
public static CompletableFuture<GetFrontdoorEndpointResult> getFrontdoorEndpoint(GetFrontdoorEndpointArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: azure:cdn/getFrontdoorEndpoint:getFrontdoorEndpoint
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Name string

Specifies the name of the FrontDoor Endpoint.

ProfileName string

The name of the FrontDoor Profile within which CDN FrontDoor Endpoint exists.

ResourceGroupName string

The name of the Resource Group where the CDN FrontDoor Profile exists.

Name string

Specifies the name of the FrontDoor Endpoint.

ProfileName string

The name of the FrontDoor Profile within which CDN FrontDoor Endpoint exists.

ResourceGroupName string

The name of the Resource Group where the CDN FrontDoor Profile exists.

name String

Specifies the name of the FrontDoor Endpoint.

profileName String

The name of the FrontDoor Profile within which CDN FrontDoor Endpoint exists.

resourceGroupName String

The name of the Resource Group where the CDN FrontDoor Profile exists.

name string

Specifies the name of the FrontDoor Endpoint.

profileName string

The name of the FrontDoor Profile within which CDN FrontDoor Endpoint exists.

resourceGroupName string

The name of the Resource Group where the CDN FrontDoor Profile exists.

name str

Specifies the name of the FrontDoor Endpoint.

profile_name str

The name of the FrontDoor Profile within which CDN FrontDoor Endpoint exists.

resource_group_name str

The name of the Resource Group where the CDN FrontDoor Profile exists.

name String

Specifies the name of the FrontDoor Endpoint.

profileName String

The name of the FrontDoor Profile within which CDN FrontDoor Endpoint exists.

resourceGroupName String

The name of the Resource Group where the CDN FrontDoor Profile exists.

getFrontdoorEndpoint Result

The following output properties are available:

Enabled bool

Specifies whether this CDN FrontDoor Endpoint is enabled or not.

HostName string

Specifies the host name of the CDN FrontDoor 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 CDN FrontDoor Endpoint.

Enabled bool

Specifies whether this CDN FrontDoor Endpoint is enabled or not.

HostName string

Specifies the host name of the CDN FrontDoor 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 CDN FrontDoor Endpoint.

enabled Boolean

Specifies whether this CDN FrontDoor Endpoint is enabled or not.

hostName String

Specifies the host name of the CDN FrontDoor 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 CDN FrontDoor Endpoint.

enabled boolean

Specifies whether this CDN FrontDoor Endpoint is enabled or not.

hostName string

Specifies the host name of the CDN FrontDoor 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 CDN FrontDoor Endpoint.

enabled bool

Specifies whether this CDN FrontDoor Endpoint is enabled or not.

host_name str

Specifies the host name of the CDN FrontDoor 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 CDN FrontDoor Endpoint.

enabled Boolean

Specifies whether this CDN FrontDoor Endpoint is enabled or not.

hostName String

Specifies the host name of the CDN FrontDoor 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 CDN FrontDoor Endpoint.

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.