Class: Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobStreamInputDataSource
- Inherits:
-
StreamInputDataSource
- Object
- StreamInputDataSource
- Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobStreamInputDataSource
- 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
-
#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.
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
#container ⇒ String
account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests.
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_format ⇒ String
pathPattern, the value of this property is used as the date format instead.
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_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.
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_count ⇒ Integer
Range 1 - 256.
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_accounts ⇒ Array<StorageAccount>
accounts. Required on PUT (CreateOrReplace) requests.
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_format ⇒ String
pathPattern, the value of this property is used as the time format instead.
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 |
#type ⇒ Object
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
.mapper ⇒ Object
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 |