Microsoft.Cdn profiles/afdEndpoints 2020-09-01

Template format

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

{
  "name": "string",
  "type": "Microsoft.Cdn/profiles/afdEndpoints",
  "apiVersion": "2020-09-01",
  "location": "string",
  "tags": {},
  "properties": {
    "originResponseTimeoutSeconds": "integer",
    "enabledState": "string"
  },
  "resources": []
}

Property values

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

Microsoft.Cdn/profiles/afdEndpoints object

Note

In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes Name of the endpoint under the profile which is unique globally.
type enum Yes For JSON -afdEndpoints
-or-
Microsoft.Cdn/profiles/afdEndpoints

See Set name and type for child resources.
apiVersion enum Yes For JSON - 2020-09-01
location string Yes Resource location.
tags object No Resource tags.
properties object Yes AFDEndpointProperties object
resources array No routes

AFDEndpointProperties object

Name Type Required Value
originResponseTimeoutSeconds integer No Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
enabledState enum No Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. - Enabled or Disabled