Sdílet prostřednictvím


IotHubDefinitionDescription Class

Definition

Description of the IoT hub.

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

Constructors

IotHubDefinitionDescription(String, AzureLocation)

Initializes a new instance of IotHubDefinitionDescription.

Properties

AllocationWeight

weight to apply for a given iot h.

ApplyAllocationPolicy

flag for applying allocationPolicy or not for a given iot hub.

ConnectionString

Connection string of the IoT hub.

Location

ARM region of the IoT hub.

Name

Host name of the IoT hub.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<IotHubDefinitionDescription>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<IotHubDefinitionDescription>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<IotHubDefinitionDescription>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<IotHubDefinitionDescription>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<IotHubDefinitionDescription>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to