public class EndpointInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
EndpointInner() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
contentTypesToCompress()
Get the contentTypesToCompress property: List of content types on which compression applies.
|
ResourceReference |
defaultOriginGroup()
Get the defaultOriginGroup property: A reference to the origin group.
|
EndpointPropertiesUpdateParametersDeliveryPolicy |
deliveryPolicy()
Get the deliveryPolicy property: A policy that specifies the delivery rules to be used for an endpoint.
|
List<GeoFilter> |
geoFilters()
Get the geoFilters property: List of rules defining the user's geo access within a CDN endpoint.
|
String |
hostname()
Get the hostname property: The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g.
|
Boolean |
isCompressionEnabled()
Get the isCompressionEnabled property: Indicates whether content compression is enabled on CDN.
|
Boolean |
isHttpAllowed()
Get the isHttpAllowed property: Indicates whether HTTP traffic is allowed on the endpoint.
|
Boolean |
isHttpsAllowed()
Get the isHttpsAllowed property: Indicates whether HTTPS traffic is allowed on the endpoint.
|
OptimizationType |
optimizationType()
Get the optimizationType property: Specifies what scenario the customer wants this CDN endpoint to optimize for,
e.g.
|
List<DeepCreatedOriginGroup> |
originGroups()
Get the originGroups property: The origin groups comprising of origins that are used for load balancing the
traffic based on availability.
|
String |
originHostHeader()
Get the originHostHeader property: The host header value sent to the origin with each request.
|
String |
originPath()
Get the originPath property: A directory path on the origin that CDN can use to retrieve content from, e.g.
|
List<DeepCreatedOrigin> |
origins()
Get the origins property: The source of the content being delivered via CDN.
|
String |
probePath()
Get the probePath property: Path to a file hosted on the origin which helps accelerate delivery of the dynamic
content and calculate the most optimal routes for the CDN.
|
String |
provisioningState()
Get the provisioningState property: Provisioning status of the endpoint.
|
QueryStringCachingBehavior |
queryStringCachingBehavior()
Get the queryStringCachingBehavior property: Defines how CDN caches requests that include query strings.
|
EndpointResourceState |
resourceState()
Get the resourceState property: Resource status of the endpoint.
|
List<UrlSigningKey> |
urlSigningKeys()
Get the urlSigningKeys property: List of keys used to validate the signed URL hashes.
|
void |
validate()
Validates the instance.
|
EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink |
webApplicationFirewallPolicyLink()
Get the webApplicationFirewallPolicyLink property: Defines the Web Application Firewall policy for the endpoint
(if applicable).
|
EndpointInner |
withContentTypesToCompress(List<String> contentTypesToCompress)
Set the contentTypesToCompress property: List of content types on which compression applies.
|
EndpointInner |
withDefaultOriginGroup(ResourceReference defaultOriginGroup)
Set the defaultOriginGroup property: A reference to the origin group.
|
EndpointInner |
withDeliveryPolicy(EndpointPropertiesUpdateParametersDeliveryPolicy deliveryPolicy)
Set the deliveryPolicy property: A policy that specifies the delivery rules to be used for an endpoint.
|
EndpointInner |
withGeoFilters(List<GeoFilter> geoFilters)
Set the geoFilters property: List of rules defining the user's geo access within a CDN endpoint.
|
EndpointInner |
withIsCompressionEnabled(Boolean isCompressionEnabled)
Set the isCompressionEnabled property: Indicates whether content compression is enabled on CDN.
|
EndpointInner |
withIsHttpAllowed(Boolean isHttpAllowed)
Set the isHttpAllowed property: Indicates whether HTTP traffic is allowed on the endpoint.
|
EndpointInner |
withIsHttpsAllowed(Boolean isHttpsAllowed)
Set the isHttpsAllowed property: Indicates whether HTTPS traffic is allowed on the endpoint.
|
EndpointInner |
withLocation(String location) |
EndpointInner |
withOptimizationType(OptimizationType optimizationType)
Set the optimizationType property: Specifies what scenario the customer wants this CDN endpoint to optimize for,
e.g.
|
EndpointInner |
withOriginGroups(List<DeepCreatedOriginGroup> originGroups)
Set the originGroups property: The origin groups comprising of origins that are used for load balancing the
traffic based on availability.
|
EndpointInner |
withOriginHostHeader(String originHostHeader)
Set the originHostHeader property: The host header value sent to the origin with each request.
|
EndpointInner |
withOriginPath(String originPath)
Set the originPath property: A directory path on the origin that CDN can use to retrieve content from, e.g.
|
EndpointInner |
withOrigins(List<DeepCreatedOrigin> origins)
Set the origins property: The source of the content being delivered via CDN.
|
EndpointInner |
withProbePath(String probePath)
Set the probePath property: Path to a file hosted on the origin which helps accelerate delivery of the dynamic
content and calculate the most optimal routes for the CDN.
|
EndpointInner |
withQueryStringCachingBehavior(QueryStringCachingBehavior queryStringCachingBehavior)
Set the queryStringCachingBehavior property: Defines how CDN caches requests that include query strings.
|
EndpointInner |
withTags(Map<String,String> tags) |
EndpointInner |
withUrlSigningKeys(List<UrlSigningKey> urlSigningKeys)
Set the urlSigningKeys property: List of keys used to validate the signed URL hashes.
|
EndpointInner |
withWebApplicationFirewallPolicyLink(EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink webApplicationFirewallPolicyLink)
Set the webApplicationFirewallPolicyLink property: Defines the Web Application Firewall policy for the endpoint
(if applicable).
|
public String originPath()
public EndpointInner withOriginPath(String originPath)
originPath - the originPath value to set.public List<String> contentTypesToCompress()
public EndpointInner withContentTypesToCompress(List<String> contentTypesToCompress)
contentTypesToCompress - the contentTypesToCompress value to set.public String originHostHeader()
public EndpointInner withOriginHostHeader(String originHostHeader)
originHostHeader - the originHostHeader value to set.public Boolean isCompressionEnabled()
public EndpointInner withIsCompressionEnabled(Boolean isCompressionEnabled)
isCompressionEnabled - the isCompressionEnabled value to set.public Boolean isHttpAllowed()
public EndpointInner withIsHttpAllowed(Boolean isHttpAllowed)
isHttpAllowed - the isHttpAllowed value to set.public Boolean isHttpsAllowed()
public EndpointInner withIsHttpsAllowed(Boolean isHttpsAllowed)
isHttpsAllowed - the isHttpsAllowed value to set.public QueryStringCachingBehavior queryStringCachingBehavior()
public EndpointInner withQueryStringCachingBehavior(QueryStringCachingBehavior queryStringCachingBehavior)
queryStringCachingBehavior - the queryStringCachingBehavior value to set.public OptimizationType optimizationType()
public EndpointInner withOptimizationType(OptimizationType optimizationType)
optimizationType - the optimizationType value to set.public String probePath()
public EndpointInner withProbePath(String probePath)
probePath - the probePath value to set.public List<GeoFilter> geoFilters()
public EndpointInner withGeoFilters(List<GeoFilter> geoFilters)
geoFilters - the geoFilters value to set.public ResourceReference defaultOriginGroup()
public EndpointInner withDefaultOriginGroup(ResourceReference defaultOriginGroup)
defaultOriginGroup - the defaultOriginGroup value to set.public List<UrlSigningKey> urlSigningKeys()
public EndpointInner withUrlSigningKeys(List<UrlSigningKey> urlSigningKeys)
urlSigningKeys - the urlSigningKeys value to set.public EndpointPropertiesUpdateParametersDeliveryPolicy deliveryPolicy()
public EndpointInner withDeliveryPolicy(EndpointPropertiesUpdateParametersDeliveryPolicy deliveryPolicy)
deliveryPolicy - the deliveryPolicy value to set.public EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink webApplicationFirewallPolicyLink()
public EndpointInner withWebApplicationFirewallPolicyLink(EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink webApplicationFirewallPolicyLink)
webApplicationFirewallPolicyLink - the webApplicationFirewallPolicyLink value to set.public String hostname()
public List<DeepCreatedOrigin> origins()
public EndpointInner withOrigins(List<DeepCreatedOrigin> origins)
origins - the origins value to set.public List<DeepCreatedOriginGroup> originGroups()
public EndpointInner withOriginGroups(List<DeepCreatedOriginGroup> originGroups)
originGroups - the originGroups value to set.public EndpointResourceState resourceState()
public String provisioningState()
public EndpointInner withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic EndpointInner withTags(Map<String,String> tags)
withTags in class com.azure.core.management.Resourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.