1. Packages
  2. Cisco ISE
  3. API Docs
  4. deviceadmin
  5. getPolicySet
Cisco ISE v0.1.4 published on Friday, May 31, 2024 by Pulumi

ise.deviceadmin.getPolicySet

Explore with Pulumi AI

ise logo
Cisco ISE v0.1.4 published on Friday, May 31, 2024 by Pulumi

    This data source can read the Device Admin Policy Set.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ise from "@pulumi/ise";
    
    const example = ise.deviceadmin.getPolicySet({
        id: "76d24097-41c4-4558-a4d0-a8c07ac08470",
    });
    
    import pulumi
    import pulumi_ise as ise
    
    example = ise.deviceadmin.get_policy_set(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.LookupPolicySet(ctx, &deviceadmin.LookupPolicySetArgs{
    			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.GetPolicySet.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.GetPolicySetArgs;
    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.getPolicySet(GetPolicySetArgs.builder()
                .id("76d24097-41c4-4558-a4d0-a8c07ac08470")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: ise:deviceadmin:getPolicySet
          Arguments:
            id: 76d24097-41c4-4558-a4d0-a8c07ac08470
    

    Using getPolicySet

    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 getPolicySet(args: GetPolicySetArgs, opts?: InvokeOptions): Promise<GetPolicySetResult>
    function getPolicySetOutput(args: GetPolicySetOutputArgs, opts?: InvokeOptions): Output<GetPolicySetResult>
    def get_policy_set(id: Optional[str] = None,
                       name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetPolicySetResult
    def get_policy_set_output(id: Optional[pulumi.Input[str]] = None,
                       name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetPolicySetResult]
    func LookupPolicySet(ctx *Context, args *LookupPolicySetArgs, opts ...InvokeOption) (*LookupPolicySetResult, error)
    func LookupPolicySetOutput(ctx *Context, args *LookupPolicySetOutputArgs, opts ...InvokeOption) LookupPolicySetResultOutput

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

    public static class GetPolicySet 
    {
        public static Task<GetPolicySetResult> InvokeAsync(GetPolicySetArgs args, InvokeOptions? opts = null)
        public static Output<GetPolicySetResult> Invoke(GetPolicySetInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPolicySetResult> getPolicySet(GetPolicySetArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: ise:deviceadmin/getPolicySet:getPolicySet
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The id of the object
    Name string
    Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
    Id string
    The id of the object
    Name string
    Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
    id String
    The id of the object
    name String
    Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
    id string
    The id of the object
    name string
    Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
    id str
    The id of the object
    name str
    Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
    id String
    The id of the object
    name String
    Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]

    getPolicySet Result

    The following output properties are available:

    Childrens List<GetPolicySetChildren>
    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 policy set is the default one
    Description string
    The description of the policy set
    Id string
    The id of the object
    IsProxy bool
    Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols'
    Name string
    Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
    Rank int
    The rank (priority) in relation to other policy sets. Lower rank is higher priority.
    ServiceName string
    Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
    State string
    The state that the policy set is in. A disabled policy set cannot be matched.
    Childrens []GetPolicySetChildren
    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 policy set is the default one
    Description string
    The description of the policy set
    Id string
    The id of the object
    IsProxy bool
    Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols'
    Name string
    Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
    Rank int
    The rank (priority) in relation to other policy sets. Lower rank is higher priority.
    ServiceName string
    Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
    State string
    The state that the policy set is in. A disabled policy set cannot be matched.
    childrens List<GetPolicySetChildren>
    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 policy set is the default one
    description String
    The description of the policy set
    id String
    The id of the object
    isProxy Boolean
    Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols'
    name String
    Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
    rank Integer
    The rank (priority) in relation to other policy sets. Lower rank is higher priority.
    serviceName String
    Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
    state String
    The state that the policy set is in. A disabled policy set cannot be matched.
    childrens GetPolicySetChildren[]
    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 policy set is the default one
    description string
    The description of the policy set
    id string
    The id of the object
    isProxy boolean
    Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols'
    name string
    Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
    rank number
    The rank (priority) in relation to other policy sets. Lower rank is higher priority.
    serviceName string
    Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
    state string
    The state that the policy set is in. A disabled policy set cannot be matched.
    childrens Sequence[GetPolicySetChildren]
    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 policy set is the default one
    description str
    The description of the policy set
    id str
    The id of the object
    is_proxy bool
    Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols'
    name str
    Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
    rank int
    The rank (priority) in relation to other policy sets. Lower rank is higher priority.
    service_name str
    Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
    state str
    The state that the policy set is in. A disabled policy set 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 policy set is the default one
    description String
    The description of the policy set
    id String
    The id of the object
    isProxy Boolean
    Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols'
    name String
    Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
    rank Number
    The rank (priority) in relation to other policy sets. Lower rank is higher priority.
    serviceName String
    Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
    state String
    The state that the policy set is in. A disabled policy set cannot be matched.

    Supporting Types

    GetPolicySetChildren

    AttributeName string
    Dictionary attribute name
    AttributeValue string
    Attribute value for condition. Value type is specified in dictionary object.
    Childrens List<GetPolicySetChildrenChildren>
    List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
    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.
    DictionaryName string
    Dictionary name
    DictionaryValue string
    Dictionary value
    Id string
    UUID for condition
    IsNegate bool
    Indicates whereas this condition is in negate mode
    Operator string
    Equality operator
    AttributeName string
    Dictionary attribute name
    AttributeValue string
    Attribute value for condition. Value type is specified in dictionary object.
    Childrens []GetPolicySetChildrenChildren
    List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
    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.
    DictionaryName string
    Dictionary name
    DictionaryValue string
    Dictionary value
    Id string
    UUID for condition
    IsNegate bool
    Indicates whereas this condition is in negate mode
    Operator string
    Equality operator
    attributeName String
    Dictionary attribute name
    attributeValue String
    Attribute value for condition. Value type is specified in dictionary object.
    childrens List<GetPolicySetChildrenChildren>
    List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
    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.
    dictionaryName String
    Dictionary name
    dictionaryValue String
    Dictionary value
    id String
    UUID for condition
    isNegate Boolean
    Indicates whereas this condition is in negate mode
    operator String
    Equality operator
    attributeName string
    Dictionary attribute name
    attributeValue string
    Attribute value for condition. Value type is specified in dictionary object.
    childrens GetPolicySetChildrenChildren[]
    List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
    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.
    dictionaryName string
    Dictionary name
    dictionaryValue string
    Dictionary value
    id string
    UUID for condition
    isNegate boolean
    Indicates whereas this condition is in negate mode
    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[GetPolicySetChildrenChildren]
    List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
    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.
    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
    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 ConditionAndBlock or ConditionOrBlock.
    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.
    dictionaryName String
    Dictionary name
    dictionaryValue String
    Dictionary value
    id String
    UUID for condition
    isNegate Boolean
    Indicates whereas this condition is in negate mode
    operator String
    Equality operator

    GetPolicySetChildrenChildren

    AttributeName string
    Dictionary attribute name
    AttributeValue string
    Attribute value for condition. Value type is specified in dictionary object.
    ConditionType string
    Condition type.
    DictionaryName string
    Dictionary name
    DictionaryValue string
    Dictionary value
    Id string
    UUID for condition
    IsNegate bool
    Indicates whereas this condition is in negate mode
    Operator string
    Equality operator
    AttributeName string
    Dictionary attribute name
    AttributeValue string
    Attribute value for condition. Value type is specified in dictionary object.
    ConditionType string
    Condition type.
    DictionaryName string
    Dictionary name
    DictionaryValue string
    Dictionary value
    Id string
    UUID for condition
    IsNegate bool
    Indicates whereas this condition is in negate mode
    Operator string
    Equality operator
    attributeName String
    Dictionary attribute name
    attributeValue String
    Attribute value for condition. Value type is specified in dictionary object.
    conditionType String
    Condition type.
    dictionaryName String
    Dictionary name
    dictionaryValue String
    Dictionary value
    id String
    UUID for condition
    isNegate Boolean
    Indicates whereas this condition is in negate mode
    operator String
    Equality operator
    attributeName string
    Dictionary attribute name
    attributeValue string
    Attribute value for condition. Value type is specified in dictionary object.
    conditionType string
    Condition type.
    dictionaryName string
    Dictionary name
    dictionaryValue string
    Dictionary value
    id string
    UUID for condition
    isNegate boolean
    Indicates whereas this condition is in negate mode
    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.
    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
    operator str
    Equality operator
    attributeName String
    Dictionary attribute name
    attributeValue String
    Attribute value for condition. Value type is specified in dictionary object.
    conditionType String
    Condition type.
    dictionaryName String
    Dictionary name
    dictionaryValue String
    Dictionary value
    id String
    UUID for condition
    isNegate Boolean
    Indicates whereas this condition is in negate mode
    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.
    ise logo
    Cisco ISE v0.1.4 published on Friday, May 31, 2024 by Pulumi