1. Packages
  2. Azure Native v1
  3. API Docs
  4. cdn
  5. AFDOriginGroup
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.cdn.AFDOriginGroup

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    AFDOrigin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN. API Version: 2020-09-01.

    Example Usage

    AFDOriginGroups_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var afdOriginGroup = new AzureNative.Cdn.AFDOriginGroup("afdOriginGroup", new()
        {
            HealthProbeSettings = new AzureNative.Cdn.Inputs.HealthProbeParametersArgs
            {
                ProbeIntervalInSeconds = 10,
                ProbePath = "/path2",
                ProbeProtocol = AzureNative.Cdn.ProbeProtocol.NotSet,
                ProbeRequestType = AzureNative.Cdn.HealthProbeRequestType.NotSet,
            },
            LoadBalancingSettings = new AzureNative.Cdn.Inputs.LoadBalancingSettingsParametersArgs
            {
                AdditionalLatencyInMilliseconds = 1000,
                SampleSize = 3,
                SuccessfulSamplesRequired = 3,
            },
            OriginGroupName = "origingroup1",
            ProfileName = "profile1",
            ResourceGroupName = "RG",
            TrafficRestorationTimeToHealedOrNewEndpointsInMinutes = 5,
        });
    
    });
    
    package main
    
    import (
    	cdn "github.com/pulumi/pulumi-azure-native-sdk/cdn"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cdn.NewAFDOriginGroup(ctx, "afdOriginGroup", &cdn.AFDOriginGroupArgs{
    			HealthProbeSettings: &cdn.HealthProbeParametersArgs{
    				ProbeIntervalInSeconds: pulumi.Int(10),
    				ProbePath:              pulumi.String("/path2"),
    				ProbeProtocol:          cdn.ProbeProtocolNotSet,
    				ProbeRequestType:       cdn.HealthProbeRequestTypeNotSet,
    			},
    			LoadBalancingSettings: &cdn.LoadBalancingSettingsParametersArgs{
    				AdditionalLatencyInMilliseconds: pulumi.Int(1000),
    				SampleSize:                      pulumi.Int(3),
    				SuccessfulSamplesRequired:       pulumi.Int(3),
    			},
    			OriginGroupName:   pulumi.String("origingroup1"),
    			ProfileName:       pulumi.String("profile1"),
    			ResourceGroupName: pulumi.String("RG"),
    			TrafficRestorationTimeToHealedOrNewEndpointsInMinutes: pulumi.Int(5),
    		})
    		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.azurenative.cdn.AFDOriginGroup;
    import com.pulumi.azurenative.cdn.AFDOriginGroupArgs;
    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) {
            var afdOriginGroup = new AFDOriginGroup("afdOriginGroup", AFDOriginGroupArgs.builder()        
                .healthProbeSettings(Map.ofEntries(
                    Map.entry("probeIntervalInSeconds", 10),
                    Map.entry("probePath", "/path2"),
                    Map.entry("probeProtocol", "NotSet"),
                    Map.entry("probeRequestType", "NotSet")
                ))
                .loadBalancingSettings(Map.ofEntries(
                    Map.entry("additionalLatencyInMilliseconds", 1000),
                    Map.entry("sampleSize", 3),
                    Map.entry("successfulSamplesRequired", 3)
                ))
                .originGroupName("origingroup1")
                .profileName("profile1")
                .resourceGroupName("RG")
                .trafficRestorationTimeToHealedOrNewEndpointsInMinutes(5)
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    afd_origin_group = azure_native.cdn.AFDOriginGroup("afdOriginGroup",
        health_probe_settings=azure_native.cdn.HealthProbeParametersArgs(
            probe_interval_in_seconds=10,
            probe_path="/path2",
            probe_protocol=azure_native.cdn.ProbeProtocol.NOT_SET,
            probe_request_type=azure_native.cdn.HealthProbeRequestType.NOT_SET,
        ),
        load_balancing_settings=azure_native.cdn.LoadBalancingSettingsParametersArgs(
            additional_latency_in_milliseconds=1000,
            sample_size=3,
            successful_samples_required=3,
        ),
        origin_group_name="origingroup1",
        profile_name="profile1",
        resource_group_name="RG",
        traffic_restoration_time_to_healed_or_new_endpoints_in_minutes=5)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const afdOriginGroup = new azure_native.cdn.AFDOriginGroup("afdOriginGroup", {
        healthProbeSettings: {
            probeIntervalInSeconds: 10,
            probePath: "/path2",
            probeProtocol: azure_native.cdn.ProbeProtocol.NotSet,
            probeRequestType: azure_native.cdn.HealthProbeRequestType.NotSet,
        },
        loadBalancingSettings: {
            additionalLatencyInMilliseconds: 1000,
            sampleSize: 3,
            successfulSamplesRequired: 3,
        },
        originGroupName: "origingroup1",
        profileName: "profile1",
        resourceGroupName: "RG",
        trafficRestorationTimeToHealedOrNewEndpointsInMinutes: 5,
    });
    
    resources:
      afdOriginGroup:
        type: azure-native:cdn:AFDOriginGroup
        properties:
          healthProbeSettings:
            probeIntervalInSeconds: 10
            probePath: /path2
            probeProtocol: NotSet
            probeRequestType: NotSet
          loadBalancingSettings:
            additionalLatencyInMilliseconds: 1000
            sampleSize: 3
            successfulSamplesRequired: 3
          originGroupName: origingroup1
          profileName: profile1
          resourceGroupName: RG
          trafficRestorationTimeToHealedOrNewEndpointsInMinutes: 5
    

    Create AFDOriginGroup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AFDOriginGroup(name: string, args: AFDOriginGroupArgs, opts?: CustomResourceOptions);
    @overload
    def AFDOriginGroup(resource_name: str,
                       args: AFDOriginGroupArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def AFDOriginGroup(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       profile_name: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       health_probe_settings: Optional[HealthProbeParametersArgs] = None,
                       load_balancing_settings: Optional[LoadBalancingSettingsParametersArgs] = None,
                       origin_group_name: Optional[str] = None,
                       response_based_afd_origin_error_detection_settings: Optional[ResponseBasedOriginErrorDetectionParametersArgs] = None,
                       session_affinity_state: Optional[Union[str, EnabledState]] = None,
                       traffic_restoration_time_to_healed_or_new_endpoints_in_minutes: Optional[int] = None)
    func NewAFDOriginGroup(ctx *Context, name string, args AFDOriginGroupArgs, opts ...ResourceOption) (*AFDOriginGroup, error)
    public AFDOriginGroup(string name, AFDOriginGroupArgs args, CustomResourceOptions? opts = null)
    public AFDOriginGroup(String name, AFDOriginGroupArgs args)
    public AFDOriginGroup(String name, AFDOriginGroupArgs args, CustomResourceOptions options)
    
    type: azure-native:cdn:AFDOriginGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AFDOriginGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AFDOriginGroupArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AFDOriginGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AFDOriginGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AFDOriginGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var afdoriginGroupResource = new AzureNative.Cdn.AFDOriginGroup("afdoriginGroupResource", new()
    {
        ProfileName = "string",
        ResourceGroupName = "string",
        HealthProbeSettings = 
        {
            { "probeIntervalInSeconds", 0 },
            { "probePath", "string" },
            { "probeProtocol", "NotSet" },
            { "probeRequestType", "NotSet" },
        },
        LoadBalancingSettings = 
        {
            { "additionalLatencyInMilliseconds", 0 },
            { "sampleSize", 0 },
            { "successfulSamplesRequired", 0 },
        },
        OriginGroupName = "string",
        ResponseBasedAfdOriginErrorDetectionSettings = 
        {
            { "httpErrorRanges", new[]
            {
                
                {
                    { "begin", 0 },
                    { "end", 0 },
                },
            } },
            { "responseBasedDetectedErrorTypes", "None" },
            { "responseBasedFailoverThresholdPercentage", 0 },
        },
        SessionAffinityState = "string",
        TrafficRestorationTimeToHealedOrNewEndpointsInMinutes = 0,
    });
    
    example, err := cdn.NewAFDOriginGroup(ctx, "afdoriginGroupResource", &cdn.AFDOriginGroupArgs{
    	ProfileName:       "string",
    	ResourceGroupName: "string",
    	HealthProbeSettings: map[string]interface{}{
    		"probeIntervalInSeconds": 0,
    		"probePath":              "string",
    		"probeProtocol":          "NotSet",
    		"probeRequestType":       "NotSet",
    	},
    	LoadBalancingSettings: map[string]interface{}{
    		"additionalLatencyInMilliseconds": 0,
    		"sampleSize":                      0,
    		"successfulSamplesRequired":       0,
    	},
    	OriginGroupName: "string",
    	ResponseBasedAfdOriginErrorDetectionSettings: map[string]interface{}{
    		"httpErrorRanges": []map[string]interface{}{
    			map[string]interface{}{
    				"begin": 0,
    				"end":   0,
    			},
    		},
    		"responseBasedDetectedErrorTypes":          "None",
    		"responseBasedFailoverThresholdPercentage": 0,
    	},
    	SessionAffinityState: "string",
    	TrafficRestorationTimeToHealedOrNewEndpointsInMinutes: 0,
    })
    
    var afdoriginGroupResource = new AFDOriginGroup("afdoriginGroupResource", AFDOriginGroupArgs.builder()
        .profileName("string")
        .resourceGroupName("string")
        .healthProbeSettings(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .loadBalancingSettings(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .originGroupName("string")
        .responseBasedAfdOriginErrorDetectionSettings(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .sessionAffinityState("string")
        .trafficRestorationTimeToHealedOrNewEndpointsInMinutes(0)
        .build());
    
    afdorigin_group_resource = azure_native.cdn.AFDOriginGroup("afdoriginGroupResource",
        profile_name=string,
        resource_group_name=string,
        health_probe_settings={
            probeIntervalInSeconds: 0,
            probePath: string,
            probeProtocol: NotSet,
            probeRequestType: NotSet,
        },
        load_balancing_settings={
            additionalLatencyInMilliseconds: 0,
            sampleSize: 0,
            successfulSamplesRequired: 0,
        },
        origin_group_name=string,
        response_based_afd_origin_error_detection_settings={
            httpErrorRanges: [{
                begin: 0,
                end: 0,
            }],
            responseBasedDetectedErrorTypes: None,
            responseBasedFailoverThresholdPercentage: 0,
        },
        session_affinity_state=string,
        traffic_restoration_time_to_healed_or_new_endpoints_in_minutes=0)
    
    const afdoriginGroupResource = new azure_native.cdn.AFDOriginGroup("afdoriginGroupResource", {
        profileName: "string",
        resourceGroupName: "string",
        healthProbeSettings: {
            probeIntervalInSeconds: 0,
            probePath: "string",
            probeProtocol: "NotSet",
            probeRequestType: "NotSet",
        },
        loadBalancingSettings: {
            additionalLatencyInMilliseconds: 0,
            sampleSize: 0,
            successfulSamplesRequired: 0,
        },
        originGroupName: "string",
        responseBasedAfdOriginErrorDetectionSettings: {
            httpErrorRanges: [{
                begin: 0,
                end: 0,
            }],
            responseBasedDetectedErrorTypes: "None",
            responseBasedFailoverThresholdPercentage: 0,
        },
        sessionAffinityState: "string",
        trafficRestorationTimeToHealedOrNewEndpointsInMinutes: 0,
    });
    
    type: azure-native:cdn:AFDOriginGroup
    properties:
        healthProbeSettings:
            probeIntervalInSeconds: 0
            probePath: string
            probeProtocol: NotSet
            probeRequestType: NotSet
        loadBalancingSettings:
            additionalLatencyInMilliseconds: 0
            sampleSize: 0
            successfulSamplesRequired: 0
        originGroupName: string
        profileName: string
        resourceGroupName: string
        responseBasedAfdOriginErrorDetectionSettings:
            httpErrorRanges:
                - begin: 0
                  end: 0
            responseBasedDetectedErrorTypes: None
            responseBasedFailoverThresholdPercentage: 0
        sessionAffinityState: string
        trafficRestorationTimeToHealedOrNewEndpointsInMinutes: 0
    

    AFDOriginGroup Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AFDOriginGroup resource accepts the following input properties:

    ProfileName string
    Name of the CDN profile which is unique within the resource group.
    ResourceGroupName string
    Name of the Resource group within the Azure subscription.
    HealthProbeSettings Pulumi.AzureNative.Cdn.Inputs.HealthProbeParameters
    Health probe settings to the origin that is used to determine the health of the origin.
    LoadBalancingSettings Pulumi.AzureNative.Cdn.Inputs.LoadBalancingSettingsParameters
    Load balancing settings for a backend pool
    OriginGroupName string
    Name of the origin group which is unique within the endpoint.
    ResponseBasedAfdOriginErrorDetectionSettings Pulumi.AzureNative.Cdn.Inputs.ResponseBasedOriginErrorDetectionParameters
    The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
    SessionAffinityState string | Pulumi.AzureNative.Cdn.EnabledState
    Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'
    TrafficRestorationTimeToHealedOrNewEndpointsInMinutes int
    Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.
    ProfileName string
    Name of the CDN profile which is unique within the resource group.
    ResourceGroupName string
    Name of the Resource group within the Azure subscription.
    HealthProbeSettings HealthProbeParametersArgs
    Health probe settings to the origin that is used to determine the health of the origin.
    LoadBalancingSettings LoadBalancingSettingsParametersArgs
    Load balancing settings for a backend pool
    OriginGroupName string
    Name of the origin group which is unique within the endpoint.
    ResponseBasedAfdOriginErrorDetectionSettings ResponseBasedOriginErrorDetectionParametersArgs
    The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
    SessionAffinityState string | EnabledState
    Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'
    TrafficRestorationTimeToHealedOrNewEndpointsInMinutes int
    Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.
    profileName String
    Name of the CDN profile which is unique within the resource group.
    resourceGroupName String
    Name of the Resource group within the Azure subscription.
    healthProbeSettings HealthProbeParameters
    Health probe settings to the origin that is used to determine the health of the origin.
    loadBalancingSettings LoadBalancingSettingsParameters
    Load balancing settings for a backend pool
    originGroupName String
    Name of the origin group which is unique within the endpoint.
    responseBasedAfdOriginErrorDetectionSettings ResponseBasedOriginErrorDetectionParameters
    The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
    sessionAffinityState String | EnabledState
    Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'
    trafficRestorationTimeToHealedOrNewEndpointsInMinutes Integer
    Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.
    profileName string
    Name of the CDN profile which is unique within the resource group.
    resourceGroupName string
    Name of the Resource group within the Azure subscription.
    healthProbeSettings HealthProbeParameters
    Health probe settings to the origin that is used to determine the health of the origin.
    loadBalancingSettings LoadBalancingSettingsParameters
    Load balancing settings for a backend pool
    originGroupName string
    Name of the origin group which is unique within the endpoint.
    responseBasedAfdOriginErrorDetectionSettings ResponseBasedOriginErrorDetectionParameters
    The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
    sessionAffinityState string | EnabledState
    Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'
    trafficRestorationTimeToHealedOrNewEndpointsInMinutes number
    Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.
    profile_name str
    Name of the CDN profile which is unique within the resource group.
    resource_group_name str
    Name of the Resource group within the Azure subscription.
    health_probe_settings HealthProbeParametersArgs
    Health probe settings to the origin that is used to determine the health of the origin.
    load_balancing_settings LoadBalancingSettingsParametersArgs
    Load balancing settings for a backend pool
    origin_group_name str
    Name of the origin group which is unique within the endpoint.
    response_based_afd_origin_error_detection_settings ResponseBasedOriginErrorDetectionParametersArgs
    The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
    session_affinity_state str | EnabledState
    Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'
    traffic_restoration_time_to_healed_or_new_endpoints_in_minutes int
    Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.
    profileName String
    Name of the CDN profile which is unique within the resource group.
    resourceGroupName String
    Name of the Resource group within the Azure subscription.
    healthProbeSettings Property Map
    Health probe settings to the origin that is used to determine the health of the origin.
    loadBalancingSettings Property Map
    Load balancing settings for a backend pool
    originGroupName String
    Name of the origin group which is unique within the endpoint.
    responseBasedAfdOriginErrorDetectionSettings Property Map
    The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
    sessionAffinityState String | "Enabled" | "Disabled"
    Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'
    trafficRestorationTimeToHealedOrNewEndpointsInMinutes Number
    Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AFDOriginGroup resource produces the following output properties:

    DeploymentStatus string
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name.
    ProvisioningState string
    Provisioning status
    SystemData Pulumi.AzureNative.Cdn.Outputs.SystemDataResponse
    Read only system data
    Type string
    Resource type.
    DeploymentStatus string
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name.
    ProvisioningState string
    Provisioning status
    SystemData SystemDataResponse
    Read only system data
    Type string
    Resource type.
    deploymentStatus String
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name.
    provisioningState String
    Provisioning status
    systemData SystemDataResponse
    Read only system data
    type String
    Resource type.
    deploymentStatus string
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Resource name.
    provisioningState string
    Provisioning status
    systemData SystemDataResponse
    Read only system data
    type string
    Resource type.
    deployment_status str
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Resource name.
    provisioning_state str
    Provisioning status
    system_data SystemDataResponse
    Read only system data
    type str
    Resource type.
    deploymentStatus String
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name.
    provisioningState String
    Provisioning status
    systemData Property Map
    Read only system data
    type String
    Resource type.

    Supporting Types

    EnabledState, EnabledStateArgs

    Enabled
    Enabled
    Disabled
    Disabled
    EnabledStateEnabled
    Enabled
    EnabledStateDisabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    ENABLED
    Enabled
    DISABLED
    Disabled
    "Enabled"
    Enabled
    "Disabled"
    Disabled

    HealthProbeParameters, HealthProbeParametersArgs

    ProbeIntervalInSeconds int
    The number of seconds between health probes.Default is 240sec.
    ProbePath string
    The path relative to the origin that is used to determine the health of the origin.
    ProbeProtocol Pulumi.AzureNative.Cdn.ProbeProtocol
    Protocol to use for health probe.
    ProbeRequestType Pulumi.AzureNative.Cdn.HealthProbeRequestType
    The type of health probe request that is made.
    ProbeIntervalInSeconds int
    The number of seconds between health probes.Default is 240sec.
    ProbePath string
    The path relative to the origin that is used to determine the health of the origin.
    ProbeProtocol ProbeProtocol
    Protocol to use for health probe.
    ProbeRequestType HealthProbeRequestType
    The type of health probe request that is made.
    probeIntervalInSeconds Integer
    The number of seconds between health probes.Default is 240sec.
    probePath String
    The path relative to the origin that is used to determine the health of the origin.
    probeProtocol ProbeProtocol
    Protocol to use for health probe.
    probeRequestType HealthProbeRequestType
    The type of health probe request that is made.
    probeIntervalInSeconds number
    The number of seconds between health probes.Default is 240sec.
    probePath string
    The path relative to the origin that is used to determine the health of the origin.
    probeProtocol ProbeProtocol
    Protocol to use for health probe.
    probeRequestType HealthProbeRequestType
    The type of health probe request that is made.
    probe_interval_in_seconds int
    The number of seconds between health probes.Default is 240sec.
    probe_path str
    The path relative to the origin that is used to determine the health of the origin.
    probe_protocol ProbeProtocol
    Protocol to use for health probe.
    probe_request_type HealthProbeRequestType
    The type of health probe request that is made.
    probeIntervalInSeconds Number
    The number of seconds between health probes.Default is 240sec.
    probePath String
    The path relative to the origin that is used to determine the health of the origin.
    probeProtocol "NotSet" | "Http" | "Https"
    Protocol to use for health probe.
    probeRequestType "NotSet" | "GET" | "HEAD"
    The type of health probe request that is made.

    HealthProbeParametersResponse, HealthProbeParametersResponseArgs

    ProbeIntervalInSeconds int
    The number of seconds between health probes.Default is 240sec.
    ProbePath string
    The path relative to the origin that is used to determine the health of the origin.
    ProbeProtocol string
    Protocol to use for health probe.
    ProbeRequestType string
    The type of health probe request that is made.
    ProbeIntervalInSeconds int
    The number of seconds between health probes.Default is 240sec.
    ProbePath string
    The path relative to the origin that is used to determine the health of the origin.
    ProbeProtocol string
    Protocol to use for health probe.
    ProbeRequestType string
    The type of health probe request that is made.
    probeIntervalInSeconds Integer
    The number of seconds between health probes.Default is 240sec.
    probePath String
    The path relative to the origin that is used to determine the health of the origin.
    probeProtocol String
    Protocol to use for health probe.
    probeRequestType String
    The type of health probe request that is made.
    probeIntervalInSeconds number
    The number of seconds between health probes.Default is 240sec.
    probePath string
    The path relative to the origin that is used to determine the health of the origin.
    probeProtocol string
    Protocol to use for health probe.
    probeRequestType string
    The type of health probe request that is made.
    probe_interval_in_seconds int
    The number of seconds between health probes.Default is 240sec.
    probe_path str
    The path relative to the origin that is used to determine the health of the origin.
    probe_protocol str
    Protocol to use for health probe.
    probe_request_type str
    The type of health probe request that is made.
    probeIntervalInSeconds Number
    The number of seconds between health probes.Default is 240sec.
    probePath String
    The path relative to the origin that is used to determine the health of the origin.
    probeProtocol String
    Protocol to use for health probe.
    probeRequestType String
    The type of health probe request that is made.

    HealthProbeRequestType, HealthProbeRequestTypeArgs

    NotSet
    NotSet
    GET
    GET
    HEAD
    HEAD
    HealthProbeRequestTypeNotSet
    NotSet
    HealthProbeRequestTypeGET
    GET
    HealthProbeRequestTypeHEAD
    HEAD
    NotSet
    NotSet
    GET
    GET
    HEAD
    HEAD
    NotSet
    NotSet
    GET
    GET
    HEAD
    HEAD
    NOT_SET
    NotSet
    GET
    GET
    HEAD
    HEAD
    "NotSet"
    NotSet
    "GET"
    GET
    "HEAD"
    HEAD

    HttpErrorRangeParameters, HttpErrorRangeParametersArgs

    Begin int
    The inclusive start of the http status code range.
    End int
    The inclusive end of the http status code range.
    Begin int
    The inclusive start of the http status code range.
    End int
    The inclusive end of the http status code range.
    begin Integer
    The inclusive start of the http status code range.
    end Integer
    The inclusive end of the http status code range.
    begin number
    The inclusive start of the http status code range.
    end number
    The inclusive end of the http status code range.
    begin int
    The inclusive start of the http status code range.
    end int
    The inclusive end of the http status code range.
    begin Number
    The inclusive start of the http status code range.
    end Number
    The inclusive end of the http status code range.

    HttpErrorRangeParametersResponse, HttpErrorRangeParametersResponseArgs

    Begin int
    The inclusive start of the http status code range.
    End int
    The inclusive end of the http status code range.
    Begin int
    The inclusive start of the http status code range.
    End int
    The inclusive end of the http status code range.
    begin Integer
    The inclusive start of the http status code range.
    end Integer
    The inclusive end of the http status code range.
    begin number
    The inclusive start of the http status code range.
    end number
    The inclusive end of the http status code range.
    begin int
    The inclusive start of the http status code range.
    end int
    The inclusive end of the http status code range.
    begin Number
    The inclusive start of the http status code range.
    end Number
    The inclusive end of the http status code range.

    LoadBalancingSettingsParameters, LoadBalancingSettingsParametersArgs

    AdditionalLatencyInMilliseconds int
    The additional latency in milliseconds for probes to fall into the lowest latency bucket
    SampleSize int
    The number of samples to consider for load balancing decisions
    SuccessfulSamplesRequired int
    The number of samples within the sample period that must succeed
    AdditionalLatencyInMilliseconds int
    The additional latency in milliseconds for probes to fall into the lowest latency bucket
    SampleSize int
    The number of samples to consider for load balancing decisions
    SuccessfulSamplesRequired int
    The number of samples within the sample period that must succeed
    additionalLatencyInMilliseconds Integer
    The additional latency in milliseconds for probes to fall into the lowest latency bucket
    sampleSize Integer
    The number of samples to consider for load balancing decisions
    successfulSamplesRequired Integer
    The number of samples within the sample period that must succeed
    additionalLatencyInMilliseconds number
    The additional latency in milliseconds for probes to fall into the lowest latency bucket
    sampleSize number
    The number of samples to consider for load balancing decisions
    successfulSamplesRequired number
    The number of samples within the sample period that must succeed
    additional_latency_in_milliseconds int
    The additional latency in milliseconds for probes to fall into the lowest latency bucket
    sample_size int
    The number of samples to consider for load balancing decisions
    successful_samples_required int
    The number of samples within the sample period that must succeed
    additionalLatencyInMilliseconds Number
    The additional latency in milliseconds for probes to fall into the lowest latency bucket
    sampleSize Number
    The number of samples to consider for load balancing decisions
    successfulSamplesRequired Number
    The number of samples within the sample period that must succeed

    LoadBalancingSettingsParametersResponse, LoadBalancingSettingsParametersResponseArgs

    AdditionalLatencyInMilliseconds int
    The additional latency in milliseconds for probes to fall into the lowest latency bucket
    SampleSize int
    The number of samples to consider for load balancing decisions
    SuccessfulSamplesRequired int
    The number of samples within the sample period that must succeed
    AdditionalLatencyInMilliseconds int
    The additional latency in milliseconds for probes to fall into the lowest latency bucket
    SampleSize int
    The number of samples to consider for load balancing decisions
    SuccessfulSamplesRequired int
    The number of samples within the sample period that must succeed
    additionalLatencyInMilliseconds Integer
    The additional latency in milliseconds for probes to fall into the lowest latency bucket
    sampleSize Integer
    The number of samples to consider for load balancing decisions
    successfulSamplesRequired Integer
    The number of samples within the sample period that must succeed
    additionalLatencyInMilliseconds number
    The additional latency in milliseconds for probes to fall into the lowest latency bucket
    sampleSize number
    The number of samples to consider for load balancing decisions
    successfulSamplesRequired number
    The number of samples within the sample period that must succeed
    additional_latency_in_milliseconds int
    The additional latency in milliseconds for probes to fall into the lowest latency bucket
    sample_size int
    The number of samples to consider for load balancing decisions
    successful_samples_required int
    The number of samples within the sample period that must succeed
    additionalLatencyInMilliseconds Number
    The additional latency in milliseconds for probes to fall into the lowest latency bucket
    sampleSize Number
    The number of samples to consider for load balancing decisions
    successfulSamplesRequired Number
    The number of samples within the sample period that must succeed

    ProbeProtocol, ProbeProtocolArgs

    NotSet
    NotSet
    Http
    Http
    Https
    Https
    ProbeProtocolNotSet
    NotSet
    ProbeProtocolHttp
    Http
    ProbeProtocolHttps
    Https
    NotSet
    NotSet
    Http
    Http
    Https
    Https
    NotSet
    NotSet
    Http
    Http
    Https
    Https
    NOT_SET
    NotSet
    HTTP
    Http
    HTTPS
    Https
    "NotSet"
    NotSet
    "Http"
    Http
    "Https"
    Https

    ResponseBasedDetectedErrorTypes, ResponseBasedDetectedErrorTypesArgs

    None
    None
    TcpErrorsOnly
    TcpErrorsOnly
    TcpAndHttpErrors
    TcpAndHttpErrors
    ResponseBasedDetectedErrorTypesNone
    None
    ResponseBasedDetectedErrorTypesTcpErrorsOnly
    TcpErrorsOnly
    ResponseBasedDetectedErrorTypesTcpAndHttpErrors
    TcpAndHttpErrors
    None
    None
    TcpErrorsOnly
    TcpErrorsOnly
    TcpAndHttpErrors
    TcpAndHttpErrors
    None
    None
    TcpErrorsOnly
    TcpErrorsOnly
    TcpAndHttpErrors
    TcpAndHttpErrors
    NONE
    None
    TCP_ERRORS_ONLY
    TcpErrorsOnly
    TCP_AND_HTTP_ERRORS
    TcpAndHttpErrors
    "None"
    None
    "TcpErrorsOnly"
    TcpErrorsOnly
    "TcpAndHttpErrors"
    TcpAndHttpErrors

    ResponseBasedOriginErrorDetectionParameters, ResponseBasedOriginErrorDetectionParametersArgs

    HttpErrorRanges List<Pulumi.AzureNative.Cdn.Inputs.HttpErrorRangeParameters>
    The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
    ResponseBasedDetectedErrorTypes Pulumi.AzureNative.Cdn.ResponseBasedDetectedErrorTypes
    Type of response errors for real user requests for which origin will be deemed unhealthy
    ResponseBasedFailoverThresholdPercentage int
    The percentage of failed requests in the sample where failover should trigger.
    HttpErrorRanges []HttpErrorRangeParameters
    The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
    ResponseBasedDetectedErrorTypes ResponseBasedDetectedErrorTypes
    Type of response errors for real user requests for which origin will be deemed unhealthy
    ResponseBasedFailoverThresholdPercentage int
    The percentage of failed requests in the sample where failover should trigger.
    httpErrorRanges List<HttpErrorRangeParameters>
    The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
    responseBasedDetectedErrorTypes ResponseBasedDetectedErrorTypes
    Type of response errors for real user requests for which origin will be deemed unhealthy
    responseBasedFailoverThresholdPercentage Integer
    The percentage of failed requests in the sample where failover should trigger.
    httpErrorRanges HttpErrorRangeParameters[]
    The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
    responseBasedDetectedErrorTypes ResponseBasedDetectedErrorTypes
    Type of response errors for real user requests for which origin will be deemed unhealthy
    responseBasedFailoverThresholdPercentage number
    The percentage of failed requests in the sample where failover should trigger.
    http_error_ranges Sequence[HttpErrorRangeParameters]
    The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
    response_based_detected_error_types ResponseBasedDetectedErrorTypes
    Type of response errors for real user requests for which origin will be deemed unhealthy
    response_based_failover_threshold_percentage int
    The percentage of failed requests in the sample where failover should trigger.
    httpErrorRanges List<Property Map>
    The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
    responseBasedDetectedErrorTypes "None" | "TcpErrorsOnly" | "TcpAndHttpErrors"
    Type of response errors for real user requests for which origin will be deemed unhealthy
    responseBasedFailoverThresholdPercentage Number
    The percentage of failed requests in the sample where failover should trigger.

    ResponseBasedOriginErrorDetectionParametersResponse, ResponseBasedOriginErrorDetectionParametersResponseArgs

    HttpErrorRanges List<Pulumi.AzureNative.Cdn.Inputs.HttpErrorRangeParametersResponse>
    The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
    ResponseBasedDetectedErrorTypes string
    Type of response errors for real user requests for which origin will be deemed unhealthy
    ResponseBasedFailoverThresholdPercentage int
    The percentage of failed requests in the sample where failover should trigger.
    HttpErrorRanges []HttpErrorRangeParametersResponse
    The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
    ResponseBasedDetectedErrorTypes string
    Type of response errors for real user requests for which origin will be deemed unhealthy
    ResponseBasedFailoverThresholdPercentage int
    The percentage of failed requests in the sample where failover should trigger.
    httpErrorRanges List<HttpErrorRangeParametersResponse>
    The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
    responseBasedDetectedErrorTypes String
    Type of response errors for real user requests for which origin will be deemed unhealthy
    responseBasedFailoverThresholdPercentage Integer
    The percentage of failed requests in the sample where failover should trigger.
    httpErrorRanges HttpErrorRangeParametersResponse[]
    The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
    responseBasedDetectedErrorTypes string
    Type of response errors for real user requests for which origin will be deemed unhealthy
    responseBasedFailoverThresholdPercentage number
    The percentage of failed requests in the sample where failover should trigger.
    http_error_ranges Sequence[HttpErrorRangeParametersResponse]
    The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
    response_based_detected_error_types str
    Type of response errors for real user requests for which origin will be deemed unhealthy
    response_based_failover_threshold_percentage int
    The percentage of failed requests in the sample where failover should trigger.
    httpErrorRanges List<Property Map>
    The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
    responseBasedDetectedErrorTypes String
    Type of response errors for real user requests for which origin will be deemed unhealthy
    responseBasedFailoverThresholdPercentage Number
    The percentage of failed requests in the sample where failover should trigger.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC)
    CreatedBy string
    An identifier for the identity that created the resource
    CreatedByType string
    The type of identity that created the resource
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    An identifier for the identity that last modified the resource
    LastModifiedByType string
    The type of identity that last modified the resource
    CreatedAt string
    The timestamp of resource creation (UTC)
    CreatedBy string
    An identifier for the identity that created the resource
    CreatedByType string
    The type of identity that created the resource
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    An identifier for the identity that last modified the resource
    LastModifiedByType string
    The type of identity that last modified the resource
    createdAt String
    The timestamp of resource creation (UTC)
    createdBy String
    An identifier for the identity that created the resource
    createdByType String
    The type of identity that created the resource
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    An identifier for the identity that last modified the resource
    lastModifiedByType String
    The type of identity that last modified the resource
    createdAt string
    The timestamp of resource creation (UTC)
    createdBy string
    An identifier for the identity that created the resource
    createdByType string
    The type of identity that created the resource
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    An identifier for the identity that last modified the resource
    lastModifiedByType string
    The type of identity that last modified the resource
    created_at str
    The timestamp of resource creation (UTC)
    created_by str
    An identifier for the identity that created the resource
    created_by_type str
    The type of identity that created the resource
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    An identifier for the identity that last modified the resource
    last_modified_by_type str
    The type of identity that last modified the resource
    createdAt String
    The timestamp of resource creation (UTC)
    createdBy String
    An identifier for the identity that created the resource
    createdByType String
    The type of identity that created the resource
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    An identifier for the identity that last modified the resource
    lastModifiedByType String
    The type of identity that last modified the resource

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:cdn:AFDOriginGroup origingroup1 /subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/origingroups/origingroup1 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi