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

194 lines (193 loc) 7.8 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource can manage a Network Access Condition. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ise from "@pulumi/ise"; * * const example = new ise.networkaccess.Condition("example", { * name: "Cond1", * description: "My description", * conditionType: "LibraryConditionAttributes", * isNegate: false, * attributeName: "EapAuthentication", * attributeValue: "EAP-TLS", * dictionaryName: "Network Access", * operator: "equals", * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import ise:networkaccess/condition:Condition example "76d24097-41c4-4558-a4d0-a8c07ac08470" * ``` */ export declare class Condition extends pulumi.CustomResource { /** * Get an existing Condition 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?: ConditionState, opts?: pulumi.CustomResourceOptions): Condition; /** * Returns true if the given object is an instance of Condition. 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 Condition; /** * Dictionary attribute name */ readonly attributeName: pulumi.Output<string | undefined>; /** * Attribute value for condition. Value type is specified in dictionary object. */ readonly attributeValue: pulumi.Output<string | undefined>; /** * List of child conditions. `conditionType` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. */ readonly childrens: pulumi.Output<outputs.networkaccess.ConditionChildren[] | undefined>; /** * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. * - Choices: `LibraryConditionAndBlock`, `LibraryConditionAttributes`, `LibraryConditionOrBlock` */ readonly conditionType: pulumi.Output<string>; /** * Condition description */ readonly description: pulumi.Output<string | undefined>; /** * Dictionary name */ readonly dictionaryName: pulumi.Output<string | undefined>; /** * Dictionary value */ readonly dictionaryValue: 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>; /** * Equality operator * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith`, `macContains`, `macEndsWith`, `macEquals`, `macIn`, `macNotContains`, `macNotEndsWith`, `macNotEquals`, `macNotIn`, `macNotStartsWith`, `macStartsWith` */ readonly operator: pulumi.Output<string | undefined>; /** * Create a Condition 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: ConditionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Condition resources. */ export interface ConditionState { /** * Dictionary attribute name */ attributeName?: pulumi.Input<string>; /** * Attribute value for condition. Value type is specified in dictionary object. */ attributeValue?: pulumi.Input<string>; /** * List of child conditions. `conditionType` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. */ childrens?: pulumi.Input<pulumi.Input<inputs.networkaccess.ConditionChildren>[]>; /** * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. * - Choices: `LibraryConditionAndBlock`, `LibraryConditionAttributes`, `LibraryConditionOrBlock` */ conditionType?: pulumi.Input<string>; /** * Condition description */ description?: pulumi.Input<string>; /** * Dictionary name */ dictionaryName?: pulumi.Input<string>; /** * Dictionary value */ dictionaryValue?: pulumi.Input<string>; /** * Indicates whereas this condition is in negate mode */ isNegate?: pulumi.Input<boolean>; /** * Condition name */ name?: pulumi.Input<string>; /** * Equality operator * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith`, `macContains`, `macEndsWith`, `macEquals`, `macIn`, `macNotContains`, `macNotEndsWith`, `macNotEquals`, `macNotIn`, `macNotStartsWith`, `macStartsWith` */ operator?: pulumi.Input<string>; } /** * The set of arguments for constructing a Condition resource. */ export interface ConditionArgs { /** * Dictionary attribute name */ attributeName?: pulumi.Input<string>; /** * Attribute value for condition. Value type is specified in dictionary object. */ attributeValue?: pulumi.Input<string>; /** * List of child conditions. `conditionType` must be one of `LibraryConditionAndBlock` or `LibraryConditionOrBlock`. */ childrens?: pulumi.Input<pulumi.Input<inputs.networkaccess.ConditionChildren>[]>; /** * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute. * - Choices: `LibraryConditionAndBlock`, `LibraryConditionAttributes`, `LibraryConditionOrBlock` */ conditionType: pulumi.Input<string>; /** * Condition description */ description?: pulumi.Input<string>; /** * Dictionary name */ dictionaryName?: pulumi.Input<string>; /** * Dictionary value */ dictionaryValue?: pulumi.Input<string>; /** * Indicates whereas this condition is in negate mode */ isNegate?: pulumi.Input<boolean>; /** * Condition name */ name?: pulumi.Input<string>; /** * Equality operator * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith`, `macContains`, `macEndsWith`, `macEquals`, `macIn`, `macNotContains`, `macNotEndsWith`, `macNotEquals`, `macNotIn`, `macNotStartsWith`, `macStartsWith` */ operator?: pulumi.Input<string>; }