Class: Azure::DataFactory::Mgmt::V2018_06_01::Models::FtpReadSettings

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

Overview

Ftp 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

#initializeFtpReadSettings

Returns a new instance of FtpReadSettings.



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

def initialize
  @type = "FtpReadSettings"
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



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

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/ftp_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



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

def file_list_path
  @file_list_path
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/ftp_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/ftp_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/ftp_read_settings.rb', line 20

def type
  @type
end

#use_binary_transferBoolean

stores.

Returns:

  • (Boolean)

    Specify whether to use binary transfer mode for FTP



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

def use_binary_transfer
  @use_binary_transfer
end

#wildcard_file_nameObject

resultType string).

Returns:

  • Ftp wildcardFileName. Type: string (or Expression with



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

def wildcard_file_name
  @wildcard_file_name
end

#wildcard_folder_pathObject

resultType string).

Returns:

  • Ftp wildcardFolderPath. Type: string (or Expression with



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

def wildcard_folder_path
  @wildcard_folder_path
end

Class Method Details

.mapperObject

Mapper for FtpReadSettings 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
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
# File 'lib/2018-06-01/generated/azure_mgmt_data_factory/models/ftp_read_settings.rb', line 60

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'FtpReadSettings',
    type: {
      name: 'Composite',
      class_name: 'FtpReadSettings',
      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'
          }
        },
        delete_files_after_completion: {
          client_side_validation: true,
          required: false,
          serialized_name: 'deleteFilesAfterCompletion',
          type: {
            name: 'Object'
          }
        },
        file_list_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'fileListPath',
          type: {
            name: 'Object'
          }
        },
        use_binary_transfer: {
          client_side_validation: true,
          required: false,
          serialized_name: 'useBinaryTransfer',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end