你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

ComputeSizeErrorDetails()

Creates an new ComputeSizeErrorDetails instance.

Properties

Message

The error message.

Severity

The severity of the error.

Methods

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