import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Target Assets in Oracle Cloud Infrastructure Cloud Migrations service. * * Returns a list of target assets. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTargetAssets = oci.cloudmigrations.getTargetAssets({ * displayName: targetAssetDisplayName, * migrationPlanId: testMigrationPlan.id, * state: targetAssetState, * targetAssetId: testTargetAsset.id, * }); * ``` */ export declare function getTargetAssets(args?: GetTargetAssetsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTargetAssets. */ export interface GetTargetAssetsArgs { /** * A filter to return only resources that match the entire given display name. */ displayName?: string; filters?: inputs.CloudMigrations.GetTargetAssetsFilter[]; /** * Unique migration plan identifier */ migrationPlanId?: string; /** * The current state of the target asset. */ state?: string; /** * Unique target asset identifier */ targetAssetId?: string; } /** * A collection of values returned by getTargetAssets. */ export interface GetTargetAssetsResult { /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.CloudMigrations.GetTargetAssetsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * OCID of the associated migration plan. */ readonly migrationPlanId?: string; /** * The current state of the target asset. */ readonly state?: string; /** * The list of target_asset_collection. */ readonly targetAssetCollections: outputs.CloudMigrations.GetTargetAssetsTargetAssetCollection[]; readonly targetAssetId?: string; } /** * This data source provides the list of Target Assets in Oracle Cloud Infrastructure Cloud Migrations service. * * Returns a list of target assets. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTargetAssets = oci.cloudmigrations.getTargetAssets({ * displayName: targetAssetDisplayName, * migrationPlanId: testMigrationPlan.id, * state: targetAssetState, * targetAssetId: testTargetAsset.id, * }); * ``` */ export declare function getTargetAssetsOutput(args?: GetTargetAssetsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTargetAssets. */ export interface GetTargetAssetsOutputArgs { /** * A filter to return only resources that match the entire given display name. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Unique migration plan identifier */ migrationPlanId?: pulumi.Input; /** * The current state of the target asset. */ state?: pulumi.Input; /** * Unique target asset identifier */ targetAssetId?: pulumi.Input; } //# sourceMappingURL=getTargetAssets.d.ts.map