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 Migrations in Oracle Cloud Infrastructure Cloud Migrations service. * * Returns a list of migrations. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMigrations = oci.cloudmigrations.getMigrations({ * compartmentId: compartmentId, * displayName: migrationDisplayName, * migrationId: testMigration.id, * state: migrationState, * }); * ``` */ export declare function getMigrations(args?: GetMigrationsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMigrations. */ export interface GetMigrationsArgs { /** * The ID of the compartment in which to list resources. */ compartmentId?: string; /** * A filter to return only resources that match the entire given display name. */ displayName?: string; filters?: inputs.CloudMigrations.GetMigrationsFilter[]; /** * Unique migration identifier */ migrationId?: string; /** * A filter to return only resources where the resource's lifecycle state matches the given lifecycle state. */ state?: string; } /** * A collection of values returned by getMigrations. */ export interface GetMigrationsResult { /** * Compartment Identifier */ readonly compartmentId?: string; /** * Migration Identifier that can be renamed */ readonly displayName?: string; readonly filters?: outputs.CloudMigrations.GetMigrationsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of migration_collection. */ readonly migrationCollections: outputs.CloudMigrations.GetMigrationsMigrationCollection[]; readonly migrationId?: string; /** * The current state of migration. */ readonly state?: string; } /** * This data source provides the list of Migrations in Oracle Cloud Infrastructure Cloud Migrations service. * * Returns a list of migrations. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMigrations = oci.cloudmigrations.getMigrations({ * compartmentId: compartmentId, * displayName: migrationDisplayName, * migrationId: testMigration.id, * state: migrationState, * }); * ``` */ export declare function getMigrationsOutput(args?: GetMigrationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMigrations. */ export interface GetMigrationsOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId?: pulumi.Input; /** * A filter to return only resources that match the entire given display name. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Unique migration identifier */ migrationId?: pulumi.Input; /** * A filter to return only resources where the resource's lifecycle state matches the given lifecycle state. */ state?: pulumi.Input; } //# sourceMappingURL=getMigrations.d.ts.map