Class: Azure::ARM::StreamAnalytics::Models::BlobStreamInputDataSource

Inherits:
StreamInputDataSource show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb

Overview

Describes a blob input data source that contains stream data.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBlobStreamInputDataSource

Returns a new instance of BlobStreamInputDataSource.



17
18
19
# File 'lib/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb', line 17

def initialize
  @type = "Microsoft.Storage/Blob"
end

Instance Attribute Details

#containerString

account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests.

Returns:

  • (String)

    The name of a container within the associated Storage



30
31
32
# File 'lib/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb', line 30

def container
  @container
end

#date_formatString

pathPattern, the value of this property is used as the date format instead.

Returns:

  • (String)

    The date format. Wherever date appears in



45
46
47
# File 'lib/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb', line 45

def date_format
  @date_format
end

#path_patternString

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.

Returns:

  • (String)

    The blob path pattern. Not a regular expression. It



40
41
42
# File 'lib/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb', line 40

def path_pattern
  @path_pattern
end

#source_partition_countInteger

Range 1 - 256.

Returns:

  • (Integer)

    The partition count of the blob input data source.



54
55
56
# File 'lib/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb', line 54

def source_partition_count
  @source_partition_count
end

#storage_accountsArray<StorageAccount>

accounts. Required on PUT (CreateOrReplace) requests.

Returns:



25
26
27
# File 'lib/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb', line 25

def storage_accounts
  @storage_accounts
end

#time_formatString

pathPattern, the value of this property is used as the time format instead.

Returns:

  • (String)

    The time format. Wherever time appears in



50
51
52
# File 'lib/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb', line 50

def time_format
  @time_format
end

#typeObject

Returns the value of attribute type.



21
22
23
# File 'lib/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb', line 21

def type
  @type
end

Class Method Details

.mapperObject

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



61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# File 'lib/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb', line 61

def self.mapper()
  {
    required: false,
    serialized_name: 'Microsoft.Storage/Blob',
    type: {
      name: 'Composite',
      class_name: 'BlobStreamInputDataSource',
      model_properties: {
        type: {
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        storage_accounts: {
          required: false,
          serialized_name: 'properties.storageAccounts',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'StorageAccountElementType',
                type: {
                  name: 'Composite',
                  class_name: 'StorageAccount'
                }
            }
          }
        },
        container: {
          required: false,
          serialized_name: 'properties.container',
          type: {
            name: 'String'
          }
        },
        path_pattern: {
          required: false,
          serialized_name: 'properties.pathPattern',
          type: {
            name: 'String'
          }
        },
        date_format: {
          required: false,
          serialized_name: 'properties.dateFormat',
          type: {
            name: 'String'
          }
        },
        time_format: {
          required: false,
          serialized_name: 'properties.timeFormat',
          type: {
            name: 'String'
          }
        },
        source_partition_count: {
          required: false,
          serialized_name: 'properties.sourcePartitionCount',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end