import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Migration Asset resource in Oracle Cloud Infrastructure Cloud Migrations service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/ocm/latest/MigrationAsset * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/cloudMigrations * * Creates a migration asset. * * ## Import * * MigrationAssets can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:CloudMigrations/migrationAsset:MigrationAsset test_migration_asset "id" * ``` */ export declare class MigrationAsset extends pulumi.CustomResource { /** * Get an existing MigrationAsset 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?: MigrationAssetState, opts?: pulumi.CustomResourceOptions): MigrationAsset; /** * Returns true if the given object is an instance of MigrationAsset. 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 MigrationAsset; /** * Availability domain */ readonly availabilityDomain: pulumi.Output; /** * Compartment Identifier */ readonly compartmentId: pulumi.Output; /** * List of migration assets that depend on the asset. */ readonly dependedOnBies: pulumi.Output; /** * Mapping of source disk id to destination disk details */ readonly destinationDisks: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) A user-friendly name. If empty, then source asset name will be used. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName: pulumi.Output; /** * OCID of an asset for an inventory. */ readonly inventoryAssetId: pulumi.Output; /** * 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; readonly migrationAssetDependsOns: pulumi.Output; /** * OCID of the associated migration. */ readonly migrationId: pulumi.Output; /** * List of notifications */ readonly notifications: pulumi.Output; /** * The parent snapshot of the migration asset to be used by the replication task. */ readonly parentSnapshot: pulumi.Output; /** * Replication compartment identifier */ readonly replicationCompartmentId: pulumi.Output; /** * Replication location detail where the snapshots reside */ readonly replicationLocationDetail: pulumi.Output; /** * (Updatable) Replication schedule identifier */ readonly replicationScheduleId: pulumi.Output; /** * Name of snapshot bucket * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly snapShotBucketName: pulumi.Output; /** * Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: `{"bar-key": "value"}` */ readonly snapshots: pulumi.Output<{ [key: string]: string; }>; /** * OCID that is referenced to an asset for an inventory. */ readonly sourceAssetId: pulumi.Output; /** * The current state of the migration asset. */ readonly state: pulumi.Output; /** * Tenancy identifier */ readonly tenancyId: pulumi.Output; /** * The time when the migration asset was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time when the migration asset was updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * The type of asset referenced for inventory. */ readonly type: pulumi.Output; /** * Create a MigrationAsset 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: MigrationAssetArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MigrationAsset resources. */ export interface MigrationAssetState { /** * Availability domain */ availabilityDomain?: pulumi.Input; /** * Compartment Identifier */ compartmentId?: pulumi.Input; /** * List of migration assets that depend on the asset. */ dependedOnBies?: pulumi.Input[] | undefined>; /** * Mapping of source disk id to destination disk details */ destinationDisks?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A user-friendly name. If empty, then source asset name will be used. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * OCID of an asset for an inventory. */ inventoryAssetId?: pulumi.Input; /** * 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; migrationAssetDependsOns?: pulumi.Input[] | undefined>; /** * OCID of the associated migration. */ migrationId?: pulumi.Input; /** * List of notifications */ notifications?: pulumi.Input[] | undefined>; /** * The parent snapshot of the migration asset to be used by the replication task. */ parentSnapshot?: pulumi.Input; /** * Replication compartment identifier */ replicationCompartmentId?: pulumi.Input; /** * Replication location detail where the snapshots reside */ replicationLocationDetail?: pulumi.Input; /** * (Updatable) Replication schedule identifier */ replicationScheduleId?: pulumi.Input; /** * Name of snapshot bucket * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ snapShotBucketName?: pulumi.Input; /** * Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: `{"bar-key": "value"}` */ snapshots?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * OCID that is referenced to an asset for an inventory. */ sourceAssetId?: pulumi.Input; /** * The current state of the migration asset. */ state?: pulumi.Input; /** * Tenancy identifier */ tenancyId?: pulumi.Input; /** * The time when the migration asset was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time when the migration asset was updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; /** * The type of asset referenced for inventory. */ type?: pulumi.Input; } /** * The set of arguments for constructing a MigrationAsset resource. */ export interface MigrationAssetArgs { /** * Availability domain */ availabilityDomain: pulumi.Input; /** * (Updatable) A user-friendly name. If empty, then source asset name will be used. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * OCID of an asset for an inventory. */ inventoryAssetId: pulumi.Input; migrationAssetDependsOns?: pulumi.Input[] | undefined>; /** * OCID of the associated migration. */ migrationId: pulumi.Input; /** * Replication compartment identifier */ replicationCompartmentId: pulumi.Input; /** * Replication location detail where the snapshots reside */ replicationLocationDetail?: pulumi.Input; /** * (Updatable) Replication schedule identifier */ replicationScheduleId?: pulumi.Input; /** * Name of snapshot bucket * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ snapShotBucketName: pulumi.Input; } //# sourceMappingURL=migrationAsset.d.ts.map