Class: Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureTableOutputDataSource

Inherits:
OutputDataSource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_table_output_data_source.rb

Overview

Describes an Azure Table output data source.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAzureTableOutputDataSource

Returns a new instance of AzureTableOutputDataSource.



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

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

Instance Attribute Details

#account_keyString

Required on PUT (CreateOrReplace) requests.

Returns:

  • (String)

    The account key for the Azure Storage account.



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

def 
  @account_key
end

#account_nameString

(CreateOrReplace) requests.

Returns:

  • (String)

    The name of the Azure Storage account. Required on PUT



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

def 
  @account_name
end

#batch_sizeInteger

time.

Returns:

  • (Integer)

    The number of rows to write to the Azure Table at a



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

def batch_size
  @batch_size
end

#columns_to_removeArray<String>

name of a column to remove (if present) from output event entities.

Returns:

  • (Array<String>)

    If specified, each item in the array is the



46
47
48
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_table_output_data_source.rb', line 46

def columns_to_remove
  @columns_to_remove
end

#partition_keyString

SELECT statement in the query that will be used as the partition key for the Azure Table. Required on PUT (CreateOrReplace) requests.

Returns:

  • (String)

    This element indicates the name of a column from the



37
38
39
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_table_output_data_source.rb', line 37

def partition_key
  @partition_key
end

#row_keyString

SELECT statement in the query that will be used as the row key for the Azure Table. Required on PUT (CreateOrReplace) requests.

Returns:

  • (String)

    This element indicates the name of a column from the



42
43
44
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_table_output_data_source.rb', line 42

def row_key
  @row_key
end

#tableString

(CreateOrReplace) requests.

Returns:

  • (String)

    The name of the Azure Table. Required on PUT



32
33
34
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_table_output_data_source.rb', line 32

def table
  @table
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end

Class Method Details

.mapperObject

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



57
58
59
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
138
139
140
141
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_table_output_data_source.rb', line 57

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Microsoft.Storage/Table',
    type: {
      name: 'Composite',
      class_name: 'AzureTableOutputDataSource',
      model_properties: {
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        account_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.accountName',
          type: {
            name: 'String'
          }
        },
        account_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.accountKey',
          type: {
            name: 'String'
          }
        },
        table: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.table',
          type: {
            name: 'String'
          }
        },
        partition_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.partitionKey',
          type: {
            name: 'String'
          }
        },
        row_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.rowKey',
          type: {
            name: 'String'
          }
        },
        columns_to_remove: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.columnsToRemove',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        batch_size: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.batchSize',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end