你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

StorageEndpointProperties Class

The properties of the Azure Storage endpoint for file upload.

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

Constructor

StorageEndpointProperties(*, connection_string: str, container_name: str, sas_ttl_as_iso8601: timedelta | 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.

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.