Class: Azure::ARM::IotHub::Models::StorageEndpointProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb

Overview

The properties of the Storage Endpoint for file upload.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#connection_stringString

selected by customer for uploading files.

Returns:

  • (String)

    The account key credentials for storage account



20
21
22
# File 'lib/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb', line 20

def connection_string
  @connection_string
end

#container_nameString

uploaded.

Returns:

  • (String)

    The root container name where all files will be



24
25
26
# File 'lib/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb', line 24

def container_name
  @container_name
end

#sas_ttl_as_iso8601Duration

Returns SAS time to live. Range: 1 Min (PT1M) - 1 Day (P1D).

Returns:

  • (Duration)

    SAS time to live. Range: 1 Min (PT1M) - 1 Day (P1D).



16
17
18
# File 'lib/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb', line 16

def sas_ttl_as_iso8601
  @sas_ttl_as_iso8601
end

Class Method Details

.mapperObject

Mapper for StorageEndpointProperties class as Ruby Hash. This will be used for serialization/deserialization.



31
32
33
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
# File 'lib/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb', line 31

def self.mapper()
  {
    required: false,
    serialized_name: 'StorageEndpointProperties',
    type: {
      name: 'Composite',
      class_name: 'StorageEndpointProperties',
      model_properties: {
        sas_ttl_as_iso8601: {
          required: false,
          serialized_name: 'sasTtlAsIso8601',
          type: {
            name: 'TimeSpan'
          }
        },
        connection_string: {
          required: false,
          serialized_name: 'connectionString',
          type: {
            name: 'String'
          }
        },
        container_name: {
          required: false,
          serialized_name: 'containerName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end