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 Summary
ConstructorsConstructorDescriptionCreates an instance of WebSiteInstanceStatusProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the consoleUrl property: Link to the console to web app instance.Get the containers property: Dictionary of <ContainerInfo>.Get the detectorUrl property: Link to the Diagnose and Solve Portal.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of WebSiteInstanceStatusProperties from the JsonReader.Get the healthCheckUrl property: Link to the console to web app instance.Get the physicalZone property: The physical zone that the instance is in.state()Get the state property: The state property.Get the statusUrl property: Link to the GetStatusApi in Kudu.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withConsoleUrl(String consoleUrl) Set the consoleUrl property: Link to the console to web app instance.withContainers(Map<String, ContainerInfo> containers) Set the containers property: Dictionary of <ContainerInfo>.withDetectorUrl(String detectorUrl) Set the detectorUrl property: Link to the Diagnose and Solve Portal.withHealthCheckUrl(String healthCheckUrl) Set the healthCheckUrl property: Link to the console to web app instance.withPhysicalZone(String physicalZone) Set the physicalZone property: The physical zone that the instance is in.withState(SiteRuntimeState state) Set the state property: The state property.withStatusUrl(String statusUrl) Set the statusUrl property: Link to the GetStatusApi in Kudu.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
WebSiteInstanceStatusProperties
public WebSiteInstanceStatusProperties()Creates an instance of WebSiteInstanceStatusProperties class.
-
-
Method Details
-
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
Get the statusUrl property: Link to the GetStatusApi in Kudu.- Returns:
- the statusUrl value.
-
withStatusUrl
Set the statusUrl property: Link to the GetStatusApi in Kudu.- Parameters:
statusUrl- the statusUrl value to set.- Returns:
- the WebSiteInstanceStatusProperties object itself.
-
detectorUrl
Get the detectorUrl property: Link to the Diagnose and Solve Portal.- Returns:
- the detectorUrl value.
-
withDetectorUrl
Set the detectorUrl property: Link to the Diagnose and Solve Portal.- Parameters:
detectorUrl- the detectorUrl value to set.- Returns:
- the WebSiteInstanceStatusProperties object itself.
-
consoleUrl
Get the consoleUrl property: Link to the console to web app instance.- Returns:
- the consoleUrl value.
-
withConsoleUrl
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
Get the healthCheckUrl property: Link to the console to web app instance.- Returns:
- the healthCheckUrl value.
-
withHealthCheckUrl
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
Get the containers property: Dictionary of <ContainerInfo>.- Returns:
- the containers value.
-
withContainers
Set the containers property: Dictionary of <ContainerInfo>.- Parameters:
containers- the containers value to set.- Returns:
- the WebSiteInstanceStatusProperties object itself.
-
physicalZone
Get the physicalZone property: The physical zone that the instance is in.- Returns:
- the physicalZone value.
-
withPhysicalZone
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
- Specified by:
toJsonin interfacecom.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.
-