"use strict";
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDatabaseMigrationsSqlMiOutput = exports.getDatabaseMigrationsSqlMi = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Retrieve the specified database migration for a given SQL Managed Instance.
 *
 * Uses Azure REST API version 2025-06-30.
 *
 * Other available API versions: 2025-09-01-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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getDatabaseMigrationsSqlMi(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:datamigration:getDatabaseMigrationsSqlMi", {
        "expand": args.expand,
        "managedInstanceName": args.managedInstanceName,
        "migrationOperationId": args.migrationOperationId,
        "resourceGroupName": args.resourceGroupName,
        "targetDbName": args.targetDbName,
    }, opts);
}
exports.getDatabaseMigrationsSqlMi = getDatabaseMigrationsSqlMi;
/**
 * Retrieve the specified database migration for a given SQL Managed Instance.
 *
 * Uses Azure REST API version 2025-06-30.
 *
 * Other available API versions: 2025-09-01-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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getDatabaseMigrationsSqlMiOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:datamigration:getDatabaseMigrationsSqlMi", {
        "expand": args.expand,
        "managedInstanceName": args.managedInstanceName,
        "migrationOperationId": args.migrationOperationId,
        "resourceGroupName": args.resourceGroupName,
        "targetDbName": args.targetDbName,
    }, opts);
}
exports.getDatabaseMigrationsSqlMiOutput = getDatabaseMigrationsSqlMiOutput;
//# sourceMappingURL=data:application/json;base64,eyJ2ZX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