Class AfdOriginProperties

    • Constructor Detail

      • AfdOriginProperties

        public AfdOriginProperties()
    • Method Detail

      • 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.
      • withHostname

        public AfdOriginProperties withHostname​(String hostname)
        Set the hostname property: The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint.
        Overrides:
        withHostname in class AfdOriginUpdatePropertiesParameters
        Parameters:
        hostname - the hostname value to set.
        Returns:
        the AfdOriginUpdatePropertiesParameters object itself.
      • withOriginHostHeader

        public AfdOriginProperties withOriginHostHeader​(String originHostHeader)
        Set the originHostHeader property: 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.
        Overrides:
        withOriginHostHeader in class AfdOriginUpdatePropertiesParameters
        Parameters:
        originHostHeader - the originHostHeader value to set.
        Returns:
        the AfdOriginUpdatePropertiesParameters object itself.
      • withPriority

        public AfdOriginProperties withPriority​(Integer priority)
        Set the priority property: 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.
        Overrides:
        withPriority in class AfdOriginUpdatePropertiesParameters
        Parameters:
        priority - the priority value to set.
        Returns:
        the AfdOriginUpdatePropertiesParameters object itself.
      • withWeight

        public AfdOriginProperties withWeight​(Integer weight)
        Set the weight property: Weight of the origin in given origin group for load balancing. Must be between 1 and 1000.
        Overrides:
        withWeight in class AfdOriginUpdatePropertiesParameters
        Parameters:
        weight - the weight value to set.
        Returns:
        the AfdOriginUpdatePropertiesParameters object itself.
      • withSharedPrivateLinkResource

        public AfdOriginProperties withSharedPrivateLinkResource​(Object sharedPrivateLinkResource)
        Set the sharedPrivateLinkResource property: The properties of the private link resource for private origin.
        Overrides:
        withSharedPrivateLinkResource in class AfdOriginUpdatePropertiesParameters
        Parameters:
        sharedPrivateLinkResource - the sharedPrivateLinkResource value to set.
        Returns:
        the AfdOriginUpdatePropertiesParameters object itself.
      • withEnabledState

        public AfdOriginProperties withEnabledState​(EnabledState enabledState)
        Set the enabledState property: Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool.
        Overrides:
        withEnabledState in class AfdOriginUpdatePropertiesParameters
        Parameters:
        enabledState - the enabledState value to set.
        Returns:
        the AfdOriginUpdatePropertiesParameters object itself.