RoutingStorageContainerProperties Class

Definition

The properties related to a storage container endpoint.

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

Constructors

RoutingStorageContainerProperties(String, String)

Initializes a new instance of RoutingStorageContainerProperties.

Properties

AuthenticationType

Method used to authenticate against the storage endpoint.

BatchFrequencyInSeconds

Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds.

ConnectionString

The connection string of the storage account.

ContainerName

The name of storage container in the storage account.

Encoding

Encoding that is used to serialize messages to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default value is 'avro'.

Endpoint

The url of the storage endpoint. It must include the protocol https://.

FileNameFormat

File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered.

Id

Id of the storage container endpoint.

MaxChunkSizeInBytes

Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB).

Name

The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types.

ResourceGroup

The name of the resource group of the storage account.

SubscriptionId

The subscription identifier of the storage account.

UserAssignedIdentity

The user assigned identity.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RoutingStorageContainerProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RoutingStorageContainerProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RoutingStorageContainerProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RoutingStorageContainerProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RoutingStorageContainerProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to