1. Packages
  2. Cisco ISE Provider
  3. API Docs
  4. networkaccess
  5. getAuthenticationRule
Cisco ISE v0.2.2 published on Friday, Apr 25, 2025 by Pulumi

ise.networkaccess.getAuthenticationRule

Explore with Pulumi AI

This data source can read the Network Access Authentication Rule.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ise from "@pulumi/ise";

const example = ise.networkaccess.getAuthenticationRule({
    id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
    policySetId: "d82952cb-b901-4b09-b363-5ebf39bdbaf9",
});
Copy
import pulumi
import pulumi_ise as ise

example = ise.networkaccess.get_authentication_rule(id="76d24097-41c4-4558-a4d0-a8c07ac08470",
    policy_set_id="d82952cb-b901-4b09-b363-5ebf39bdbaf9")
Copy
package main

import (
	"github.com/pulumi/pulumi-ise/sdk/go/ise/networkaccess"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := networkaccess.LookupAuthenticationRule(ctx, &networkaccess.LookupAuthenticationRuleArgs{
			Id:          pulumi.StringRef("76d24097-41c4-4558-a4d0-a8c07ac08470"),
			PolicySetId: "d82952cb-b901-4b09-b363-5ebf39bdbaf9",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ise = Pulumi.Ise;

return await Deployment.RunAsync(() => 
{
    var example = Ise.NetworkAccess.GetAuthenticationRule.Invoke(new()
    {
        Id = "76d24097-41c4-4558-a4d0-a8c07ac08470",
        PolicySetId = "d82952cb-b901-4b09-b363-5ebf39bdbaf9",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ise.networkaccess.NetworkaccessFunctions;
import com.pulumi.ise.networkaccess.inputs.GetAuthenticationRuleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = NetworkaccessFunctions.getAuthenticationRule(GetAuthenticationRuleArgs.builder()
            .id("76d24097-41c4-4558-a4d0-a8c07ac08470")
            .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: ise:networkaccess:getAuthenticationRule
      arguments:
        id: 76d24097-41c4-4558-a4d0-a8c07ac08470
        policySetId: d82952cb-b901-4b09-b363-5ebf39bdbaf9
Copy

Using getAuthenticationRule

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAuthenticationRule(args: GetAuthenticationRuleArgs, opts?: InvokeOptions): Promise<GetAuthenticationRuleResult>
function getAuthenticationRuleOutput(args: GetAuthenticationRuleOutputArgs, opts?: InvokeOptions): Output<GetAuthenticationRuleResult>
Copy
def get_authentication_rule(id: Optional[str] = None,
                            name: Optional[str] = None,
                            policy_set_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetAuthenticationRuleResult
def get_authentication_rule_output(id: Optional[pulumi.Input[str]] = None,
                            name: Optional[pulumi.Input[str]] = None,
                            policy_set_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetAuthenticationRuleResult]
Copy
func LookupAuthenticationRule(ctx *Context, args *LookupAuthenticationRuleArgs, opts ...InvokeOption) (*LookupAuthenticationRuleResult, error)
func LookupAuthenticationRuleOutput(ctx *Context, args *LookupAuthenticationRuleOutputArgs, opts ...InvokeOption) LookupAuthenticationRuleResultOutput
Copy

> Note: This function is named LookupAuthenticationRule in the Go SDK.

public static class GetAuthenticationRule 
{
    public static Task<GetAuthenticationRuleResult> InvokeAsync(GetAuthenticationRuleArgs args, InvokeOptions? opts = null)
    public static Output<GetAuthenticationRuleResult> Invoke(GetAuthenticationRuleInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAuthenticationRuleResult> getAuthenticationRule(GetAuthenticationRuleArgs args, InvokeOptions options)
public static Output<GetAuthenticationRuleResult> getAuthenticationRule(GetAuthenticationRuleArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ise:networkaccess/getAuthenticationRule:getAuthenticationRule
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

PolicySetId This property is required. string
Policy set ID
Id string
The id of the object
Name string
Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
PolicySetId This property is required. string
Policy set ID
Id string
The id of the object
Name string
Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
policySetId This property is required. String
Policy set ID
id String
The id of the object
name String
Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
policySetId This property is required. string
Policy set ID
id string
The id of the object
name string
Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
policy_set_id This property is required. str
Policy set ID
id str
The id of the object
name str
Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
policySetId This property is required. String
Policy set ID
id String
The id of the object
name String
Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]

getAuthenticationRule Result

The following output properties are available:

Childrens List<GetAuthenticationRuleChildren>
List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
ConditionAttributeName string
Dictionary attribute name
ConditionAttributeValue string
Attribute value for condition. Value type is specified in dictionary object.
ConditionDictionaryName string
Dictionary name
ConditionDictionaryValue string
Dictionary value
ConditionId string
UUID for condition
ConditionIsNegate bool
Indicates whereas this condition is in negate mode
ConditionOperator string
Equality operator
ConditionType 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.
Default bool
Indicates if this rule is the default one
Id string
The id of the object
IdentitySourceName string
Identity source name from the identity stores
IfAuthFail string
Action to perform when authentication fails such as Bad credentials, disabled user and so on
IfProcessFail string
Action to perform when ISE is uanble to access the identity database
IfUserNotFound string
Action to perform when user is not found in any of identity stores
Name string
Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
PolicySetId string
Policy set ID
Rank int
The rank (priority) in relation to other rules. Lower rank is higher priority.
State string
The state that the rule is in. A disabled rule cannot be matched.
Childrens []GetAuthenticationRuleChildren
List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
ConditionAttributeName string
Dictionary attribute name
ConditionAttributeValue string
Attribute value for condition. Value type is specified in dictionary object.
ConditionDictionaryName string
Dictionary name
ConditionDictionaryValue string
Dictionary value
ConditionId string
UUID for condition
ConditionIsNegate bool
Indicates whereas this condition is in negate mode
ConditionOperator string
Equality operator
ConditionType 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.
Default bool
Indicates if this rule is the default one
Id string
The id of the object
IdentitySourceName string
Identity source name from the identity stores
IfAuthFail string
Action to perform when authentication fails such as Bad credentials, disabled user and so on
IfProcessFail string
Action to perform when ISE is uanble to access the identity database
IfUserNotFound string
Action to perform when user is not found in any of identity stores
Name string
Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
PolicySetId string
Policy set ID
Rank int
The rank (priority) in relation to other rules. Lower rank is higher priority.
State string
The state that the rule is in. A disabled rule cannot be matched.
childrens List<GetAuthenticationRuleChildren>
List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
conditionAttributeName String
Dictionary attribute name
conditionAttributeValue String
Attribute value for condition. Value type is specified in dictionary object.
conditionDictionaryName String
Dictionary name
conditionDictionaryValue String
Dictionary value
conditionId String
UUID for condition
conditionIsNegate Boolean
Indicates whereas this condition is in negate mode
conditionOperator String
Equality operator
conditionType 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.
default_ Boolean
Indicates if this rule is the default one
id String
The id of the object
identitySourceName String
Identity source name from the identity stores
ifAuthFail String
Action to perform when authentication fails such as Bad credentials, disabled user and so on
ifProcessFail String
Action to perform when ISE is uanble to access the identity database
ifUserNotFound String
Action to perform when user is not found in any of identity stores
name String
Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
policySetId String
Policy set ID
rank Integer
The rank (priority) in relation to other rules. Lower rank is higher priority.
state String
The state that the rule is in. A disabled rule cannot be matched.
childrens GetAuthenticationRuleChildren[]
List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
conditionAttributeName string
Dictionary attribute name
conditionAttributeValue string
Attribute value for condition. Value type is specified in dictionary object.
conditionDictionaryName string
Dictionary name
conditionDictionaryValue string
Dictionary value
conditionId string
UUID for condition
conditionIsNegate boolean
Indicates whereas this condition is in negate mode
conditionOperator string
Equality operator
conditionType 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.
default boolean
Indicates if this rule is the default one
id string
The id of the object
identitySourceName string
Identity source name from the identity stores
ifAuthFail string
Action to perform when authentication fails such as Bad credentials, disabled user and so on
ifProcessFail string
Action to perform when ISE is uanble to access the identity database
ifUserNotFound string
Action to perform when user is not found in any of identity stores
name string
Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
policySetId string
Policy set ID
rank number
The rank (priority) in relation to other rules. Lower rank is higher priority.
state string
The state that the rule is in. A disabled rule cannot be matched.
childrens Sequence[GetAuthenticationRuleChildren]
List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
condition_attribute_name str
Dictionary attribute name
condition_attribute_value str
Attribute value for condition. Value type is specified in dictionary object.
condition_dictionary_name str
Dictionary name
condition_dictionary_value str
Dictionary value
condition_id str
UUID for condition
condition_is_negate bool
Indicates whereas this condition is in negate mode
condition_operator str
Equality operator
condition_type str
Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
default bool
Indicates if this rule is the default one
id str
The id of the object
identity_source_name str
Identity source name from the identity stores
if_auth_fail str
Action to perform when authentication fails such as Bad credentials, disabled user and so on
if_process_fail str
Action to perform when ISE is uanble to access the identity database
if_user_not_found str
Action to perform when user is not found in any of identity stores
name str
Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
policy_set_id str
Policy set ID
rank int
The rank (priority) in relation to other rules. Lower rank is higher priority.
state str
The state that the rule is in. A disabled rule cannot be matched.
childrens List<Property Map>
List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
conditionAttributeName String
Dictionary attribute name
conditionAttributeValue String
Attribute value for condition. Value type is specified in dictionary object.
conditionDictionaryName String
Dictionary name
conditionDictionaryValue String
Dictionary value
conditionId String
UUID for condition
conditionIsNegate Boolean
Indicates whereas this condition is in negate mode
conditionOperator String
Equality operator
conditionType 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.
default Boolean
Indicates if this rule is the default one
id String
The id of the object
identitySourceName String
Identity source name from the identity stores
ifAuthFail String
Action to perform when authentication fails such as Bad credentials, disabled user and so on
ifProcessFail String
Action to perform when ISE is uanble to access the identity database
ifUserNotFound String
Action to perform when user is not found in any of identity stores
name String
Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
policySetId String
Policy set ID
rank Number
The rank (priority) in relation to other rules. Lower rank is higher priority.
state String
The state that the rule is in. A disabled rule cannot be matched.

Supporting Types

GetAuthenticationRuleChildren

AttributeName This property is required. string
Dictionary attribute name
AttributeValue This property is required. string
Attribute value for condition. Value type is specified in dictionary object.
Childrens This property is required. List<GetAuthenticationRuleChildrenChildren>
List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
ConditionType This property is required. 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.
DictionaryName This property is required. string
Dictionary name
DictionaryValue This property is required. string
Dictionary value
Id This property is required. string
UUID for condition
IsNegate This property is required. bool
Indicates whereas this condition is in negate mode
Operator This property is required. string
Equality operator
AttributeName This property is required. string
Dictionary attribute name
AttributeValue This property is required. string
Attribute value for condition. Value type is specified in dictionary object.
Childrens This property is required. []GetAuthenticationRuleChildrenChildren
List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
ConditionType This property is required. 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.
DictionaryName This property is required. string
Dictionary name
DictionaryValue This property is required. string
Dictionary value
Id This property is required. string
UUID for condition
IsNegate This property is required. bool
Indicates whereas this condition is in negate mode
Operator This property is required. string
Equality operator
attributeName This property is required. String
Dictionary attribute name
attributeValue This property is required. String
Attribute value for condition. Value type is specified in dictionary object.
childrens This property is required. List<GetAuthenticationRuleChildrenChildren>
List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
conditionType This property is required. 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.
dictionaryName This property is required. String
Dictionary name
dictionaryValue This property is required. String
Dictionary value
id This property is required. String
UUID for condition
isNegate This property is required. Boolean
Indicates whereas this condition is in negate mode
operator This property is required. String
Equality operator
attributeName This property is required. string
Dictionary attribute name
attributeValue This property is required. string
Attribute value for condition. Value type is specified in dictionary object.
childrens This property is required. GetAuthenticationRuleChildrenChildren[]
List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
conditionType This property is required. 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.
dictionaryName This property is required. string
Dictionary name
dictionaryValue This property is required. string
Dictionary value
id This property is required. string
UUID for condition
isNegate This property is required. boolean
Indicates whereas this condition is in negate mode
operator This property is required. string
Equality operator
attribute_name This property is required. str
Dictionary attribute name
attribute_value This property is required. str
Attribute value for condition. Value type is specified in dictionary object.
childrens This property is required. Sequence[GetAuthenticationRuleChildrenChildren]
List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
condition_type This property is required. str
Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
dictionary_name This property is required. str
Dictionary name
dictionary_value This property is required. str
Dictionary value
id This property is required. str
UUID for condition
is_negate This property is required. bool
Indicates whereas this condition is in negate mode
operator This property is required. str
Equality operator
attributeName This property is required. String
Dictionary attribute name
attributeValue This property is required. String
Attribute value for condition. Value type is specified in dictionary object.
childrens This property is required. List<Property Map>
List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
conditionType This property is required. 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.
dictionaryName This property is required. String
Dictionary name
dictionaryValue This property is required. String
Dictionary value
id This property is required. String
UUID for condition
isNegate This property is required. Boolean
Indicates whereas this condition is in negate mode
operator This property is required. String
Equality operator

GetAuthenticationRuleChildrenChildren

AttributeName This property is required. string
Dictionary attribute name
AttributeValue This property is required. string
Attribute value for condition. Value type is specified in dictionary object.
ConditionType This property is required. string
Condition type.
DictionaryName This property is required. string
Dictionary name
DictionaryValue This property is required. string
Dictionary value
Id This property is required. string
UUID for condition
IsNegate This property is required. bool
Indicates whereas this condition is in negate mode
Operator This property is required. string
Equality operator
AttributeName This property is required. string
Dictionary attribute name
AttributeValue This property is required. string
Attribute value for condition. Value type is specified in dictionary object.
ConditionType This property is required. string
Condition type.
DictionaryName This property is required. string
Dictionary name
DictionaryValue This property is required. string
Dictionary value
Id This property is required. string
UUID for condition
IsNegate This property is required. bool
Indicates whereas this condition is in negate mode
Operator This property is required. string
Equality operator
attributeName This property is required. String
Dictionary attribute name
attributeValue This property is required. String
Attribute value for condition. Value type is specified in dictionary object.
conditionType This property is required. String
Condition type.
dictionaryName This property is required. String
Dictionary name
dictionaryValue This property is required. String
Dictionary value
id This property is required. String
UUID for condition
isNegate This property is required. Boolean
Indicates whereas this condition is in negate mode
operator This property is required. String
Equality operator
attributeName This property is required. string
Dictionary attribute name
attributeValue This property is required. string
Attribute value for condition. Value type is specified in dictionary object.
conditionType This property is required. string
Condition type.
dictionaryName This property is required. string
Dictionary name
dictionaryValue This property is required. string
Dictionary value
id This property is required. string
UUID for condition
isNegate This property is required. boolean
Indicates whereas this condition is in negate mode
operator This property is required. string
Equality operator
attribute_name This property is required. str
Dictionary attribute name
attribute_value This property is required. str
Attribute value for condition. Value type is specified in dictionary object.
condition_type This property is required. str
Condition type.
dictionary_name This property is required. str
Dictionary name
dictionary_value This property is required. str
Dictionary value
id This property is required. str
UUID for condition
is_negate This property is required. bool
Indicates whereas this condition is in negate mode
operator This property is required. str
Equality operator
attributeName This property is required. String
Dictionary attribute name
attributeValue This property is required. String
Attribute value for condition. Value type is specified in dictionary object.
conditionType This property is required. String
Condition type.
dictionaryName This property is required. String
Dictionary name
dictionaryValue This property is required. String
Dictionary value
id This property is required. String
UUID for condition
isNegate This property is required. Boolean
Indicates whereas this condition is in negate mode
operator This property is required. String
Equality operator

Package Details

Repository
ise pulumi/pulumi-ise
License
Apache-2.0
Notes
This Pulumi package is based on the ise Terraform Provider.