Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::Project
- Inherits:
-
TrackedResource
- Object
- Resource
- TrackedResource
- Azure::DataMigration::Mgmt::V2018_04_19::Models::Project
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-19/generated/azure_mgmt_data_migration/models/project.rb
Overview
A project resource
Instance Attribute Summary collapse
-
#creation_time ⇒ DateTime
UTC Date and time when project was created.
-
#databases_info ⇒ Array<DatabaseInfo>
List of DatabaseInfo.
-
#provisioning_state ⇒ ProjectProvisioningState
Possible values include: ‘Deleting’, ‘Succeeded’.
-
#source_connection_info ⇒ ConnectionInfo
Information for connecting to source.
-
#source_platform ⇒ ProjectSourcePlatform
Possible values include: ‘SQL’, ‘Unknown’.
-
#target_connection_info ⇒ ConnectionInfo
Information for connecting to target.
-
#target_platform ⇒ ProjectTargetPlatform
Possible values include: ‘SQLDB’, ‘Unknown’.
Attributes inherited from TrackedResource
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Project class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#creation_time ⇒ DateTime
Returns UTC Date and time when project was created.
24 25 26 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/project.rb', line 24 def creation_time @creation_time end |
#databases_info ⇒ Array<DatabaseInfo>
Returns List of DatabaseInfo.
33 34 35 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/project.rb', line 33 def databases_info @databases_info end |
#provisioning_state ⇒ ProjectProvisioningState
Possible values include: ‘Deleting’, ‘Succeeded’
37 38 39 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/project.rb', line 37 def provisioning_state @provisioning_state end |
#source_connection_info ⇒ ConnectionInfo
Returns Information for connecting to source.
27 28 29 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/project.rb', line 27 def source_connection_info @source_connection_info end |
#source_platform ⇒ ProjectSourcePlatform
Possible values include: ‘SQL’, ‘Unknown’
17 18 19 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/project.rb', line 17 def source_platform @source_platform end |
#target_connection_info ⇒ ConnectionInfo
Returns Information for connecting to target.
30 31 32 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/project.rb', line 30 def target_connection_info @target_connection_info end |
#target_platform ⇒ ProjectTargetPlatform
Possible values include: ‘SQLDB’, ‘Unknown’
21 22 23 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/project.rb', line 21 def target_platform @target_platform end |
Class Method Details
.mapper ⇒ Object
Mapper for Project class as Ruby Hash. This will be used for serialization/deserialization.
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 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 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/project.rb', line 44 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Project', type: { name: 'Composite', class_name: 'Project', 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' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, location: { client_side_validation: true, required: true, serialized_name: 'location', type: { name: 'String' } }, source_platform: { client_side_validation: true, required: true, serialized_name: 'properties.sourcePlatform', type: { name: 'String' } }, target_platform: { client_side_validation: true, required: true, serialized_name: 'properties.targetPlatform', type: { name: 'String' } }, creation_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationTime', type: { name: 'DateTime' } }, source_connection_info: { client_side_validation: true, required: false, serialized_name: 'properties.sourceConnectionInfo', type: { name: 'Composite', polymorphic_discriminator: 'type', uber_parent: 'ConnectionInfo', class_name: 'ConnectionInfo' } }, target_connection_info: { client_side_validation: true, required: false, serialized_name: 'properties.targetConnectionInfo', type: { name: 'Composite', polymorphic_discriminator: 'type', uber_parent: 'ConnectionInfo', class_name: 'ConnectionInfo' } }, databases_info: { client_side_validation: true, required: false, serialized_name: 'properties.databasesInfo', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'DatabaseInfoElementType', type: { name: 'Composite', class_name: 'DatabaseInfo' } } } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } } } } } end |