1. Packages
  2. Azure Native
  3. API Docs
  4. datamigration
  5. getDatabaseMigrationsMongoToCosmosDbRUMongo
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.66.0 published on Wednesday, Oct 9, 2024 by Pulumi

azure-native.datamigration.getDatabaseMigrationsMongoToCosmosDbRUMongo

Explore with Pulumi AI

azure-native logo
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.66.0 published on Wednesday, Oct 9, 2024 by Pulumi

    Get Database Migration resource. Azure REST API version: 2023-07-15-preview.

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:datamigration:getDatabaseMigrationsMongoToCosmosDbRUMongo
      arguments:
        # arguments dictionary

    The following arguments are supported:

    MigrationName string
    Name of the migration.
    ResourceGroupName string
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    TargetResourceName string
    The name of the target resource/account.
    MigrationName string
    Name of the migration.
    ResourceGroupName string
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    TargetResourceName string
    The name of the target resource/account.
    migrationName String
    Name of the migration.
    resourceGroupName String
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    targetResourceName String
    The name of the target resource/account.
    migrationName string
    Name of the migration.
    resourceGroupName string
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    targetResourceName string
    The name of the target resource/account.
    migration_name str
    Name of the migration.
    resource_group_name str
    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_name str
    The name of the target resource/account.
    migrationName String
    Name of the migration.
    resourceGroupName String
    Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    targetResourceName String
    The name of the target resource/account.

    getDatabaseMigrationsMongoToCosmosDbRUMongo 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}"
    MigrationFailureError Pulumi.AzureNative.DataMigration.Outputs.ErrorInfoResponse
    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.AzureNative.DataMigration.Outputs.SystemDataResponse
    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.AzureNative.DataMigration.Outputs.MongoMigrationCollectionResponse>
    List of Mongo Collections to be migrated.
    MigrationOperationId string
    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.
    SourceMongoConnection Pulumi.AzureNative.DataMigration.Outputs.MongoConnectionInformationResponse
    Source Mongo connection details.
    TargetMongoConnection Pulumi.AzureNative.DataMigration.Outputs.MongoConnectionInformationResponse
    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}"
    MigrationFailureError ErrorInfoResponse
    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 SystemDataResponse
    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 []MongoMigrationCollectionResponse
    List of Mongo Collections to be migrated.
    MigrationOperationId string
    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.
    SourceMongoConnection MongoConnectionInformationResponse
    Source Mongo connection details.
    TargetMongoConnection MongoConnectionInformationResponse
    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}"
    migrationFailureError ErrorInfoResponse
    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 SystemDataResponse
    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<MongoMigrationCollectionResponse>
    List of Mongo Collections to be migrated.
    migrationOperationId String
    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.
    sourceMongoConnection MongoConnectionInformationResponse
    Source Mongo connection details.
    targetMongoConnection MongoConnectionInformationResponse
    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}"
    migrationFailureError ErrorInfoResponse
    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 SystemDataResponse
    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 MongoMigrationCollectionResponse[]
    List of Mongo Collections to be migrated.
    migrationOperationId string
    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.
    sourceMongoConnection MongoConnectionInformationResponse
    Source Mongo connection details.
    targetMongoConnection MongoConnectionInformationResponse
    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_error ErrorInfoResponse
    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 SystemDataResponse
    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[MongoMigrationCollectionResponse]
    List of Mongo Collections to be migrated.
    migration_operation_id str
    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_connection MongoConnectionInformationResponse
    Source Mongo connection details.
    target_mongo_connection MongoConnectionInformationResponse
    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}"
    migrationFailureError Property Map
    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.
    migrationOperationId String
    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.
    sourceMongoConnection Property Map
    Source Mongo connection details.
    targetMongoConnection Property Map
    Target Cosmos DB Mongo connection details.

    Supporting Types

    ErrorInfoResponse

    Code string
    Error code.
    Message string
    Error message.
    Code string
    Error code.
    Message string
    Error message.
    code String
    Error code.
    message String
    Error message.
    code string
    Error code.
    message string
    Error message.
    code str
    Error code.
    message str
    Error message.
    code String
    Error code.
    message String
    Error message.

    MongoConnectionInformationResponse

    Host string
    Host of mongo connection.
    Port int
    Port of mongo connection.
    Host string
    Host of mongo connection.
    Port int
    Port of mongo connection.
    host String
    Host of mongo connection.
    port Integer
    Port of mongo connection.
    host string
    Host of mongo connection.
    port number
    Port of mongo connection.
    host str
    Host of mongo connection.
    port int
    Port of mongo connection.
    host String
    Host of mongo connection.
    port Number
    Port of mongo connection.

    MongoMigrationCollectionResponse

    MigrationProgressDetails Pulumi.AzureNative.DataMigration.Inputs.MongoMigrationProgressDetailsResponse
    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.
    MigrationProgressDetails MongoMigrationProgressDetailsResponse
    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.
    migrationProgressDetails MongoMigrationProgressDetailsResponse
    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.
    migrationProgressDetails MongoMigrationProgressDetailsResponse
    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_details MongoMigrationProgressDetailsResponse
    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.
    migrationProgressDetails Property Map
    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

    DurationInSeconds int
    Migration duration
    MigrationError string
    Migration Error
    MigrationStatus string
    Migration Status
    ProcessedDocumentCount double
    Processed Document Count
    SourceDocumentCount double
    Source Document Count
    DurationInSeconds int
    Migration duration
    MigrationError string
    Migration Error
    MigrationStatus string
    Migration Status
    ProcessedDocumentCount float64
    Processed Document Count
    SourceDocumentCount float64
    Source Document Count
    durationInSeconds Integer
    Migration duration
    migrationError String
    Migration Error
    migrationStatus String
    Migration Status
    processedDocumentCount Double
    Processed Document Count
    sourceDocumentCount Double
    Source Document Count
    durationInSeconds number
    Migration duration
    migrationError string
    Migration Error
    migrationStatus string
    Migration Status
    processedDocumentCount number
    Processed Document Count
    sourceDocumentCount number
    Source Document Count
    duration_in_seconds int
    Migration duration
    migration_error str
    Migration Error
    migration_status str
    Migration Status
    processed_document_count float
    Processed Document Count
    source_document_count float
    Source Document Count
    durationInSeconds Number
    Migration duration
    migrationError String
    Migration Error
    migrationStatus String
    Migration Status
    processedDocumentCount Number
    Processed Document Count
    sourceDocumentCount Number
    Source Document Count

    SystemDataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    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.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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.66.0 published on Wednesday, Oct 9, 2024 by Pulumi