import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Migration Asset resource in Oracle Cloud Infrastructure Cloud Migrations service. * * Gets a migration asset by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMigrationAsset = oci.cloudmigrations.getMigrationAsset({ * migrationAssetId: testMigrationAssetOciCloudMigrationsMigrationAsset.id, * }); * ``` */ export declare function getMigrationAsset(args: GetMigrationAssetArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMigrationAsset. */ export interface GetMigrationAssetArgs { /** * Unique migration asset identifier */ migrationAssetId: string; } /** * A collection of values returned by getMigrationAsset. */ export interface GetMigrationAssetResult { /** * Availability domain */ readonly availabilityDomain: string; /** * Compartment Identifier */ readonly compartmentId: string; /** * List of migration assets that depend on the asset. */ readonly dependedOnBies: string[]; /** * Mapping of source disk id to destination disk details */ readonly destinationDisks: { [key: string]: string; }; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName: string; /** * Asset ID generated by mirgration service. It is used in the mirgration service pipeline. */ readonly id: string; readonly inventoryAssetId: 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: string; readonly migrationAssetDependsOns: string[]; readonly migrationAssetId: string; /** * OCID of the associated migration. */ readonly migrationId: string; /** * List of notifications */ readonly notifications: string[]; /** * The parent snapshot of the migration asset to be used by the replication task. */ readonly parentSnapshot: string; /** * Replication compartment identifier */ readonly replicationCompartmentId: string; /** * Replication location detail where the snapshots reside */ readonly replicationLocationDetails: outputs.CloudMigrations.GetMigrationAssetReplicationLocationDetail[]; /** * Replication schedule identifier */ readonly replicationScheduleId: string; /** * Name of snapshot bucket */ readonly snapShotBucketName: string; /** * Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots. Example: `{"bar-key": "value"}` */ readonly snapshots: { [key: string]: string; }; /** * OCID that is referenced to an asset for an inventory. */ readonly sourceAssetId: string; /** * The current state of the migration asset. */ readonly state: string; /** * Tenancy identifier */ readonly tenancyId: string; /** * The time when the migration asset was created. An RFC3339 formatted datetime string. */ readonly timeCreated: string; /** * The time when the migration asset was updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: string; /** * The type of asset referenced for inventory. */ readonly type: string; } /** * This data source provides details about a specific Migration Asset resource in Oracle Cloud Infrastructure Cloud Migrations service. * * Gets a migration asset by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMigrationAsset = oci.cloudmigrations.getMigrationAsset({ * migrationAssetId: testMigrationAssetOciCloudMigrationsMigrationAsset.id, * }); * ``` */ export declare function getMigrationAssetOutput(args: GetMigrationAssetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMigrationAsset. */ export interface GetMigrationAssetOutputArgs { /** * Unique migration asset identifier */ migrationAssetId: pulumi.Input; } //# sourceMappingURL=getMigrationAsset.d.ts.map