import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Enrollment Status resource in Oracle Cloud Infrastructure Optimizer service. * * Gets the Cloud Advisor enrollment status. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testEnrollmentStatus = oci.optimizer.getEnrollmentStatus({ * enrollmentStatusId: testEnrollmentStatusOciOptimizerEnrollmentStatus.id, * }); * ``` */ export declare function getEnrollmentStatus(args: GetEnrollmentStatusArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getEnrollmentStatus. */ export interface GetEnrollmentStatusArgs { /** * The unique OCID associated with the enrollment status. */ enrollmentStatusId: string; } /** * A collection of values returned by getEnrollmentStatus. */ export interface GetEnrollmentStatusResult { /** * The OCID of the compartment. */ readonly compartmentId: string; readonly enrollmentStatusId: string; /** * The OCID of the enrollment status. */ readonly id: string; /** * The enrollment status' current state. */ readonly state: string; /** * The current Cloud Advisor enrollment status. */ readonly status: string; /** * The reason for the enrollment status of the tenancy. */ readonly statusReason: string; /** * The date and time the enrollment status was created, in the format defined by RFC3339. */ readonly timeCreated: string; /** * The date and time the enrollment status was last updated, in the format defined by RFC3339. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Enrollment Status resource in Oracle Cloud Infrastructure Optimizer service. * * Gets the Cloud Advisor enrollment status. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testEnrollmentStatus = oci.optimizer.getEnrollmentStatus({ * enrollmentStatusId: testEnrollmentStatusOciOptimizerEnrollmentStatus.id, * }); * ``` */ export declare function getEnrollmentStatusOutput(args: GetEnrollmentStatusOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getEnrollmentStatus. */ export interface GetEnrollmentStatusOutputArgs { /** * The unique OCID associated with the enrollment status. */ enrollmentStatusId: pulumi.Input; } //# sourceMappingURL=getEnrollmentStatus.d.ts.map