AFDOriginUpdatePropertiesParameters Class
The JSON object that contains the properties of the origin.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.cdn._serialization.ModelAFDOriginUpdatePropertiesParameters
Constructor
AFDOriginUpdatePropertiesParameters(*, azure_origin: _models.ResourceReference | None = None, host_name: str | None = None, http_port: int = 80, https_port: int = 443, origin_host_header: str | None = None, priority: int | None = None, weight: int | None = None, shared_private_link_resource: _models.SharedPrivateLinkResourceProperties | None = None, enabled_state: str | _models.EnabledState | None = None, enforce_certificate_name_check: bool = True, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
azure_origin
|
Resource reference to the Azure origin resource. |
host_name
|
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
|
The value of the HTTP port. Must be between 1 and 65535. Default value: 80
|
https_port
|
The value of the HTTPS port. Must be between 1 and 65535. Default value: 443
|
origin_host_header
|
The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door 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
|
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
|
Weight of the origin in given origin group for load balancing. Must be between 1 and 1000. |
shared_private_link_resource
|
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. Known values are: "Enabled" and "Disabled". |
enforce_certificate_name_check
|
Whether to enable certificate name check at origin level. Default value: True
|
Variables
Name | Description |
---|---|
origin_group_name
|
The name of the origin group which contains this origin. |
azure_origin
|
Resource reference to the Azure origin resource. |
host_name
|
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
|
The value of the HTTP port. Must be between 1 and 65535. |
https_port
|
The value of the HTTPS port. Must be between 1 and 65535. |
origin_host_header
|
The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door 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
|
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
|
Weight of the origin in given origin group for load balancing. Must be between 1 and 1000. |
shared_private_link_resource
|
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. Known values are: "Enabled" and "Disabled". |
enforce_certificate_name_check
|
Whether to enable certificate name check at origin level. |
Azure SDK for Python