@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
142 lines (141 loc) • 4.04 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* This data source can read the Network Access Authorization Rule.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as ise from "@pulumi/ise";
*
* const example = ise.networkaccess.getAuthorizationRule({
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
* policySetId: "d82952cb-b901-4b09-b363-5ebf39bdbaf9",
* });
* ```
*/
export declare function getAuthorizationRule(args: GetAuthorizationRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetAuthorizationRuleResult>;
/**
* A collection of arguments for invoking getAuthorizationRule.
*/
export interface GetAuthorizationRuleArgs {
/**
* The id of the object
*/
id?: string;
/**
* Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
*/
name?: string;
/**
* Policy set ID
*/
policySetId: string;
}
/**
* A collection of values returned by getAuthorizationRule.
*/
export interface GetAuthorizationRuleResult {
/**
* List of child conditions. `conditionType` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
*/
readonly childrens: outputs.networkaccess.GetAuthorizationRuleChildren[];
/**
* Dictionary attribute name
*/
readonly conditionAttributeName: string;
/**
* Attribute value for condition. Value type is specified in dictionary object.
*/
readonly conditionAttributeValue: string;
/**
* Dictionary name
*/
readonly conditionDictionaryName: string;
/**
* Dictionary value
*/
readonly conditionDictionaryValue: string;
/**
* UUID for condition
*/
readonly conditionId: string;
/**
* Indicates whereas this condition is in negate mode
*/
readonly conditionIsNegate: boolean;
/**
* Equality operator
*/
readonly conditionOperator: string;
/**
* Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
*/
readonly conditionType: string;
/**
* Indicates if this rule is the default one
*/
readonly default: boolean;
/**
* The id of the object
*/
readonly id: string;
/**
* Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
*/
readonly name: string;
/**
* Policy set ID
*/
readonly policySetId: string;
/**
* The authorization profile(s)
*/
readonly profiles: string[];
/**
* The rank (priority) in relation to other rules. Lower rank is higher priority.
*/
readonly rank: number;
/**
* Security group used in authorization policies
*/
readonly securityGroup: string;
/**
* The state that the rule is in. A disabled rule cannot be matched.
*/
readonly state: string;
}
/**
* This data source can read the Network Access Authorization Rule.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as ise from "@pulumi/ise";
*
* const example = ise.networkaccess.getAuthorizationRule({
* id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
* policySetId: "d82952cb-b901-4b09-b363-5ebf39bdbaf9",
* });
* ```
*/
export declare function getAuthorizationRuleOutput(args: GetAuthorizationRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAuthorizationRuleResult>;
/**
* A collection of arguments for invoking getAuthorizationRule.
*/
export interface GetAuthorizationRuleOutputArgs {
/**
* The id of the object
*/
id?: pulumi.Input<string>;
/**
* Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
*/
name?: pulumi.Input<string>;
/**
* Policy set ID
*/
policySetId: pulumi.Input<string>;
}