Microsoft.Cdn profiles/endpoints/originGroups

Template format

To create a Microsoft.Cdn/profiles/endpoints/originGroups resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.Cdn/profiles/endpoints/originGroups",
  "apiVersion": "2020-04-15",
  "properties": {
    "healthProbeSettings": {
      "probePath": "string",
      "probeRequestType": "string",
      "probeProtocol": "string",
      "probeIntervalInSeconds": "integer"
    },
    "origins": [
      {
        "id": "string"
      }
    ],
    "trafficRestorationTimeToHealedOrNewEndpointsInMinutes": "integer",
    "responseBasedOriginErrorDetectionSettings": {
      "responseBasedDetectedErrorTypes": "string",
      "responseBasedFailoverThresholdPercentage": "integer",
      "httpErrorRanges": [
        {
          "begin": "integer",
          "end": "integer"
        }
      ]
    }
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Cdn/profiles/endpoints/originGroups object

Name Type Required Value
name string Yes Name of the origin group which is unique within the endpoint.
type enum Yes originGroups
-or-
Microsoft.Cdn/profiles/endpoints/originGroups

See Set name and type for child resources.
apiVersion enum Yes 2020-04-15
properties object Yes OriginGroupProperties object

OriginGroupProperties object

Name Type Required Value
healthProbeSettings object No Health probe settings to the origin that is used to determine the health of the origin. - HealthProbeParameters object
origins array No The source of the content being delivered via CDN within given origin group. - ResourceReference object
trafficRestorationTimeToHealedOrNewEndpointsInMinutes integer No 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.
responseBasedOriginErrorDetectionSettings object No The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. - ResponseBasedOriginErrorDetectionParameters object

HealthProbeParameters object

Name Type Required Value
probePath string No The path relative to the origin that is used to determine the health of the origin.
probeRequestType enum No The type of health probe request that is made. - NotSet, GET, HEAD
probeProtocol enum No Protocol to use for health probe. - NotSet, Http, Https
probeIntervalInSeconds integer No The number of seconds between health probes.Default is 240sec.

ResourceReference object

Name Type Required Value
id string No Resource ID.

ResponseBasedOriginErrorDetectionParameters object

Name Type Required Value
responseBasedDetectedErrorTypes enum No Type of response errors for real user requests for which origin will be deemed unhealthy. - None, TcpErrorsOnly, TcpAndHttpErrors
responseBasedFailoverThresholdPercentage integer No The percentage of failed requests in the sample where failover should trigger.
httpErrorRanges array No The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy. - HttpErrorRangeParameters object

HttpErrorRangeParameters object

Name Type Required Value
begin integer No The inclusive start of the http status code range.
end integer No The inclusive end of the http status code range.