Share via


HyperVToAzStackHcieventModelCustomProperties Class

Definition

HyperV to AzStackHCI event model custom properties. This class provides provider specific details for events of type DataContract.HealthEvents.HealthEventType.ProtectedItemHealth and DataContract.HealthEvents.HealthEventType.AgentHealth.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.HyperVToAzStackHcieventModelCustomPropertiesTypeConverter))]
public class HyperVToAzStackHcieventModelCustomProperties : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.IHyperVToAzStackHcieventModelCustomProperties, Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.HyperVToAzStackHcieventModelCustomPropertiesTypeConverter))>]
type HyperVToAzStackHcieventModelCustomProperties = class
    interface IHyperVToAzStackHcieventModelCustomProperties
    interface IJsonSerializable
    interface IEventModelCustomProperties
    interface IValidates
Public Class HyperVToAzStackHcieventModelCustomProperties
Implements IHyperVToAzStackHcieventModelCustomProperties, IValidates
Inheritance
HyperVToAzStackHcieventModelCustomProperties
Attributes
Implements

Constructors

HyperVToAzStackHcieventModelCustomProperties()

Creates an new HyperVToAzStackHcieventModelCustomProperties instance.

Properties

EventSourceFriendlyName

Gets or sets the friendly name of the source which has raised this health event.

InstanceType

Gets or sets the instance type.

ProtectedItemFriendlyName

Gets or sets the protected item friendly name.

ServerType

Gets or sets the server type.

SourceApplianceName

Gets or sets the source appliance name.

TargetApplianceName

Gets or sets the source target name.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HyperVToAzStackHcieventModelCustomProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HyperVToAzStackHcieventModelCustomProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.IHyperVToAzStackHcieventModelCustomProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of HyperVToAzStackHcieventModelCustomProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to