class Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobReferenceInputDataSource

Describes a blob input data source that contains reference data.

Attributes

container[RW]

@return [String] The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests.

date_format[RW]

@return [String] The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead.

path_pattern[RW]

@return [String] The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example.

storage_accounts[RW]

@return [Array<StorageAccount>] A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests.

time_format[RW]

@return [String] The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead.

type[RW]

Private Class Methods

mapper() click to toggle source

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

# File lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/blob_reference_input_data_source.rb, line 56
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Microsoft.Storage/Blob',
    type: {
      name: 'Composite',
      class_name: 'BlobReferenceInputDataSource',
      model_properties: {
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        storage_accounts: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.storageAccounts',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StorageAccountElementType',
                type: {
                  name: 'Composite',
                  class_name: 'StorageAccount'
                }
            }
          }
        },
        container: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.container',
          type: {
            name: 'String'
          }
        },
        path_pattern: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.pathPattern',
          type: {
            name: 'String'
          }
        },
        date_format: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.dateFormat',
          type: {
            name: 'String'
          }
        },
        time_format: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.timeFormat',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/blob_reference_input_data_source.rb, line 16
def initialize
  @type = "Microsoft.Storage/Blob"
end