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

72 lines (71 loc) 3.36 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource is used to bulk update rank field in network access authentication rule. It serves as a workaround for the ISE API/Backend limitation which restricts rank assignments to a strictly incremental sequence. By utilizing this resource and networkAccessAuthenticationRule resource, you can bypass the APIs limitation. Creation of this resource is performing PUT operation (Update) and it only tracks rank field. When this resource is destroyed, no action is performed on ISE and resource is just removed from state. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ise from "@pulumi/ise"; * * const example = new ise.networkaccess.AuthenticationRuleUpdateRanks("example", { * policySetId: "d82952cb-b901-4b09-b363-5ebf39bdbaf9", * rules: [{ * id: "3741aca3-db08-4899-af73-2e3f65ec31e1", * rank: 0, * }], * }); * ``` */ export declare class AuthenticationRuleUpdateRanks extends pulumi.CustomResource { /** * Get an existing AuthenticationRuleUpdateRanks 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?: AuthenticationRuleUpdateRanksState, opts?: pulumi.CustomResourceOptions): AuthenticationRuleUpdateRanks; /** * Returns true if the given object is an instance of AuthenticationRuleUpdateRanks. 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 AuthenticationRuleUpdateRanks; /** * Policy set ID */ readonly policySetId: pulumi.Output<string>; readonly rules: pulumi.Output<outputs.networkaccess.AuthenticationRuleUpdateRanksRule[] | undefined>; /** * Create a AuthenticationRuleUpdateRanks 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: AuthenticationRuleUpdateRanksArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AuthenticationRuleUpdateRanks resources. */ export interface AuthenticationRuleUpdateRanksState { /** * Policy set ID */ policySetId?: pulumi.Input<string>; rules?: pulumi.Input<pulumi.Input<inputs.networkaccess.AuthenticationRuleUpdateRanksRule>[]>; } /** * The set of arguments for constructing a AuthenticationRuleUpdateRanks resource. */ export interface AuthenticationRuleUpdateRanksArgs { /** * Policy set ID */ policySetId: pulumi.Input<string>; rules?: pulumi.Input<pulumi.Input<inputs.networkaccess.AuthenticationRuleUpdateRanksRule>[]>; }