Class GetEndpointResult


  • public final class GetEndpointResult
    extends java.lang.Object
    • Method Detail

      • contentTypesToCompress

        public java.util.List<java.lang.String> contentTypesToCompress()
        Returns:
        List of content types on which compression applies. The value should be a valid MIME type.
      • defaultOriginGroup

        public java.util.Optional<ResourceReferenceResponse> defaultOriginGroup()
        Returns:
        A reference to the origin group.
      • geoFilters

        public java.util.List<GeoFilterResponse> geoFilters()
        Returns:
        List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/
      • hostName

        public java.lang.String hostName()
        Returns:
        The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net
      • id

        public java.lang.String id()
        Returns:
        Resource ID.
      • isCompressionEnabled

        public java.util.Optional<java.lang.Boolean> isCompressionEnabled()
        Returns:
        Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB.
      • isHttpAllowed

        public java.util.Optional<java.lang.Boolean> isHttpAllowed()
        Returns:
        Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.
      • isHttpsAllowed

        public java.util.Optional<java.lang.Boolean> isHttpsAllowed()
        Returns:
        Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.
      • location

        public java.lang.String location()
        Returns:
        Resource location.
      • name

        public java.lang.String name()
        Returns:
        Resource name.
      • optimizationType

        public java.util.Optional<java.lang.String> optimizationType()
        Returns:
        Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization.
      • originGroups

        public java.util.List<DeepCreatedOriginGroupResponse> originGroups()
        Returns:
        The origin groups comprising of origins that are used for load balancing the traffic based on availability.
      • originHostHeader

        public java.util.Optional<java.lang.String> originHostHeader()
        Returns:
        The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.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.
      • originPath

        public java.util.Optional<java.lang.String> originPath()
        Returns:
        A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.
      • origins

        public java.util.List<DeepCreatedOriginResponse> origins()
        Returns:
        The source of the content being delivered via CDN.
      • probePath

        public java.util.Optional<java.lang.String> probePath()
        Returns:
        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. This is relative to the origin path. This property is only relevant when using a single origin.
      • provisioningState

        public java.lang.String provisioningState()
        Returns:
        Provisioning status of the endpoint.
      • queryStringCachingBehavior

        public java.util.Optional<java.lang.String> queryStringCachingBehavior()
        Returns:
        Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL.
      • resourceState

        public java.lang.String resourceState()
        Returns:
        Resource status of the endpoint.
      • tags

        public java.util.Map<java.lang.String,​java.lang.String> tags()
        Returns:
        Resource tags.
      • type

        public java.lang.String type()
        Returns:
        Resource type.
      • urlSigningKeys

        public java.util.List<UrlSigningKeyResponse> urlSigningKeys()
        Returns:
        List of keys used to validate the signed URL hashes.