Class WebSiteInstanceStatusProperties
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.WebSiteInstanceStatusProperties
-
public final class WebSiteInstanceStatusProperties extends Object
WebSiteInstanceStatus resource specific properties.
-
-
Constructor Summary
Constructors Constructor Description WebSiteInstanceStatusProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringconsoleUrl()Get the consoleUrl property: Link to the console to web app instance.Map<String,ContainerInfo>containers()Get the containers property: Dictionary of <ContainerInfo>.StringdetectorUrl()Get the detectorUrl property: Link to the Diagnose and Solve Portal.StringhealthCheckUrl()Get the healthCheckUrl property: Link to the console to web app instance.SiteRuntimeStatestate()Get the state property: The state property.StringstatusUrl()Get the statusUrl property: Link to the GetStatusApi in Kudu.voidvalidate()Validates the instance.WebSiteInstanceStatusPropertieswithConsoleUrl(String consoleUrl)Set the consoleUrl property: Link to the console to web app instance.WebSiteInstanceStatusPropertieswithContainers(Map<String,ContainerInfo> containers)Set the containers property: Dictionary of <ContainerInfo>.WebSiteInstanceStatusPropertieswithDetectorUrl(String detectorUrl)Set the detectorUrl property: Link to the Diagnose and Solve Portal.WebSiteInstanceStatusPropertieswithHealthCheckUrl(String healthCheckUrl)Set the healthCheckUrl property: Link to the console to web app instance.WebSiteInstanceStatusPropertieswithState(SiteRuntimeState state)Set the state property: The state property.WebSiteInstanceStatusPropertieswithStatusUrl(String statusUrl)Set the statusUrl property: Link to the GetStatusApi in Kudu.
-
-
-
Method Detail
-
state
public SiteRuntimeState state()
Get the state property: The state property.- Returns:
- the state value.
-
withState
public WebSiteInstanceStatusProperties withState(SiteRuntimeState state)
Set the state property: The state property.- Parameters:
state- the state value to set.- Returns:
- the WebSiteInstanceStatusProperties object itself.
-
statusUrl
public String statusUrl()
Get the statusUrl property: Link to the GetStatusApi in Kudu.- Returns:
- the statusUrl value.
-
withStatusUrl
public WebSiteInstanceStatusProperties withStatusUrl(String statusUrl)
Set the statusUrl property: Link to the GetStatusApi in Kudu.- Parameters:
statusUrl- the statusUrl value to set.- Returns:
- the WebSiteInstanceStatusProperties object itself.
-
detectorUrl
public String detectorUrl()
Get the detectorUrl property: Link to the Diagnose and Solve Portal.- Returns:
- the detectorUrl value.
-
withDetectorUrl
public WebSiteInstanceStatusProperties withDetectorUrl(String detectorUrl)
Set the detectorUrl property: Link to the Diagnose and Solve Portal.- Parameters:
detectorUrl- the detectorUrl value to set.- Returns:
- the WebSiteInstanceStatusProperties object itself.
-
consoleUrl
public String consoleUrl()
Get the consoleUrl property: Link to the console to web app instance.- Returns:
- the consoleUrl value.
-
withConsoleUrl
public WebSiteInstanceStatusProperties withConsoleUrl(String consoleUrl)
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
public String healthCheckUrl()
Get the healthCheckUrl property: Link to the console to web app instance.- Returns:
- the healthCheckUrl value.
-
withHealthCheckUrl
public WebSiteInstanceStatusProperties withHealthCheckUrl(String healthCheckUrl)
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
public Map<String,ContainerInfo> containers()
Get the containers property: Dictionary of <ContainerInfo>.- Returns:
- the containers value.
-
withContainers
public WebSiteInstanceStatusProperties withContainers(Map<String,ContainerInfo> containers)
Set the containers property: Dictionary of <ContainerInfo>.- Parameters:
containers- the containers value to set.- Returns:
- the WebSiteInstanceStatusProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-