Class: Azure::DataShare::Mgmt::V2018_11_01_preview::Models::ADLSGen2FileDataSetMapping
- Inherits:
-
DataSetMapping
- Object
- ProxyDto
- DataSetMapping
- Azure::DataShare::Mgmt::V2018_11_01_preview::Models::ADLSGen2FileDataSetMapping
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/adlsgen2file_data_set_mapping.rb
Overview
An ADLS Gen2 file dataset mapping.
Instance Attribute Summary collapse
-
#data_set_id ⇒ String
Gets the id of source dataset.
-
#data_set_mapping_status ⇒ DataSetMappingStatus
Possible values include: ‘Ok’, ‘Broken’.
-
#file_path ⇒ String
File path within the file system.
-
#file_system ⇒ String
File system to which the file belongs.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#output_type ⇒ OutputType
‘Csv’, ‘Parquet’.
-
#resource_group ⇒ String
Resource group of storage account.
-
#storage_account_name ⇒ String
Storage account name of the source data set.
-
#subscription_id ⇒ String
Subscription id of storage account.
Attributes inherited from ProxyDto
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ADLSGen2FileDataSetMapping class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ADLSGen2FileDataSetMapping
constructor
A new instance of ADLSGen2FileDataSetMapping.
Constructor Details
#initialize ⇒ ADLSGen2FileDataSetMapping
Returns a new instance of ADLSGen2FileDataSetMapping.
16 17 18 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/adlsgen2file_data_set_mapping.rb', line 16 def initialize @kind = "AdlsGen2File" end |
Instance Attribute Details
#data_set_id ⇒ String
Returns Gets the id of source dataset.
23 24 25 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/adlsgen2file_data_set_mapping.rb', line 23 def data_set_id @data_set_id end |
#data_set_mapping_status ⇒ DataSetMappingStatus
Possible values include: ‘Ok’, ‘Broken’
27 28 29 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/adlsgen2file_data_set_mapping.rb', line 27 def data_set_mapping_status @data_set_mapping_status end |
#file_path ⇒ String
Returns File path within the file system.
30 31 32 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/adlsgen2file_data_set_mapping.rb', line 30 def file_path @file_path end |
#file_system ⇒ String
Returns File system to which the file belongs.
33 34 35 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/adlsgen2file_data_set_mapping.rb', line 33 def file_system @file_system end |
#kind ⇒ Object
Returns the value of attribute kind.
20 21 22 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/adlsgen2file_data_set_mapping.rb', line 20 def kind @kind end |
#output_type ⇒ OutputType
‘Csv’, ‘Parquet’
37 38 39 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/adlsgen2file_data_set_mapping.rb', line 37 def output_type @output_type end |
#resource_group ⇒ String
Returns Resource group of storage account.
40 41 42 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/adlsgen2file_data_set_mapping.rb', line 40 def resource_group @resource_group end |
#storage_account_name ⇒ String
Returns Storage account name of the source data set.
43 44 45 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/adlsgen2file_data_set_mapping.rb', line 43 def storage_account_name @storage_account_name end |
#subscription_id ⇒ String
Returns Subscription id of storage account.
46 47 48 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/adlsgen2file_data_set_mapping.rb', line 46 def subscription_id @subscription_id end |
Class Method Details
.mapper ⇒ Object
Mapper for ADLSGen2FileDataSetMapping class as Ruby Hash. This will be used for serialization/deserialization.
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-11-01-preview/generated/azure_mgmt_datashare/models/adlsgen2file_data_set_mapping.rb', line 53 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AdlsGen2File', type: { name: 'Composite', class_name: 'ADLSGen2FileDataSetMapping', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, kind: { client_side_validation: true, required: true, serialized_name: 'kind', type: { name: 'String' } }, data_set_id: { client_side_validation: true, required: false, serialized_name: 'properties.dataSetId', type: { name: 'String' } }, data_set_mapping_status: { client_side_validation: true, required: false, serialized_name: 'properties.dataSetMappingStatus', type: { name: 'String' } }, file_path: { client_side_validation: true, required: true, serialized_name: 'properties.filePath', type: { name: 'String' } }, file_system: { client_side_validation: true, required: true, serialized_name: 'properties.fileSystem', type: { name: 'String' } }, output_type: { client_side_validation: true, required: false, serialized_name: 'properties.outputType', type: { name: 'String' } }, resource_group: { client_side_validation: true, required: true, serialized_name: 'properties.resourceGroup', type: { name: 'String' } }, storage_account_name: { client_side_validation: true, required: true, serialized_name: 'properties.storageAccountName', type: { name: 'String' } }, subscription_id: { client_side_validation: true, required: true, serialized_name: 'properties.subscriptionId', type: { name: 'String' } } } } } end |