Sha256: 2f4af2f15a5aa97863067cbdbac37f4bca76bff206453fd9f56177cc446ed7e3

Contents?: true

Size: 1.81 KB

Versions: 3

Compression:

Stored size: 1.81 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::IotHub
  module Models
    #
    # The properties of the Storage Endpoint for file upload.
    #
    class StorageEndpointProperties

      include MsRestAzure

      # @return [Duration] SAS time to live. Range: 1 Min (PT1M) - 1 Day (P1D).
      attr_accessor :sas_ttl_as_iso8601

      # @return [String] The account key credentials for storage account
      # selected by customer for uploading files.
      attr_accessor :connection_string

      # @return [String] The root container name where all files will be
      # uploaded.
      attr_accessor :container_name


      #
      # Mapper for StorageEndpointProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_iot_hub-0.7.0 lib/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb
azure_mgmt_iot_hub-0.6.0 lib/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb
azure_mgmt_iot_hub-0.5.0 lib/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb