import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Maintenance Window resource in Oracle Cloud Infrastructure Fleet Apps Management service. * * Get the details for a maintenance window in Fleet Application Management. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMaintenanceWindow = oci.fleetappsmanagement.getMaintenanceWindow({ * maintenanceWindowId: testMaintenanceWindowOciFleetAppsManagementMaintenanceWindow.id, * }); * ``` */ export declare function getMaintenanceWindow(args: GetMaintenanceWindowArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMaintenanceWindow. */ export interface GetMaintenanceWindowArgs { /** * unique MaintenanceWindow identifier */ maintenanceWindowId: string; } /** * A collection of values returned by getMaintenanceWindow. */ export interface GetMaintenanceWindowResult { /** * Compartment OCID */ readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: { [key: string]: string; }; /** * A user-friendly description. To provide some insight about the resource. Avoid entering confidential information. */ readonly description: string; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource` */ readonly displayName: string; /** * Duration of the maintenance window. Specify how long the maintenance window remains open. */ readonly duration: string; /** * 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: { [key: string]: string; }; /** * The OCID of the resource. */ readonly id: string; /** * Does the maintenenace window cause outage? An outage indicates whether a maintenance window can consider operations that require downtime. It means a period when the application is not accessible. */ readonly isOutage: boolean; /** * Is this a recurring maintenance window? */ readonly isRecurring: boolean; /** * 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: string; readonly maintenanceWindowId: string; /** * Recurrence rule specification if maintenance window recurring. Specify the frequency of running the maintenance window. */ readonly recurrences: string; /** * Associated region */ readonly resourceRegion: string; /** * The current state of the MaintenanceWindow. */ readonly state: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The time this resource was created. An RFC3339 formatted datetime string. */ readonly timeCreated: string; /** * Specify the date and time of the day that the maintenance window starts. */ readonly timeScheduleStart: string; /** * The time this resource was last updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Maintenance Window resource in Oracle Cloud Infrastructure Fleet Apps Management service. * * Get the details for a maintenance window in Fleet Application Management. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMaintenanceWindow = oci.fleetappsmanagement.getMaintenanceWindow({ * maintenanceWindowId: testMaintenanceWindowOciFleetAppsManagementMaintenanceWindow.id, * }); * ``` */ export declare function getMaintenanceWindowOutput(args: GetMaintenanceWindowOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMaintenanceWindow. */ export interface GetMaintenanceWindowOutputArgs { /** * unique MaintenanceWindow identifier */ maintenanceWindowId: pulumi.Input; } //# sourceMappingURL=getMaintenanceWindow.d.ts.map