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