Class: Azure::ARM::StreamAnalytics::Models::BlobStreamInputDataSource
- Inherits:
-
StreamInputDataSource
- Object
- StreamInputDataSource
- Azure::ARM::StreamAnalytics::Models::BlobStreamInputDataSource
- 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
-
#container ⇒ String
account.
-
#date_format ⇒ String
pathPattern, the value of this property is used as the date format instead.
-
#path_pattern ⇒ String
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.
-
#source_partition_count ⇒ Integer
Range 1 - 256.
-
#storage_accounts ⇒ Array<StorageAccount>
accounts.
-
#time_format ⇒ String
pathPattern, the value of this property is used as the time format instead.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BlobStreamInputDataSource class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ BlobStreamInputDataSource
constructor
A new instance of BlobStreamInputDataSource.
Constructor Details
#initialize ⇒ BlobStreamInputDataSource
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
#container ⇒ String
account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests.
30 31 32 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb', line 30 def container @container end |
#date_format ⇒ String
pathPattern, the value of this property is used as the date format instead.
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_pattern ⇒ String
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.
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_count ⇒ Integer
Range 1 - 256.
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_accounts ⇒ Array<StorageAccount>
accounts. Required on PUT (CreateOrReplace) requests.
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_format ⇒ String
pathPattern, the value of this property is used as the time format instead.
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 |
#type ⇒ Object
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
.mapper ⇒ Object
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 |