Azure Classic

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

getFrontdoorProfile

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

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Azure.Cdn.GetFrontdoorProfile.InvokeAsync(new Azure.Cdn.GetFrontdoorProfileArgs
        {
            Name = "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.LookupFrontdoorProfile(ctx, &cdn.LookupFrontdoorProfileArgs{
			Name:              "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.getFrontdoorProfile(GetFrontdoorProfileArgs.builder()
            .name("existing-cdn-profile")
            .resourceGroupName("existing-resources")
            .build()));

    }
}
import pulumi
import pulumi_azure as azure

example = azure.cdn.get_frontdoor_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.getFrontdoorProfile({
    name: "existing-cdn-profile",
    resourceGroupName: "existing-resources",
}));
variables:
  example:
    Fn::Invoke:
      Function: azure:cdn:getFrontdoorProfile
      Arguments:
        name: existing-cdn-profile
        resourceGroupName: existing-resources

Using getFrontdoorProfile

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 getFrontdoorProfile(args: GetFrontdoorProfileArgs, opts?: InvokeOptions): Promise<GetFrontdoorProfileResult>
function getFrontdoorProfileOutput(args: GetFrontdoorProfileOutputArgs, opts?: InvokeOptions): Output<GetFrontdoorProfileResult>
def get_frontdoor_profile(name: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetFrontdoorProfileResult
def get_frontdoor_profile_output(name: Optional[pulumi.Input[str]] = None,
                          resource_group_name: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetFrontdoorProfileResult]
func LookupFrontdoorProfile(ctx *Context, args *LookupFrontdoorProfileArgs, opts ...InvokeOption) (*LookupFrontdoorProfileResult, error)
func LookupFrontdoorProfileOutput(ctx *Context, args *LookupFrontdoorProfileOutputArgs, opts ...InvokeOption) LookupFrontdoorProfileResultOutput

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

public static class GetFrontdoorProfile 
{
    public static Task<GetFrontdoorProfileResult> InvokeAsync(GetFrontdoorProfileArgs args, InvokeOptions? opts = null)
    public static Output<GetFrontdoorProfileResult> Invoke(GetFrontdoorProfileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFrontdoorProfileResult> getFrontdoorProfile(GetFrontdoorProfileArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: azure:cdn/getFrontdoorProfile:getFrontdoorProfile
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Name string

Specifies the name of the FrontDoor Profile.

ResourceGroupName string

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

Name string

Specifies the name of the FrontDoor Profile.

ResourceGroupName string

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

name String

Specifies the name of the FrontDoor Profile.

resourceGroupName String

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

name string

Specifies the name of the FrontDoor Profile.

resourceGroupName string

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

name str

Specifies the name of the FrontDoor Profile.

resource_group_name str

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

name String

Specifies the name of the FrontDoor Profile.

resourceGroupName String

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

getFrontdoorProfile Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Name string
ResourceGroupName string
ResourceGuid string

The UUID of this CDN FrontDoor Profile.

ResponseTimeoutSeconds int

Specifies the maximum response timeout in seconds.

SkuName string

Specifies the SKU for this CDN FrontDoor Profile.

Tags Dictionary<string, string>

Specifies a mapping of Tags assigned to this CDN FrontDoor Profile.

Id string

The provider-assigned unique ID for this managed resource.

Name string
ResourceGroupName string
ResourceGuid string

The UUID of this CDN FrontDoor Profile.

ResponseTimeoutSeconds int

Specifies the maximum response timeout in seconds.

SkuName string

Specifies the SKU for this CDN FrontDoor Profile.

Tags map[string]string

Specifies a mapping of Tags assigned to this CDN FrontDoor Profile.

id String

The provider-assigned unique ID for this managed resource.

name String
resourceGroupName String
resourceGuid String

The UUID of this CDN FrontDoor Profile.

responseTimeoutSeconds Integer

Specifies the maximum response timeout in seconds.

skuName String

Specifies the SKU for this CDN FrontDoor Profile.

tags Map<String,String>

Specifies a mapping of Tags assigned to this CDN FrontDoor Profile.

id string

The provider-assigned unique ID for this managed resource.

name string
resourceGroupName string
resourceGuid string

The UUID of this CDN FrontDoor Profile.

responseTimeoutSeconds number

Specifies the maximum response timeout in seconds.

skuName string

Specifies the SKU for this CDN FrontDoor Profile.

tags {[key: string]: string}

Specifies a mapping of Tags assigned to this CDN FrontDoor Profile.

id str

The provider-assigned unique ID for this managed resource.

name str
resource_group_name str
resource_guid str

The UUID of this CDN FrontDoor Profile.

response_timeout_seconds int

Specifies the maximum response timeout in seconds.

sku_name str

Specifies the SKU for this CDN FrontDoor Profile.

tags Mapping[str, str]

Specifies a mapping of Tags assigned to this CDN FrontDoor Profile.

id String

The provider-assigned unique ID for this managed resource.

name String
resourceGroupName String
resourceGuid String

The UUID of this CDN FrontDoor Profile.

responseTimeoutSeconds Number

Specifies the maximum response timeout in seconds.

skuName String

Specifies the SKU for this CDN FrontDoor Profile.

tags Map<String>

Specifies a mapping of Tags assigned to this CDN FrontDoor Profile.

Package Details

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

This Pulumi package is based on the azurerm Terraform Provider.