Partager via


ResourceHealthMetadata Class

Definition

Used for getting ResourceHealthCheck settings.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ResourceHealthMetadataTypeConverter))]
public class ResourceHealthMetadata : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IResourceHealthMetadata, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ResourceHealthMetadataTypeConverter))>]
type ResourceHealthMetadata = class
    interface IResourceHealthMetadata
    interface IJsonSerializable
    interface IProxyOnlyResource
    interface IValidates
Public Class ResourceHealthMetadata
Implements IResourceHealthMetadata, IValidates
Inheritance
ResourceHealthMetadata
Attributes
Implements

Constructors

ResourceHealthMetadata()

Creates an new ResourceHealthMetadata instance.

Properties

Category

The category that the resource matches in the RHC Policy File

Id

Resource Id.

Kind

Kind of resource.

Name

Resource Name.

SignalAvailability

Is there a health signal for the resource

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceHealthMetadata.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceHealthMetadata.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IResourceHealthMetadata.

FromJsonString(String)

Creates a new instance of ResourceHealthMetadata, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceHealthMetadata into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to