import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a resource to create maintenance window based on the input parameters. * * ## Example Usage * * ### resource to create weekly maintenance window * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const acctest_managed = new nutanix.NdbMaintenanceWindow("acctest-managed", { * name: "test-maintenance", * description: "desc", * duration: 3, * recurrence: "WEEKLY", * dayOfWeek: "TUESDAY", * startTime: "17:04:47", * }); * ``` * * * ### resource to create monthly maintenance window * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const acctest_managed = new nutanix.NdbMaintenanceWindow("acctest-managed", { * name: "test-maintenance", * description: "description", * duration: 2, * recurrence: "MONTHLY", * dayOfWeek: "TUESDAY", * startTime: "17:04:47", * weekOfMonth: 4, * }); * ``` * */ export declare class NdbMaintenanceWindow extends pulumi.CustomResource { /** * Get an existing NdbMaintenanceWindow 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?: NdbMaintenanceWindowState, opts?: pulumi.CustomResourceOptions): NdbMaintenanceWindow; /** * Returns true if the given object is an instance of NdbMaintenanceWindow. 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 NdbMaintenanceWindow; /** * access level */ readonly accessLevel: pulumi.Output; /** * created date of maintenance window */ readonly dateCreated: pulumi.Output; /** * modified date of maintenance window */ readonly dateModified: pulumi.Output; /** * Day of the week to trigger maintenance window. Supports [ MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY ] */ readonly dayOfWeek: pulumi.Output; /** * Description for maintenance window */ readonly description: pulumi.Output; /** * duration in hours. Default is 2 */ readonly duration: pulumi.Output; /** * entity task association for maintenance window */ readonly entityTaskAssocs: pulumi.Output; /** * Name for the maintenance window. */ readonly name: pulumi.Output; /** * next run time for maintenance window to trigger */ readonly nextRunTime: pulumi.Output; /** * owner id of maintenance window */ readonly ownerId: pulumi.Output; /** * properties of maintenance window */ readonly properties: pulumi.Output; /** * Supported values [ MONTHLY, WEEKLY ] */ readonly recurrence: pulumi.Output; /** * schedule of maintenance window */ readonly schedules: pulumi.Output; /** * start time for maintenance window to trigger */ readonly startTime: pulumi.Output; /** * status of maintennace window */ readonly status: pulumi.Output; /** * tags of maintenance window */ readonly tags: pulumi.Output; /** * timezone . Default is Asia/Calcutta . */ readonly timezone: pulumi.Output; /** * week of the month. Supports [1, 2, 3, 4] . */ readonly weekOfMonth: pulumi.Output; /** * Create a NdbMaintenanceWindow 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: NdbMaintenanceWindowArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NdbMaintenanceWindow resources. */ export interface NdbMaintenanceWindowState { /** * access level */ accessLevel?: pulumi.Input; /** * created date of maintenance window */ dateCreated?: pulumi.Input; /** * modified date of maintenance window */ dateModified?: pulumi.Input; /** * Day of the week to trigger maintenance window. Supports [ MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY ] */ dayOfWeek?: pulumi.Input; /** * Description for maintenance window */ description?: pulumi.Input; /** * duration in hours. Default is 2 */ duration?: pulumi.Input; /** * entity task association for maintenance window */ entityTaskAssocs?: pulumi.Input[] | undefined>; /** * Name for the maintenance window. */ name?: pulumi.Input; /** * next run time for maintenance window to trigger */ nextRunTime?: pulumi.Input; /** * owner id of maintenance window */ ownerId?: pulumi.Input; /** * properties of maintenance window */ properties?: pulumi.Input[] | undefined>; /** * Supported values [ MONTHLY, WEEKLY ] */ recurrence?: pulumi.Input; /** * schedule of maintenance window */ schedules?: pulumi.Input[] | undefined>; /** * start time for maintenance window to trigger */ startTime?: pulumi.Input; /** * status of maintennace window */ status?: pulumi.Input; /** * tags of maintenance window */ tags?: pulumi.Input[] | undefined>; /** * timezone . Default is Asia/Calcutta . */ timezone?: pulumi.Input; /** * week of the month. Supports [1, 2, 3, 4] . */ weekOfMonth?: pulumi.Input; } /** * The set of arguments for constructing a NdbMaintenanceWindow resource. */ export interface NdbMaintenanceWindowArgs { /** * Day of the week to trigger maintenance window. Supports [ MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY ] */ dayOfWeek?: pulumi.Input; /** * Description for maintenance window */ description?: pulumi.Input; /** * duration in hours. Default is 2 */ duration?: pulumi.Input; /** * Name for the maintenance window. */ name?: pulumi.Input; /** * Supported values [ MONTHLY, WEEKLY ] */ recurrence: pulumi.Input; /** * start time for maintenance window to trigger */ startTime: pulumi.Input; /** * tags of maintenance window */ tags?: pulumi.Input[] | undefined>; /** * timezone . Default is Asia/Calcutta . */ timezone?: pulumi.Input; /** * week of the month. Supports [1, 2, 3, 4] . */ weekOfMonth?: pulumi.Input; } //# sourceMappingURL=ndbMaintenanceWindow.d.ts.map