UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

64 lines (63 loc) 2.69 kB
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. 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. 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>; }