azure-native.datamigration.getDatabaseMigrationsMongoToCosmosDbRUMongo
Explore with Pulumi AI
Get Database Migration resource.
Uses Azure REST API version 2023-07-15-preview.
Other available API versions: 2025-03-15-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native datamigration [ApiVersion]
. See the version guide for details.
Using getDatabaseMigrationsMongoToCosmosDbRUMongo
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 getDatabaseMigrationsMongoToCosmosDbRUMongo(args: GetDatabaseMigrationsMongoToCosmosDbRUMongoArgs, opts?: InvokeOptions): Promise<GetDatabaseMigrationsMongoToCosmosDbRUMongoResult>
function getDatabaseMigrationsMongoToCosmosDbRUMongoOutput(args: GetDatabaseMigrationsMongoToCosmosDbRUMongoOutputArgs, opts?: InvokeOptions): Output<GetDatabaseMigrationsMongoToCosmosDbRUMongoResult>
def get_database_migrations_mongo_to_cosmos_db_ru_mongo(migration_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
target_resource_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabaseMigrationsMongoToCosmosDbRUMongoResult
def get_database_migrations_mongo_to_cosmos_db_ru_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[GetDatabaseMigrationsMongoToCosmosDbRUMongoResult]
func LookupDatabaseMigrationsMongoToCosmosDbRUMongo(ctx *Context, args *LookupDatabaseMigrationsMongoToCosmosDbRUMongoArgs, opts ...InvokeOption) (*LookupDatabaseMigrationsMongoToCosmosDbRUMongoResult, error)
func LookupDatabaseMigrationsMongoToCosmosDbRUMongoOutput(ctx *Context, args *LookupDatabaseMigrationsMongoToCosmosDbRUMongoOutputArgs, opts ...InvokeOption) LookupDatabaseMigrationsMongoToCosmosDbRUMongoResultOutput
> Note: This function is named LookupDatabaseMigrationsMongoToCosmosDbRUMongo
in the Go SDK.
public static class GetDatabaseMigrationsMongoToCosmosDbRUMongo
{
public static Task<GetDatabaseMigrationsMongoToCosmosDbRUMongoResult> InvokeAsync(GetDatabaseMigrationsMongoToCosmosDbRUMongoArgs args, InvokeOptions? opts = null)
public static Output<GetDatabaseMigrationsMongoToCosmosDbRUMongoResult> Invoke(GetDatabaseMigrationsMongoToCosmosDbRUMongoInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatabaseMigrationsMongoToCosmosDbRUMongoResult> getDatabaseMigrationsMongoToCosmosDbRUMongo(GetDatabaseMigrationsMongoToCosmosDbRUMongoArgs args, InvokeOptions options)
public static Output<GetDatabaseMigrationsMongoToCosmosDbRUMongoResult> getDatabaseMigrationsMongoToCosmosDbRUMongo(GetDatabaseMigrationsMongoToCosmosDbRUMongoArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:datamigration:getDatabaseMigrationsMongoToCosmosDbRUMongo
arguments:
# arguments dictionary
The following arguments are supported:
- Migration
Name string - Name of the migration.
- Resource
Group stringName - 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 stringName - The name of the target resource/account.
- Migration
Name string - Name of the migration.
- Resource
Group stringName - 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 stringName - The name of the target resource/account.
- migration
Name String - Name of the migration.
- resource
Group StringName - 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 StringName - The name of the target resource/account.
- migration
Name string - Name of the migration.
- resource
Group stringName - 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 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.
- migration
Name String - Name of the migration.
- resource
Group StringName - 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 StringName - The name of the target resource/account.
getDatabaseMigrationsMongoToCosmosDbRUMongo Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Ended
On string - Database migration end time.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Migration
Failure Pulumi.Error Azure Native. Data Migration. Outputs. Error Info Response - Error details in case of migration failure.
- Migration
Status string - Migration status.
- Name string
- The name of the resource
- Provisioning
State string - Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- Started
On string - Database migration start time.
- System
Data 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"
- Collection
List List<Pulumi.Azure Native. Data Migration. Outputs. Mongo Migration Collection Response> - List of Mongo Collections to be migrated.
- Migration
Operation stringId - ID for current migration operation.
- Migration
Service string - Resource Id of the Migration Service.
- Provisioning
Error string - Error message for migration provisioning failure, if any.
- Scope string
- Resource Id of the target resource.
- Source
Mongo Pulumi.Connection Azure Native. Data Migration. Outputs. Mongo Connection Information Response - Source Mongo connection details.
- Target
Mongo Pulumi.Connection Azure Native. Data Migration. Outputs. Mongo Connection Information Response - Target Cosmos DB Mongo connection details.
- Azure
Api stringVersion - The Azure API version of the resource.
- Ended
On string - Database migration end time.
- Id string
- 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 string - Migration status.
- Name string
- The name of the resource
- Provisioning
State string - Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- Started
On string - Database migration start time.
- System
Data 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"
- Collection
List []MongoMigration Collection Response - List of Mongo Collections to be migrated.
- Migration
Operation stringId - ID for current migration operation.
- Migration
Service string - Resource Id of the Migration Service.
- Provisioning
Error string - Error message for migration provisioning failure, if any.
- Scope string
- 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.
- azure
Api StringVersion - The Azure API version of the resource.
- ended
On String - Database migration end time.
- id String
- 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 String - Migration status.
- name String
- The name of the resource
- provisioning
State String - Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- started
On String - Database migration start time.
- system
Data 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"
- collection
List List<MongoMigration Collection Response> - List of Mongo Collections to be migrated.
- migration
Operation StringId - ID for current migration operation.
- migration
Service String - Resource Id of the Migration Service.
- provisioning
Error String - Error message for migration provisioning failure, if any.
- scope String
- 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.
- azure
Api stringVersion - The Azure API version of the resource.
- ended
On string - Database migration end time.
- id string
- 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 string - Migration status.
- name string
- The name of the resource
- provisioning
State string - Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- started
On string - Database migration start time.
- system
Data 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"
- collection
List MongoMigration Collection Response[] - List of Mongo Collections to be migrated.
- migration
Operation stringId - ID for current migration operation.
- migration
Service string - Resource Id of the Migration Service.
- provisioning
Error string - Error message for migration provisioning failure, if any.
- scope string
- 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.
- azure_
api_ strversion - The Azure API version of the resource.
- 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.
- azure
Api StringVersion - The Azure API version of the resource.
- ended
On String - Database migration end time.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- migration
Failure Property MapError - Error details in case of migration failure.
- migration
Status String - Migration status.
- name String
- The name of the resource
- provisioning
State String - Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started.
- started
On String - Database migration start time.
- system
Data 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"
- collection
List List<Property Map> - List of Mongo Collections to be migrated.
- migration
Operation StringId - ID for current migration operation.
- migration
Service String - Resource Id of the Migration Service.
- provisioning
Error String - Error message for migration provisioning failure, if any.
- scope String
- Resource Id of the target resource.
- source
Mongo Property MapConnection - Source Mongo connection details.
- target
Mongo Property MapConnection - Target Cosmos DB Mongo connection details.
Supporting Types
ErrorInfoResponse
MongoConnectionInformationResponse
MongoMigrationCollectionResponse
- Migration
Progress Pulumi.Details Azure Native. Data Migration. Inputs. Mongo Migration Progress Details Response - Detailed migration status. Not included by default.
- Source
Collection string - Source collection name.
- Source
Database string - Source database name.
- Target
Collection string - Target collection name.
- Target
Database string - Target database name.
- Migration
Progress MongoDetails Migration Progress Details Response - Detailed migration status. Not included by default.
- Source
Collection string - Source collection name.
- Source
Database string - Source database name.
- Target
Collection string - Target collection name.
- Target
Database string - Target database name.
- migration
Progress MongoDetails Migration Progress Details Response - Detailed migration status. Not included by default.
- source
Collection String - Source collection name.
- source
Database String - Source database name.
- target
Collection String - Target collection name.
- target
Database String - Target database name.
- migration
Progress MongoDetails Migration Progress Details Response - Detailed migration status. Not included by default.
- source
Collection string - Source collection name.
- source
Database string - Source database name.
- target
Collection string - Target collection name.
- target
Database 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.
- migration
Progress Property MapDetails - Detailed migration status. Not included by default.
- source
Collection String - Source collection name.
- source
Database String - Source database name.
- target
Collection String - Target collection name.
- target
Database String - Target database name.
MongoMigrationProgressDetailsResponse
- Duration
In intSeconds - Migration duration
- Migration
Error string - Migration Error
- Migration
Status string - Migration Status
- Processed
Document doubleCount - Processed Document Count
- Source
Document doubleCount - Source Document Count
- Duration
In intSeconds - Migration duration
- Migration
Error string - Migration Error
- Migration
Status string - Migration Status
- Processed
Document float64Count - Processed Document Count
- Source
Document float64Count - Source Document Count
- duration
In IntegerSeconds - Migration duration
- migration
Error String - Migration Error
- migration
Status String - Migration Status
- processed
Document DoubleCount - Processed Document Count
- source
Document DoubleCount - Source Document Count
- duration
In numberSeconds - Migration duration
- migration
Error string - Migration Error
- migration
Status string - Migration Status
- processed
Document numberCount - Processed Document Count
- source
Document 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
- duration
In NumberSeconds - Migration duration
- migration
Error String - Migration Error
- migration
Status String - Migration Status
- processed
Document NumberCount - Processed Document Count
- source
Document NumberCount - Source Document Count
SystemDataResponse
- Created
At string - Created
By string - Created
By stringType - Last
Modified stringAt - Last
Modified stringBy - Last
Modified stringBy Type
- Created
At string - Created
By string - Created
By stringType - Last
Modified stringAt - Last
Modified stringBy - Last
Modified stringBy Type
- created
At String - created
By String - created
By StringType - last
Modified StringAt - last
Modified StringBy - last
Modified StringBy Type
- created
At string - created
By string - created
By stringType - last
Modified stringAt - last
Modified stringBy - last
Modified stringBy Type
- created_
at str - created_
by str - created_
by_ strtype - last_
modified_ strat - last_
modified_ strby - last_
modified_ strby_ type
- created
At String - created
By String - created
By StringType - last
Modified StringAt - last
Modified StringBy - last
Modified StringBy Type
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0