Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::DatabaseFileInput

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_file_input.rb

Overview

Database file specific information for input

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#file_typeDatabaseFileType

‘Rows’, ‘Log’, ‘Filestream’, ‘NotSupported’, ‘Fulltext’

Returns:



29
30
31
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_file_input.rb', line 29

def file_type
  @file_type
end

#idString

Returns Unique identifier for database file.

Returns:

  • (String)

    Unique identifier for database file



16
17
18
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_file_input.rb', line 16

def id
  @id
end

#logical_nameString

Returns Logical name of the file.

Returns:

  • (String)

    Logical name of the file



19
20
21
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_file_input.rb', line 19

def logical_name
  @logical_name
end

#physical_full_nameString

Returns Operating-system full path of the file.

Returns:

  • (String)

    Operating-system full path of the file



22
23
24
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_file_input.rb', line 22

def physical_full_name
  @physical_full_name
end

#restore_full_nameString

Returns Suggested full path of the file for restoring.

Returns:

  • (String)

    Suggested full path of the file for restoring



25
26
27
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_file_input.rb', line 25

def restore_full_name
  @restore_full_name
end

Class Method Details

.mapperObject

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



36
37
38
39
40
41
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
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_file_input.rb', line 36

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DatabaseFileInput',
    type: {
      name: 'Composite',
      class_name: 'DatabaseFileInput',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        logical_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'logicalName',
          type: {
            name: 'String'
          }
        },
        physical_full_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'physicalFullName',
          type: {
            name: 'String'
          }
        },
        restore_full_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'restoreFullName',
          type: {
            name: 'String'
          }
        },
        file_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'fileType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end