class Azure::IotHub::Mgmt::V2019_03_22_preview::Models::StorageEndpointProperties

The properties of the Azure Storage endpoint for file upload.

Attributes

connection_string[RW]

@return [String] The connection string for the Azure Storage account to which files are uploaded.

container_name[RW]

@return [String] The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified.

sas_ttl_as_iso8601[RW]

@return [Duration] The period of time for which the SAS URI generated 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.

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-03-22-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