import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Maintenance Windows Stop resource in Oracle Cloud Infrastructure Stack Monitoring service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/stack-monitoring/latest/MaintenanceWindowsStop * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/stack_monitoring * * Stop a maintenance window before the end time is reached. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMaintenanceWindowsStop = new oci.stackmonitoring.MaintenanceWindowsStop("test_maintenance_windows_stop", {maintenanceWindowId: testMaintenanceWindow.id}); * ``` * * ## Import * * MaintenanceWindowsStop can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:StackMonitoring/maintenanceWindowsStop:MaintenanceWindowsStop test_maintenance_windows_stop "id" * ``` */ export declare class MaintenanceWindowsStop extends pulumi.CustomResource { /** * Get an existing MaintenanceWindowsStop 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?: MaintenanceWindowsStopState, opts?: pulumi.CustomResourceOptions): MaintenanceWindowsStop; /** * Returns true if the given object is an instance of MaintenanceWindowsStop. 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 MaintenanceWindowsStop; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window. * * ** 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 maintenanceWindowId: pulumi.Output; /** * Create a MaintenanceWindowsStop 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: MaintenanceWindowsStopArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MaintenanceWindowsStop resources. */ export interface MaintenanceWindowsStopState { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window. * * ** 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 */ maintenanceWindowId?: pulumi.Input; } /** * The set of arguments for constructing a MaintenanceWindowsStop resource. */ export interface MaintenanceWindowsStopArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window. * * ** 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 */ maintenanceWindowId: pulumi.Input; } //# sourceMappingURL=maintenanceWindowsStop.d.ts.map