azure.cdn.getFrontdoorOriginGroup
Use this data source to access information about an existing Front Door (standard/premium) Origin Group.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = Azure.Cdn.GetFrontdoorOriginGroup.Invoke(new()
{
Name = "example-origin-group",
ProfileName = "example-profile",
ResourceGroupName = "example-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.LookupFrontdoorOriginGroup(ctx, &cdn.LookupFrontdoorOriginGroupArgs{
Name: "example-origin-group",
ProfileName: "example-profile",
ResourceGroupName: "example-resources",
}, nil)
if err != nil {
return err
}
return nil
})
}
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.GetFrontdoorOriginGroupArgs;
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.getFrontdoorOriginGroup(GetFrontdoorOriginGroupArgs.builder()
.name("example-origin-group")
.profileName("example-profile")
.resourceGroupName("example-resources")
.build());
}
}
import pulumi
import pulumi_azure as azure
example = azure.cdn.get_frontdoor_origin_group(name="example-origin-group",
profile_name="example-profile",
resource_group_name="example-resources")
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.cdn.getFrontdoorOriginGroup({
name: "example-origin-group",
profileName: "example-profile",
resourceGroupName: "example-resources",
});
variables:
example:
fn::invoke:
Function: azure:cdn:getFrontdoorOriginGroup
Arguments:
name: example-origin-group
profileName: example-profile
resourceGroupName: example-resources
Using getFrontdoorOriginGroup
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 getFrontdoorOriginGroup(args: GetFrontdoorOriginGroupArgs, opts?: InvokeOptions): Promise<GetFrontdoorOriginGroupResult>
function getFrontdoorOriginGroupOutput(args: GetFrontdoorOriginGroupOutputArgs, opts?: InvokeOptions): Output<GetFrontdoorOriginGroupResult>
def get_frontdoor_origin_group(name: Optional[str] = None,
profile_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFrontdoorOriginGroupResult
def get_frontdoor_origin_group_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[GetFrontdoorOriginGroupResult]
func LookupFrontdoorOriginGroup(ctx *Context, args *LookupFrontdoorOriginGroupArgs, opts ...InvokeOption) (*LookupFrontdoorOriginGroupResult, error)
func LookupFrontdoorOriginGroupOutput(ctx *Context, args *LookupFrontdoorOriginGroupOutputArgs, opts ...InvokeOption) LookupFrontdoorOriginGroupResultOutput
> Note: This function is named LookupFrontdoorOriginGroup
in the Go SDK.
public static class GetFrontdoorOriginGroup
{
public static Task<GetFrontdoorOriginGroupResult> InvokeAsync(GetFrontdoorOriginGroupArgs args, InvokeOptions? opts = null)
public static Output<GetFrontdoorOriginGroupResult> Invoke(GetFrontdoorOriginGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFrontdoorOriginGroupResult> getFrontdoorOriginGroup(GetFrontdoorOriginGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure:cdn/getFrontdoorOriginGroup:getFrontdoorOriginGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
Specifies the name of the Front Door Origin Group.
- Profile
Name string The name of the Front Door Profile within which Front Door Origin Group 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 Origin Group.
- Profile
Name string The name of the Front Door Profile within which Front Door Origin Group 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 Origin Group.
- profile
Name String The name of the Front Door Profile within which Front Door Origin Group 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 Origin Group.
- profile
Name string The name of the Front Door Profile within which Front Door Origin Group 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 Origin Group.
- profile_
name str The name of the Front Door Profile within which Front Door Origin Group 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 Origin Group.
- profile
Name String The name of the Front Door Profile within which Front Door Origin Group exists.
- resource
Group StringName The name of the Resource Group where the Front Door Profile exists.
getFrontdoorOriginGroup Result
The following output properties are available:
- Cdn
Frontdoor stringProfile Id Specifies the ID of the Front Door Profile within which this Front Door Origin Group exists.
- Health
Probes List<GetFrontdoor Origin Group Health Probe> A
health_probe
block as defined below.- Id string
The provider-assigned unique ID for this managed resource.
- Load
Balancings List<GetFrontdoor Origin Group Load Balancing> A
load_balancing
block as defined below.- Name string
- Profile
Name string - Resource
Group stringName - Restore
Traffic intTime To Healed Or New Endpoint In Minutes - Session
Affinity boolEnabled Specifies whether session affinity is enabled on this host.
- Cdn
Frontdoor stringProfile Id Specifies the ID of the Front Door Profile within which this Front Door Origin Group exists.
- Health
Probes []GetFrontdoor Origin Group Health Probe A
health_probe
block as defined below.- Id string
The provider-assigned unique ID for this managed resource.
- Load
Balancings []GetFrontdoor Origin Group Load Balancing A
load_balancing
block as defined below.- Name string
- Profile
Name string - Resource
Group stringName - Restore
Traffic intTime To Healed Or New Endpoint In Minutes - Session
Affinity boolEnabled Specifies whether session affinity is enabled on this host.
- cdn
Frontdoor StringProfile Id Specifies the ID of the Front Door Profile within which this Front Door Origin Group exists.
- health
Probes List<GetFrontdoor Origin Group Health Probe> A
health_probe
block as defined below.- id String
The provider-assigned unique ID for this managed resource.
- load
Balancings List<GetFrontdoor Origin Group Load Balancing> A
load_balancing
block as defined below.- name String
- profile
Name String - resource
Group StringName - restore
Traffic IntegerTime To Healed Or New Endpoint In Minutes - session
Affinity BooleanEnabled Specifies whether session affinity is enabled on this host.
- cdn
Frontdoor stringProfile Id Specifies the ID of the Front Door Profile within which this Front Door Origin Group exists.
- health
Probes GetFrontdoor Origin Group Health Probe[] A
health_probe
block as defined below.- id string
The provider-assigned unique ID for this managed resource.
- load
Balancings GetFrontdoor Origin Group Load Balancing[] A
load_balancing
block as defined below.- name string
- profile
Name string - resource
Group stringName - restore
Traffic numberTime To Healed Or New Endpoint In Minutes - session
Affinity booleanEnabled Specifies whether session affinity is enabled on this host.
- cdn_
frontdoor_ strprofile_ id Specifies the ID of the Front Door Profile within which this Front Door Origin Group exists.
- health_
probes Sequence[GetFrontdoor Origin Group Health Probe] A
health_probe
block as defined below.- id str
The provider-assigned unique ID for this managed resource.
- load_
balancings Sequence[GetFrontdoor Origin Group Load Balancing] A
load_balancing
block as defined below.- name str
- profile_
name str - resource_
group_ strname - restore_
traffic_ inttime_ to_ healed_ or_ new_ endpoint_ in_ minutes - session_
affinity_ boolenabled Specifies whether session affinity is enabled on this host.
- cdn
Frontdoor StringProfile Id Specifies the ID of the Front Door Profile within which this Front Door Origin Group exists.
- health
Probes List<Property Map> A
health_probe
block as defined below.- id String
The provider-assigned unique ID for this managed resource.
- load
Balancings List<Property Map> A
load_balancing
block as defined below.- name String
- profile
Name String - resource
Group StringName - restore
Traffic NumberTime To Healed Or New Endpoint In Minutes - session
Affinity BooleanEnabled Specifies whether session affinity is enabled on this host.
Supporting Types
GetFrontdoorOriginGroupHealthProbe
- Interval
In intSeconds Specifies the number of seconds between health probes.
- Path string
Specifies the path relative to the origin that is used to determine the health of the origin.
- Protocol string
Specifies the protocol to use for health probe.
- Request
Type string Specifies the type of health probe request that is made.
- Interval
In intSeconds Specifies the number of seconds between health probes.
- Path string
Specifies the path relative to the origin that is used to determine the health of the origin.
- Protocol string
Specifies the protocol to use for health probe.
- Request
Type string Specifies the type of health probe request that is made.
- interval
In IntegerSeconds Specifies the number of seconds between health probes.
- path String
Specifies the path relative to the origin that is used to determine the health of the origin.
- protocol String
Specifies the protocol to use for health probe.
- request
Type String Specifies the type of health probe request that is made.
- interval
In numberSeconds Specifies the number of seconds between health probes.
- path string
Specifies the path relative to the origin that is used to determine the health of the origin.
- protocol string
Specifies the protocol to use for health probe.
- request
Type string Specifies the type of health probe request that is made.
- interval_
in_ intseconds Specifies the number of seconds between health probes.
- path str
Specifies the path relative to the origin that is used to determine the health of the origin.
- protocol str
Specifies the protocol to use for health probe.
- request_
type str Specifies the type of health probe request that is made.
- interval
In NumberSeconds Specifies the number of seconds between health probes.
- path String
Specifies the path relative to the origin that is used to determine the health of the origin.
- protocol String
Specifies the protocol to use for health probe.
- request
Type String Specifies the type of health probe request that is made.
GetFrontdoorOriginGroupLoadBalancing
- Additional
Latency intIn Milliseconds Specifies the additional latency in milliseconds for probes to fall into the lowest latency bucket.
- Sample
Size int Specifies the number of samples to consider for load balancing decisions.
- Successful
Samples intRequired Specifies the number of samples within the sample period that must succeed.
- Additional
Latency intIn Milliseconds Specifies the additional latency in milliseconds for probes to fall into the lowest latency bucket.
- Sample
Size int Specifies the number of samples to consider for load balancing decisions.
- Successful
Samples intRequired Specifies the number of samples within the sample period that must succeed.
- additional
Latency IntegerIn Milliseconds Specifies the additional latency in milliseconds for probes to fall into the lowest latency bucket.
- sample
Size Integer Specifies the number of samples to consider for load balancing decisions.
- successful
Samples IntegerRequired Specifies the number of samples within the sample period that must succeed.
- additional
Latency numberIn Milliseconds Specifies the additional latency in milliseconds for probes to fall into the lowest latency bucket.
- sample
Size number Specifies the number of samples to consider for load balancing decisions.
- successful
Samples numberRequired Specifies the number of samples within the sample period that must succeed.
- additional_
latency_ intin_ milliseconds Specifies the additional latency in milliseconds for probes to fall into the lowest latency bucket.
- sample_
size int Specifies the number of samples to consider for load balancing decisions.
- successful_
samples_ intrequired Specifies the number of samples within the sample period that must succeed.
- additional
Latency NumberIn Milliseconds Specifies the additional latency in milliseconds for probes to fall into the lowest latency bucket.
- sample
Size Number Specifies the number of samples to consider for load balancing decisions.
- successful
Samples NumberRequired Specifies the number of samples within the sample period that must succeed.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.