@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.16 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* The project resource is a nested resource representing a stored migration project. The GET method retrieves information about a project.
*
* 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, 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 getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectResult>;
export interface GetProjectArgs {
/**
* Name of the resource group
*/
groupName: string;
/**
* Name of the project
*/
projectName: string;
/**
* Name of the service
*/
serviceName: string;
}
/**
* A project resource
*/
export interface GetProjectResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Field that defines the Azure active directory application info, used to connect to the target Azure resource
*/
readonly azureAuthenticationInfo?: outputs.datamigration.AzureActiveDirectoryAppResponse;
/**
* UTC Date and time when project was created
*/
readonly creationTime: string;
/**
* List of DatabaseInfo
*/
readonly databasesInfo?: outputs.datamigration.DatabaseInfoResponse[];
/**
* HTTP strong entity tag value. This is ignored if submitted.
*/
readonly etag?: string;
readonly id: string;
readonly location?: string;
readonly name: string;
/**
* The project's provisioning state
*/
readonly provisioningState: string;
/**
* Information for connecting to source
*/
readonly sourceConnectionInfo?: outputs.datamigration.MiSqlConnectionInfoResponse | outputs.datamigration.MongoDbConnectionInfoResponse | outputs.datamigration.MySqlConnectionInfoResponse | outputs.datamigration.OracleConnectionInfoResponse | outputs.datamigration.PostgreSqlConnectionInfoResponse | outputs.datamigration.SqlConnectionInfoResponse;
/**
* Source platform for the project
*/
readonly sourcePlatform: string;
readonly systemData: outputs.datamigration.SystemDataResponse;
readonly tags?: {
[key: string]: string;
};
/**
* Information for connecting to target
*/
readonly targetConnectionInfo?: outputs.datamigration.MiSqlConnectionInfoResponse | outputs.datamigration.MongoDbConnectionInfoResponse | outputs.datamigration.MySqlConnectionInfoResponse | outputs.datamigration.OracleConnectionInfoResponse | outputs.datamigration.PostgreSqlConnectionInfoResponse | outputs.datamigration.SqlConnectionInfoResponse;
/**
* Target platform for the project
*/
readonly targetPlatform: string;
readonly type: string;
}
/**
* The project resource is a nested resource representing a stored migration project. The GET method retrieves information about a project.
*
* 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, 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 getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectResult>;
export interface GetProjectOutputArgs {
/**
* 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>;
}