Class: Azure::Web::Mgmt::V2018_02_01::Models::MigrateMySqlStatus

Inherits:
ProxyOnlyResource show all
Includes:
MsRestAzure
Defined in:
lib/2018-02-01/generated/azure_mgmt_web/models/migrate_my_sql_status.rb

Overview

MySQL migration status.

Instance Attribute Summary collapse

Attributes inherited from ProxyOnlyResource

#id, #kind, #name, #type

Class Method Summary collapse

Instance Attribute Details

#local_my_sql_enabledBoolean

Returns True if the web app has in app MySql enabled.

Returns:

  • (Boolean)

    True if the web app has in app MySql enabled



23
24
25
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/migrate_my_sql_status.rb', line 23

def local_my_sql_enabled
  @local_my_sql_enabled
end

#migration_operation_statusOperationStatus

include: ‘InProgress’, ‘Failed’, ‘Succeeded’, ‘TimedOut’, ‘Created’

Returns:



17
18
19
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/migrate_my_sql_status.rb', line 17

def migration_operation_status
  @migration_operation_status
end

#operation_idString

Returns Operation ID for the migration task.

Returns:

  • (String)

    Operation ID for the migration task.



20
21
22
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/migrate_my_sql_status.rb', line 20

def operation_id
  @operation_id
end

Class Method Details

.mapperObject

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



30
31
32
33
34
35
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/migrate_my_sql_status.rb', line 30

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'MigrateMySqlStatus',
    type: {
      name: 'Composite',
      class_name: 'MigrateMySqlStatus',
      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'
          }
        },
        kind: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        migration_operation_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.migrationOperationStatus',
          type: {
            name: 'Enum',
            module: 'OperationStatus'
          }
        },
        operation_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.operationId',
          type: {
            name: 'String'
          }
        },
        local_my_sql_enabled: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.localMySqlEnabled',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end