ResourceHealthMetadataInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. ResourceHealthMetadataInner
- com.
- com.
- com.
public final class ResourceHealthMetadataInner
extends ProxyOnlyResource
Used for getting ResourceHealthCheck settings.
Constructor Summary
Constructor | Description |
---|---|
ResourceHealthMetadataInner() |
Creates an instance of Resource |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
category()
Get the category property: The category that the resource matches in the RHC Policy File. |
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Boolean |
signalAvailability()
Get the signal |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Resource |
withCategory(String category)
Set the category property: The category that the resource matches in the RHC Policy File. |
Resource |
withKind(String kind)
Set the kind property: Kind of resource. |
Resource |
withSignalAvailability(Boolean signalAvailability)
Set the signal |
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
ResourceHealthMetadataInner
public ResourceHealthMetadataInner()
Creates an instance of ResourceHealthMetadataInner class.
Method Details
category
public String category()
Get the category property: The category that the resource matches in the RHC Policy File.
Returns:
fromJson
public static ResourceHealthMetadataInner fromJson(JsonReader jsonReader)
Reads an instance of ResourceHealthMetadataInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ResourceHealthMetadataInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ResourceHealthMetadataInner.name()Returns:
signalAvailability
public Boolean signalAvailability()
Get the signalAvailability property: Is there a health signal for the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ResourceHealthMetadataInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ResourceHealthMetadataInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
ResourceHealthMetadataInner.validate()withCategory
public ResourceHealthMetadataInner withCategory(String category)
Set the category property: The category that the resource matches in the RHC Policy File.
Parameters:
Returns:
withKind
public ResourceHealthMetadataInner withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
ResourceHealthMetadataInner.withKind(String kind)Parameters:
withSignalAvailability
public ResourceHealthMetadataInner withSignalAvailability(Boolean signalAvailability)
Set the signalAvailability property: Is there a health signal for the resource.
Parameters:
Returns:
Applies to
Azure SDK for Java