import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Fsu Cycle resource in Oracle Cloud Infrastructure Fleet Software Update service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/edsfu/latest/FsuCycle * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/fleetsoftwareupdate * * Creates a new Exadata Fleet Update Cycle. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testFsuCycle = new oci.fleetsoftwareupdate.FsuCycle("test_fsu_cycle", { * compartmentId: compartmentId, * fsuCollectionId: testFsuCollection.id, * goalVersionDetails: { * type: fsuCycleGoalVersionDetailsType, * components: [{ * componentType: fsuCycleGoalVersionDetailsComponentsComponentType, * goalVersionDetails: { * goalSoftwareImageId: testImage.id, * goalType: fsuCycleGoalVersionDetailsComponentsGoalVersionDetailsGoalType, * goalVersion: fsuCycleGoalVersionDetailsComponentsGoalVersionDetailsGoalVersion, * }, * homePolicy: fsuCycleGoalVersionDetailsComponentsHomePolicy, * newHomePrefix: fsuCycleGoalVersionDetailsComponentsNewHomePrefix, * }], * homePolicy: fsuCycleGoalVersionDetailsHomePolicy, * newHomePrefix: fsuCycleGoalVersionDetailsNewHomePrefix, * softwareImageId: testImage.id, * version: fsuCycleGoalVersionDetailsVersion, * }, * type: fsuCycleType, * applyActionSchedule: { * timeToStart: fsuCycleApplyActionScheduleTimeToStart, * type: fsuCycleApplyActionScheduleType, * }, * batchingStrategy: { * isForceRolling: fsuCycleBatchingStrategyIsForceRolling === "true", * isWaitForBatchResume: fsuCycleBatchingStrategyIsWaitForBatchResume === "true", * percentage: Number(fsuCycleBatchingStrategyPercentage), * type: fsuCycleBatchingStrategyType, * }, * definedTags: { * "foo-namespace.bar-key": "value", * }, * diagnosticsCollection: { * logCollectionMode: fsuCycleDiagnosticsCollectionLogCollectionMode, * }, * displayName: fsuCycleDisplayName, * freeformTags: { * "bar-key": "value", * }, * isIgnoreMissingPatches: fsuCycleIsIgnoreMissingPatches, * isIgnorePatches: fsuCycleIsIgnorePatches === "true", * isKeepPlacement: fsuCycleIsKeepPlacement === "true", * maxDrainTimeoutInSeconds: Number(fsuCycleMaxDrainTimeoutInSeconds), * stageActionSchedule: { * timeToStart: fsuCycleStageActionScheduleTimeToStart, * type: fsuCycleStageActionScheduleType, * }, * upgradeDetails: { * collectionType: fsuCycleUpgradeDetailsCollectionType, * isIgnorePostUpgradeErrors: fsuCycleUpgradeDetailsIsIgnorePostUpgradeErrors === "true", * isIgnorePrerequisites: fsuCycleUpgradeDetailsIsIgnorePrerequisites === "true", * isRecompileInvalidObjects: fsuCycleUpgradeDetailsIsRecompileInvalidObjects === "true", * isTimeZoneUpgrade: fsuCycleUpgradeDetailsIsTimeZoneUpgrade === "true", * maxDrainTimeoutInSeconds: Number(fsuCycleUpgradeDetailsMaxDrainTimeoutInSeconds), * }, * }); * ``` * * ## Import * * FsuCycles can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:FleetSoftwareUpdate/fsuCycle:FsuCycle test_fsu_cycle "id" * ``` */ export declare class FsuCycle extends pulumi.CustomResource { /** * Get an existing FsuCycle 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?: FsuCycleState, opts?: pulumi.CustomResourceOptions): FsuCycle; /** * Returns true if the given object is an instance of FsuCycle. 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 FsuCycle; /** * Scheduling related details for the Exadata Fleet Update Action during create operations. The specified time should not conflict with existing Exadata Infrastructure maintenance windows. Null scheduleDetails for Stage and Apply Actions in Exadata Fleet Update Cycle creation would not create Actions. Null scheduleDetails for CreateAction would execute the Exadata Fleet Update Action as soon as possible. */ readonly applyActionSchedule: pulumi.Output; /** * (Updatable) Batching strategy details to use during PRECHECK and APPLY Cycle Actions. */ readonly batchingStrategy: pulumi.Output; /** * Type of Exadata Fleet Update collection being upgraded. */ readonly collectionType: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compartment. */ 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) Details to configure diagnostics collection for targets affected by this Exadata Fleet Update Maintenance Cycle. */ readonly diagnosticsCollection: pulumi.Output; /** * (Updatable) The user-friendly name for the Exadata Fleet Update Cycle. */ readonly displayName: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Fleet Update Action that is currently in progress, if applicable. */ readonly executingFsuActionId: 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"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Fleet Update Collection which will be updated by the Exadata Fleet Update Cycle being created. */ readonly fsuCollectionId: pulumi.Output; /** * (Updatable) Goal version or image details for the Exadata Fleet Update Cycle. */ readonly goalVersionDetails: pulumi.Output; /** * (Updatable) List of identifiers of patches to ignore. This attribute will be ignored for Exadata Image (Guest OS) maintenance update. */ readonly isIgnoreMissingPatches: pulumi.Output; /** * (Updatable) Ignore patch conflicts or missing patches between the source and goal homes. This attribute will be ignored for Exadata Image (Guest OS) maintenance update. */ readonly isIgnorePatches: pulumi.Output; /** * (Updatable) Ensure that database services are online on the same VMs before and after the maintenance update. */ readonly isKeepPlacement: pulumi.Output; /** * The latest Action type that was completed in the Exadata Fleet Update Cycle. No value would indicate that the Cycle has not completed any Action yet. */ readonly lastCompletedAction: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the latest Action in the Exadata Fleet Update Cycle. */ readonly lastCompletedActionId: pulumi.Output; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ readonly lifecycleDetails: pulumi.Output; /** * (Updatable) Timeout for session draining for database services specified in seconds. */ readonly maxDrainTimeoutInSeconds: pulumi.Output; /** * All possible Exadata Fleet Update Actions will be listed. The first element is the suggested Exadata Fleet Update Action. */ readonly nextActionToExecutes: pulumi.Output; /** * Current rollback cycle state if rollback maintenance cycle action has been attempted. No value would indicate that the Cycle has not run a rollback maintenance cycle action before. */ readonly rollbackCycleState: pulumi.Output; /** * Scheduling related details for the Exadata Fleet Update Action during create operations. The specified time should not conflict with existing Exadata Infrastructure maintenance windows. Null scheduleDetails for Stage and Apply Actions in Exadata Fleet Update Cycle creation would not create Actions. Null scheduleDetails for CreateAction would execute the Exadata Fleet Update Action as soon as possible. */ readonly stageActionSchedule: pulumi.Output; /** * The current state of the Exadata Fleet Update Cycle. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The date and time the Exadata Fleet Update Cycle was created, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. */ readonly timeCreated: pulumi.Output; /** * The date and time the Exadata Fleet Update Cycle was finished, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339). */ readonly timeFinished: pulumi.Output; /** * The date and time the Exadata Fleet Update Cycle was updated, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. */ readonly timeUpdated: pulumi.Output; /** * (Updatable) Type of Exadata Fleet Update Cycle. */ readonly type: pulumi.Output; /** * (Updatable) Details of supported upgrade options for DB or GI collection. */ readonly upgradeDetails: pulumi.Output; /** * Create a FsuCycle 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: FsuCycleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering FsuCycle resources. */ export interface FsuCycleState { /** * Scheduling related details for the Exadata Fleet Update Action during create operations. The specified time should not conflict with existing Exadata Infrastructure maintenance windows. Null scheduleDetails for Stage and Apply Actions in Exadata Fleet Update Cycle creation would not create Actions. Null scheduleDetails for CreateAction would execute the Exadata Fleet Update Action as soon as possible. */ applyActionSchedule?: pulumi.Input; /** * (Updatable) Batching strategy details to use during PRECHECK and APPLY Cycle Actions. */ batchingStrategy?: pulumi.Input; /** * Type of Exadata Fleet Update collection being upgraded. */ collectionType?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compartment. */ 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) Details to configure diagnostics collection for targets affected by this Exadata Fleet Update Maintenance Cycle. */ diagnosticsCollection?: pulumi.Input; /** * (Updatable) The user-friendly name for the Exadata Fleet Update Cycle. */ displayName?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Fleet Update Action that is currently in progress, if applicable. */ executingFsuActionId?: 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"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Fleet Update Collection which will be updated by the Exadata Fleet Update Cycle being created. */ fsuCollectionId?: pulumi.Input; /** * (Updatable) Goal version or image details for the Exadata Fleet Update Cycle. */ goalVersionDetails?: pulumi.Input; /** * (Updatable) List of identifiers of patches to ignore. This attribute will be ignored for Exadata Image (Guest OS) maintenance update. */ isIgnoreMissingPatches?: pulumi.Input[] | undefined>; /** * (Updatable) Ignore patch conflicts or missing patches between the source and goal homes. This attribute will be ignored for Exadata Image (Guest OS) maintenance update. */ isIgnorePatches?: pulumi.Input; /** * (Updatable) Ensure that database services are online on the same VMs before and after the maintenance update. */ isKeepPlacement?: pulumi.Input; /** * The latest Action type that was completed in the Exadata Fleet Update Cycle. No value would indicate that the Cycle has not completed any Action yet. */ lastCompletedAction?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the latest Action in the Exadata Fleet Update Cycle. */ lastCompletedActionId?: pulumi.Input; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ lifecycleDetails?: pulumi.Input; /** * (Updatable) Timeout for session draining for database services specified in seconds. */ maxDrainTimeoutInSeconds?: pulumi.Input; /** * All possible Exadata Fleet Update Actions will be listed. The first element is the suggested Exadata Fleet Update Action. */ nextActionToExecutes?: pulumi.Input[] | undefined>; /** * Current rollback cycle state if rollback maintenance cycle action has been attempted. No value would indicate that the Cycle has not run a rollback maintenance cycle action before. */ rollbackCycleState?: pulumi.Input; /** * Scheduling related details for the Exadata Fleet Update Action during create operations. The specified time should not conflict with existing Exadata Infrastructure maintenance windows. Null scheduleDetails for Stage and Apply Actions in Exadata Fleet Update Cycle creation would not create Actions. Null scheduleDetails for CreateAction would execute the Exadata Fleet Update Action as soon as possible. */ stageActionSchedule?: pulumi.Input; /** * The current state of the Exadata Fleet Update Cycle. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date and time the Exadata Fleet Update Cycle was created, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. */ timeCreated?: pulumi.Input; /** * The date and time the Exadata Fleet Update Cycle was finished, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339). */ timeFinished?: pulumi.Input; /** * The date and time the Exadata Fleet Update Cycle was updated, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. */ timeUpdated?: pulumi.Input; /** * (Updatable) Type of Exadata Fleet Update Cycle. */ type?: pulumi.Input; /** * (Updatable) Details of supported upgrade options for DB or GI collection. */ upgradeDetails?: pulumi.Input; } /** * The set of arguments for constructing a FsuCycle resource. */ export interface FsuCycleArgs { /** * Scheduling related details for the Exadata Fleet Update Action during create operations. The specified time should not conflict with existing Exadata Infrastructure maintenance windows. Null scheduleDetails for Stage and Apply Actions in Exadata Fleet Update Cycle creation would not create Actions. Null scheduleDetails for CreateAction would execute the Exadata Fleet Update Action as soon as possible. */ applyActionSchedule?: pulumi.Input; /** * (Updatable) Batching strategy details to use during PRECHECK and APPLY Cycle Actions. */ batchingStrategy?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compartment. */ 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) Details to configure diagnostics collection for targets affected by this Exadata Fleet Update Maintenance Cycle. */ diagnosticsCollection?: pulumi.Input; /** * (Updatable) The user-friendly name for the Exadata Fleet Update Cycle. */ displayName?: 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"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Fleet Update Collection which will be updated by the Exadata Fleet Update Cycle being created. */ fsuCollectionId: pulumi.Input; /** * (Updatable) Goal version or image details for the Exadata Fleet Update Cycle. */ goalVersionDetails: pulumi.Input; /** * (Updatable) List of identifiers of patches to ignore. This attribute will be ignored for Exadata Image (Guest OS) maintenance update. */ isIgnoreMissingPatches?: pulumi.Input[] | undefined>; /** * (Updatable) Ignore patch conflicts or missing patches between the source and goal homes. This attribute will be ignored for Exadata Image (Guest OS) maintenance update. */ isIgnorePatches?: pulumi.Input; /** * (Updatable) Ensure that database services are online on the same VMs before and after the maintenance update. */ isKeepPlacement?: pulumi.Input; /** * (Updatable) Timeout for session draining for database services specified in seconds. */ maxDrainTimeoutInSeconds?: pulumi.Input; /** * Scheduling related details for the Exadata Fleet Update Action during create operations. The specified time should not conflict with existing Exadata Infrastructure maintenance windows. Null scheduleDetails for Stage and Apply Actions in Exadata Fleet Update Cycle creation would not create Actions. Null scheduleDetails for CreateAction would execute the Exadata Fleet Update Action as soon as possible. */ stageActionSchedule?: pulumi.Input; /** * (Updatable) Type of Exadata Fleet Update Cycle. */ type: pulumi.Input; /** * (Updatable) Details of supported upgrade options for DB or GI collection. */ upgradeDetails?: pulumi.Input; } //# sourceMappingURL=fsuCycle.d.ts.map