public final class WebSiteInstanceStatusProperties extends Object
| Constructor and Description |
|---|
WebSiteInstanceStatusProperties() |
| 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.
|
String |
healthCheckUrl()
Get the healthCheckUrl property: Link to the console to web app instance.
|
SiteRuntimeState |
state()
Get the state property: The state property.
|
String |
statusUrl()
Get the statusUrl property: Link to the GetStatusApi in Kudu.
|
void |
validate()
Validates the instance.
|
WebSiteInstanceStatusProperties |
withConsoleUrl(String consoleUrl)
Set the consoleUrl property: Link to the console to web app instance.
|
WebSiteInstanceStatusProperties |
withContainers(Map<String,ContainerInfo> containers)
Set the containers property: Dictionary of <ContainerInfo>.
|
WebSiteInstanceStatusProperties |
withDetectorUrl(String detectorUrl)
Set the detectorUrl property: Link to the Diagnose and Solve Portal.
|
WebSiteInstanceStatusProperties |
withHealthCheckUrl(String healthCheckUrl)
Set the healthCheckUrl property: Link to the console to web app instance.
|
WebSiteInstanceStatusProperties |
withState(SiteRuntimeState state)
Set the state property: The state property.
|
WebSiteInstanceStatusProperties |
withStatusUrl(String statusUrl)
Set the statusUrl property: Link to the GetStatusApi in Kudu.
|
public SiteRuntimeState state()
public WebSiteInstanceStatusProperties withState(SiteRuntimeState state)
state - the state value to set.public String statusUrl()
public WebSiteInstanceStatusProperties withStatusUrl(String statusUrl)
statusUrl - the statusUrl value to set.public String detectorUrl()
public WebSiteInstanceStatusProperties withDetectorUrl(String detectorUrl)
detectorUrl - the detectorUrl value to set.public String consoleUrl()
public WebSiteInstanceStatusProperties withConsoleUrl(String consoleUrl)
consoleUrl - the consoleUrl value to set.public String healthCheckUrl()
public WebSiteInstanceStatusProperties withHealthCheckUrl(String healthCheckUrl)
healthCheckUrl - the healthCheckUrl value to set.public Map<String,ContainerInfo> containers()
public WebSiteInstanceStatusProperties withContainers(Map<String,ContainerInfo> containers)
containers - the containers value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.