import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Target Asset resource in Oracle Cloud Infrastructure Cloud Migrations service. * * Gets a target asset by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTargetAsset = oci.cloudmigrations.getTargetAsset({ * targetAssetId: testTargetAssetOciCloudMigrationsTargetAsset.id, * }); * ``` */ export declare function getTargetAsset(args: GetTargetAssetArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTargetAsset. */ export interface GetTargetAssetArgs { /** * Unique target asset identifier */ targetAssetId: string; } /** * A collection of values returned by getTargetAsset. */ export interface GetTargetAssetResult { /** * Performance of the block volumes. */ readonly blockVolumesPerformance: number; /** * The OCID of the compartment. */ readonly compartmentId: string; /** * Messages about the compatibility issues. */ readonly compatibilityMessages: outputs.CloudMigrations.GetTargetAssetCompatibilityMessage[]; /** * Created resource identifier */ readonly createdResourceId: string; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName: string; /** * Cost estimation description */ readonly estimatedCosts: outputs.CloudMigrations.GetTargetAssetEstimatedCost[]; /** * Asset ID generated by mirgration service. It is used in the mirgration service pipeline. */ readonly id: string; /** * A boolean indicating whether the asset should be migrated. */ readonly isExcludedFromExecution: boolean; /** * 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; /** * Description of the migration asset. */ readonly migrationAssets: outputs.CloudMigrations.GetTargetAssetMigrationAsset[]; /** * OCID of the associated migration plan. */ readonly migrationPlanId: string; /** * Microsoft license for VM configuration. */ readonly msLicense: string; /** * Preferred VM shape type that you provide. */ readonly preferredShapeType: string; /** * Instance launch details. Use the `sourceDetails` parameter to specify whether a boot volume or an image should be used to launch a new instance. */ readonly recommendedSpecs: outputs.CloudMigrations.GetTargetAssetRecommendedSpec[]; /** * The current state of the target asset. */ readonly state: string; readonly targetAssetId: string; /** * Instance launch details. Use the `sourceDetails` parameter to specify whether a boot volume or an image should be used to launch a new instance. */ readonly testSpecs: outputs.CloudMigrations.GetTargetAssetTestSpec[]; /** * The time when the assessment was done. An RFC3339 formatted datetime string. */ readonly timeAssessed: string; /** * The time when the target asset was created. An RFC3339 formatted datetime string. */ readonly timeCreated: string; /** * The time when the target asset was updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: string; /** * The type of action to run when the instance is interrupted for eviction. */ readonly type: string; /** * Instance launch details. Use the `sourceDetails` parameter to specify whether a boot volume or an image should be used to launch a new instance. */ readonly userSpecs: outputs.CloudMigrations.GetTargetAssetUserSpec[]; } /** * This data source provides details about a specific Target Asset resource in Oracle Cloud Infrastructure Cloud Migrations service. * * Gets a target asset by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTargetAsset = oci.cloudmigrations.getTargetAsset({ * targetAssetId: testTargetAssetOciCloudMigrationsTargetAsset.id, * }); * ``` */ export declare function getTargetAssetOutput(args: GetTargetAssetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTargetAsset. */ export interface GetTargetAssetOutputArgs { /** * Unique target asset identifier */ targetAssetId: pulumi.Input; } //# sourceMappingURL=getTargetAsset.d.ts.map