Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::ConnectToSourceSqlServerTaskOutputLoginLevel

Inherits:
ConnectToSourceSqlServerTaskOutput show all
Includes:
MsRestAzure
Defined in:
lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb

Overview

Login level output for the task that validates connection to SQL Server and also validates source server requirements

Instance Attribute Summary collapse

Attributes inherited from ConnectToSourceSqlServerTaskOutput

#id

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConnectToSourceSqlServerTaskOutputLoginLevel

Returns a new instance of ConnectToSourceSqlServerTaskOutputLoginLevel.



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

def initialize
  @resultType = "LoginLevelOutput"
end

Instance Attribute Details

#default_databaseString

Returns The default database for the login.

Returns:

  • (String)

    The default database for the login.



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

def default_database
  @default_database
end

#is_enabledBoolean

Returns The state of the login.

Returns:

  • (Boolean)

    The state of the login.



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

def is_enabled
  @is_enabled
end

#login_typeLoginType

‘WindowsUser’, ‘WindowsGroup’, ‘SqlLogin’, ‘Certificate’, ‘AsymmetricKey’, ‘ExternalUser’, ‘ExternalGroup’

Returns:

  • (LoginType)

    The type of login. Possible values include:



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

def 
  @login_type
end

#migration_eligibilityMigrationEligibilityInfo

login for migration.

Returns:



39
40
41
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb', line 39

def migration_eligibility
  @migration_eligibility
end

#nameString

Returns Login name.

Returns:

  • (String)

    Login name.



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

def name
  @name
end

#resultTypeObject

Returns the value of attribute resultType.



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

def resultType
  @resultType
end

Class Method Details

.mapperObject

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



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
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb', line 47

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LoginLevelOutput',
    type: {
      name: 'Composite',
      class_name: 'ConnectToSourceSqlServerTaskOutputLoginLevel',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        resultType: {
          client_side_validation: true,
          required: true,
          serialized_name: 'resultType',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        login_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'loginType',
          type: {
            name: 'String'
          }
        },
        default_database: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'defaultDatabase',
          type: {
            name: 'String'
          }
        },
        is_enabled: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'isEnabled',
          type: {
            name: 'Boolean'
          }
        },
        migration_eligibility: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'migrationEligibility',
          type: {
            name: 'Composite',
            class_name: 'MigrationEligibilityInfo'
          }
        }
      }
    }
  }
end