Class WebSiteInstanceStatusProperties

java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.WebSiteInstanceStatusProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<WebSiteInstanceStatusProperties>

public final class WebSiteInstanceStatusProperties extends Object implements com.azure.json.JsonSerializable<WebSiteInstanceStatusProperties>
WebSiteInstanceStatus resource specific properties.
  • Constructor Details

    • WebSiteInstanceStatusProperties

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

    • state

      public SiteRuntimeState state()
      Get the state property: The state property.
      Returns:
      the state value.
    • withState

      Set the state property: The state property.
      Parameters:
      state - the state value to set.
      Returns:
      the WebSiteInstanceStatusProperties object itself.
    • statusUrl

      public String statusUrl()
      Get the statusUrl property: Link to the GetStatusApi in Kudu.
      Returns:
      the statusUrl value.
    • withStatusUrl

      public WebSiteInstanceStatusProperties withStatusUrl(String statusUrl)
      Set the statusUrl property: Link to the GetStatusApi in Kudu.
      Parameters:
      statusUrl - the statusUrl value to set.
      Returns:
      the WebSiteInstanceStatusProperties object itself.
    • detectorUrl

      public String detectorUrl()
      Get the detectorUrl property: Link to the Diagnose and Solve Portal.
      Returns:
      the detectorUrl value.
    • withDetectorUrl

      public WebSiteInstanceStatusProperties withDetectorUrl(String detectorUrl)
      Set the detectorUrl property: Link to the Diagnose and Solve Portal.
      Parameters:
      detectorUrl - the detectorUrl value to set.
      Returns:
      the WebSiteInstanceStatusProperties object itself.
    • consoleUrl

      public String consoleUrl()
      Get the consoleUrl property: Link to the console to web app instance.
      Returns:
      the consoleUrl value.
    • withConsoleUrl

      public WebSiteInstanceStatusProperties withConsoleUrl(String consoleUrl)
      Set the consoleUrl property: Link to the console to web app instance.
      Parameters:
      consoleUrl - the consoleUrl value to set.
      Returns:
      the WebSiteInstanceStatusProperties object itself.
    • healthCheckUrl

      public String healthCheckUrl()
      Get the healthCheckUrl property: Link to the console to web app instance.
      Returns:
      the healthCheckUrl value.
    • withHealthCheckUrl

      public WebSiteInstanceStatusProperties withHealthCheckUrl(String healthCheckUrl)
      Set the healthCheckUrl property: Link to the console to web app instance.
      Parameters:
      healthCheckUrl - the healthCheckUrl value to set.
      Returns:
      the WebSiteInstanceStatusProperties object itself.
    • containers

      public Map<String,ContainerInfo> containers()
      Get the containers property: Dictionary of <ContainerInfo>.
      Returns:
      the containers value.
    • withContainers

      public WebSiteInstanceStatusProperties withContainers(Map<String,ContainerInfo> containers)
      Set the containers property: Dictionary of <ContainerInfo>.
      Parameters:
      containers - the containers value to set.
      Returns:
      the WebSiteInstanceStatusProperties object itself.
    • physicalZone

      public String physicalZone()
      Get the physicalZone property: The physical zone that the instance is in.
      Returns:
      the physicalZone value.
    • withPhysicalZone

      public WebSiteInstanceStatusProperties withPhysicalZone(String physicalZone)
      Set the physicalZone property: The physical zone that the instance is in.
      Parameters:
      physicalZone - the physicalZone value to set.
      Returns:
      the WebSiteInstanceStatusProperties object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<WebSiteInstanceStatusProperties>
      Throws:
      IOException
    • fromJson

      public static WebSiteInstanceStatusProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of WebSiteInstanceStatusProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of WebSiteInstanceStatusProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the WebSiteInstanceStatusProperties.