ComputeSizeErrorDetails Class

Definition

Represents the error used to indicate why the target compute size is not applicable.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.ComputeSizeErrorDetailsTypeConverter))]
public class ComputeSizeErrorDetails : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IComputeSizeErrorDetails
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.ComputeSizeErrorDetailsTypeConverter))>]
type ComputeSizeErrorDetails = class
    interface IComputeSizeErrorDetails
    interface IJsonSerializable
Public Class ComputeSizeErrorDetails
Implements IComputeSizeErrorDetails
Inheritance
ComputeSizeErrorDetails
Attributes
Implements

Constructors

Name Description
ComputeSizeErrorDetails()

Creates an new ComputeSizeErrorDetails instance.

Properties

Name Description
Message

The error message.

Severity

The severity of the error.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ComputeSizeErrorDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ComputeSizeErrorDetails.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IComputeSizeErrorDetails.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ComputeSizeErrorDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to