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

CheckNameResult Class

Definition

The result returned from a check name availability request.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DigitalTwins.Models.Api20220531.CheckNameResultTypeConverter))]
public class CheckNameResult : Microsoft.Azure.PowerShell.Cmdlets.DigitalTwins.Models.Api20220531.ICheckNameResult
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DigitalTwins.Models.Api20220531.CheckNameResultTypeConverter))>]
type CheckNameResult = class
    interface ICheckNameResult
    interface IJsonSerializable
Public Class CheckNameResult
Implements ICheckNameResult
Inheritance
CheckNameResult
Attributes
Implements

Constructors

CheckNameResult()

Creates an new CheckNameResult instance.

Properties

Message

Message indicating an unavailable name due to a conflict, or a description of the naming rules that are violated.

NameAvailable

Specifies a Boolean value that indicates if the name is available.

Reason

Message providing the reason why the given name is invalid.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CheckNameResult.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CheckNameResult.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DigitalTwins.Models.Api20220531.ICheckNameResult.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CheckNameResult into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to