Class FrontDoorProperties

java.lang.Object
com.azure.resourcemanager.frontdoor.models.FrontDoorUpdateParameters
com.azure.resourcemanager.frontdoor.fluent.models.FrontDoorProperties

public final class FrontDoorProperties extends FrontDoorUpdateParameters
The JSON object that contains the properties required to create an endpoint.
  • Constructor Details

    • FrontDoorProperties

      public FrontDoorProperties()
      Creates an instance of FrontDoorProperties class.
  • Method Details

    • resourceState

      public FrontDoorResourceState resourceState()
      Get the resourceState property: Resource status of the Front Door or Front Door SubResource.

      Resource status of the Front Door.

      Returns:
      the resourceState value.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: Provisioning state of the Front Door.
      Returns:
      the provisioningState value.
    • cname

      public String cname()
      Get the cname property: The host that each frontendEndpoint must CNAME to.
      Returns:
      the cname value.
    • frontdoorId

      public String frontdoorId()
      Get the frontdoorId property: The Id of the frontdoor.
      Returns:
      the frontdoorId value.
    • rulesEngines

      public List<RulesEngineInner> rulesEngines()
      Get the rulesEngines property: Rules Engine Configurations available to routing rules.
      Returns:
      the rulesEngines value.
    • withFriendlyName

      public FrontDoorProperties withFriendlyName(String friendlyName)
      Set the friendlyName property: A friendly name for the frontDoor.
      Overrides:
      withFriendlyName in class FrontDoorUpdateParameters
      Parameters:
      friendlyName - the friendlyName value to set.
      Returns:
      the FrontDoorUpdateParameters object itself.
    • withRoutingRules

      public FrontDoorProperties withRoutingRules(List<RoutingRule> routingRules)
      Set the routingRules property: Routing rules associated with this Front Door.
      Overrides:
      withRoutingRules in class FrontDoorUpdateParameters
      Parameters:
      routingRules - the routingRules value to set.
      Returns:
      the FrontDoorUpdateParameters object itself.
    • withLoadBalancingSettings

      public FrontDoorProperties withLoadBalancingSettings(List<LoadBalancingSettingsModel> loadBalancingSettings)
      Set the loadBalancingSettings property: Load balancing settings associated with this Front Door instance.
      Overrides:
      withLoadBalancingSettings in class FrontDoorUpdateParameters
      Parameters:
      loadBalancingSettings - the loadBalancingSettings value to set.
      Returns:
      the FrontDoorUpdateParameters object itself.
    • withHealthProbeSettings

      public FrontDoorProperties withHealthProbeSettings(List<HealthProbeSettingsModel> healthProbeSettings)
      Set the healthProbeSettings property: Health probe settings associated with this Front Door instance.
      Overrides:
      withHealthProbeSettings in class FrontDoorUpdateParameters
      Parameters:
      healthProbeSettings - the healthProbeSettings value to set.
      Returns:
      the FrontDoorUpdateParameters object itself.
    • withBackendPools

      public FrontDoorProperties withBackendPools(List<BackendPool> backendPools)
      Set the backendPools property: Backend pools available to routing rules.
      Overrides:
      withBackendPools in class FrontDoorUpdateParameters
      Parameters:
      backendPools - the backendPools value to set.
      Returns:
      the FrontDoorUpdateParameters object itself.
    • withFrontendEndpoints

      public FrontDoorProperties withFrontendEndpoints(List<FrontendEndpointInner> frontendEndpoints)
      Set the frontendEndpoints property: Frontend endpoints available to routing rules.
      Overrides:
      withFrontendEndpoints in class FrontDoorUpdateParameters
      Parameters:
      frontendEndpoints - the frontendEndpoints value to set.
      Returns:
      the FrontDoorUpdateParameters object itself.
    • withBackendPoolsSettings

      public FrontDoorProperties withBackendPoolsSettings(BackendPoolsSettings backendPoolsSettings)
      Set the backendPoolsSettings property: Settings for all backendPools.
      Overrides:
      withBackendPoolsSettings in class FrontDoorUpdateParameters
      Parameters:
      backendPoolsSettings - the backendPoolsSettings value to set.
      Returns:
      the FrontDoorUpdateParameters object itself.
    • withEnabledState

      public FrontDoorProperties withEnabledState(FrontDoorEnabledState enabledState)
      Set the enabledState property: Operational status of the Front Door load balancer. Permitted values are 'Enabled' or 'Disabled'.
      Overrides:
      withEnabledState in class FrontDoorUpdateParameters
      Parameters:
      enabledState - the enabledState value to set.
      Returns:
      the FrontDoorUpdateParameters object itself.
    • validate

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