1. Packages
  2. Azure Native v1
  3. API Docs
  4. cdn
  5. OriginGroup
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.OriginGroup

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

    Origin 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

    OriginGroups_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var originGroup = new AzureNative.Cdn.OriginGroup("originGroup", new()
        {
            EndpointName = "endpoint1",
            HealthProbeSettings = new AzureNative.Cdn.Inputs.HealthProbeParametersArgs
            {
                ProbeIntervalInSeconds = 120,
                ProbePath = "/health.aspx",
                ProbeProtocol = AzureNative.Cdn.ProbeProtocol.Http,
                ProbeRequestType = AzureNative.Cdn.HealthProbeRequestType.GET,
            },
            OriginGroupName = "origingroup1",
            Origins = new[]
            {
                new AzureNative.Cdn.Inputs.ResourceReferenceArgs
                {
                    Id = "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1",
                },
            },
            ProfileName = "profile1",
            ResourceGroupName = "RG",
            ResponseBasedOriginErrorDetectionSettings = new AzureNative.Cdn.Inputs.ResponseBasedOriginErrorDetectionParametersArgs
            {
                ResponseBasedDetectedErrorTypes = AzureNative.Cdn.ResponseBasedDetectedErrorTypes.TcpErrorsOnly,
                ResponseBasedFailoverThresholdPercentage = 10,
            },
        });
    
    });
    
    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.NewOriginGroup(ctx, "originGroup", &cdn.OriginGroupArgs{
    			EndpointName: pulumi.String("endpoint1"),
    			HealthProbeSettings: &cdn.HealthProbeParametersArgs{
    				ProbeIntervalInSeconds: pulumi.Int(120),
    				ProbePath:              pulumi.String("/health.aspx"),
    				ProbeProtocol:          cdn.ProbeProtocolHttp,
    				ProbeRequestType:       cdn.HealthProbeRequestTypeGET,
    			},
    			OriginGroupName: pulumi.String("origingroup1"),
    			Origins: []cdn.ResourceReferenceArgs{
    				{
    					Id: pulumi.String("/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"),
    				},
    			},
    			ProfileName:       pulumi.String("profile1"),
    			ResourceGroupName: pulumi.String("RG"),
    			ResponseBasedOriginErrorDetectionSettings: &cdn.ResponseBasedOriginErrorDetectionParametersArgs{
    				ResponseBasedDetectedErrorTypes:          cdn.ResponseBasedDetectedErrorTypesTcpErrorsOnly,
    				ResponseBasedFailoverThresholdPercentage: pulumi.Int(10),
    			},
    		})
    		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.OriginGroup;
    import com.pulumi.azurenative.cdn.OriginGroupArgs;
    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 originGroup = new OriginGroup("originGroup", OriginGroupArgs.builder()        
                .endpointName("endpoint1")
                .healthProbeSettings(Map.ofEntries(
                    Map.entry("probeIntervalInSeconds", 120),
                    Map.entry("probePath", "/health.aspx"),
                    Map.entry("probeProtocol", "Http"),
                    Map.entry("probeRequestType", "GET")
                ))
                .originGroupName("origingroup1")
                .origins(Map.of("id", "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"))
                .profileName("profile1")
                .resourceGroupName("RG")
                .responseBasedOriginErrorDetectionSettings(Map.ofEntries(
                    Map.entry("responseBasedDetectedErrorTypes", "TcpErrorsOnly"),
                    Map.entry("responseBasedFailoverThresholdPercentage", 10)
                ))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    origin_group = azure_native.cdn.OriginGroup("originGroup",
        endpoint_name="endpoint1",
        health_probe_settings=azure_native.cdn.HealthProbeParametersArgs(
            probe_interval_in_seconds=120,
            probe_path="/health.aspx",
            probe_protocol=azure_native.cdn.ProbeProtocol.HTTP,
            probe_request_type=azure_native.cdn.HealthProbeRequestType.GET,
        ),
        origin_group_name="origingroup1",
        origins=[azure_native.cdn.ResourceReferenceArgs(
            id="/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1",
        )],
        profile_name="profile1",
        resource_group_name="RG",
        response_based_origin_error_detection_settings=azure_native.cdn.ResponseBasedOriginErrorDetectionParametersArgs(
            response_based_detected_error_types=azure_native.cdn.ResponseBasedDetectedErrorTypes.TCP_ERRORS_ONLY,
            response_based_failover_threshold_percentage=10,
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const originGroup = new azure_native.cdn.OriginGroup("originGroup", {
        endpointName: "endpoint1",
        healthProbeSettings: {
            probeIntervalInSeconds: 120,
            probePath: "/health.aspx",
            probeProtocol: azure_native.cdn.ProbeProtocol.Http,
            probeRequestType: azure_native.cdn.HealthProbeRequestType.GET,
        },
        originGroupName: "origingroup1",
        origins: [{
            id: "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1",
        }],
        profileName: "profile1",
        resourceGroupName: "RG",
        responseBasedOriginErrorDetectionSettings: {
            responseBasedDetectedErrorTypes: azure_native.cdn.ResponseBasedDetectedErrorTypes.TcpErrorsOnly,
            responseBasedFailoverThresholdPercentage: 10,
        },
    });
    
    resources:
      originGroup:
        type: azure-native:cdn:OriginGroup
        properties:
          endpointName: endpoint1
          healthProbeSettings:
            probeIntervalInSeconds: 120
            probePath: /health.aspx
            probeProtocol: Http
            probeRequestType: GET
          originGroupName: origingroup1
          origins:
            - id: /subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1
          profileName: profile1
          resourceGroupName: RG
          responseBasedOriginErrorDetectionSettings:
            responseBasedDetectedErrorTypes: TcpErrorsOnly
            responseBasedFailoverThresholdPercentage: 10
    

    Create OriginGroup Resource

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

    Constructor syntax

    new OriginGroup(name: string, args: OriginGroupArgs, opts?: CustomResourceOptions);
    @overload
    def OriginGroup(resource_name: str,
                    args: OriginGroupArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def OriginGroup(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    endpoint_name: Optional[str] = None,
                    origins: Optional[Sequence[ResourceReferenceArgs]] = None,
                    profile_name: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    health_probe_settings: Optional[HealthProbeParametersArgs] = None,
                    origin_group_name: Optional[str] = None,
                    response_based_origin_error_detection_settings: Optional[ResponseBasedOriginErrorDetectionParametersArgs] = None,
                    traffic_restoration_time_to_healed_or_new_endpoints_in_minutes: Optional[int] = None)
    func NewOriginGroup(ctx *Context, name string, args OriginGroupArgs, opts ...ResourceOption) (*OriginGroup, error)
    public OriginGroup(string name, OriginGroupArgs args, CustomResourceOptions? opts = null)
    public OriginGroup(String name, OriginGroupArgs args)
    public OriginGroup(String name, OriginGroupArgs args, CustomResourceOptions options)
    
    type: azure-native:cdn:OriginGroup
    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 OriginGroupArgs
    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 OriginGroupArgs
    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 OriginGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OriginGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OriginGroupArgs
    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 originGroupResource = new AzureNative.Cdn.OriginGroup("originGroupResource", new()
    {
        EndpointName = "string",
        Origins = new[]
        {
            
            {
                { "id", "string" },
            },
        },
        ProfileName = "string",
        ResourceGroupName = "string",
        HealthProbeSettings = 
        {
            { "probeIntervalInSeconds", 0 },
            { "probePath", "string" },
            { "probeProtocol", "NotSet" },
            { "probeRequestType", "NotSet" },
        },
        OriginGroupName = "string",
        ResponseBasedOriginErrorDetectionSettings = 
        {
            { "httpErrorRanges", new[]
            {
                
                {
                    { "begin", 0 },
                    { "end", 0 },
                },
            } },
            { "responseBasedDetectedErrorTypes", "None" },
            { "responseBasedFailoverThresholdPercentage", 0 },
        },
        TrafficRestorationTimeToHealedOrNewEndpointsInMinutes = 0,
    });
    
    example, err := cdn.NewOriginGroup(ctx, "originGroupResource", &cdn.OriginGroupArgs{
    	EndpointName: "string",
    	Origins: []map[string]interface{}{
    		map[string]interface{}{
    			"id": "string",
    		},
    	},
    	ProfileName:       "string",
    	ResourceGroupName: "string",
    	HealthProbeSettings: map[string]interface{}{
    		"probeIntervalInSeconds": 0,
    		"probePath":              "string",
    		"probeProtocol":          "NotSet",
    		"probeRequestType":       "NotSet",
    	},
    	OriginGroupName: "string",
    	ResponseBasedOriginErrorDetectionSettings: map[string]interface{}{
    		"httpErrorRanges": []map[string]interface{}{
    			map[string]interface{}{
    				"begin": 0,
    				"end":   0,
    			},
    		},
    		"responseBasedDetectedErrorTypes":          "None",
    		"responseBasedFailoverThresholdPercentage": 0,
    	},
    	TrafficRestorationTimeToHealedOrNewEndpointsInMinutes: 0,
    })
    
    var originGroupResource = new OriginGroup("originGroupResource", OriginGroupArgs.builder()
        .endpointName("string")
        .origins(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .profileName("string")
        .resourceGroupName("string")
        .healthProbeSettings(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .originGroupName("string")
        .responseBasedOriginErrorDetectionSettings(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .trafficRestorationTimeToHealedOrNewEndpointsInMinutes(0)
        .build());
    
    origin_group_resource = azure_native.cdn.OriginGroup("originGroupResource",
        endpoint_name=string,
        origins=[{
            id: string,
        }],
        profile_name=string,
        resource_group_name=string,
        health_probe_settings={
            probeIntervalInSeconds: 0,
            probePath: string,
            probeProtocol: NotSet,
            probeRequestType: NotSet,
        },
        origin_group_name=string,
        response_based_origin_error_detection_settings={
            httpErrorRanges: [{
                begin: 0,
                end: 0,
            }],
            responseBasedDetectedErrorTypes: None,
            responseBasedFailoverThresholdPercentage: 0,
        },
        traffic_restoration_time_to_healed_or_new_endpoints_in_minutes=0)
    
    const originGroupResource = new azure_native.cdn.OriginGroup("originGroupResource", {
        endpointName: "string",
        origins: [{
            id: "string",
        }],
        profileName: "string",
        resourceGroupName: "string",
        healthProbeSettings: {
            probeIntervalInSeconds: 0,
            probePath: "string",
            probeProtocol: "NotSet",
            probeRequestType: "NotSet",
        },
        originGroupName: "string",
        responseBasedOriginErrorDetectionSettings: {
            httpErrorRanges: [{
                begin: 0,
                end: 0,
            }],
            responseBasedDetectedErrorTypes: "None",
            responseBasedFailoverThresholdPercentage: 0,
        },
        trafficRestorationTimeToHealedOrNewEndpointsInMinutes: 0,
    });
    
    type: azure-native:cdn:OriginGroup
    properties:
        endpointName: string
        healthProbeSettings:
            probeIntervalInSeconds: 0
            probePath: string
            probeProtocol: NotSet
            probeRequestType: NotSet
        originGroupName: string
        origins:
            - id: string
        profileName: string
        resourceGroupName: string
        responseBasedOriginErrorDetectionSettings:
            httpErrorRanges:
                - begin: 0
                  end: 0
            responseBasedDetectedErrorTypes: None
            responseBasedFailoverThresholdPercentage: 0
        trafficRestorationTimeToHealedOrNewEndpointsInMinutes: 0
    

    OriginGroup 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 OriginGroup resource accepts the following input properties:

    EndpointName string
    Name of the endpoint under the profile which is unique globally.
    Origins List<Pulumi.AzureNative.Cdn.Inputs.ResourceReference>
    The source of the content being delivered via CDN within given origin group.
    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.
    OriginGroupName string
    Name of the origin group which is unique within the endpoint.
    ResponseBasedOriginErrorDetectionSettings 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.
    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.
    EndpointName string
    Name of the endpoint under the profile which is unique globally.
    Origins []ResourceReferenceArgs
    The source of the content being delivered via CDN within given origin group.
    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.
    OriginGroupName string
    Name of the origin group which is unique within the endpoint.
    ResponseBasedOriginErrorDetectionSettings ResponseBasedOriginErrorDetectionParametersArgs
    The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
    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.
    endpointName String
    Name of the endpoint under the profile which is unique globally.
    origins List<ResourceReference>
    The source of the content being delivered via CDN within given origin group.
    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.
    originGroupName String
    Name of the origin group which is unique within the endpoint.
    responseBasedOriginErrorDetectionSettings ResponseBasedOriginErrorDetectionParameters
    The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
    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.
    endpointName string
    Name of the endpoint under the profile which is unique globally.
    origins ResourceReference[]
    The source of the content being delivered via CDN within given origin group.
    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.
    originGroupName string
    Name of the origin group which is unique within the endpoint.
    responseBasedOriginErrorDetectionSettings ResponseBasedOriginErrorDetectionParameters
    The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
    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.
    endpoint_name str
    Name of the endpoint under the profile which is unique globally.
    origins Sequence[ResourceReferenceArgs]
    The source of the content being delivered via CDN within given origin group.
    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.
    origin_group_name str
    Name of the origin group which is unique within the endpoint.
    response_based_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.
    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.
    endpointName String
    Name of the endpoint under the profile which is unique globally.
    origins List<Property Map>
    The source of the content being delivered via CDN within given origin group.
    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.
    originGroupName String
    Name of the origin group which is unique within the endpoint.
    responseBasedOriginErrorDetectionSettings Property Map
    The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
    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 OriginGroup resource produces the following output properties:

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

    Supporting Types

    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.

    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

    ResourceReference, ResourceReferenceArgs

    Id string
    Resource ID.
    Id string
    Resource ID.
    id String
    Resource ID.
    id string
    Resource ID.
    id str
    Resource ID.
    id String
    Resource ID.

    ResourceReferenceResponse, ResourceReferenceResponseArgs

    Id string
    Resource ID.
    Id string
    Resource ID.
    id String
    Resource ID.
    id string
    Resource ID.
    id str
    Resource ID.
    id String
    Resource ID.

    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:OriginGroup origingroup1 /subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/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