Project Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Project() |
Initializes a new instance of the Project class. |
Project(String, String, String, String, IDictionary<String,String>, String, String, Nullable<DateTimeOffset>, ConnectionInfo, ConnectionInfo, IList<DatabaseInfo>, String) |
Initializes a new instance of the Project class. |
Project()
Initializes a new instance of the Project class.
public Project ();
Public Sub New ()
Applies to
Project(String, String, String, String, IDictionary<String,String>, String, String, Nullable<DateTimeOffset>, ConnectionInfo, ConnectionInfo, IList<DatabaseInfo>, String)
Initializes a new instance of the Project class.
public Project (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string sourcePlatform = default, string targetPlatform = default, DateTimeOffset? creationTime = default, Microsoft.Azure.Management.DataMigration.Models.ConnectionInfo sourceConnectionInfo = default, Microsoft.Azure.Management.DataMigration.Models.ConnectionInfo targetConnectionInfo = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataMigration.Models.DatabaseInfo> databasesInfo = default, string provisioningState = default);
new Microsoft.Azure.Management.DataMigration.Models.Project : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * Nullable<DateTimeOffset> * Microsoft.Azure.Management.DataMigration.Models.ConnectionInfo * Microsoft.Azure.Management.DataMigration.Models.ConnectionInfo * System.Collections.Generic.IList<Microsoft.Azure.Management.DataMigration.Models.DatabaseInfo> * string -> Microsoft.Azure.Management.DataMigration.Models.Project
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional sourcePlatform As String = Nothing, Optional targetPlatform As String = Nothing, Optional creationTime As Nullable(Of DateTimeOffset) = Nothing, Optional sourceConnectionInfo As ConnectionInfo = Nothing, Optional targetConnectionInfo As ConnectionInfo = Nothing, Optional databasesInfo As IList(Of DatabaseInfo) = Nothing, Optional provisioningState As String = Nothing)
Parameters
- location
- String
Resource location.
- id
- String
Resource ID.
- name
- String
Resource name.
- type
- String
Resource type.
- tags
- IDictionary<String,String>
Resource tags.
- sourcePlatform
- String
Source platform for the project Possible values include: 'SQL', 'MySQL', 'PostgreSql', 'MongoDb', 'Unknown'
- targetPlatform
- String
Target platform for the project Possible values include: 'SQLDB', 'SQLMI', 'AzureDbForMySql', 'AzureDbForPostgreSql', 'MongoDb', 'Unknown'
- creationTime
- Nullable<DateTimeOffset>
UTC Date and time when project was created
- sourceConnectionInfo
- ConnectionInfo
Information for connecting to source
- targetConnectionInfo
- ConnectionInfo
Information for connecting to target
- databasesInfo
- IList<DatabaseInfo>
List of DatabaseInfo
- provisioningState
- String
The project's provisioning state Possible values include: 'Deleting', 'Succeeded'