| Name |
Type |
Description |
Notes |
| host |
str |
The upstream host that handles the requests if not already cached. This host will be protected by the WAF if the option is enabled. |
|
| caching |
bool |
Enable or disable caching. If enabled, the CDN will cache the responses from the upstream host. Subsequent requests for the same resource will be served from the cache. |
|
| waf |
bool |
Enable or disable WAF to protect the upstream host. |
|
| geo_restrictions |
UpstreamGeoRestrictions |
|
[optional] |
| rate_limit_class |
str |
Rate limit class that will be applied to limit the number of incoming requests per IP. |
|
| sni_mode |
str |
The SNI (Server Name Indication) mode of the upstream host. It supports two modes: - distribution: for outgoing connections to the upstream host, the CDN requires the upstream host to present a valid certificate that matches the configured domain of the CDN distribution. - origin: for outgoing connections to the upstream host, the CDN requires the upstream host to present a valid certificate that matches the configured upstream/origin hostname. |
|
from ionoscloud_cdn.models.upstream import Upstream
# TODO update the JSON string below
json = "{}"
# create an instance of Upstream from a JSON string
upstream_instance = Upstream.from_json(json)
# print the JSON string representation of the object
print(Upstream.to_json())
# convert the object into a dict
upstream_dict = upstream_instance.to_dict()
# create an instance of Upstream from a dict
upstream_from_dict = Upstream.from_dict(upstream_dict)
[Back to Model list] [Back to API list] [Back to README]