We recommend using Azure Native.
Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi
azure.cdn.getFrontdoorEndpoint
Explore with Pulumi AI
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",
});
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")
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
})
}
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",
});
});
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());
}
}
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 Front Door Endpoint.
- Profile
Name string - The name of the Front Door Profile within which Front Door Endpoint exists.
- Resource
Group stringName - The name of the Resource Group where the Front Door Profile exists.
- Name string
- Specifies the name of the Front Door Endpoint.
- Profile
Name string - The name of the Front Door Profile within which Front Door Endpoint exists.
- Resource
Group stringName - The name of the Resource Group where the Front Door Profile exists.
- name String
- Specifies the name of the Front Door Endpoint.
- profile
Name String - The name of the Front Door Profile within which Front Door Endpoint exists.
- resource
Group StringName - The name of the Resource Group where the Front Door Profile exists.
- name string
- Specifies the name of the Front Door Endpoint.
- profile
Name string - The name of the Front Door Profile within which Front Door Endpoint exists.
- resource
Group stringName - The name of the Resource Group where the Front Door Profile exists.
- name str
- Specifies the name of the Front Door Endpoint.
- profile_
name str - The name of the Front Door Profile within which Front Door Endpoint exists.
- resource_
group_ strname - The name of the Resource Group where the Front Door Profile exists.
- name String
- Specifies the name of the Front Door Endpoint.
- profile
Name String - The name of the Front Door Profile within which Front Door Endpoint exists.
- resource
Group StringName - 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.
- Host
Name 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
- Profile
Name string - Resource
Group stringName - 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.
- Host
Name 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
- Profile
Name string - Resource
Group stringName - 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.
- host
Name 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
- profile
Name String - resource
Group StringName - 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.
- host
Name 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
- profile
Name string - resource
Group stringName - {[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_ strname - 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.
- host
Name 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
- profile
Name String - resource
Group StringName - 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.