Class: Azure::DataFactory::Mgmt::V2018_06_01::Models::RestSink

Inherits:
CopySink
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01/generated/azure_mgmt_data_factory/models/rest_sink.rb

Overview

A copy activity Rest service Sink.

Instance Attribute Summary collapse

Attributes inherited from CopySink

#additional_properties, #max_concurrent_connections, #sink_retry_count, #sink_retry_wait, #write_batch_size, #write_batch_timeout

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRestSink

Returns a new instance of RestSink.



16
17
18
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/rest_sink.rb', line 16

def initialize
  @type = "RestSink"
end

Instance Attribute Details

#additional_headersObject

Type: string (or Expression with resultType string).

Returns:

  • The additional HTTP headers in the request to the RESTful API.



28
29
30
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/rest_sink.rb', line 28

def additional_headers
  @additional_headers
end

#http_compression_typeObject

Optimal Compression Level, Default is None. And The Only Supported option is Gzip.

Returns:

  • Http Compression Type to Send data in compressed format with



42
43
44
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/rest_sink.rb', line 42

def http_compression_type
  @http_compression_type
end

#http_request_timeoutObject

timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((d+).)?(dd):(60|([0-9])):(60|([0-9])).

Returns:

  • The timeout (TimeSpan) to get an HTTP response. It is the



34
35
36
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/rest_sink.rb', line 34

def http_request_timeout
  @http_request_timeout
end

#request_intervalObject

Returns The time to await before sending next request, in milliseconds.

Returns:

  • The time to await before sending next request, in milliseconds



37
38
39
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/rest_sink.rb', line 37

def request_interval
  @request_interval
end

#request_methodObject

POST. Type: string (or Expression with resultType string).

Returns:

  • The HTTP method used to call the RESTful API. The default is



24
25
26
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/rest_sink.rb', line 24

def request_method
  @request_method
end

#typeObject

Returns the value of attribute type.



20
21
22
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/rest_sink.rb', line 20

def type
  @type
end

Class Method Details

.mapperObject

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



49
50
51
52
53
54
55
56
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/rest_sink.rb', line 49

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RestSink',
    type: {
      name: 'Composite',
      class_name: 'RestSink',
      model_properties: {
        additional_properties: {
          client_side_validation: true,
          required: false,
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        write_batch_size: {
          client_side_validation: true,
          required: false,
          serialized_name: 'writeBatchSize',
          type: {
            name: 'Object'
          }
        },
        write_batch_timeout: {
          client_side_validation: true,
          required: false,
          serialized_name: 'writeBatchTimeout',
          type: {
            name: 'Object'
          }
        },
        sink_retry_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sinkRetryCount',
          type: {
            name: 'Object'
          }
        },
        sink_retry_wait: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sinkRetryWait',
          type: {
            name: 'Object'
          }
        },
        max_concurrent_connections: {
          client_side_validation: true,
          required: false,
          serialized_name: 'maxConcurrentConnections',
          type: {
            name: 'Object'
          }
        },
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        request_method: {
          client_side_validation: true,
          required: false,
          serialized_name: 'requestMethod',
          type: {
            name: 'Object'
          }
        },
        additional_headers: {
          client_side_validation: true,
          required: false,
          serialized_name: 'additionalHeaders',
          type: {
            name: 'Object'
          }
        },
        http_request_timeout: {
          client_side_validation: true,
          required: false,
          serialized_name: 'httpRequestTimeout',
          type: {
            name: 'Object'
          }
        },
        request_interval: {
          client_side_validation: true,
          required: false,
          serialized_name: 'requestInterval',
          type: {
            name: 'Object'
          }
        },
        http_compression_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'httpCompressionType',
          type: {
            name: 'Object'
          }
        }
      }
    }
  }
end