OriginUpdateParameters Class
Origin properties needed for origin update.
- Inheritance
-
OriginUpdateParameters
Constructor
OriginUpdateParameters(*, 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, enabled: Optional[bool] = None, private_link_alias: Optional[str] = None, private_link_resource_id: Optional[str] = None, private_link_location: Optional[str] = None, private_link_approval_message: Optional[str] = None, **kwargs)
Variables
- 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.
- enabled
- bool
Origin is enabled for load balancing or not.
- private_link_alias
- str
The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'.
- private_link_resource_id
- str
The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'.
- private_link_location
- str
The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated.
- private_link_approval_message
- str
A custom message to be included in the approval request to connect to the Private Link.
Feedback
Submit and view feedback for