AFDOrigin Class

CDN origin is the source of the content being delivered via CDN. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.cdn.models._models_py3.ProxyResource
AFDOrigin

Constructor

AFDOrigin(*, azure_origin: Optional[azure.mgmt.cdn.models._models_py3.ResourceReference] = None, host_name: Optional[str] = None, http_port: Optional[int] = None, https_port: Optional[int] = None, origin_host_header: Optional[str] = None, priority: Optional[int] = None, weight: Optional[int] = None, shared_private_link_resource: Optional[azure.mgmt.cdn.models._models_py3.SharedPrivateLinkResourceProperties] = None, enabled_state: Optional[Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.EnabledState]] = None, enforce_certificate_name_check: Optional[bool] = True, **kwargs)

Variables

id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

system_data
SystemData

Read only system data.

origin_group_name
str

The name of the origin group which contains this origin.

azure_origin
ResourceReference

Resource reference to the Azure origin resource.

host_name
str

The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint.

http_port
<xref:http_port>)<xref: >(int

The value of the HTTP port. Must be between 1 and 65535.

https_port
<xref:https_port>)<xref: >(int

The value of the HTTPS port. Must be between 1 and 65535.

origin_host_header
str

The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint.

priority
int

Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5.

weight
int

Weight of the origin in given origin group for load balancing. Must be between 1 and 1000.

shared_private_link_resource
SharedPrivateLinkResourceProperties

The properties of the private link resource for private origin.

enabled_state
str or EnabledState

Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. Possible values include: "Enabled", "Disabled".

enforce_certificate_name_check
bool

Whether to enable certificate name check at origin level.

provisioning_state
str or AfdProvisioningState

Provisioning status. Possible values include: "Succeeded", "Failed", "Updating", "Deleting", "Creating".

deployment_status
str or DeploymentStatus

Possible values include: "NotStarted", "InProgress", "Succeeded", "Failed".