java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.frontdoor.fluent.models.FrontDoorInner

public final class FrontDoorInner extends com.azure.core.management.Resource
Front Door represents a collection of backend endpoints to route traffic to along with rules that specify how traffic is sent there.
  • Constructor Details

    • FrontDoorInner

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

    • withLocation

      public FrontDoorInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public FrontDoorInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • 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.
    • friendlyName

      public String friendlyName()
      Get the friendlyName property: A friendly name for the frontDoor.
      Returns:
      the friendlyName value.
    • withFriendlyName

      public FrontDoorInner withFriendlyName(String friendlyName)
      Set the friendlyName property: A friendly name for the frontDoor.
      Parameters:
      friendlyName - the friendlyName value to set.
      Returns:
      the FrontDoorInner object itself.
    • routingRules

      public List<RoutingRule> routingRules()
      Get the routingRules property: Routing rules associated with this Front Door.
      Returns:
      the routingRules value.
    • withRoutingRules

      public FrontDoorInner withRoutingRules(List<RoutingRule> routingRules)
      Set the routingRules property: Routing rules associated with this Front Door.
      Parameters:
      routingRules - the routingRules value to set.
      Returns:
      the FrontDoorInner object itself.
    • loadBalancingSettings

      public List<LoadBalancingSettingsModel> loadBalancingSettings()
      Get the loadBalancingSettings property: Load balancing settings associated with this Front Door instance.
      Returns:
      the loadBalancingSettings value.
    • withLoadBalancingSettings

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

      public List<HealthProbeSettingsModel> healthProbeSettings()
      Get the healthProbeSettings property: Health probe settings associated with this Front Door instance.
      Returns:
      the healthProbeSettings value.
    • withHealthProbeSettings

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

      public List<BackendPool> backendPools()
      Get the backendPools property: Backend pools available to routing rules.
      Returns:
      the backendPools value.
    • withBackendPools

      public FrontDoorInner withBackendPools(List<BackendPool> backendPools)
      Set the backendPools property: Backend pools available to routing rules.
      Parameters:
      backendPools - the backendPools value to set.
      Returns:
      the FrontDoorInner object itself.
    • frontendEndpoints

      public List<FrontendEndpointInner> frontendEndpoints()
      Get the frontendEndpoints property: Frontend endpoints available to routing rules.
      Returns:
      the frontendEndpoints value.
    • withFrontendEndpoints

      public FrontDoorInner withFrontendEndpoints(List<FrontendEndpointInner> frontendEndpoints)
      Set the frontendEndpoints property: Frontend endpoints available to routing rules.
      Parameters:
      frontendEndpoints - the frontendEndpoints value to set.
      Returns:
      the FrontDoorInner object itself.
    • backendPoolsSettings

      public BackendPoolsSettings backendPoolsSettings()
      Get the backendPoolsSettings property: Settings for all backendPools.
      Returns:
      the backendPoolsSettings value.
    • withBackendPoolsSettings

      public FrontDoorInner withBackendPoolsSettings(BackendPoolsSettings backendPoolsSettings)
      Set the backendPoolsSettings property: Settings for all backendPools.
      Parameters:
      backendPoolsSettings - the backendPoolsSettings value to set.
      Returns:
      the FrontDoorInner object itself.
    • enabledState

      public FrontDoorEnabledState enabledState()
      Get the enabledState property: Operational status of the Front Door load balancer. Permitted values are 'Enabled' or 'Disabled'.
      Returns:
      the enabledState value.
    • withEnabledState

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

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