ArmDataMigrationModelFactory.DataMigrationProjectData Method
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.
Initializes a new instance of DataMigrationProjectData.
public static Azure.ResourceManager.DataMigration.DataMigrationProjectData DataMigrationProjectData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ETag? etag = default, Azure.ResourceManager.DataMigration.Models.DataMigrationProjectSourcePlatform? sourcePlatform = default, Azure.ResourceManager.DataMigration.Models.DataMigrationAadApp azureAuthenticationInfo = default, Azure.ResourceManager.DataMigration.Models.DataMigrationProjectTargetPlatform? targetPlatform = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.DataMigration.Models.ServerConnectionInfo sourceConnectionInfo = default, Azure.ResourceManager.DataMigration.Models.ServerConnectionInfo targetConnectionInfo = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.DataMigrationProjectDatabaseInfo> databasesInfo = default, Azure.ResourceManager.DataMigration.Models.DataMigrationProjectProvisioningState? provisioningState = default);
static member DataMigrationProjectData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ETag> * Nullable<Azure.ResourceManager.DataMigration.Models.DataMigrationProjectSourcePlatform> * Azure.ResourceManager.DataMigration.Models.DataMigrationAadApp * Nullable<Azure.ResourceManager.DataMigration.Models.DataMigrationProjectTargetPlatform> * Nullable<DateTimeOffset> * Azure.ResourceManager.DataMigration.Models.ServerConnectionInfo * Azure.ResourceManager.DataMigration.Models.ServerConnectionInfo * seq<Azure.ResourceManager.DataMigration.Models.DataMigrationProjectDatabaseInfo> * Nullable<Azure.ResourceManager.DataMigration.Models.DataMigrationProjectProvisioningState> -> Azure.ResourceManager.DataMigration.DataMigrationProjectData
Public Shared Function DataMigrationProjectData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional sourcePlatform As Nullable(Of DataMigrationProjectSourcePlatform) = Nothing, Optional azureAuthenticationInfo As DataMigrationAadApp = Nothing, Optional targetPlatform As Nullable(Of DataMigrationProjectTargetPlatform) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional sourceConnectionInfo As ServerConnectionInfo = Nothing, Optional targetConnectionInfo As ServerConnectionInfo = Nothing, Optional databasesInfo As IEnumerable(Of DataMigrationProjectDatabaseInfo) = Nothing, Optional provisioningState As Nullable(Of DataMigrationProjectProvisioningState) = Nothing) As DataMigrationProjectData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- sourcePlatform
- Nullable<DataMigrationProjectSourcePlatform>
Source platform for the project.
- azureAuthenticationInfo
- DataMigrationAadApp
Field that defines the Azure active directory application info, used to connect to the target Azure resource.
- targetPlatform
- Nullable<DataMigrationProjectTargetPlatform>
Target platform for the project.
- createdOn
- Nullable<DateTimeOffset>
UTC Date and time when project was created.
- sourceConnectionInfo
- ServerConnectionInfo
Information for connecting to source Please note ServerConnectionInfo is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DataMigrationMISqlConnectionInfo, DataMigrationMongoDBConnectionInfo, DataMigrationMySqlConnectionInfo, DataMigrationOracleConnectionInfo, DataMigrationPostgreSqlConnectionInfo and DataMigrationSqlConnectionInfo.
- targetConnectionInfo
- ServerConnectionInfo
Information for connecting to target Please note ServerConnectionInfo is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DataMigrationMISqlConnectionInfo, DataMigrationMongoDBConnectionInfo, DataMigrationMySqlConnectionInfo, DataMigrationOracleConnectionInfo, DataMigrationPostgreSqlConnectionInfo and DataMigrationSqlConnectionInfo.
- databasesInfo
- IEnumerable<DataMigrationProjectDatabaseInfo>
List of DatabaseInfo.
- provisioningState
- Nullable<DataMigrationProjectProvisioningState>
The project's provisioning state.
Returns
A new DataMigrationProjectData instance for mocking.