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>
The WebSiteInstanceStatus model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of WebSiteInstanceStatusInner 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.static WebSiteInstanceStatusInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of WebSiteInstanceStatusInner from the JsonReader.Get the healthCheckUrl property: Link to the console to web app instance.id()
Get the id property: Fully qualified resource Id for the resource.name()
Get the name property: The name of the resource.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.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) type()
Get the type property: The type of the resource.void
validate()
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.Set the kind property: Kind of resource.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 com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
WebSiteInstanceStatusInner
public WebSiteInstanceStatusInner()Creates an instance of WebSiteInstanceStatusInner class.
-
-
Method Details
-
type
Get the type property: The type of the resource.- Overrides:
type
in classProxyOnlyResource
- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
name
in classProxyOnlyResource
- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
id
in classProxyOnlyResource
- Returns:
- the id value.
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKind
in classProxyOnlyResource
- Parameters:
kind
- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
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 WebSiteInstanceStatusInner 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 WebSiteInstanceStatusInner 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 WebSiteInstanceStatusInner 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 WebSiteInstanceStatusInner 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 WebSiteInstanceStatusInner 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 WebSiteInstanceStatusInner 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 WebSiteInstanceStatusInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classProxyOnlyResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
- Overrides:
toJson
in classProxyOnlyResource
- 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.
-