azure-native.cdn.OriginGroup
Explore with Pulumi AI
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 * 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,
    },
});
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,
    ))
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.Azure Native. Cdn. Inputs. Resource Reference> 
- 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.
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- HealthProbe Pulumi.Settings Azure Native. Cdn. Inputs. Health Probe Parameters 
- Health probe settings to the origin that is used to determine the health of the origin.
- OriginGroup stringName 
- Name of the origin group which is unique within the endpoint.
- ResponseBased Pulumi.Origin Error Detection Settings Azure Native. Cdn. Inputs. Response Based Origin Error Detection Parameters 
- The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
- TrafficRestoration intTime To Healed Or New Endpoints In Minutes 
- 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 Args 
- 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.
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- HealthProbe HealthSettings Probe Parameters Args 
- Health probe settings to the origin that is used to determine the health of the origin.
- OriginGroup stringName 
- Name of the origin group which is unique within the endpoint.
- ResponseBased ResponseOrigin Error Detection Settings Based Origin Error Detection Parameters Args 
- The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
- TrafficRestoration intTime To Healed Or New Endpoints In Minutes 
- 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.
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
- healthProbe HealthSettings Probe Parameters 
- Health probe settings to the origin that is used to determine the health of the origin.
- originGroup StringName 
- Name of the origin group which is unique within the endpoint.
- responseBased ResponseOrigin Error Detection Settings Based Origin Error Detection Parameters 
- The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
- trafficRestoration IntegerTime To Healed Or New Endpoints In Minutes 
- 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.
- resourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- healthProbe HealthSettings Probe Parameters 
- Health probe settings to the origin that is used to determine the health of the origin.
- originGroup stringName 
- Name of the origin group which is unique within the endpoint.
- responseBased ResponseOrigin Error Detection Settings Based Origin Error Detection Parameters 
- The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
- trafficRestoration numberTime To Healed Or New Endpoints In Minutes 
- 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[ResourceReference Args] 
- 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_ strname 
- Name of the Resource group within the Azure subscription.
- health_probe_ Healthsettings Probe Parameters Args 
- Health probe settings to the origin that is used to determine the health of the origin.
- origin_group_ strname 
- Name of the origin group which is unique within the endpoint.
- response_based_ Responseorigin_ error_ detection_ settings Based Origin Error Detection Parameters Args 
- The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
- traffic_restoration_ inttime_ to_ healed_ or_ new_ endpoints_ in_ minutes 
- 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.
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
- healthProbe Property MapSettings 
- Health probe settings to the origin that is used to determine the health of the origin.
- originGroup StringName 
- Name of the origin group which is unique within the endpoint.
- responseBased Property MapOrigin Error Detection Settings 
- The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
- trafficRestoration NumberTime To Healed Or New Endpoints In Minutes 
- 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.Azure Native. Cdn. Outputs. System Data Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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      
- ProbeInterval intIn Seconds 
- 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.Azure Native. Cdn. Probe Protocol 
- Protocol to use for health probe.
- ProbeRequest Pulumi.Type Azure Native. Cdn. Health Probe Request Type 
- The type of health probe request that is made.
- ProbeInterval intIn Seconds 
- 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.
- ProbeRequest HealthType Probe Request Type 
- The type of health probe request that is made.
- probeInterval IntegerIn Seconds 
- 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.
- probeRequest HealthType Probe Request Type 
- The type of health probe request that is made.
- probeInterval numberIn Seconds 
- 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.
- probeRequest HealthType Probe Request Type 
- The type of health probe request that is made.
- probe_interval_ intin_ seconds 
- 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_ Healthtype Probe Request Type 
- The type of health probe request that is made.
- probeInterval NumberIn Seconds 
- 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.
- probeRequest "NotType Set" | "GET" | "HEAD" 
- The type of health probe request that is made.
HealthProbeParametersResponse, HealthProbeParametersResponseArgs        
- ProbeInterval intIn Seconds 
- 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.
- ProbeRequest stringType 
- The type of health probe request that is made.
- ProbeInterval intIn Seconds 
- 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.
- ProbeRequest stringType 
- The type of health probe request that is made.
- probeInterval IntegerIn Seconds 
- 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.
- probeRequest StringType 
- The type of health probe request that is made.
- probeInterval numberIn Seconds 
- 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.
- probeRequest stringType 
- The type of health probe request that is made.
- probe_interval_ intin_ seconds 
- 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_ strtype 
- The type of health probe request that is made.
- probeInterval NumberIn Seconds 
- 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.
- probeRequest StringType 
- The type of health probe request that is made.
HealthProbeRequestType, HealthProbeRequestTypeArgs        
- NotSet 
- NotSet
- GET
- GET
- HEAD
- HEAD
- HealthProbe Request Type Not Set 
- NotSet
- HealthProbe Request Type GET 
- GET
- HealthProbe Request Type HEAD 
- 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        
HttpErrorRangeParametersResponse, HttpErrorRangeParametersResponseArgs          
ProbeProtocol, ProbeProtocolArgs    
- NotSet 
- NotSet
- Http
- Http
- Https
- Https
- ProbeProtocol Not Set 
- NotSet
- ProbeProtocol Http 
- Http
- ProbeProtocol Https 
- 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
- TcpErrors Only 
- TcpErrorsOnly
- TcpAnd Http Errors 
- TcpAndHttpErrors
- ResponseBased Detected Error Types None 
- None
- ResponseBased Detected Error Types Tcp Errors Only 
- TcpErrorsOnly
- ResponseBased Detected Error Types Tcp And Http Errors 
- TcpAndHttpErrors
- None
- None
- TcpErrors Only 
- TcpErrorsOnly
- TcpAnd Http Errors 
- TcpAndHttpErrors
- None
- None
- TcpErrors Only 
- TcpErrorsOnly
- TcpAnd Http Errors 
- TcpAndHttpErrors
- NONE
- None
- TCP_ERRORS_ONLY
- TcpErrorsOnly
- TCP_AND_HTTP_ERRORS
- TcpAndHttpErrors
- "None"
- None
- "TcpErrors Only" 
- TcpErrorsOnly
- "TcpAnd Http Errors" 
- TcpAndHttpErrors
ResponseBasedOriginErrorDetectionParameters, ResponseBasedOriginErrorDetectionParametersArgs            
- HttpError List<Pulumi.Ranges Azure Native. Cdn. Inputs. Http Error Range Parameters> 
- The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
- ResponseBased Pulumi.Detected Error Types Azure Native. Cdn. Response Based Detected Error Types 
- Type of response errors for real user requests for which origin will be deemed unhealthy
- ResponseBased intFailover Threshold Percentage 
- The percentage of failed requests in the sample where failover should trigger.
- HttpError []HttpRanges Error Range Parameters 
- The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
- ResponseBased ResponseDetected Error Types Based Detected Error Types 
- Type of response errors for real user requests for which origin will be deemed unhealthy
- ResponseBased intFailover Threshold Percentage 
- The percentage of failed requests in the sample where failover should trigger.
- httpError List<HttpRanges Error Range Parameters> 
- The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
- responseBased ResponseDetected Error Types Based Detected Error Types 
- Type of response errors for real user requests for which origin will be deemed unhealthy
- responseBased IntegerFailover Threshold Percentage 
- The percentage of failed requests in the sample where failover should trigger.
- httpError HttpRanges Error Range Parameters[] 
- The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
- responseBased ResponseDetected Error Types Based Detected Error Types 
- Type of response errors for real user requests for which origin will be deemed unhealthy
- responseBased numberFailover Threshold Percentage 
- The percentage of failed requests in the sample where failover should trigger.
- http_error_ Sequence[Httpranges Error Range Parameters] 
- The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
- response_based_ Responsedetected_ error_ types Based Detected Error Types 
- Type of response errors for real user requests for which origin will be deemed unhealthy
- response_based_ intfailover_ threshold_ percentage 
- The percentage of failed requests in the sample where failover should trigger.
- httpError List<Property Map>Ranges 
- The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
- responseBased "None" | "TcpDetected Error Types Errors Only" | "Tcp And Http Errors" 
- Type of response errors for real user requests for which origin will be deemed unhealthy
- responseBased NumberFailover Threshold Percentage 
- The percentage of failed requests in the sample where failover should trigger.
ResponseBasedOriginErrorDetectionParametersResponse, ResponseBasedOriginErrorDetectionParametersResponseArgs              
- HttpError List<Pulumi.Ranges Azure Native. Cdn. Inputs. Http Error Range Parameters Response> 
- The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
- ResponseBased stringDetected Error Types 
- Type of response errors for real user requests for which origin will be deemed unhealthy
- ResponseBased intFailover Threshold Percentage 
- The percentage of failed requests in the sample where failover should trigger.
- HttpError []HttpRanges Error Range Parameters Response 
- The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
- ResponseBased stringDetected Error Types 
- Type of response errors for real user requests for which origin will be deemed unhealthy
- ResponseBased intFailover Threshold Percentage 
- The percentage of failed requests in the sample where failover should trigger.
- httpError List<HttpRanges Error Range Parameters Response> 
- The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
- responseBased StringDetected Error Types 
- Type of response errors for real user requests for which origin will be deemed unhealthy
- responseBased IntegerFailover Threshold Percentage 
- The percentage of failed requests in the sample where failover should trigger.
- httpError HttpRanges Error Range Parameters Response[] 
- The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
- responseBased stringDetected Error Types 
- Type of response errors for real user requests for which origin will be deemed unhealthy
- responseBased numberFailover Threshold Percentage 
- The percentage of failed requests in the sample where failover should trigger.
- http_error_ Sequence[Httpranges Error Range Parameters Response] 
- The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
- response_based_ strdetected_ error_ types 
- Type of response errors for real user requests for which origin will be deemed unhealthy
- response_based_ intfailover_ threshold_ percentage 
- The percentage of failed requests in the sample where failover should trigger.
- httpError List<Property Map>Ranges 
- The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
- responseBased StringDetected Error Types 
- Type of response errors for real user requests for which origin will be deemed unhealthy
- responseBased NumberFailover Threshold Percentage 
- 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
- CreatedBy stringType 
- The type of identity that created the resource
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- An identifier for the identity that last modified the resource
- LastModified stringBy Type 
- 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
- CreatedBy stringType 
- The type of identity that created the resource
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- An identifier for the identity that last modified the resource
- LastModified stringBy Type 
- 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
- createdBy StringType 
- The type of identity that created the resource
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- An identifier for the identity that last modified the resource
- lastModified StringBy Type 
- 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
- createdBy stringType 
- The type of identity that created the resource
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- An identifier for the identity that last modified the resource
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- An identifier for the identity that last modified the resource
- last_modified_ strby_ type 
- 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
- createdBy StringType 
- The type of identity that created the resource
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- An identifier for the identity that last modified the resource
- lastModified StringBy Type 
- 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