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
-
StorageEndpointProperties
Constructor
StorageEndpointProperties(*, connection_string: str, container_name: str, sas_ttl_as_iso8601: Optional[datetime.timedelta] = None, authentication_type: Optional[Union[str, azure.mgmt.iothub.v2021_07_01.models._iot_hub_client_enums.AuthenticationType]] = None, identity: Optional[azure.mgmt.iothub.v2021_07_01.models._models_py3.ManagedIdentity] = None, **kwargs)
Variables
- sas_ttl_as_iso8601
- timedelta
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
Required. The connection string for the Azure Storage account to which files are uploaded.
- container_name
- str
Required. The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified.
- authentication_type
- str or AuthenticationType
Specifies authentication type being used for connecting to the storage account. Possible values include: "keyBased", "identityBased".
- identity
- ManagedIdentity
Managed identity properties of storage endpoint for file upload.
Feedback
Submit and view feedback for