import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/compute-cloud-at-customer/latest/CccUpgradeSchedule * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/computecloudatcustomer * * Creates a new Compute Cloud@Customer upgrade schedule. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCccUpgradeSchedule = new oci.computecloud.AtCustomerCccUpgradeSchedule("test_ccc_upgrade_schedule", { * compartmentId: compartmentId, * displayName: cccUpgradeScheduleDisplayName, * events: [{ * description: cccUpgradeScheduleEventsDescription, * scheduleEventDuration: cccUpgradeScheduleEventsScheduleEventDuration, * timeStart: cccUpgradeScheduleEventsTimeStart, * scheduleEventRecurrences: cccUpgradeScheduleEventsScheduleEventRecurrences, * }], * definedTags: { * "foo-namespace.bar-key": "value", * }, * description: cccUpgradeScheduleDescription, * freeformTags: { * "bar-key": "value", * }, * }); * ``` * * ## Import * * CccUpgradeSchedules can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule test_ccc_upgrade_schedule "id" * ``` */ export declare class AtCustomerCccUpgradeSchedule extends pulumi.CustomResource { /** * Get an existing AtCustomerCccUpgradeSchedule 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?: AtCustomerCccUpgradeScheduleState, opts?: pulumi.CustomResourceOptions): AtCustomerCccUpgradeSchedule; /** * Returns true if the given object is an instance of AtCustomerCccUpgradeSchedule. 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 AtCustomerCccUpgradeSchedule; /** * (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) An optional description of the Compute Cloud@Customer upgrade schedule. Avoid entering confidential information. */ readonly description: pulumi.Output; /** * (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. */ readonly displayName: pulumi.Output; /** * (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. */ readonly events: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` * * ** 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 freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. */ readonly infrastructureIds: pulumi.Output; /** * A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. */ readonly lifecycleDetails: pulumi.Output; /** * Lifecycle state of the resource. */ readonly state: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time the upgrade schedule was created, using an RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * Create a AtCustomerCccUpgradeSchedule 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: AtCustomerCccUpgradeScheduleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AtCustomerCccUpgradeSchedule resources. */ export interface AtCustomerCccUpgradeScheduleState { /** * (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) An optional description of the Compute Cloud@Customer upgrade schedule. Avoid entering confidential information. */ description?: pulumi.Input; /** * (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. */ events?: pulumi.Input[] | undefined>; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` * * ** 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 */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. */ infrastructureIds?: pulumi.Input[] | undefined>; /** * A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. */ lifecycleDetails?: pulumi.Input; /** * Lifecycle state of the resource. */ state?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time the upgrade schedule was created, using an RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a AtCustomerCccUpgradeSchedule resource. */ export interface AtCustomerCccUpgradeScheduleArgs { /** * (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) An optional description of the Compute Cloud@Customer upgrade schedule. Avoid entering confidential information. */ description?: pulumi.Input; /** * (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. */ displayName: pulumi.Input; /** * (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. */ events: pulumi.Input[]>; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` * * ** 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 */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=atCustomerCccUpgradeSchedule.d.ts.map