Class AfdEndpointInner


  • public class AfdEndpointInner
    extends com.azure.core.management.Resource
    CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The AzureFrontDoor endpoint uses the URL format <endpointname>.azureedge.net.
    • Constructor Detail

      • AfdEndpointInner

        public AfdEndpointInner()
    • Method Detail

      • originResponseTimeoutSeconds

        public Integer originResponseTimeoutSeconds()
        Get the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
        Returns:
        the originResponseTimeoutSeconds value.
      • withOriginResponseTimeoutSeconds

        public AfdEndpointInner withOriginResponseTimeoutSeconds​(Integer originResponseTimeoutSeconds)
        Set the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
        Parameters:
        originResponseTimeoutSeconds - the originResponseTimeoutSeconds value to set.
        Returns:
        the AfdEndpointInner object itself.
      • enabledState

        public EnabledState enabledState()
        Get the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.
        Returns:
        the enabledState value.
      • withEnabledState

        public AfdEndpointInner withEnabledState​(EnabledState enabledState)
        Set the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.
        Parameters:
        enabledState - the enabledState value to set.
        Returns:
        the AfdEndpointInner object itself.
      • provisioningState

        public AfdProvisioningState provisioningState()
        Get the provisioningState property: Provisioning status.
        Returns:
        the provisioningState value.
      • deploymentStatus

        public DeploymentStatus deploymentStatus()
        Get the deploymentStatus property: The deploymentStatus property.
        Returns:
        the deploymentStatus value.
      • hostname

        public String hostname()
        Get the hostname property: The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net.
        Returns:
        the hostname value.
      • systemData

        public SystemData systemData()
        Get the systemData property: Read only system data.
        Returns:
        the systemData value.
      • withLocation

        public AfdEndpointInner withLocation​(String location)
        Overrides:
        withLocation in class com.azure.core.management.Resource
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.