Share via


ResourceHealthSummary Class

Definition

Base class to define the health summary of the resources contained under an Arm resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.ResourceHealthSummaryTypeConverter))]
public class ResourceHealthSummary : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IResourceHealthSummary
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.ResourceHealthSummaryTypeConverter))>]
type ResourceHealthSummary = class
    interface IResourceHealthSummary
    interface IJsonSerializable
Public Class ResourceHealthSummary
Implements IResourceHealthSummary
Inheritance
ResourceHealthSummary
Attributes
Implements

Constructors

ResourceHealthSummary()

Creates an new ResourceHealthSummary instance.

Properties

CategorizedResourceCount

The categorized resource counts.

Issue

The list of summary of health errors across the resources under the container.

ResourceCount

The count of total resources under the container.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceHealthSummary.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceHealthSummary.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IResourceHealthSummary.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceHealthSummary into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to