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 Assessments in Oracle Cloud Infrastructure Database Migration service. * * List all Assessments. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAssessments = oci.databasemigration.getAssessments({ * compartmentId: compartmentId, * displayName: assessmentDisplayName, * lifecycleDetails: assessmentLifecycleDetails, * state: assessmentState, * }); * ``` */ export declare function getAssessments(args: GetAssessmentsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAssessments. */ export interface GetAssessmentsArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; filters?: inputs.DatabaseMigration.GetAssessmentsFilter[]; /** * The lifecycle detailed status of the Migration. */ lifecycleDetails?: string; /** * The lifecycle state of the Assessment. */ state?: string; } /** * A collection of values returned by getAssessments. */ export interface GetAssessmentsResult { /** * The list of assessment_collection. */ readonly assessmentCollections: outputs.DatabaseMigration.GetAssessmentsAssessmentCollection[]; /** * The OCID of the resource being referenced. */ readonly compartmentId: string; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.DatabaseMigration.GetAssessmentsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly lifecycleDetails?: string; /** * The current state of the Assessment resource. */ readonly state?: string; } /** * This data source provides the list of Assessments in Oracle Cloud Infrastructure Database Migration service. * * List all Assessments. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAssessments = oci.databasemigration.getAssessments({ * compartmentId: compartmentId, * displayName: assessmentDisplayName, * lifecycleDetails: assessmentLifecycleDetails, * state: assessmentState, * }); * ``` */ export declare function getAssessmentsOutput(args: GetAssessmentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAssessments. */ export interface GetAssessmentsOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The lifecycle detailed status of the Migration. */ lifecycleDetails?: pulumi.Input; /** * The lifecycle state of the Assessment. */ state?: pulumi.Input; } //# sourceMappingURL=getAssessments.d.ts.map