Share via


IotHubStorageEndpointProperties Class

Definition

The properties of the Azure Storage endpoint for file upload.

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

Constructors

IotHubStorageEndpointProperties(String, String)

Initializes a new instance of IotHubStorageEndpointProperties.

Properties

AuthenticationType

Specifies authentication type being used for connecting to the storage account.

ConnectionString

The connection string for the Azure Storage account to which files are uploaded.

ContainerName

The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified.

SasTtlAsIso8601

The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options.

UserAssignedIdentity

The user assigned identity.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<IotHubStorageEndpointProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<IotHubStorageEndpointProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<IotHubStorageEndpointProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<IotHubStorageEndpointProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<IotHubStorageEndpointProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to