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.getDatabaseMigrationsMongoToCosmosDbvCoreMongo
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
Get Database Migration resource. Azure REST API version: 2023-07-15-preview.
Using getDatabaseMigrationsMongoToCosmosDbvCoreMongo
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 getDatabaseMigrationsMongoToCosmosDbvCoreMongo(args: GetDatabaseMigrationsMongoToCosmosDbvCoreMongoArgs, opts?: InvokeOptions): Promise<GetDatabaseMigrationsMongoToCosmosDbvCoreMongoResult>
function getDatabaseMigrationsMongoToCosmosDbvCoreMongoOutput(args: GetDatabaseMigrationsMongoToCosmosDbvCoreMongoOutputArgs, opts?: InvokeOptions): Output<GetDatabaseMigrationsMongoToCosmosDbvCoreMongoResult>def get_database_migrations_mongo_to_cosmos_dbv_core_mongo(migration_name: Optional[str] = None,
                                                           resource_group_name: Optional[str] = None,
                                                           target_resource_name: Optional[str] = None,
                                                           opts: Optional[InvokeOptions] = None) -> GetDatabaseMigrationsMongoToCosmosDbvCoreMongoResult
def get_database_migrations_mongo_to_cosmos_dbv_core_mongo_output(migration_name: Optional[pulumi.Input[str]] = None,
                                                           resource_group_name: Optional[pulumi.Input[str]] = None,
                                                           target_resource_name: Optional[pulumi.Input[str]] = None,
                                                           opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseMigrationsMongoToCosmosDbvCoreMongoResult]func LookupDatabaseMigrationsMongoToCosmosDbvCoreMongo(ctx *Context, args *LookupDatabaseMigrationsMongoToCosmosDbvCoreMongoArgs, opts ...InvokeOption) (*LookupDatabaseMigrationsMongoToCosmosDbvCoreMongoResult, error)
func LookupDatabaseMigrationsMongoToCosmosDbvCoreMongoOutput(ctx *Context, args *LookupDatabaseMigrationsMongoToCosmosDbvCoreMongoOutputArgs, opts ...InvokeOption) LookupDatabaseMigrationsMongoToCosmosDbvCoreMongoResultOutput> Note: This function is named LookupDatabaseMigrationsMongoToCosmosDbvCoreMongo in the Go SDK.
public static class GetDatabaseMigrationsMongoToCosmosDbvCoreMongo 
{
    public static Task<GetDatabaseMigrationsMongoToCosmosDbvCoreMongoResult> InvokeAsync(GetDatabaseMigrationsMongoToCosmosDbvCoreMongoArgs args, InvokeOptions? opts = null)
    public static Output<GetDatabaseMigrationsMongoToCosmosDbvCoreMongoResult> Invoke(GetDatabaseMigrationsMongoToCosmosDbvCoreMongoInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatabaseMigrationsMongoToCosmosDbvCoreMongoResult> getDatabaseMigrationsMongoToCosmosDbvCoreMongo(GetDatabaseMigrationsMongoToCosmosDbvCoreMongoArgs args, InvokeOptions options)
public static Output<GetDatabaseMigrationsMongoToCosmosDbvCoreMongoResult> getDatabaseMigrationsMongoToCosmosDbvCoreMongo(GetDatabaseMigrationsMongoToCosmosDbvCoreMongoArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:datamigration:getDatabaseMigrationsMongoToCosmosDbvCoreMongo
  arguments:
    # arguments dictionaryThe following arguments are supported:
- MigrationName string
- Name of the migration.
- 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.
- TargetResource stringName 
- The name of the target resource/account.
- MigrationName string
- Name of the migration.
- 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.
- TargetResource stringName 
- The name of the target resource/account.
- migrationName String
- Name of the migration.
- 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.
- targetResource StringName 
- The name of the target resource/account.
- migrationName string
- Name of the migration.
- 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.
- targetResource stringName 
- The name of the target resource/account.
- migration_name str
- Name of the migration.
- 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.
- target_resource_ strname 
- The name of the target resource/account.
- migrationName String
- Name of the migration.
- 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.
- targetResource StringName 
- The name of the target resource/account.
getDatabaseMigrationsMongoToCosmosDbvCoreMongo Result
The following output properties are available:
- EndedOn string
- Database migration end time.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- MigrationFailure Pulumi.Error Azure Native. Data Migration. Outputs. Error Info Response 
- Error details in case of migration failure.
- MigrationStatus string
- Migration status.
- Name string
- The name of the resource
- ProvisioningState string
- Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- StartedOn string
- Database migration start time.
- SystemData Pulumi.Azure Native. Data Migration. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- CollectionList List<Pulumi.Azure Native. Data Migration. Outputs. Mongo Migration Collection Response> 
- List of Mongo Collections to be migrated.
- MigrationOperation stringId 
- ID for 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.
- SourceMongo Pulumi.Connection Azure Native. Data Migration. Outputs. Mongo Connection Information Response 
- Source Mongo connection details.
- TargetMongo Pulumi.Connection Azure Native. Data Migration. Outputs. Mongo Connection Information Response 
- Target Cosmos DB Mongo connection details.
- EndedOn string
- Database migration end time.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- MigrationFailure ErrorError Info Response 
- Error details in case of migration failure.
- MigrationStatus string
- Migration status.
- Name string
- The name of the resource
- ProvisioningState string
- Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- StartedOn string
- Database migration start time.
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- CollectionList []MongoMigration Collection Response 
- List of Mongo Collections to be migrated.
- MigrationOperation stringId 
- ID for 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.
- SourceMongo MongoConnection Connection Information Response 
- Source Mongo connection details.
- TargetMongo MongoConnection Connection Information Response 
- Target Cosmos DB Mongo connection details.
- endedOn String
- Database migration end time.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- migrationFailure ErrorError Info Response 
- Error details in case of migration failure.
- migrationStatus String
- Migration status.
- name String
- The name of the resource
- provisioningState String
- Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- startedOn String
- Database migration start time.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- collectionList List<MongoMigration Collection Response> 
- List of Mongo Collections to be migrated.
- migrationOperation StringId 
- ID for 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.
- sourceMongo MongoConnection Connection Information Response 
- Source Mongo connection details.
- targetMongo MongoConnection Connection Information Response 
- Target Cosmos DB Mongo connection details.
- endedOn string
- Database migration end time.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- migrationFailure ErrorError Info Response 
- Error details in case of migration failure.
- migrationStatus string
- Migration status.
- name string
- The name of the resource
- provisioningState string
- Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- startedOn string
- Database migration start time.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- collectionList MongoMigration Collection Response[] 
- List of Mongo Collections to be migrated.
- migrationOperation stringId 
- ID for 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.
- sourceMongo MongoConnection Connection Information Response 
- Source Mongo connection details.
- targetMongo MongoConnection Connection Information Response 
- Target Cosmos DB Mongo connection details.
- ended_on str
- Database migration end time.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- migration_failure_ Errorerror Info Response 
- Error details in case of migration failure.
- migration_status str
- Migration status.
- name str
- The name of the resource
- provisioning_state str
- Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- started_on str
- Database migration start time.
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- collection_list Sequence[MongoMigration Collection Response] 
- List of Mongo Collections to be migrated.
- migration_operation_ strid 
- ID for 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.
- source_mongo_ Mongoconnection Connection Information Response 
- Source Mongo connection details.
- target_mongo_ Mongoconnection Connection Information Response 
- Target Cosmos DB Mongo connection details.
- endedOn String
- Database migration end time.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- migrationFailure Property MapError 
- Error details in case of migration failure.
- migrationStatus String
- Migration status.
- name String
- The name of the resource
- provisioningState String
- Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- startedOn String
- Database migration start time.
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- collectionList List<Property Map>
- List of Mongo Collections to be migrated.
- migrationOperation StringId 
- ID for 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.
- sourceMongo Property MapConnection 
- Source Mongo connection details.
- targetMongo Property MapConnection 
- Target Cosmos DB Mongo connection details.
Supporting Types
ErrorInfoResponse  
MongoConnectionInformationResponse   
MongoMigrationCollectionResponse   
- MigrationProgress Pulumi.Details Azure Native. Data Migration. Inputs. Mongo Migration Progress Details Response 
- Detailed migration status. Not included by default.
- SourceCollection string
- Source collection name.
- SourceDatabase string
- Source database name.
- TargetCollection string
- Target collection name.
- TargetDatabase string
- Target database name.
- MigrationProgress MongoDetails Migration Progress Details Response 
- Detailed migration status. Not included by default.
- SourceCollection string
- Source collection name.
- SourceDatabase string
- Source database name.
- TargetCollection string
- Target collection name.
- TargetDatabase string
- Target database name.
- migrationProgress MongoDetails Migration Progress Details Response 
- Detailed migration status. Not included by default.
- sourceCollection String
- Source collection name.
- sourceDatabase String
- Source database name.
- targetCollection String
- Target collection name.
- targetDatabase String
- Target database name.
- migrationProgress MongoDetails Migration Progress Details Response 
- Detailed migration status. Not included by default.
- sourceCollection string
- Source collection name.
- sourceDatabase string
- Source database name.
- targetCollection string
- Target collection name.
- targetDatabase string
- Target database name.
- migration_progress_ Mongodetails Migration Progress Details Response 
- Detailed migration status. Not included by default.
- source_collection str
- Source collection name.
- source_database str
- Source database name.
- target_collection str
- Target collection name.
- target_database str
- Target database name.
- migrationProgress Property MapDetails 
- Detailed migration status. Not included by default.
- sourceCollection String
- Source collection name.
- sourceDatabase String
- Source database name.
- targetCollection String
- Target collection name.
- targetDatabase String
- Target database name.
MongoMigrationProgressDetailsResponse    
- DurationIn intSeconds 
- Migration duration
- MigrationError string
- Migration Error
- MigrationStatus string
- Migration Status
- ProcessedDocument doubleCount 
- Processed Document Count
- SourceDocument doubleCount 
- Source Document Count
- DurationIn intSeconds 
- Migration duration
- MigrationError string
- Migration Error
- MigrationStatus string
- Migration Status
- ProcessedDocument float64Count 
- Processed Document Count
- SourceDocument float64Count 
- Source Document Count
- durationIn IntegerSeconds 
- Migration duration
- migrationError String
- Migration Error
- migrationStatus String
- Migration Status
- processedDocument DoubleCount 
- Processed Document Count
- sourceDocument DoubleCount 
- Source Document Count
- durationIn numberSeconds 
- Migration duration
- migrationError string
- Migration Error
- migrationStatus string
- Migration Status
- processedDocument numberCount 
- Processed Document Count
- sourceDocument numberCount 
- Source Document Count
- duration_in_ intseconds 
- Migration duration
- migration_error str
- Migration Error
- migration_status str
- Migration Status
- processed_document_ floatcount 
- Processed Document Count
- source_document_ floatcount 
- Source Document Count
- durationIn NumberSeconds 
- Migration duration
- migrationError String
- Migration Error
- migrationStatus String
- Migration Status
- processedDocument NumberCount 
- Processed Document Count
- sourceDocument NumberCount 
- Source Document Count
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