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.49 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 device admin Authorization exception 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 deviceAdminAuthorizationExceptionRule 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.deviceadmin.AuthorizationExceptionRuleUpdateRanks("example", { * policySetId: "d82952cb-b901-4b09-b363-5ebf39bdbaf9", * rules: [{ * id: "3741aca3-db08-4899-af73-2e3f65ec31e1", * rank: 0, * }], * }); * ``` */ export declare class AuthorizationExceptionRuleUpdateRanks extends pulumi.CustomResource { /** * Get an existing AuthorizationExceptionRuleUpdateRanks 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?: AuthorizationExceptionRuleUpdateRanksState, opts?: pulumi.CustomResourceOptions): AuthorizationExceptionRuleUpdateRanks; /** * Returns true if the given object is an instance of AuthorizationExceptionRuleUpdateRanks. 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 AuthorizationExceptionRuleUpdateRanks; /** * Policy set ID */ readonly policySetId: pulumi.Output<string>; readonly rules: pulumi.Output<outputs.deviceadmin.AuthorizationExceptionRuleUpdateRanksRule[] | undefined>; /** * Create a AuthorizationExceptionRuleUpdateRanks 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: AuthorizationExceptionRuleUpdateRanksArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AuthorizationExceptionRuleUpdateRanks resources. */ export interface AuthorizationExceptionRuleUpdateRanksState { /** * Policy set ID */ policySetId?: pulumi.Input<string>; rules?: pulumi.Input<pulumi.Input<inputs.deviceadmin.AuthorizationExceptionRuleUpdateRanksRule>[]>; } /** * The set of arguments for constructing a AuthorizationExceptionRuleUpdateRanks resource. */ export interface AuthorizationExceptionRuleUpdateRanksArgs { /** * Policy set ID */ policySetId: pulumi.Input<string>; rules?: pulumi.Input<pulumi.Input<inputs.deviceadmin.AuthorizationExceptionRuleUpdateRanksRule>[]>; }