Class: Azure::DataFactory::Mgmt::V2018_06_01::Models::SftpReadSettings

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

Overview

Sftp read settings.

Instance Attribute Summary collapse

Attributes inherited from StoreReadSettings

#additional_properties, #max_concurrent_connections

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSftpReadSettings

Returns a new instance of SftpReadSettings.



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

def initialize
  @type = "SftpReadSettings"
end

Instance Attribute Details

#delete_files_after_completionObject

copy completion. Default is false. Type: boolean (or Expression with resultType boolean).

Returns:

  • Indicates whether the source files need to be deleted after



49
50
51
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/sftp_read_settings.rb', line 49

def delete_files_after_completion
  @delete_files_after_completion
end

#enable_partition_discoveryBoolean

Returns Indicates whether to enable partition discovery.

Returns:

  • (Boolean)

    Indicates whether to enable partition discovery.



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

def enable_partition_discovery
  @enable_partition_discovery
end

#file_list_pathObject

path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string).

Returns:

  • Point to a text file that lists each file (relative path to the



44
45
46
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/sftp_read_settings.rb', line 44

def file_list_path
  @file_list_path
end

#modified_datetime_endObject

Expression with resultType string).

Returns:

  • The end of file’s modified datetime. Type: string (or



57
58
59
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/sftp_read_settings.rb', line 57

def modified_datetime_end
  @modified_datetime_end
end

#modified_datetime_startObject

Expression with resultType string).

Returns:

  • The start of file’s modified datetime. Type: string (or



53
54
55
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/sftp_read_settings.rb', line 53

def modified_datetime_start
  @modified_datetime_start
end

#partition_root_pathObject

Type: string (or Expression with resultType string).

Returns:

  • Specify the root path where partition discovery starts from.



39
40
41
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/sftp_read_settings.rb', line 39

def partition_root_path
  @partition_root_path
end

#recursiveObject

Default is true. Type: boolean (or Expression with resultType boolean).

Returns:

  • If true, files under the folder path will be read recursively.



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

def recursive
  @recursive
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end

#wildcard_file_nameObject

resultType string).

Returns:

  • Sftp wildcardFileName. Type: string (or Expression with



32
33
34
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/sftp_read_settings.rb', line 32

def wildcard_file_name
  @wildcard_file_name
end

#wildcard_folder_pathObject

resultType string).

Returns:

  • Sftp wildcardFolderPath. Type: string (or Expression with



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

def wildcard_folder_path
  @wildcard_folder_path
end

Class Method Details

.mapperObject

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



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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/sftp_read_settings.rb', line 64

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SftpReadSettings',
    type: {
      name: 'Composite',
      class_name: 'SftpReadSettings',
      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'
                }
            }
          }
        },
        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'
          }
        },
        recursive: {
          client_side_validation: true,
          required: false,
          serialized_name: 'recursive',
          type: {
            name: 'Object'
          }
        },
        wildcard_folder_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'wildcardFolderPath',
          type: {
            name: 'Object'
          }
        },
        wildcard_file_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'wildcardFileName',
          type: {
            name: 'Object'
          }
        },
        enable_partition_discovery: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enablePartitionDiscovery',
          type: {
            name: 'Boolean'
          }
        },
        partition_root_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'partitionRootPath',
          type: {
            name: 'Object'
          }
        },
        file_list_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'fileListPath',
          type: {
            name: 'Object'
          }
        },
        delete_files_after_completion: {
          client_side_validation: true,
          required: false,
          serialized_name: 'deleteFilesAfterCompletion',
          type: {
            name: 'Object'
          }
        },
        modified_datetime_start: {
          client_side_validation: true,
          required: false,
          serialized_name: 'modifiedDatetimeStart',
          type: {
            name: 'Object'
          }
        },
        modified_datetime_end: {
          client_side_validation: true,
          required: false,
          serialized_name: 'modifiedDatetimeEnd',
          type: {
            name: 'Object'
          }
        }
      }
    }
  }
end