RoutingStorageContainerProperties Class

The properties related to a storage container endpoint.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.iothub._serialization.Model
RoutingStorageContainerProperties

Constructor

RoutingStorageContainerProperties(*, connection_string: str, name: str, container_name: str, subscription_id: str | None = None, resource_group: str | None = None, file_name_format: str | None = None, batch_frequency_in_seconds: int | None = None, max_chunk_size_in_bytes: int | None = None, encoding: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
connection_string
str

The connection string of the storage account. Required.

name
str

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, operationsMonitoringEvents, fileNotifications, $default. Endpoint names must be unique across endpoint types. Required.

subscription_id
str

The subscription identifier of the storage account.

resource_group
str

The name of the resource group of the storage account.

container_name
str

The name of storage container in the storage account. Required.

file_name_format
str

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

batch_frequency_in_seconds
int

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

max_chunk_size_in_bytes
int

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

encoding
str

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

Variables

Name Description
connection_string
str

The connection string of the storage account. Required.

name
str

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, operationsMonitoringEvents, fileNotifications, $default. Endpoint names must be unique across endpoint types. Required.

subscription_id
str

The subscription identifier of the storage account.

resource_group
str

The name of the resource group of the storage account.

container_name
str

The name of storage container in the storage account. Required.

file_name_format
str

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

batch_frequency_in_seconds
int

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

max_chunk_size_in_bytes
int

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

encoding
str

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