import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Enrollment Status resource in Oracle Cloud Infrastructure Optimizer service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/advisor/latest/EnrollmentStatus * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/optimizer * * Updates the enrollment status of the tenancy. * * ## Import * * EnrollmentStatus can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Optimizer/enrollmentStatus:EnrollmentStatus test_enrollment_status "id" * ``` */ export declare class EnrollmentStatus extends pulumi.CustomResource { /** * Get an existing EnrollmentStatus resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: EnrollmentStatusState, opts?: pulumi.CustomResourceOptions): EnrollmentStatus; /** * Returns true if the given object is an instance of EnrollmentStatus. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is EnrollmentStatus; /** * The OCID of the compartment. */ readonly compartmentId: pulumi.Output; /** * The unique OCID associated with the enrollment status. */ readonly enrollmentStatusId: pulumi.Output; /** * The enrollment status' current state. */ readonly state: pulumi.Output; /** * (Updatable) The Cloud Advisor enrollment status. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly status: pulumi.Output; /** * The reason for the enrollment status of the tenancy. */ readonly statusReason: pulumi.Output; /** * The date and time the enrollment status was created, in the format defined by RFC3339. */ readonly timeCreated: pulumi.Output; /** * The date and time the enrollment status was last updated, in the format defined by RFC3339. */ readonly timeUpdated: pulumi.Output; /** * Create a EnrollmentStatus resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: EnrollmentStatusArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EnrollmentStatus resources. */ export interface EnrollmentStatusState { /** * The OCID of the compartment. */ compartmentId?: pulumi.Input; /** * The unique OCID associated with the enrollment status. */ enrollmentStatusId?: pulumi.Input; /** * The enrollment status' current state. */ state?: pulumi.Input; /** * (Updatable) The Cloud Advisor enrollment status. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ status?: pulumi.Input; /** * The reason for the enrollment status of the tenancy. */ statusReason?: pulumi.Input; /** * The date and time the enrollment status was created, in the format defined by RFC3339. */ timeCreated?: pulumi.Input; /** * The date and time the enrollment status was last updated, in the format defined by RFC3339. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a EnrollmentStatus resource. */ export interface EnrollmentStatusArgs { /** * The unique OCID associated with the enrollment status. */ enrollmentStatusId: pulumi.Input; /** * (Updatable) The Cloud Advisor enrollment status. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ status: pulumi.Input; } //# sourceMappingURL=enrollmentStatus.d.ts.map