@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.76 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Retrieve the Database Migration Service
*
* Uses Azure REST API version 2023-07-15-preview.
*
* Other available API versions: 2021-10-30-preview, 2022-01-30-preview, 2022-03-30-preview, 2025-03-15-preview, 2025-06-30, 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.
*/
export declare function getSqlMigrationService(args: GetSqlMigrationServiceArgs, opts?: pulumi.InvokeOptions): Promise<GetSqlMigrationServiceResult>;
export interface GetSqlMigrationServiceArgs {
/**
* Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
*/
resourceGroupName: string;
/**
* Name of the SQL Migration Service.
*/
sqlMigrationServiceName: string;
}
/**
* A SQL Migration Service.
*/
export interface GetSqlMigrationServiceResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
readonly id: string;
/**
* Current state of the Integration runtime.
*/
readonly integrationRuntimeState: string;
readonly location?: string;
readonly name: string;
/**
* Provisioning state to track the async operation status.
*/
readonly provisioningState: string;
readonly systemData: outputs.datamigration.SystemDataResponse;
readonly tags?: {
[key: string]: string;
};
readonly type: string;
}
/**
* Retrieve the Database Migration Service
*
* Uses Azure REST API version 2023-07-15-preview.
*
* Other available API versions: 2021-10-30-preview, 2022-01-30-preview, 2022-03-30-preview, 2025-03-15-preview, 2025-06-30, 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.
*/
export declare function getSqlMigrationServiceOutput(args: GetSqlMigrationServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSqlMigrationServiceResult>;
export interface GetSqlMigrationServiceOutputArgs {
/**
* Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Name of the SQL Migration Service.
*/
sqlMigrationServiceName: pulumi.Input<string>;
}