Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::DatabaseFileInfo

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

Overview

Database file specific information

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#database_nameString

Returns Name of the database.

Returns:

  • (String)

    Name of the database



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

def database_name
  @database_name
end

#file_typeDatabaseFileType

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

Returns:



32
33
34
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_file_info.rb', line 32

def file_type
  @file_type
end

#idString

Returns Unique identifier for database file.

Returns:

  • (String)

    Unique identifier for database file



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

def id
  @id
end

#logical_nameString

Returns Logical name of the file.

Returns:

  • (String)

    Logical name of the file



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

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



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

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



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

def restore_full_name
  @restore_full_name
end

#size_mbFloat

Returns Size of the file in megabytes.

Returns:

  • (Float)

    Size of the file in megabytes



35
36
37
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_file_info.rb', line 35

def size_mb
  @size_mb
end

Class Method Details

.mapperObject

Mapper for DatabaseFileInfo 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
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_file_info.rb', line 42

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DatabaseFileInfo',
    type: {
      name: 'Composite',
      class_name: 'DatabaseFileInfo',
      model_properties: {
        database_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'databaseName',
          type: {
            name: 'String'
          }
        },
        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'
          }
        },
        size_mb: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sizeMB',
          type: {
            name: 'Double'
          }
        }
      }
    }
  }
end