ArmDataMigrationModelFactory.ProjectData Method

Definition

Initializes a new instance of ProjectData.

public static Azure.ResourceManager.DataMigration.ProjectData ProjectData (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.ProjectSourcePlatform? sourcePlatform = default, Azure.ResourceManager.DataMigration.Models.AzureActiveDirectoryApp azureAuthenticationInfo = default, Azure.ResourceManager.DataMigration.Models.ProjectTargetPlatform? targetPlatform = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.DataMigration.Models.ConnectionInfo sourceConnectionInfo = default, Azure.ResourceManager.DataMigration.Models.ConnectionInfo targetConnectionInfo = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.DatabaseInfo> databasesInfo = default, Azure.ResourceManager.DataMigration.Models.ProjectProvisioningState? provisioningState = default);
static member ProjectData : 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.ProjectSourcePlatform> * Azure.ResourceManager.DataMigration.Models.AzureActiveDirectoryApp * Nullable<Azure.ResourceManager.DataMigration.Models.ProjectTargetPlatform> * Nullable<DateTimeOffset> * Azure.ResourceManager.DataMigration.Models.ConnectionInfo * Azure.ResourceManager.DataMigration.Models.ConnectionInfo * seq<Azure.ResourceManager.DataMigration.Models.DatabaseInfo> * Nullable<Azure.ResourceManager.DataMigration.Models.ProjectProvisioningState> -> Azure.ResourceManager.DataMigration.ProjectData
Public Shared Function ProjectData (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 ProjectSourcePlatform) = Nothing, Optional azureAuthenticationInfo As AzureActiveDirectoryApp = Nothing, Optional targetPlatform As Nullable(Of ProjectTargetPlatform) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional sourceConnectionInfo As ConnectionInfo = Nothing, Optional targetConnectionInfo As ConnectionInfo = Nothing, Optional databasesInfo As IEnumerable(Of DatabaseInfo) = Nothing, Optional provisioningState As Nullable(Of ProjectProvisioningState) = Nothing) As ProjectData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

etag
Nullable<ETag>

HTTP strong entity tag value. This is ignored if submitted.

sourcePlatform
Nullable<ProjectSourcePlatform>

Source platform for the project.

azureAuthenticationInfo
AzureActiveDirectoryApp

Field that defines the Azure active directory application info, used to connect to the target Azure resource.

targetPlatform
Nullable<ProjectTargetPlatform>

Target platform for the project.

createdOn
Nullable<DateTimeOffset>

UTC Date and time when project was created.

sourceConnectionInfo
ConnectionInfo

Information for connecting to source Please note ConnectionInfo 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 MISqlConnectionInfo, MongoDBConnectionInfo, MySqlConnectionInfo, OracleConnectionInfo, PostgreSqlConnectionInfo and SqlConnectionInfo.

targetConnectionInfo
ConnectionInfo

Information for connecting to target Please note ConnectionInfo 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 MISqlConnectionInfo, MongoDBConnectionInfo, MySqlConnectionInfo, OracleConnectionInfo, PostgreSqlConnectionInfo and SqlConnectionInfo.

databasesInfo
IEnumerable<DatabaseInfo>

List of DatabaseInfo.

provisioningState
Nullable<ProjectProvisioningState>

The project's provisioning state.

Returns

A new ProjectData instance for mocking.

Applies to