StorageEndpointProperties Class

The properties of the Azure Storage endpoint for file upload.

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

Inheritance
azure.mgmt.iothub._serialization.Model
StorageEndpointProperties

Constructor

StorageEndpointProperties(*, connection_string: str, container_name: str, sas_ttl_as_iso8601: timedelta | None = None, authentication_type: str | _models.AuthenticationType | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
sas_ttl_as_iso8601

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.

connection_string
str

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

container_name
str

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

authentication_type

Specifies authentication type being used for connecting to the storage account. Known values are: "keyBased" and "identityBased".

Variables

Name Description
sas_ttl_as_iso8601

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.

connection_string
str

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

container_name
str

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

authentication_type

Specifies authentication type being used for connecting to the storage account. Known values are: "keyBased" and "identityBased".