Class WebSiteInstanceStatusInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.WebSiteInstanceStatusInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class WebSiteInstanceStatusInner extends ProxyOnlyResource
The WebSiteInstanceStatus model.
  • Constructor Details

    • WebSiteInstanceStatusInner

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

    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class ProxyOnlyResource
      Returns:
      the type value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class ProxyOnlyResource
      Returns:
      the name value.
    • id

      public String id()
      Get the id property: Fully qualified resource Id for the resource.
      Overrides:
      id in class ProxyOnlyResource
      Returns:
      the id value.
    • withKind

      public WebSiteInstanceStatusInner withKind(String kind)
      Set the kind property: Kind of resource.
      Overrides:
      withKind in class ProxyOnlyResource
      Parameters:
      kind - the kind value to set.
      Returns:
      the ProxyOnlyResource object itself.
    • state

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

      public WebSiteInstanceStatusInner withState(SiteRuntimeState state)
      Set the state property: The state property.
      Parameters:
      state - the state value to set.
      Returns:
      the WebSiteInstanceStatusInner object itself.
    • statusUrl

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

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

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

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

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

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

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

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

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

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

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

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

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ProxyOnlyResource
      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<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class ProxyOnlyResource
      Throws:
      IOException
    • fromJson

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