WebSiteInstanceStatusInner Class

public final class WebSiteInstanceStatusInner
extends ProxyOnlyResource

The WebSiteInstanceStatus model.

Constructor Summary

Constructor Description
WebSiteInstanceStatusInner()

Creates an instance of WebSiteInstanceStatusInner class.

Method Summary

Modifier and Type Method and Description
String consoleUrl()

Get the consoleUrl property: Link to the console to web app instance.

Map<String,ContainerInfo> containers()

Get the containers property: Dictionary of <ContainerInfo>.

String detectorUrl()

Get the detectorUrl property: Link to the Diagnose and Solve Portal.

static WebSiteInstanceStatusInner fromJson(JsonReader jsonReader)

Reads an instance of WebSiteInstanceStatusInner from the JsonReader.

String healthCheckUrl()

Get the healthCheckUrl property: Link to the console to web app instance.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

SiteRuntimeState state()

Get the state property: The state property.

String statusUrl()

Get the statusUrl property: Link to the GetStatusApi in Kudu.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

WebSiteInstanceStatusInner withConsoleUrl(String consoleUrl)

Set the consoleUrl property: Link to the console to web app instance.

WebSiteInstanceStatusInner withContainers(Map<String,ContainerInfo> containers)

Set the containers property: Dictionary of <ContainerInfo>.

WebSiteInstanceStatusInner withDetectorUrl(String detectorUrl)

Set the detectorUrl property: Link to the Diagnose and Solve Portal.

WebSiteInstanceStatusInner withHealthCheckUrl(String healthCheckUrl)

Set the healthCheckUrl property: Link to the console to web app instance.

WebSiteInstanceStatusInner withKind(String kind)

Set the kind property: Kind of resource.

WebSiteInstanceStatusInner withState(SiteRuntimeState state)

Set the state property: The state property.

WebSiteInstanceStatusInner withStatusUrl(String statusUrl)

Set the statusUrl property: Link to the GetStatusApi in Kudu.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

WebSiteInstanceStatusInner

public WebSiteInstanceStatusInner()

Creates an instance of WebSiteInstanceStatusInner class.

Method Details

consoleUrl

public String consoleUrl()

Get the consoleUrl property: Link to the console to web app instance.

Returns:

the consoleUrl value.

containers

public Map containers()

Get the containers property: Dictionary of .

Returns:

the containers value.

detectorUrl

public String detectorUrl()

Get the detectorUrl property: Link to the Diagnose and Solve Portal.

Returns:

the detectorUrl value.

fromJson

public static WebSiteInstanceStatusInner fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

healthCheckUrl

public String healthCheckUrl()

Get the healthCheckUrl property: Link to the console to web app instance.

Returns:

the healthCheckUrl value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

WebSiteInstanceStatusInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

WebSiteInstanceStatusInner.name()

Returns:

the name value.

state

public SiteRuntimeState state()

Get the state property: The state property.

Returns:

the state value.

statusUrl

public String statusUrl()

Get the statusUrl property: Link to the GetStatusApi in Kudu.

Returns:

the statusUrl value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

WebSiteInstanceStatusInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

WebSiteInstanceStatusInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

WebSiteInstanceStatusInner.validate()

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.

withContainers

public WebSiteInstanceStatusInner withContainers(Map containers)

Set the containers property: Dictionary of .

Parameters:

containers - the containers value to set.

Returns:

the WebSiteInstanceStatusInner object itself.

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.

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.

withKind

public WebSiteInstanceStatusInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

WebSiteInstanceStatusInner.withKind(String kind)

Parameters:

kind

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.

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.

Applies to