This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.datamigration.getDatabaseMigrationsSqlDb
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Retrieve the Database Migration resource. Azure REST API version: 2022-03-30-preview.
Other available API versions: 2023-07-15-preview.
Using getDatabaseMigrationsSqlDb
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDatabaseMigrationsSqlDb(args: GetDatabaseMigrationsSqlDbArgs, opts?: InvokeOptions): Promise<GetDatabaseMigrationsSqlDbResult>
function getDatabaseMigrationsSqlDbOutput(args: GetDatabaseMigrationsSqlDbOutputArgs, opts?: InvokeOptions): Output<GetDatabaseMigrationsSqlDbResult>def get_database_migrations_sql_db(expand: Optional[str] = None,
                                   migration_operation_id: Optional[str] = None,
                                   resource_group_name: Optional[str] = None,
                                   sql_db_instance_name: Optional[str] = None,
                                   target_db_name: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetDatabaseMigrationsSqlDbResult
def get_database_migrations_sql_db_output(expand: Optional[pulumi.Input[str]] = None,
                                   migration_operation_id: Optional[pulumi.Input[str]] = None,
                                   resource_group_name: Optional[pulumi.Input[str]] = None,
                                   sql_db_instance_name: Optional[pulumi.Input[str]] = None,
                                   target_db_name: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseMigrationsSqlDbResult]func LookupDatabaseMigrationsSqlDb(ctx *Context, args *LookupDatabaseMigrationsSqlDbArgs, opts ...InvokeOption) (*LookupDatabaseMigrationsSqlDbResult, error)
func LookupDatabaseMigrationsSqlDbOutput(ctx *Context, args *LookupDatabaseMigrationsSqlDbOutputArgs, opts ...InvokeOption) LookupDatabaseMigrationsSqlDbResultOutput> Note: This function is named LookupDatabaseMigrationsSqlDb in the Go SDK.
public static class GetDatabaseMigrationsSqlDb 
{
    public static Task<GetDatabaseMigrationsSqlDbResult> InvokeAsync(GetDatabaseMigrationsSqlDbArgs args, InvokeOptions? opts = null)
    public static Output<GetDatabaseMigrationsSqlDbResult> Invoke(GetDatabaseMigrationsSqlDbInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatabaseMigrationsSqlDbResult> getDatabaseMigrationsSqlDb(GetDatabaseMigrationsSqlDbArgs args, InvokeOptions options)
public static Output<GetDatabaseMigrationsSqlDbResult> getDatabaseMigrationsSqlDb(GetDatabaseMigrationsSqlDbArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:datamigration:getDatabaseMigrationsSqlDb
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- SqlDb stringInstance Name 
- TargetDb stringName 
- The name of the target database.
- Expand string
- Complete migration details be included in the response.
- MigrationOperation stringId 
- Optional migration operation ID. If this is provided, then details of migration operation for that ID are retrieved. If not provided (default), then details related to most recent or current operation are retrieved.
- ResourceGroup stringName 
- Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- SqlDb stringInstance Name 
- TargetDb stringName 
- The name of the target database.
- Expand string
- Complete migration details be included in the response.
- MigrationOperation stringId 
- Optional migration operation ID. If this is provided, then details of migration operation for that ID are retrieved. If not provided (default), then details related to most recent or current operation are retrieved.
- resourceGroup StringName 
- Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- sqlDb StringInstance Name 
- targetDb StringName 
- The name of the target database.
- expand String
- Complete migration details be included in the response.
- migrationOperation StringId 
- Optional migration operation ID. If this is provided, then details of migration operation for that ID are retrieved. If not provided (default), then details related to most recent or current operation are retrieved.
- resourceGroup stringName 
- Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- sqlDb stringInstance Name 
- targetDb stringName 
- The name of the target database.
- expand string
- Complete migration details be included in the response.
- migrationOperation stringId 
- Optional migration operation ID. If this is provided, then details of migration operation for that ID are retrieved. If not provided (default), then details related to most recent or current operation are retrieved.
- resource_group_ strname 
- Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- sql_db_ strinstance_ name 
- target_db_ strname 
- The name of the target database.
- expand str
- Complete migration details be included in the response.
- migration_operation_ strid 
- Optional migration operation ID. If this is provided, then details of migration operation for that ID are retrieved. If not provided (default), then details related to most recent or current operation are retrieved.
- resourceGroup StringName 
- Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- sqlDb StringInstance Name 
- targetDb StringName 
- The name of the target database.
- expand String
- Complete migration details be included in the response.
- migrationOperation StringId 
- Optional migration operation ID. If this is provided, then details of migration operation for that ID are retrieved. If not provided (default), then details related to most recent or current operation are retrieved.
getDatabaseMigrationsSqlDb Result
The following output properties are available:
- Id string
- Name string
- Properties
Pulumi.Azure Native. Data Migration. Outputs. Database Migration Properties Sql Db Response 
- Database Migration Resource properties for SQL database.
- SystemData Pulumi.Azure Native. Data Migration. Outputs. System Data Response 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- Id string
- Name string
- Properties
DatabaseMigration Properties Sql Db Response 
- Database Migration Resource properties for SQL database.
- SystemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- id String
- name String
- properties
DatabaseMigration Properties Sql Db Response 
- Database Migration Resource properties for SQL database.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type String
- id string
- name string
- properties
DatabaseMigration Properties Sql Db Response 
- Database Migration Resource properties for SQL database.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type string
- id str
- name str
- properties
DatabaseMigration Properties Sql Db Response 
- Database Migration Resource properties for SQL database.
- system_data SystemData Response 
- Metadata pertaining to creation and last modification of the resource.
- type str
- id String
- name String
- properties Property Map
- Database Migration Resource properties for SQL database.
- systemData Property Map
- Metadata pertaining to creation and last modification of the resource.
- type String
Supporting Types
CopyProgressDetailsResponse   
- CopyDuration int
- Copy Duration in seconds
- CopyStart string
- Copy Start
- CopyThroughput double
- Copy throughput in KBps
- DataRead double
- Bytes read
- DataWritten double
- Bytes written
- ParallelCopy stringType 
- Type of parallel copy (Dynamic range, Physical partition, none).
- RowsCopied double
- Rows Copied
- RowsRead double
- Rows read
- Status string
- Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).
- TableName string
- Table Name
- UsedParallel intCopies 
- The degree of parallelization.
- CopyDuration int
- Copy Duration in seconds
- CopyStart string
- Copy Start
- CopyThroughput float64
- Copy throughput in KBps
- DataRead float64
- Bytes read
- DataWritten float64
- Bytes written
- ParallelCopy stringType 
- Type of parallel copy (Dynamic range, Physical partition, none).
- RowsCopied float64
- Rows Copied
- RowsRead float64
- Rows read
- Status string
- Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).
- TableName string
- Table Name
- UsedParallel intCopies 
- The degree of parallelization.
- copyDuration Integer
- Copy Duration in seconds
- copyStart String
- Copy Start
- copyThroughput Double
- Copy throughput in KBps
- dataRead Double
- Bytes read
- dataWritten Double
- Bytes written
- parallelCopy StringType 
- Type of parallel copy (Dynamic range, Physical partition, none).
- rowsCopied Double
- Rows Copied
- rowsRead Double
- Rows read
- status String
- Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).
- tableName String
- Table Name
- usedParallel IntegerCopies 
- The degree of parallelization.
- copyDuration number
- Copy Duration in seconds
- copyStart string
- Copy Start
- copyThroughput number
- Copy throughput in KBps
- dataRead number
- Bytes read
- dataWritten number
- Bytes written
- parallelCopy stringType 
- Type of parallel copy (Dynamic range, Physical partition, none).
- rowsCopied number
- Rows Copied
- rowsRead number
- Rows read
- status string
- Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).
- tableName string
- Table Name
- usedParallel numberCopies 
- The degree of parallelization.
- copy_duration int
- Copy Duration in seconds
- copy_start str
- Copy Start
- copy_throughput float
- Copy throughput in KBps
- data_read float
- Bytes read
- data_written float
- Bytes written
- parallel_copy_ strtype 
- Type of parallel copy (Dynamic range, Physical partition, none).
- rows_copied float
- Rows Copied
- rows_read float
- Rows read
- status str
- Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).
- table_name str
- Table Name
- used_parallel_ intcopies 
- The degree of parallelization.
- copyDuration Number
- Copy Duration in seconds
- copyStart String
- Copy Start
- copyThroughput Number
- Copy throughput in KBps
- dataRead Number
- Bytes read
- dataWritten Number
- Bytes written
- parallelCopy StringType 
- Type of parallel copy (Dynamic range, Physical partition, none).
- rowsCopied Number
- Rows Copied
- rowsRead Number
- Rows read
- status String
- Status of the Copy activity (InProgress, Succeeded, Failed, Canceled).
- tableName String
- Table Name
- usedParallel NumberCopies 
- The degree of parallelization.
DatabaseMigrationPropertiesSqlDbResponse     
- EndedOn string
- Database migration end time.
- MigrationFailure Pulumi.Error Azure Native. Data Migration. Inputs. Error Info Response 
- Error details in case of migration failure.
- MigrationStatus string
- Migration status.
- MigrationStatus Pulumi.Details Azure Native. Data Migration. Inputs. Sql Db Migration Status Details Response 
- Detailed migration status. Not included by default.
- OfflineConfiguration Pulumi.Azure Native. Data Migration. Inputs. Sql Db Offline Configuration Response 
- Offline configuration.
- ProvisioningState string
- Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- SourceServer stringName 
- Name of the source sql server.
- StartedOn string
- Database migration start time.
- MigrationOperation stringId 
- ID tracking current migration operation.
- MigrationService string
- Resource Id of the Migration Service.
- ProvisioningError string
- Error message for migration provisioning failure, if any.
- Scope string
- Resource Id of the target resource (SQL VM or SQL Managed Instance).
- SourceDatabase stringName 
- Name of the source database.
- SourceSql Pulumi.Connection Azure Native. Data Migration. Inputs. Sql Connection Information Response 
- Source SQL Server connection details.
- TableList List<string>
- List of tables to copy.
- TargetDatabase stringCollation 
- Database collation to be used for the target database.
- TargetSql Pulumi.Connection Azure Native. Data Migration. Inputs. Sql Connection Information Response 
- Target SQL DB connection details.
- EndedOn string
- Database migration end time.
- MigrationFailure ErrorError Info Response 
- Error details in case of migration failure.
- MigrationStatus string
- Migration status.
- MigrationStatus SqlDetails Db Migration Status Details Response 
- Detailed migration status. Not included by default.
- OfflineConfiguration SqlDb Offline Configuration Response 
- Offline configuration.
- ProvisioningState string
- Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- SourceServer stringName 
- Name of the source sql server.
- StartedOn string
- Database migration start time.
- MigrationOperation stringId 
- ID tracking current migration operation.
- MigrationService string
- Resource Id of the Migration Service.
- ProvisioningError string
- Error message for migration provisioning failure, if any.
- Scope string
- Resource Id of the target resource (SQL VM or SQL Managed Instance).
- SourceDatabase stringName 
- Name of the source database.
- SourceSql SqlConnection Connection Information Response 
- Source SQL Server connection details.
- TableList []string
- List of tables to copy.
- TargetDatabase stringCollation 
- Database collation to be used for the target database.
- TargetSql SqlConnection Connection Information Response 
- Target SQL DB connection details.
- endedOn String
- Database migration end time.
- migrationFailure ErrorError Info Response 
- Error details in case of migration failure.
- migrationStatus String
- Migration status.
- migrationStatus SqlDetails Db Migration Status Details Response 
- Detailed migration status. Not included by default.
- offlineConfiguration SqlDb Offline Configuration Response 
- Offline configuration.
- provisioningState String
- Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- sourceServer StringName 
- Name of the source sql server.
- startedOn String
- Database migration start time.
- migrationOperation StringId 
- ID tracking current migration operation.
- migrationService String
- Resource Id of the Migration Service.
- provisioningError String
- Error message for migration provisioning failure, if any.
- scope String
- Resource Id of the target resource (SQL VM or SQL Managed Instance).
- sourceDatabase StringName 
- Name of the source database.
- sourceSql SqlConnection Connection Information Response 
- Source SQL Server connection details.
- tableList List<String>
- List of tables to copy.
- targetDatabase StringCollation 
- Database collation to be used for the target database.
- targetSql SqlConnection Connection Information Response 
- Target SQL DB connection details.
- endedOn string
- Database migration end time.
- migrationFailure ErrorError Info Response 
- Error details in case of migration failure.
- migrationStatus string
- Migration status.
- migrationStatus SqlDetails Db Migration Status Details Response 
- Detailed migration status. Not included by default.
- offlineConfiguration SqlDb Offline Configuration Response 
- Offline configuration.
- provisioningState string
- Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- sourceServer stringName 
- Name of the source sql server.
- startedOn string
- Database migration start time.
- migrationOperation stringId 
- ID tracking current migration operation.
- migrationService string
- Resource Id of the Migration Service.
- provisioningError string
- Error message for migration provisioning failure, if any.
- scope string
- Resource Id of the target resource (SQL VM or SQL Managed Instance).
- sourceDatabase stringName 
- Name of the source database.
- sourceSql SqlConnection Connection Information Response 
- Source SQL Server connection details.
- tableList string[]
- List of tables to copy.
- targetDatabase stringCollation 
- Database collation to be used for the target database.
- targetSql SqlConnection Connection Information Response 
- Target SQL DB connection details.
- ended_on str
- Database migration end time.
- migration_failure_ Errorerror Info Response 
- Error details in case of migration failure.
- migration_status str
- Migration status.
- migration_status_ Sqldetails Db Migration Status Details Response 
- Detailed migration status. Not included by default.
- offline_configuration SqlDb Offline Configuration Response 
- Offline configuration.
- provisioning_state str
- Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- source_server_ strname 
- Name of the source sql server.
- started_on str
- Database migration start time.
- migration_operation_ strid 
- ID tracking current migration operation.
- migration_service str
- Resource Id of the Migration Service.
- provisioning_error str
- Error message for migration provisioning failure, if any.
- scope str
- Resource Id of the target resource (SQL VM or SQL Managed Instance).
- source_database_ strname 
- Name of the source database.
- source_sql_ Sqlconnection Connection Information Response 
- Source SQL Server connection details.
- table_list Sequence[str]
- List of tables to copy.
- target_database_ strcollation 
- Database collation to be used for the target database.
- target_sql_ Sqlconnection Connection Information Response 
- Target SQL DB connection details.
- endedOn String
- Database migration end time.
- migrationFailure Property MapError 
- Error details in case of migration failure.
- migrationStatus String
- Migration status.
- migrationStatus Property MapDetails 
- Detailed migration status. Not included by default.
- offlineConfiguration Property Map
- Offline configuration.
- provisioningState String
- Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- sourceServer StringName 
- Name of the source sql server.
- startedOn String
- Database migration start time.
- migrationOperation StringId 
- ID tracking current migration operation.
- migrationService String
- Resource Id of the Migration Service.
- provisioningError String
- Error message for migration provisioning failure, if any.
- scope String
- Resource Id of the target resource (SQL VM or SQL Managed Instance).
- sourceDatabase StringName 
- Name of the source database.
- sourceSql Property MapConnection 
- Source SQL Server connection details.
- tableList List<String>
- List of tables to copy.
- targetDatabase StringCollation 
- Database collation to be used for the target database.
- targetSql Property MapConnection 
- Target SQL DB connection details.
ErrorInfoResponse  
SqlConnectionInformationResponse   
- Authentication string
- Authentication type.
- DataSource string
- Data source.
- EncryptConnection bool
- Whether to encrypt connection or not.
- Password string
- Password to connect to source SQL.
- TrustServer boolCertificate 
- Whether to trust server certificate or not.
- UserName string
- User name to connect to source SQL.
- Authentication string
- Authentication type.
- DataSource string
- Data source.
- EncryptConnection bool
- Whether to encrypt connection or not.
- Password string
- Password to connect to source SQL.
- TrustServer boolCertificate 
- Whether to trust server certificate or not.
- UserName string
- User name to connect to source SQL.
- authentication String
- Authentication type.
- dataSource String
- Data source.
- encryptConnection Boolean
- Whether to encrypt connection or not.
- password String
- Password to connect to source SQL.
- trustServer BooleanCertificate 
- Whether to trust server certificate or not.
- userName String
- User name to connect to source SQL.
- authentication string
- Authentication type.
- dataSource string
- Data source.
- encryptConnection boolean
- Whether to encrypt connection or not.
- password string
- Password to connect to source SQL.
- trustServer booleanCertificate 
- Whether to trust server certificate or not.
- userName string
- User name to connect to source SQL.
- authentication str
- Authentication type.
- data_source str
- Data source.
- encrypt_connection bool
- Whether to encrypt connection or not.
- password str
- Password to connect to source SQL.
- trust_server_ boolcertificate 
- Whether to trust server certificate or not.
- user_name str
- User name to connect to source SQL.
- authentication String
- Authentication type.
- dataSource String
- Data source.
- encryptConnection Boolean
- Whether to encrypt connection or not.
- password String
- Password to connect to source SQL.
- trustServer BooleanCertificate 
- Whether to trust server certificate or not.
- userName String
- User name to connect to source SQL.
SqlDbMigrationStatusDetailsResponse     
- ListOf List<Pulumi.Copy Progress Details Azure Native. Data Migration. Inputs. Copy Progress Details Response> 
- Details on progress of ADF copy activities.
- MigrationState string
- Current State of Migration.
- SqlData List<string>Copy Errors 
- Sql Data Copy errors, if any.
- ListOf []CopyCopy Progress Details Progress Details Response 
- Details on progress of ADF copy activities.
- MigrationState string
- Current State of Migration.
- SqlData []stringCopy Errors 
- Sql Data Copy errors, if any.
- listOf List<CopyCopy Progress Details Progress Details Response> 
- Details on progress of ADF copy activities.
- migrationState String
- Current State of Migration.
- sqlData List<String>Copy Errors 
- Sql Data Copy errors, if any.
- listOf CopyCopy Progress Details Progress Details Response[] 
- Details on progress of ADF copy activities.
- migrationState string
- Current State of Migration.
- sqlData string[]Copy Errors 
- Sql Data Copy errors, if any.
- list_of_ Sequence[Copycopy_ progress_ details Progress Details Response] 
- Details on progress of ADF copy activities.
- migration_state str
- Current State of Migration.
- sql_data_ Sequence[str]copy_ errors 
- Sql Data Copy errors, if any.
- listOf List<Property Map>Copy Progress Details 
- Details on progress of ADF copy activities.
- migrationState String
- Current State of Migration.
- sqlData List<String>Copy Errors 
- Sql Data Copy errors, if any.
SqlDbOfflineConfigurationResponse    
- Offline bool
- Offline migration
- Offline bool
- Offline migration
- offline Boolean
- Offline migration
- offline boolean
- Offline migration
- offline bool
- Offline migration
- offline Boolean
- Offline migration
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi