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 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:
- Endpoint
Name 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.
- Profile
Name string - Name of the CDN profile which is unique within the resource group.
- Resource
Group stringName - Name of the Resource group within the Azure subscription.
- Health
Probe 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.
- Origin
Group stringName - Name of the origin group which is unique within the endpoint.
- Response
Based 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.
- 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.
- Endpoint
Name string - Name of the endpoint under the profile which is unique globally.
- Origins
[]Resource
Reference Args - The source of the content being delivered via CDN within given origin group.
- Profile
Name string - Name of the CDN profile which is unique within the resource group.
- Resource
Group stringName - 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 stringName - 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.
- endpoint
Name String - Name of the endpoint under the profile which is unique globally.
- origins
List<Resource
Reference> - The source of the content being delivered via CDN within given origin group.
- profile
Name String - Name of the CDN profile which is unique within the resource group.
- resource
Group StringName - Name of the Resource group within the Azure subscription.
- health
Probe HealthSettings Probe Parameters - Health probe settings to the origin that is used to determine the health of the origin.
- origin
Group StringName - Name of the origin group which is unique within the endpoint.
- response
Based 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.
- traffic
Restoration 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.
- endpoint
Name string - Name of the endpoint under the profile which is unique globally.
- origins
Resource
Reference[] - The source of the content being delivered via CDN within given origin group.
- profile
Name string - Name of the CDN profile which is unique within the resource group.
- resource
Group stringName - Name of the Resource group within the Azure subscription.
- health
Probe HealthSettings Probe Parameters - Health probe settings to the origin that is used to determine the health of the origin.
- origin
Group stringName - Name of the origin group which is unique within the endpoint.
- response
Based 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.
- traffic
Restoration 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[Resource
Reference 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.
- endpoint
Name 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.
- profile
Name String - Name of the CDN profile which is unique within the resource group.
- resource
Group StringName - Name of the Resource group within the Azure subscription.
- health
Probe Property MapSettings - Health probe settings to the origin that is used to determine the health of the origin.
- origin
Group StringName - Name of the origin group which is unique within the endpoint.
- response
Based 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.
- traffic
Restoration 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.
- Provisioning
State string - Provisioning status of the origin group.
- Resource
State string - Resource status of the origin group.
- System
Data 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.
- Provisioning
State string - Provisioning status of the origin group.
- Resource
State string - Resource status of the origin group.
- System
Data 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.
- provisioning
State String - Provisioning status of the origin group.
- resource
State String - Resource status of the origin group.
- system
Data 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.
- provisioning
State string - Provisioning status of the origin group.
- resource
State string - Resource status of the origin group.
- system
Data 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.
- provisioning
State String - Provisioning status of the origin group.
- resource
State String - Resource status of the origin group.
- system
Data Property Map - Read only system data
- type String
- Resource type.
Supporting Types
HealthProbeParameters, HealthProbeParametersArgs
- Probe
Interval intIn Seconds - The number of seconds between health probes.Default is 240sec.
- Probe
Path string - The path relative to the origin that is used to determine the health of the origin.
- Probe
Protocol Pulumi.Azure Native. Cdn. Probe Protocol - Protocol to use for health probe.
- Probe
Request Pulumi.Type Azure Native. Cdn. Health 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 string - 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.
- probe
Interval IntegerIn Seconds - The number of seconds between health probes.Default is 240sec.
- probe
Path String - 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.
- probe
Interval numberIn Seconds - The number of seconds between health probes.Default is 240sec.
- probe
Path string - 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.
- 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.
- probe
Interval NumberIn Seconds - The number of seconds between health probes.Default is 240sec.
- probe
Path String - The path relative to the origin that is used to determine the health of the origin.
- probe
Protocol "NotSet" | "Http" | "Https" - Protocol to use for health probe.
- probe
Request "NotType Set" | "GET" | "HEAD" - The type of health probe request that is made.
HealthProbeParametersResponse, HealthProbeParametersResponseArgs
- Probe
Interval intIn Seconds - The number of seconds between health probes.Default is 240sec.
- Probe
Path string - The path relative to the origin that is used to determine the health of the origin.
- Probe
Protocol string - Protocol to use for health probe.
- Probe
Request 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 string - The path relative to the origin that is used to determine the health of the origin.
- Probe
Protocol string - Protocol to use for health probe.
- Probe
Request stringType - The type of health probe request that is made.
- probe
Interval IntegerIn Seconds - The number of seconds between health probes.Default is 240sec.
- probe
Path String - The path relative to the origin that is used to determine the health of the origin.
- probe
Protocol String - Protocol to use for health probe.
- probe
Request StringType - The type of health probe request that is made.
- probe
Interval numberIn Seconds - The number of seconds between health probes.Default is 240sec.
- probe
Path string - The path relative to the origin that is used to determine the health of the origin.
- probe
Protocol string - Protocol to use for health probe.
- probe
Request 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.
- probe
Interval NumberIn Seconds - The number of seconds between health probes.Default is 240sec.
- probe
Path String - The path relative to the origin that is used to determine the health of the origin.
- probe
Protocol String - Protocol to use for health probe.
- probe
Request StringType - The type of health probe request that is made.
HealthProbeRequestType, HealthProbeRequestTypeArgs
- Not
Set - NotSet
- GET
- GET
- HEAD
- HEAD
- Health
Probe Request Type Not Set - NotSet
- Health
Probe Request Type GET - GET
- Health
Probe Request Type HEAD - HEAD
- Not
Set - NotSet
- GET
- GET
- HEAD
- HEAD
- Not
Set - NotSet
- GET
- GET
- HEAD
- HEAD
- NOT_SET
- NotSet
- GET
- GET
- HEAD
- HEAD
- "Not
Set" - NotSet
- "GET"
- GET
- "HEAD"
- HEAD
HttpErrorRangeParameters, HttpErrorRangeParametersArgs
HttpErrorRangeParametersResponse, HttpErrorRangeParametersResponseArgs
ProbeProtocol, ProbeProtocolArgs
- Not
Set - NotSet
- Http
- Http
- Https
- Https
- Probe
Protocol Not Set - NotSet
- Probe
Protocol Http - Http
- Probe
Protocol Https - Https
- Not
Set - NotSet
- Http
- Http
- Https
- Https
- Not
Set - NotSet
- Http
- Http
- Https
- Https
- NOT_SET
- NotSet
- HTTP
- Http
- HTTPS
- Https
- "Not
Set" - 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
- Tcp
Errors Only - TcpErrorsOnly
- Tcp
And Http Errors - TcpAndHttpErrors
- Response
Based Detected Error Types None - None
- Response
Based Detected Error Types Tcp Errors Only - TcpErrorsOnly
- Response
Based Detected Error Types Tcp And Http Errors - TcpAndHttpErrors
- None
- None
- Tcp
Errors Only - TcpErrorsOnly
- Tcp
And Http Errors - TcpAndHttpErrors
- None
- None
- Tcp
Errors Only - TcpErrorsOnly
- Tcp
And Http Errors - TcpAndHttpErrors
- NONE
- None
- TCP_ERRORS_ONLY
- TcpErrorsOnly
- TCP_AND_HTTP_ERRORS
- TcpAndHttpErrors
- "None"
- None
- "Tcp
Errors Only" - TcpErrorsOnly
- "Tcp
And Http Errors" - TcpAndHttpErrors
ResponseBasedOriginErrorDetectionParameters, ResponseBasedOriginErrorDetectionParametersArgs
- Http
Error 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.
- Response
Based 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
- Response
Based intFailover Threshold Percentage - The percentage of failed requests in the sample where failover should trigger.
- Http
Error []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.
- http
Error 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.
- 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 IntegerFailover Threshold Percentage - The percentage of failed requests in the sample where failover should trigger.
- http
Error 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 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.
- http
Error 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.
- response
Based "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
- response
Based NumberFailover Threshold Percentage - The percentage of failed requests in the sample where failover should trigger.
ResponseBasedOriginErrorDetectionParametersResponse, ResponseBasedOriginErrorDetectionParametersResponseArgs
- Http
Error 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.
- Response
Based stringDetected 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.
- Http
Error []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 stringDetected 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.
- http
Error 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.
- response
Based StringDetected Error Types - Type of response errors for real user requests for which origin will be deemed unhealthy
- response
Based IntegerFailover Threshold Percentage - The percentage of failed requests in the sample where failover should trigger.
- http
Error 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 stringDetected Error Types - Type of response errors for real user requests for which origin will be deemed unhealthy
- response
Based 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.
- http
Error 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.
- response
Based StringDetected Error Types - Type of response errors for real user requests for which origin will be deemed unhealthy
- response
Based NumberFailover Threshold Percentage - The percentage of failed requests in the sample where failover should trigger.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC)
- Created
By string - An identifier for the identity that created the resource
- Created
By stringType - The type of identity that created the resource
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - An identifier for the identity that last modified the resource
- Last
Modified stringBy Type - The type of identity that last modified the resource
- Created
At string - The timestamp of resource creation (UTC)
- Created
By string - An identifier for the identity that created the resource
- Created
By stringType - The type of identity that created the resource
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - An identifier for the identity that last modified the resource
- Last
Modified stringBy Type - The type of identity that last modified the resource
- created
At String - The timestamp of resource creation (UTC)
- created
By String - An identifier for the identity that created the resource
- created
By StringType - The type of identity that created the resource
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - An identifier for the identity that last modified the resource
- last
Modified StringBy Type - The type of identity that last modified the resource
- created
At string - The timestamp of resource creation (UTC)
- created
By string - An identifier for the identity that created the resource
- created
By stringType - The type of identity that created the resource
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - An identifier for the identity that last modified the resource
- last
Modified 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
- created
At String - The timestamp of resource creation (UTC)
- created
By String - An identifier for the identity that created the resource
- created
By StringType - The type of identity that created the resource
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - An identifier for the identity that last modified the resource
- last
Modified 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