Class: Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::AzureDataLakeStoreDataset

Inherits:
Dataset
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_data_lake_store_dataset.rb

Overview

Azure Data Lake Store dataset.

Instance Attribute Summary collapse

Attributes inherited from Dataset

#additional_properties, #annotations, #description, #linked_service_name, #parameters, #structure

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAzureDataLakeStoreDataset

Returns a new instance of AzureDataLakeStoreDataset.



16
17
18
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_data_lake_store_dataset.rb', line 16

def initialize
  @type = "AzureDataLakeStoreFile"
end

Instance Attribute Details

#compressionDatasetCompression

item(s) in the Azure Data Lake Store.

Returns:



35
36
37
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_data_lake_store_dataset.rb', line 35

def compression
  @compression
end

#file_nameObject

(or Expression with resultType string).

Returns:

  • The name of the file in the Azure Data Lake Store. Type: string



28
29
30
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_data_lake_store_dataset.rb', line 28

def file_name
  @file_name
end

#folder_pathObject

(or Expression with resultType string).

Returns:

  • Path to the folder in the Azure Data Lake Store. Type: string



24
25
26
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_data_lake_store_dataset.rb', line 24

def folder_path
  @folder_path
end

#formatDatasetStorageFormat

Returns The format of the Data Lake Store.

Returns:



31
32
33
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_data_lake_store_dataset.rb', line 31

def format
  @format
end

#typeObject

Returns the value of attribute type.



20
21
22
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_data_lake_store_dataset.rb', line 20

def type
  @type
end

Class Method Details

.mapperObject

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



42
43
44
45
46
47
48
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
165
166
167
168
169
170
171
172
173
174
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_data_lake_store_dataset.rb', line 42

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureDataLakeStoreFile',
    type: {
      name: 'Composite',
      class_name: 'AzureDataLakeStoreDataset',
      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'
                }
            }
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        },
        structure: {
          client_side_validation: true,
          required: false,
          serialized_name: 'structure',
          type: {
            name: 'Object'
          }
        },
        linked_service_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'linkedServiceName',
          default_value: {},
          type: {
            name: 'Composite',
            class_name: 'LinkedServiceReference'
          }
        },
        parameters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'parameters',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ParameterSpecificationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ParameterSpecification'
                }
            }
          }
        },
        annotations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'annotations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        folder_path: {
          client_side_validation: true,
          required: true,
          serialized_name: 'typeProperties.folderPath',
          type: {
            name: 'Object'
          }
        },
        file_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.fileName',
          type: {
            name: 'Object'
          }
        },
        format: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.format',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'type',
            uber_parent: 'DatasetStorageFormat',
            class_name: 'DatasetStorageFormat'
          }
        },
        compression: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.compression',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'type',
            uber_parent: 'DatasetCompression',
            class_name: 'DatasetCompression'
          }
        }
      }
    }
  }
end