Cisco ISE v0.1.7 published on Tuesday, Sep 24, 2024 by Pulumi
ise.deviceadmin.getCondition
Explore with Pulumi AI
This data source can read the Device Admin Condition.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ise from "@pulumi/ise";
const example = ise.deviceadmin.getCondition({
id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
});
import pulumi
import pulumi_ise as ise
example = ise.deviceadmin.get_condition(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
package main
import (
"github.com/pulumi/pulumi-ise/sdk/go/ise/deviceadmin"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := deviceadmin.LookupCondition(ctx, &deviceadmin.LookupConditionArgs{
Id: pulumi.StringRef("76d24097-41c4-4558-a4d0-a8c07ac08470"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ise = Pulumi.Ise;
return await Deployment.RunAsync(() =>
{
var example = Ise.DeviceAdmin.GetCondition.Invoke(new()
{
Id = "76d24097-41c4-4558-a4d0-a8c07ac08470",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ise.deviceadmin.DeviceadminFunctions;
import com.pulumi.ise.deviceadmin.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 = DeviceadminFunctions.getCondition(GetConditionArgs.builder()
.id("76d24097-41c4-4558-a4d0-a8c07ac08470")
.build());
}
}
variables:
example:
fn::invoke:
Function: ise:deviceadmin:getCondition
Arguments:
id: 76d24097-41c4-4558-a4d0-a8c07ac08470
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>
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]
func LookupCondition(ctx *Context, args *LookupConditionArgs, opts ...InvokeOption) (*LookupConditionResult, error)
func LookupConditionOutput(ctx *Context, args *LookupConditionOutputArgs, opts ...InvokeOption) LookupConditionResultOutput
> 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)
}
public static CompletableFuture<GetConditionResult> getCondition(GetConditionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: ise:deviceadmin/getCondition:getCondition
arguments:
# arguments dictionary
The following arguments are supported:
getCondition Result
The following output properties are available:
- Attribute
Name string - Dictionary attribute name
- Attribute
Value string - Attribute value for condition. Value type is specified in dictionary object.
- Childrens
List<Get
Condition Children> - List of child conditions.
condition_type
must be one ofLibraryConditionAndBlock
orLibraryConditionOrBlock
. - Condition
Type 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
- Dictionary
Name string - Dictionary name
- Dictionary
Value string - Dictionary value
- Id string
- The id of the object
- Is
Negate bool - Indicates whereas this condition is in negate mode
- Name string
- Condition name
- Operator string
- Equality operator
- Attribute
Name string - Dictionary attribute name
- Attribute
Value string - Attribute value for condition. Value type is specified in dictionary object.
- Childrens
[]Get
Condition Children - List of child conditions.
condition_type
must be one ofLibraryConditionAndBlock
orLibraryConditionOrBlock
. - Condition
Type 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
- Dictionary
Name string - Dictionary name
- Dictionary
Value string - Dictionary value
- Id string
- The id of the object
- Is
Negate bool - Indicates whereas this condition is in negate mode
- Name string
- Condition name
- Operator string
- Equality operator
- attribute
Name String - Dictionary attribute name
- attribute
Value String - Attribute value for condition. Value type is specified in dictionary object.
- childrens
List<Get
Condition Children> - List of child conditions.
condition_type
must be one ofLibraryConditionAndBlock
orLibraryConditionOrBlock
. - condition
Type 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
- dictionary
Name String - Dictionary name
- dictionary
Value String - Dictionary value
- id String
- The id of the object
- is
Negate Boolean - Indicates whereas this condition is in negate mode
- name String
- Condition name
- operator String
- Equality operator
- attribute
Name string - Dictionary attribute name
- attribute
Value string - Attribute value for condition. Value type is specified in dictionary object.
- childrens
Get
Condition Children[] - List of child conditions.
condition_type
must be one ofLibraryConditionAndBlock
orLibraryConditionOrBlock
. - condition
Type 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
- dictionary
Name string - Dictionary name
- dictionary
Value string - Dictionary value
- id string
- The id of the object
- is
Negate 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[Get
Condition Children] - List of child conditions.
condition_type
must be one ofLibraryConditionAndBlock
orLibraryConditionOrBlock
. - 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
- attribute
Name String - Dictionary attribute name
- attribute
Value 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 ofLibraryConditionAndBlock
orLibraryConditionOrBlock
. - condition
Type 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
- dictionary
Name String - Dictionary name
- dictionary
Value String - Dictionary value
- id String
- The id of the object
- is
Negate Boolean - Indicates whereas this condition is in negate mode
- name String
- Condition name
- operator String
- Equality operator
Supporting Types
GetConditionChildren
- Attribute
Name string - Dictionary attribute name
- Attribute
Value string - Attribute value for condition. Value type is specified in dictionary object.
- Childrens
List<Get
Condition Children Children> - List of child conditions.
condition_type
must be one ofConditionAndBlock
orConditionOrBlock
. - Condition
Type 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
- Dictionary
Name string - Dictionary name
- Dictionary
Value string - Dictionary value
- Id string
- UUID for condition
- Is
Negate bool - Indicates whereas this condition is in negate mode
- Name string
- Condition name
- Operator string
- Equality operator
- Attribute
Name string - Dictionary attribute name
- Attribute
Value string - Attribute value for condition. Value type is specified in dictionary object.
- Childrens
[]Get
Condition Children Children - List of child conditions.
condition_type
must be one ofConditionAndBlock
orConditionOrBlock
. - Condition
Type 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
- Dictionary
Name string - Dictionary name
- Dictionary
Value string - Dictionary value
- Id string
- UUID for condition
- Is
Negate bool - Indicates whereas this condition is in negate mode
- Name string
- Condition name
- Operator string
- Equality operator
- attribute
Name String - Dictionary attribute name
- attribute
Value String - Attribute value for condition. Value type is specified in dictionary object.
- childrens
List<Get
Condition Children Children> - List of child conditions.
condition_type
must be one ofConditionAndBlock
orConditionOrBlock
. - condition
Type 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
- dictionary
Name String - Dictionary name
- dictionary
Value String - Dictionary value
- id String
- UUID for condition
- is
Negate Boolean - Indicates whereas this condition is in negate mode
- name String
- Condition name
- operator String
- Equality operator
- attribute
Name string - Dictionary attribute name
- attribute
Value string - Attribute value for condition. Value type is specified in dictionary object.
- childrens
Get
Condition Children Children[] - List of child conditions.
condition_type
must be one ofConditionAndBlock
orConditionOrBlock
. - condition
Type 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
- dictionary
Name string - Dictionary name
- dictionary
Value string - Dictionary value
- id string
- UUID for condition
- is
Negate 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[Get
Condition Children Children] - List of child conditions.
condition_type
must be one ofConditionAndBlock
orConditionOrBlock
. - 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
- UUID for condition
- is_
negate bool - Indicates whereas this condition is in negate mode
- name str
- Condition name
- operator str
- Equality operator
- attribute
Name String - Dictionary attribute name
- attribute
Value 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 ofConditionAndBlock
orConditionOrBlock
. - condition
Type 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
- dictionary
Name String - Dictionary name
- dictionary
Value String - Dictionary value
- id String
- UUID for condition
- is
Negate Boolean - Indicates whereas this condition is in negate mode
- name String
- Condition name
- operator String
- Equality operator
GetConditionChildrenChildren
- Attribute
Name string - Dictionary attribute name
- Attribute
Value string - Attribute value for condition. Value type is specified in dictionary object.
- Condition
Type string - Condition type.
- Description string
- Condition description
- Dictionary
Name string - Dictionary name
- Dictionary
Value string - Dictionary value
- Id string
- UUID for condition
- Is
Negate bool - Indicates whereas this condition is in negate mode
- Name string
- Condition name
- Operator string
- Equality operator
- Attribute
Name string - Dictionary attribute name
- Attribute
Value string - Attribute value for condition. Value type is specified in dictionary object.
- Condition
Type string - Condition type.
- Description string
- Condition description
- Dictionary
Name string - Dictionary name
- Dictionary
Value string - Dictionary value
- Id string
- UUID for condition
- Is
Negate bool - Indicates whereas this condition is in negate mode
- Name string
- Condition name
- Operator string
- Equality operator
- attribute
Name String - Dictionary attribute name
- attribute
Value String - Attribute value for condition. Value type is specified in dictionary object.
- condition
Type String - Condition type.
- description String
- Condition description
- dictionary
Name String - Dictionary name
- dictionary
Value String - Dictionary value
- id String
- UUID for condition
- is
Negate Boolean - Indicates whereas this condition is in negate mode
- name String
- Condition name
- operator String
- Equality operator
- attribute
Name string - Dictionary attribute name
- attribute
Value string - Attribute value for condition. Value type is specified in dictionary object.
- condition
Type string - Condition type.
- description string
- Condition description
- dictionary
Name string - Dictionary name
- dictionary
Value string - Dictionary value
- id string
- UUID for condition
- is
Negate 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.
- condition_
type str - Condition type.
- description str
- Condition description
- dictionary_
name str - Dictionary name
- dictionary_
value str - Dictionary value
- id str
- UUID for condition
- is_
negate bool - Indicates whereas this condition is in negate mode
- name str
- Condition name
- operator str
- Equality operator
- attribute
Name String - Dictionary attribute name
- attribute
Value String - Attribute value for condition. Value type is specified in dictionary object.
- condition
Type String - Condition type.
- description String
- Condition description
- dictionary
Name String - Dictionary name
- dictionary
Value String - Dictionary value
- id String
- UUID for condition
- is
Negate Boolean - Indicates whereas this condition is in negate mode
- name String
- Condition name
- operator 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.