Class WebSiteInstanceStatusInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.appservice.models.ProxyOnlyResource
-
- com.azure.resourcemanager.appservice.fluent.models.WebSiteInstanceStatusInner
-
public final class WebSiteInstanceStatusInner extends ProxyOnlyResource
The WebSiteInstanceStatus model.
-
-
Constructor Summary
Constructors Constructor Description WebSiteInstanceStatusInner()
-
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.WebSiteInstanceStatusInnerwithConsoleUrl(String consoleUrl)Set the consoleUrl property: Link to the console to web app instance.WebSiteInstanceStatusInnerwithContainers(Map<String,ContainerInfo> containers)Set the containers property: Dictionary of <ContainerInfo>.WebSiteInstanceStatusInnerwithDetectorUrl(String detectorUrl)Set the detectorUrl property: Link to the Diagnose and Solve Portal.WebSiteInstanceStatusInnerwithHealthCheckUrl(String healthCheckUrl)Set the healthCheckUrl property: Link to the console to web app instance.WebSiteInstanceStatusInnerwithKind(String kind)Set the kind property: Kind of resource.WebSiteInstanceStatusInnerwithState(SiteRuntimeState state)Set the state property: The state property.WebSiteInstanceStatusInnerwithStatusUrl(String statusUrl)Set the statusUrl property: Link to the GetStatusApi in Kudu.-
Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
-
-
-
-
Method Detail
-
withKind
public WebSiteInstanceStatusInner withKind(String kind)
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
state
public SiteRuntimeState state()
Get the state property: The state property.- Returns:
- the state value.
-
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.
-
statusUrl
public String statusUrl()
Get the statusUrl property: Link to the GetStatusApi in Kudu.- Returns:
- the statusUrl value.
-
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.
-
detectorUrl
public String detectorUrl()
Get the detectorUrl property: Link to the Diagnose and Solve Portal.- Returns:
- the detectorUrl value.
-
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.
-
consoleUrl
public String consoleUrl()
Get the consoleUrl property: Link to the console to web app instance.- Returns:
- the consoleUrl value.
-
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.
-
healthCheckUrl
public String healthCheckUrl()
Get the healthCheckUrl property: Link to the console to web app instance.- Returns:
- the healthCheckUrl value.
-
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.
-
containers
public Map<String,ContainerInfo> containers()
Get the containers property: Dictionary of <ContainerInfo>.- Returns:
- the containers value.
-
withContainers
public WebSiteInstanceStatusInner withContainers(Map<String,ContainerInfo> containers)
Set the containers property: Dictionary of <ContainerInfo>.- Parameters:
containers- the containers value to set.- Returns:
- the WebSiteInstanceStatusInner object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-