Azure Native

Pulumi Official
Package maintained by Pulumi
v1.64.0 published on Wednesday, May 4, 2022 by Pulumi

OriginGroup

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 Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var originGroup = new AzureNative.Cdn.OriginGroup("originGroup", new AzureNative.Cdn.OriginGroupArgs
        {
            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 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/go/azure/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.ResourceReferenceArray{
				&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 java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        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 a OriginGroup Resource

new OriginGroup(name: string, args: OriginGroupArgs, opts?: CustomResourceOptions);
@overload
def OriginGroup(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                endpoint_name: Optional[str] = None,
                health_probe_settings: Optional[HealthProbeParametersArgs] = None,
                origin_group_name: Optional[str] = None,
                origins: Optional[Sequence[ResourceReferenceArgs]] = None,
                profile_name: Optional[str] = None,
                resource_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)
@overload
def OriginGroup(resource_name: str,
                args: OriginGroupArgs,
                opts: Optional[ResourceOptions] = 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.

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.

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

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.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 Pulumi.AzureNative.Cdn.Inputs.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 Pulumi.AzureNative.Cdn.Inputs.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 []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 ListReferenceArgs>

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 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 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 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

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

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

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

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

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

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

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

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

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

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

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 ListErrorRangeParameters>

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

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

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 ListErrorRangeParametersResponse>

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

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

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 

Package Details

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