Class: Azure::IotHub::Mgmt::V2016_02_03::Models::StorageEndpointProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-02-03/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

Class Method Summary collapse

Instance Attribute Details

#connection_stringString

which files are uploaded.

Returns:

  • (String)

    The connection string for the Azure Storage account to



22
23
24
# File 'lib/2016-02-03/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb', line 22

def connection_string
  @connection_string
end

#container_nameString

The container need not exist but should be creatable using the connectionString specified.

Returns:

  • (String)

    The name of the root container where you upload files.



27
28
29
# File 'lib/2016-02-03/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb', line 27

def container_name
  @container_name
end

#sas_ttl_as_iso8601Duration

Returns:

  • (Duration)

    The period of time for which the SAS URI generated



18
19
20
# File 'lib/2016-02-03/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

.mapperObject

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/2016-02-03/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