ArmDataMigrationModelFactory.DatabaseMigration Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Inicializa uma nova instância de DatabaseMigration.
public static Azure.ResourceManager.DataMigration.Models.DatabaseMigration DatabaseMigration (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.DataMigration.Models.DatabaseMigrationProperties properties = default);
static member DatabaseMigration : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.DataMigration.Models.DatabaseMigrationProperties -> Azure.ResourceManager.DataMigration.Models.DatabaseMigration
Public Shared Function DatabaseMigration (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional properties As DatabaseMigrationProperties = Nothing) As DatabaseMigration
Parâmetros
A ID.
- name
- String
O nome.
- resourceType
- ResourceType
O resourceType.
- systemData
- SystemData
O systemData.
- properties
- DatabaseMigrationProperties
Propriedades do Recurso de Migração de Banco de Dados. DatabaseMigrationProperties(String, String, String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, SqlConnectionInformation, String, String, String, String, ErrorInfo, String, String) Observe que é a classe base. De acordo com o cenário, uma classe derivada da classe base pode precisar ser atribuída aqui ou essa propriedade precisa ser convertida em uma das classes derivadas possíveis. As classes derivadas disponíveis incluem DatabaseMigrationSqlDBProperties(String, String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, SqlConnectionInformation, String, String, String, String, ErrorInfo, String, String, SqlDBMigrationStatusDetails, SqlConnectionInformation, Nullable<Boolean>, IEnumerable<String>), DatabaseMigrationSqlVmProperties(String, String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, SqlConnectionInformation, String, String, String, String, ErrorInfo, String, String, MigrationStatusDetails, BackupConfiguration, OfflineConfiguration) e DatabaseMigrationSqlMIProperties(String, String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, SqlConnectionInformation, String, String, String, String, ErrorInfo, String, String, MigrationStatusDetails, BackupConfiguration, OfflineConfiguration).
Retornos
Uma nova DatabaseMigration instância para simulação.