DeepCreatedOrigin Class
The main origin of CDN content which is added when creating a CDN endpoint.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.cdn._serialization.ModelDeepCreatedOrigin
Constructor
DeepCreatedOrigin(*, name: str, host_name: str | None = None, http_port: int | None = None, https_port: int | None = None, origin_host_header: str | None = None, priority: int | None = None, weight: int | None = None, enabled: bool | None = None, private_link_alias: str | None = None, private_link_resource_id: str | None = None, private_link_location: str | None = None, private_link_approval_message: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
name
|
Origin name which must be unique within the endpoint. Required. |
host_name
|
The address of the origin. It can be a domain name, IPv4 address, or IPv6 address. 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 CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. |
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. |
enabled
|
Origin is enabled for load balancing or not. By default, origin is always enabled. |
private_link_alias
|
The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'. |
private_link_resource_id
|
The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'. |
private_link_location
|
The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated. |
private_link_approval_message
|
A custom message to be included in the approval request to connect to the Private Link. |
Variables
Name | Description |
---|---|
name
|
Origin name which must be unique within the endpoint. Required. |
host_name
|
The address of the origin. It can be a domain name, IPv4 address, or IPv6 address. 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 CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. |
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. |
enabled
|
Origin is enabled for load balancing or not. By default, origin is always enabled. |
private_link_alias
|
The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'. |
private_link_resource_id
|
The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'. |
private_link_location
|
The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated. |
private_link_approval_message
|
A custom message to be included in the approval request to connect to the Private Link. |
private_endpoint_status
|
The approval status for the connection to the Private Link. Known values are: "Pending", "Approved", "Rejected", "Disconnected", and "Timeout". |
Azure SDK for Python