Class: Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobStreamInputDataSource

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



16
17
18
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb', line 16

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



29
30
31
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb', line 29

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



44
45
46
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb', line 44

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



39
40
41
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb', line 39

def path_pattern
  @path_pattern
end

#source_partition_countInteger

Range 1 - 256.

Returns:

  • (Integer)

    The partition count of the blob input data source.



53
54
55
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb', line 53

def source_partition_count
  @source_partition_count
end

#storage_accountsArray<StorageAccount>

accounts. Required on PUT (CreateOrReplace) requests.

Returns:



24
25
26
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb', line 24

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



49
50
51
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb', line 49

def time_format
  @time_format
end

#typeObject

Returns the value of attribute type.



20
21
22
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb', line 20

def type
  @type
end

Class Method Details

.mapperObject

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



60
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
130
131
132
133
134
135
136
137
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb', line 60

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Microsoft.Storage/Blob',
    type: {
      name: 'Composite',
      class_name: 'BlobStreamInputDataSource',
      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'
          }
        },
        source_partition_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.sourcePartitionCount',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end