Class: Azure::IotHub::Mgmt::V2018_12_01_preview::Models::StorageEndpointProperties
- Inherits:
-
Object
- Object
- Azure::IotHub::Mgmt::V2018_12_01_preview::Models::StorageEndpointProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb
Overview
The properties of the Azure Storage endpoint for file upload.
Instance Attribute Summary collapse
-
#connection_string ⇒ String
which files are uploaded.
-
#container_name ⇒ String
The container need not exist but should be creatable using the connectionString specified.
-
#sas_ttl_as_iso8601 ⇒ Duration
by IoT Hub for file upload is valid.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for StorageEndpointProperties class as Ruby Hash.
Instance Attribute Details
#connection_string ⇒ String
which files are uploaded.
22 23 24 |
# File 'lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb', line 22 def connection_string @connection_string end |
#container_name ⇒ String
The container need not exist but should be creatable using the connectionString specified.
27 28 29 |
# File 'lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb', line 27 def container_name @container_name end |
#sas_ttl_as_iso8601 ⇒ Duration
by IoT Hub for file upload is valid. See: docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options.
18 19 20 |
# File 'lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb', line 18 def sas_ttl_as_iso8601 @sas_ttl_as_iso8601 end |
Class Method Details
.mapper ⇒ Object
Mapper for StorageEndpointProperties class as Ruby Hash. This will be used for serialization/deserialization.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'StorageEndpointProperties', type: { name: 'Composite', class_name: 'StorageEndpointProperties', model_properties: { sas_ttl_as_iso8601: { client_side_validation: true, required: false, serialized_name: 'sasTtlAsIso8601', type: { name: 'TimeSpan' } }, connection_string: { client_side_validation: true, required: true, serialized_name: 'connectionString', type: { name: 'String' } }, container_name: { client_side_validation: true, required: true, serialized_name: 'containerName', type: { name: 'String' } } } } } end |