UNPKG

@pulumi/ise

Version:

A Pulumi package for managing resources on a Cisco ISE (Identity Service Engine) instance.. Based on terraform-provider-ise: version v0.2.1

227 lines (226 loc) 7.08 kB
import * as pulumi from "@pulumi/pulumi"; /** * This resource can manage a Device Admin Time And Date Condition. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ise from "@pulumi/ise"; * * const example = new ise.deviceadmin.TimeAndDateCondition("example", { * name: "Cond1", * description: "My description", * isNegate: false, * weekDays: ["Monday"], * weekDaysExceptions: ["Tuesday"], * startDate: "2022-05-06", * endDate: "2022-05-10", * exceptionStartDate: "2022-06-06", * exceptionEndDate: "2022-06-10", * startTime: "08:00", * endTime: "15:00", * exceptionStartTime: "20:00", * exceptionEndTime: "22:00", * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import ise:deviceadmin/timeAndDateCondition:TimeAndDateCondition example "76d24097-41c4-4558-a4d0-a8c07ac08470" * ``` */ export declare class TimeAndDateCondition extends pulumi.CustomResource { /** * Get an existing TimeAndDateCondition 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<pulumi.ID>, state?: TimeAndDateConditionState, opts?: pulumi.CustomResourceOptions): TimeAndDateCondition; /** * Returns true if the given object is an instance of TimeAndDateCondition. 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 TimeAndDateCondition; /** * Condition description */ readonly description: pulumi.Output<string | undefined>; /** * End date */ readonly endDate: pulumi.Output<string | undefined>; /** * End time */ readonly endTime: pulumi.Output<string | undefined>; /** * Exception end date */ readonly exceptionEndDate: pulumi.Output<string | undefined>; /** * Exception end time */ readonly exceptionEndTime: pulumi.Output<string | undefined>; /** * Exception start date */ readonly exceptionStartDate: pulumi.Output<string | undefined>; /** * Exception start time */ readonly exceptionStartTime: pulumi.Output<string | undefined>; /** * Indicates whereas this condition is in negate mode */ readonly isNegate: pulumi.Output<boolean | undefined>; /** * Condition name */ readonly name: pulumi.Output<string>; /** * Start date */ readonly startDate: pulumi.Output<string | undefined>; /** * Start time */ readonly startTime: pulumi.Output<string | undefined>; /** * Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. */ readonly weekDays: pulumi.Output<string[] | undefined>; /** * Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. */ readonly weekDaysExceptions: pulumi.Output<string[] | undefined>; /** * Create a TimeAndDateCondition 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?: TimeAndDateConditionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TimeAndDateCondition resources. */ export interface TimeAndDateConditionState { /** * Condition description */ description?: pulumi.Input<string>; /** * End date */ endDate?: pulumi.Input<string>; /** * End time */ endTime?: pulumi.Input<string>; /** * Exception end date */ exceptionEndDate?: pulumi.Input<string>; /** * Exception end time */ exceptionEndTime?: pulumi.Input<string>; /** * Exception start date */ exceptionStartDate?: pulumi.Input<string>; /** * Exception start time */ exceptionStartTime?: pulumi.Input<string>; /** * Indicates whereas this condition is in negate mode */ isNegate?: pulumi.Input<boolean>; /** * Condition name */ name?: pulumi.Input<string>; /** * Start date */ startDate?: pulumi.Input<string>; /** * Start time */ startTime?: pulumi.Input<string>; /** * Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. */ weekDays?: pulumi.Input<pulumi.Input<string>[]>; /** * Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. */ weekDaysExceptions?: pulumi.Input<pulumi.Input<string>[]>; } /** * The set of arguments for constructing a TimeAndDateCondition resource. */ export interface TimeAndDateConditionArgs { /** * Condition description */ description?: pulumi.Input<string>; /** * End date */ endDate?: pulumi.Input<string>; /** * End time */ endTime?: pulumi.Input<string>; /** * Exception end date */ exceptionEndDate?: pulumi.Input<string>; /** * Exception end time */ exceptionEndTime?: pulumi.Input<string>; /** * Exception start date */ exceptionStartDate?: pulumi.Input<string>; /** * Exception start time */ exceptionStartTime?: pulumi.Input<string>; /** * Indicates whereas this condition is in negate mode */ isNegate?: pulumi.Input<boolean>; /** * Condition name */ name?: pulumi.Input<string>; /** * Start date */ startDate?: pulumi.Input<string>; /** * Start time */ startTime?: pulumi.Input<string>; /** * Defines for which days this condition will be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. Default - List of all week days. */ weekDays?: pulumi.Input<pulumi.Input<string>[]>; /** * Defines for which days this condition will NOT be matched. List of weekdays - `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. */ weekDaysExceptions?: pulumi.Input<pulumi.Input<string>[]>; }