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

ise.networkaccess.getCondition

Explore with Pulumi AI

Cisco ISE v0.2.2 published on Friday, Apr 25, 2025 by Pulumi

This data source can read the Network Access Condition.

Example Usage

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

const example = ise.networkaccess.getCondition({
    id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
});
Copy
import pulumi
import pulumi_ise as ise

example = ise.networkaccess.get_condition(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
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.LookupCondition(ctx, &networkaccess.LookupConditionArgs{
			Id: pulumi.StringRef("76d24097-41c4-4558-a4d0-a8c07ac08470"),
		}, 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.GetCondition.Invoke(new()
    {
        Id = "76d24097-41c4-4558-a4d0-a8c07ac08470",
    });

});
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.GetConditionArgs;
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.getCondition(GetConditionArgs.builder()
            .id("76d24097-41c4-4558-a4d0-a8c07ac08470")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: ise:networkaccess:getCondition
      arguments:
        id: 76d24097-41c4-4558-a4d0-a8c07ac08470
Copy

Using getCondition

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 getCondition(args: GetConditionArgs, opts?: InvokeOptions): Promise<GetConditionResult>
function getConditionOutput(args: GetConditionOutputArgs, opts?: InvokeOptions): Output<GetConditionResult>
Copy
def get_condition(id: Optional[str] = None,
                  name: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetConditionResult
def get_condition_output(id: Optional[pulumi.Input[str]] = None,
                  name: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetConditionResult]
Copy
func LookupCondition(ctx *Context, args *LookupConditionArgs, opts ...InvokeOption) (*LookupConditionResult, error)
func LookupConditionOutput(ctx *Context, args *LookupConditionOutputArgs, opts ...InvokeOption) LookupConditionResultOutput
Copy

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

public static class GetCondition 
{
    public static Task<GetConditionResult> InvokeAsync(GetConditionArgs args, InvokeOptions? opts = null)
    public static Output<GetConditionResult> Invoke(GetConditionInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetConditionResult> getCondition(GetConditionArgs args, InvokeOptions options)
public static Output<GetConditionResult> getCondition(GetConditionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ise:networkaccess/getCondition:getCondition
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
The id of the object
Name string
Condition name
Id string
The id of the object
Name string
Condition name
id String
The id of the object
name String
Condition name
id string
The id of the object
name string
Condition name
id str
The id of the object
name str
Condition name
id String
The id of the object
name String
Condition name

getCondition Result

The following output properties are available:

AttributeName string
Dictionary attribute name
AttributeValue string
Attribute value for condition. Value type is specified in dictionary object.
Childrens List<GetConditionChildren>
List of child conditions. condition_type must be one of LibraryConditionAndBlock or LibraryConditionOrBlock.
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.
Description string
Condition description
DictionaryName string
Dictionary name
DictionaryValue string
Dictionary value
Id string
The id of the object
IsNegate bool
Indicates whereas this condition is in negate mode
Name string
Condition name
Operator string
Equality operator
AttributeName string
Dictionary attribute name
AttributeValue string
Attribute value for condition. Value type is specified in dictionary object.
Childrens []GetConditionChildren
List of child conditions. condition_type must be one of LibraryConditionAndBlock or LibraryConditionOrBlock.
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.
Description string
Condition description
DictionaryName string
Dictionary name
DictionaryValue string
Dictionary value
Id string
The id of the object
IsNegate bool
Indicates whereas this condition is in negate mode
Name string
Condition name
Operator string
Equality operator
attributeName String
Dictionary attribute name
attributeValue String
Attribute value for condition. Value type is specified in dictionary object.
childrens List<GetConditionChildren>
List of child conditions. condition_type must be one of LibraryConditionAndBlock or LibraryConditionOrBlock.
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.
description String
Condition description
dictionaryName String
Dictionary name
dictionaryValue String
Dictionary value
id String
The id of the object
isNegate Boolean
Indicates whereas this condition is in negate mode
name String
Condition name
operator String
Equality operator
attributeName string
Dictionary attribute name
attributeValue string
Attribute value for condition. Value type is specified in dictionary object.
childrens GetConditionChildren[]
List of child conditions. condition_type must be one of LibraryConditionAndBlock or LibraryConditionOrBlock.
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.
description string
Condition description
dictionaryName string
Dictionary name
dictionaryValue string
Dictionary value
id string
The id of the object
isNegate boolean
Indicates whereas this condition is in negate mode
name string
Condition name
operator string
Equality operator
attribute_name str
Dictionary attribute name
attribute_value str
Attribute value for condition. Value type is specified in dictionary object.
childrens Sequence[GetConditionChildren]
List of child conditions. condition_type must be one of LibraryConditionAndBlock or LibraryConditionOrBlock.
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.
description str
Condition description
dictionary_name str
Dictionary name
dictionary_value str
Dictionary value
id str
The id of the object
is_negate bool
Indicates whereas this condition is in negate mode
name str
Condition name
operator str
Equality operator
attributeName String
Dictionary attribute name
attributeValue String
Attribute value for condition. Value type is specified in dictionary object.
childrens List<Property Map>
List of child conditions. condition_type must be one of LibraryConditionAndBlock or LibraryConditionOrBlock.
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.
description String
Condition description
dictionaryName String
Dictionary name
dictionaryValue String
Dictionary value
id String
The id of the object
isNegate Boolean
Indicates whereas this condition is in negate mode
name String
Condition name
operator String
Equality operator

Supporting Types

GetConditionChildren

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<GetConditionChildrenChildren>
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.
Description This property is required. string
Condition description
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
Name This property is required. string
Condition name. Required if condition_type is ConditionReference, if condition_type is ConditionAttributes then this attribute is not used.
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. []GetConditionChildrenChildren
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.
Description This property is required. string
Condition description
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
Name This property is required. string
Condition name. Required if condition_type is ConditionReference, if condition_type is ConditionAttributes then this attribute is not used.
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<GetConditionChildrenChildren>
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.
description This property is required. String
Condition description
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
name This property is required. String
Condition name. Required if condition_type is ConditionReference, if condition_type is ConditionAttributes then this attribute is not used.
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. GetConditionChildrenChildren[]
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.
description This property is required. string
Condition description
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
name This property is required. string
Condition name. Required if condition_type is ConditionReference, if condition_type is ConditionAttributes then this attribute is not used.
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[GetConditionChildrenChildren]
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.
description This property is required. str
Condition description
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
name This property is required. str
Condition name. Required if condition_type is ConditionReference, if condition_type is ConditionAttributes then this attribute is not used.
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.
description This property is required. String
Condition description
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
name This property is required. String
Condition name. Required if condition_type is ConditionReference, if condition_type is ConditionAttributes then this attribute is not used.
operator This property is required. String
Equality operator

GetConditionChildrenChildren

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.
Description This property is required. string
Condition description
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
Name This property is required. string
Condition name. Required if condition_type is ConditionReference, if condition_type is ConditionAttributes then this attribute is not used.
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.
Description This property is required. string
Condition description
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
Name This property is required. string
Condition name. Required if condition_type is ConditionReference, if condition_type is ConditionAttributes then this attribute is not used.
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.
description This property is required. String
Condition description
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
name This property is required. String
Condition name. Required if condition_type is ConditionReference, if condition_type is ConditionAttributes then this attribute is not used.
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.
description This property is required. string
Condition description
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
name This property is required. string
Condition name. Required if condition_type is ConditionReference, if condition_type is ConditionAttributes then this attribute is not used.
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.
description This property is required. str
Condition description
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
name This property is required. str
Condition name. Required if condition_type is ConditionReference, if condition_type is ConditionAttributes then this attribute is not used.
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.
description This property is required. String
Condition description
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
name This property is required. String
Condition name. Required if condition_type is ConditionReference, if condition_type is ConditionAttributes then this attribute is not used.
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.
Cisco ISE v0.2.2 published on Friday, Apr 25, 2025 by Pulumi