@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 5.52 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. The GET method retrieves information about a task.
*
* Uses Azure REST API version 2023-07-15-preview.
*
* Other available API versions: 2021-06-30, 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 getTask(args: GetTaskArgs, opts?: pulumi.InvokeOptions): Promise<GetTaskResult>;
export interface GetTaskArgs {
/**
* Expand the response
*/
expand?: string;
/**
* Name of the resource group
*/
groupName: string;
/**
* Name of the project
*/
projectName: string;
/**
* Name of the service
*/
serviceName: string;
/**
* Name of the Task
*/
taskName: string;
}
/**
* A task resource
*/
export interface GetTaskResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* HTTP strong entity tag value. This is ignored if submitted.
*/
readonly etag?: string;
/**
* Resource ID.
*/
readonly id: string;
/**
* Resource name.
*/
readonly name: string;
/**
* Custom task properties
*/
readonly properties: outputs.datamigration.ConnectToMongoDbTaskPropertiesResponse | outputs.datamigration.ConnectToSourceMySqlTaskPropertiesResponse | outputs.datamigration.ConnectToSourceOracleSyncTaskPropertiesResponse | outputs.datamigration.ConnectToSourcePostgreSqlSyncTaskPropertiesResponse | outputs.datamigration.ConnectToSourceSqlServerSyncTaskPropertiesResponse | outputs.datamigration.ConnectToSourceSqlServerTaskPropertiesResponse | outputs.datamigration.ConnectToTargetAzureDbForMySqlTaskPropertiesResponse | outputs.datamigration.ConnectToTargetAzureDbForPostgreSqlSyncTaskPropertiesResponse | outputs.datamigration.ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskPropertiesResponse | outputs.datamigration.ConnectToTargetSqlDbTaskPropertiesResponse | outputs.datamigration.ConnectToTargetSqlMISyncTaskPropertiesResponse | outputs.datamigration.ConnectToTargetSqlMITaskPropertiesResponse | outputs.datamigration.ConnectToTargetSqlSqlDbSyncTaskPropertiesResponse | outputs.datamigration.GetTdeCertificatesSqlTaskPropertiesResponse | outputs.datamigration.GetUserTablesMySqlTaskPropertiesResponse | outputs.datamigration.GetUserTablesOracleTaskPropertiesResponse | outputs.datamigration.GetUserTablesPostgreSqlTaskPropertiesResponse | outputs.datamigration.GetUserTablesSqlSyncTaskPropertiesResponse | outputs.datamigration.GetUserTablesSqlTaskPropertiesResponse | outputs.datamigration.MigrateMongoDbTaskPropertiesResponse | outputs.datamigration.MigrateMySqlAzureDbForMySqlOfflineTaskPropertiesResponse | outputs.datamigration.MigrateMySqlAzureDbForMySqlSyncTaskPropertiesResponse | outputs.datamigration.MigrateOracleAzureDbForPostgreSqlSyncTaskPropertiesResponse | outputs.datamigration.MigratePostgreSqlAzureDbForPostgreSqlSyncTaskPropertiesResponse | outputs.datamigration.MigrateSqlServerSqlDbSyncTaskPropertiesResponse | outputs.datamigration.MigrateSqlServerSqlDbTaskPropertiesResponse | outputs.datamigration.MigrateSqlServerSqlMISyncTaskPropertiesResponse | outputs.datamigration.MigrateSqlServerSqlMITaskPropertiesResponse | outputs.datamigration.MigrateSsisTaskPropertiesResponse | outputs.datamigration.ValidateMigrationInputSqlServerSqlDbSyncTaskPropertiesResponse | outputs.datamigration.ValidateMigrationInputSqlServerSqlMISyncTaskPropertiesResponse | outputs.datamigration.ValidateMigrationInputSqlServerSqlMITaskPropertiesResponse | outputs.datamigration.ValidateMongoDbTaskPropertiesResponse | outputs.datamigration.ValidateOracleAzureDbForPostgreSqlSyncTaskPropertiesResponse;
/**
* Metadata pertaining to creation and last modification of the resource.
*/
readonly systemData: outputs.datamigration.SystemDataResponse;
/**
* Resource type.
*/
readonly type: string;
}
/**
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. The GET method retrieves information about a task.
*
* Uses Azure REST API version 2023-07-15-preview.
*
* Other available API versions: 2021-06-30, 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 getTaskOutput(args: GetTaskOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTaskResult>;
export interface GetTaskOutputArgs {
/**
* Expand the response
*/
expand?: pulumi.Input<string>;
/**
* Name of the resource group
*/
groupName: pulumi.Input<string>;
/**
* Name of the project
*/
projectName: pulumi.Input<string>;
/**
* Name of the service
*/
serviceName: pulumi.Input<string>;
/**
* Name of the Task
*/
taskName: pulumi.Input<string>;
}