import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Migration Plan resource in Oracle Cloud Infrastructure Cloud Migrations service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/ocm/latest/MigrationPlan * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/cloudMigrations * * Creates a migration plan. * * ## Import * * MigrationPlans can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:CloudMigrations/migrationPlan:MigrationPlan test_migration_plan "id" * ``` */ export declare class MigrationPlan extends pulumi.CustomResource { /** * Get an existing MigrationPlan 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: MigrationPlanState, opts?: pulumi.CustomResourceOptions): MigrationPlan; /** * Returns true if the given object is an instance of MigrationPlan. 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 MigrationPlan; /** * Limits of the resources that are needed for migration. Example: {"BlockVolume": 2, "VCN": 1} */ readonly calculatedLimits: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Compartment identifier */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Migration plan identifier */ readonly displayName: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state. */ readonly lifecycleDetails: pulumi.Output; /** * The OCID of the associated migration. */ readonly migrationId: pulumi.Output; /** * Status of the migration plan. */ readonly migrationPlanStats: pulumi.Output; /** * OCID of the referenced ORM job. */ readonly referenceToRmsStack: pulumi.Output; /** * Source migraiton plan ID to be cloned. */ readonly sourceMigrationPlanId: pulumi.Output; /** * The current state of the migration plan. */ readonly state: pulumi.Output; /** * (Updatable) List of strategies for the resources to be migrated. */ readonly strategies: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) List of target environments. */ readonly targetEnvironments: pulumi.Output; /** * The time when the migration plan was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time when the migration plan was updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * Create a MigrationPlan 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: MigrationPlanArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MigrationPlan resources. */ export interface MigrationPlanState { /** * Limits of the resources that are needed for migration. Example: {"BlockVolume": 2, "VCN": 1} */ calculatedLimits?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Compartment identifier */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Migration plan identifier */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state. */ lifecycleDetails?: pulumi.Input; /** * The OCID of the associated migration. */ migrationId?: pulumi.Input; /** * Status of the migration plan. */ migrationPlanStats?: pulumi.Input[] | undefined>; /** * OCID of the referenced ORM job. */ referenceToRmsStack?: pulumi.Input; /** * Source migraiton plan ID to be cloned. */ sourceMigrationPlanId?: pulumi.Input; /** * The current state of the migration plan. */ state?: pulumi.Input; /** * (Updatable) List of strategies for the resources to be migrated. */ strategies?: pulumi.Input[] | undefined>; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) List of target environments. */ targetEnvironments?: pulumi.Input[] | undefined>; /** * The time when the migration plan was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time when the migration plan was updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a MigrationPlan resource. */ export interface MigrationPlanArgs { /** * (Updatable) Compartment identifier */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Migration plan identifier */ displayName: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The OCID of the associated migration. */ migrationId: pulumi.Input; /** * Source migraiton plan ID to be cloned. */ sourceMigrationPlanId?: pulumi.Input; /** * (Updatable) List of strategies for the resources to be migrated. */ strategies?: pulumi.Input[] | undefined>; /** * (Updatable) List of target environments. */ targetEnvironments?: pulumi.Input[] | undefined>; } //# sourceMappingURL=migrationPlan.d.ts.map