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

IotHubNameAvailabilityResponse Class

Definition

The properties indicating whether a given IoT hub name is available.

public class IotHubNameAvailabilityResponse
public class IotHubNameAvailabilityResponse : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.IotHub.Models.IotHubNameAvailabilityResponse>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.IotHub.Models.IotHubNameAvailabilityResponse>
type IotHubNameAvailabilityResponse = class
type IotHubNameAvailabilityResponse = class
    interface IJsonModel<IotHubNameAvailabilityResponse>
    interface IPersistableModel<IotHubNameAvailabilityResponse>
Public Class IotHubNameAvailabilityResponse
Public Class IotHubNameAvailabilityResponse
Implements IJsonModel(Of IotHubNameAvailabilityResponse), IPersistableModel(Of IotHubNameAvailabilityResponse)
Inheritance
IotHubNameAvailabilityResponse
Implements

Properties

IsNameAvailable

The value which indicates whether the provided name is available.

Message

The detailed reason message.

Reason

The reason for unavailability.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<IotHubNameAvailabilityResponse>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<IotHubNameAvailabilityResponse>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<IotHubNameAvailabilityResponse>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<IotHubNameAvailabilityResponse>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<IotHubNameAvailabilityResponse>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to