@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 6.07 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* A project resource
*
* Uses Azure REST API version 2023-07-15-preview. In version 2.x of the Azure Native provider, it used API version 2021-06-30.
*
* 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 class Project extends pulumi.CustomResource {
/**
* Get an existing Project resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Project;
/**
* Returns true if the given object is an instance of Project. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Project;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* Field that defines the Azure active directory application info, used to connect to the target Azure resource
*/
readonly azureAuthenticationInfo: pulumi.Output<outputs.datamigration.AzureActiveDirectoryAppResponse | undefined>;
/**
* UTC Date and time when project was created
*/
readonly creationTime: pulumi.Output<string>;
/**
* List of DatabaseInfo
*/
readonly databasesInfo: pulumi.Output<outputs.datamigration.DatabaseInfoResponse[] | undefined>;
/**
* HTTP strong entity tag value. This is ignored if submitted.
*/
readonly etag: pulumi.Output<string | undefined>;
readonly location: pulumi.Output<string | undefined>;
readonly name: pulumi.Output<string>;
/**
* The project's provisioning state
*/
readonly provisioningState: pulumi.Output<string>;
/**
* Information for connecting to source
*/
readonly sourceConnectionInfo: pulumi.Output<outputs.datamigration.MiSqlConnectionInfoResponse | outputs.datamigration.MongoDbConnectionInfoResponse | outputs.datamigration.MySqlConnectionInfoResponse | outputs.datamigration.OracleConnectionInfoResponse | outputs.datamigration.PostgreSqlConnectionInfoResponse | outputs.datamigration.SqlConnectionInfoResponse | undefined>;
/**
* Source platform for the project
*/
readonly sourcePlatform: pulumi.Output<string>;
readonly systemData: pulumi.Output<outputs.datamigration.SystemDataResponse>;
readonly tags: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* Information for connecting to target
*/
readonly targetConnectionInfo: pulumi.Output<outputs.datamigration.MiSqlConnectionInfoResponse | outputs.datamigration.MongoDbConnectionInfoResponse | outputs.datamigration.MySqlConnectionInfoResponse | outputs.datamigration.OracleConnectionInfoResponse | outputs.datamigration.PostgreSqlConnectionInfoResponse | outputs.datamigration.SqlConnectionInfoResponse | undefined>;
/**
* Target platform for the project
*/
readonly targetPlatform: pulumi.Output<string>;
readonly type: pulumi.Output<string>;
/**
* Create a Project resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: ProjectArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a Project resource.
*/
export interface ProjectArgs {
/**
* Field that defines the Azure active directory application info, used to connect to the target Azure resource
*/
azureAuthenticationInfo?: pulumi.Input<inputs.datamigration.AzureActiveDirectoryAppArgs>;
/**
* List of DatabaseInfo
*/
databasesInfo?: pulumi.Input<pulumi.Input<inputs.datamigration.DatabaseInfoArgs>[]>;
/**
* Name of the resource group
*/
groupName: pulumi.Input<string>;
location?: pulumi.Input<string>;
/**
* Name of the project
*/
projectName?: pulumi.Input<string>;
/**
* Name of the service
*/
serviceName: pulumi.Input<string>;
/**
* Information for connecting to source
*/
sourceConnectionInfo?: pulumi.Input<inputs.datamigration.MiSqlConnectionInfoArgs | inputs.datamigration.MongoDbConnectionInfoArgs | inputs.datamigration.MySqlConnectionInfoArgs | inputs.datamigration.OracleConnectionInfoArgs | inputs.datamigration.PostgreSqlConnectionInfoArgs | inputs.datamigration.SqlConnectionInfoArgs>;
/**
* Source platform for the project
*/
sourcePlatform: pulumi.Input<string | enums.datamigration.ProjectSourcePlatform>;
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* Information for connecting to target
*/
targetConnectionInfo?: pulumi.Input<inputs.datamigration.MiSqlConnectionInfoArgs | inputs.datamigration.MongoDbConnectionInfoArgs | inputs.datamigration.MySqlConnectionInfoArgs | inputs.datamigration.OracleConnectionInfoArgs | inputs.datamigration.PostgreSqlConnectionInfoArgs | inputs.datamigration.SqlConnectionInfoArgs>;
/**
* Target platform for the project
*/
targetPlatform: pulumi.Input<string | enums.datamigration.ProjectTargetPlatform>;
}