1. Packages
  2. Cisco ISE
  3. API Docs
  4. deviceadmin
  5. PolicySet
Cisco ISE v0.1.7 published on Tuesday, Sep 24, 2024 by Pulumi

ise.deviceadmin.PolicySet

Explore with Pulumi AI

ise logo
Cisco ISE v0.1.7 published on Tuesday, Sep 24, 2024 by Pulumi

    This resource can manage a Device Admin Policy Set.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ise from "@pulumi/ise";
    
    const example = new ise.deviceadmin.PolicySet("example", {
        name: "PolicySet1",
        description: "My description",
        isProxy: false,
        rank: 0,
        serviceName: "Default Device Admin",
        state: "enabled",
        conditionType: "ConditionAttributes",
        conditionIsNegate: false,
        conditionAttributeName: "Location",
        conditionAttributeValue: "All Locations",
        conditionDictionaryName: "DEVICE",
        conditionOperator: "equals",
    });
    
    import pulumi
    import pulumi_ise as ise
    
    example = ise.deviceadmin.PolicySet("example",
        name="PolicySet1",
        description="My description",
        is_proxy=False,
        rank=0,
        service_name="Default Device Admin",
        state="enabled",
        condition_type="ConditionAttributes",
        condition_is_negate=False,
        condition_attribute_name="Location",
        condition_attribute_value="All Locations",
        condition_dictionary_name="DEVICE",
        condition_operator="equals")
    
    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.NewPolicySet(ctx, "example", &deviceadmin.PolicySetArgs{
    			Name:                    pulumi.String("PolicySet1"),
    			Description:             pulumi.String("My description"),
    			IsProxy:                 pulumi.Bool(false),
    			Rank:                    pulumi.Int(0),
    			ServiceName:             pulumi.String("Default Device Admin"),
    			State:                   pulumi.String("enabled"),
    			ConditionType:           pulumi.String("ConditionAttributes"),
    			ConditionIsNegate:       pulumi.Bool(false),
    			ConditionAttributeName:  pulumi.String("Location"),
    			ConditionAttributeValue: pulumi.String("All Locations"),
    			ConditionDictionaryName: pulumi.String("DEVICE"),
    			ConditionOperator:       pulumi.String("equals"),
    		})
    		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 = new Ise.DeviceAdmin.PolicySet("example", new()
        {
            Name = "PolicySet1",
            Description = "My description",
            IsProxy = false,
            Rank = 0,
            ServiceName = "Default Device Admin",
            State = "enabled",
            ConditionType = "ConditionAttributes",
            ConditionIsNegate = false,
            ConditionAttributeName = "Location",
            ConditionAttributeValue = "All Locations",
            ConditionDictionaryName = "DEVICE",
            ConditionOperator = "equals",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ise.deviceadmin.PolicySet;
    import com.pulumi.ise.deviceadmin.PolicySetArgs;
    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) {
            var example = new PolicySet("example", PolicySetArgs.builder()
                .name("PolicySet1")
                .description("My description")
                .isProxy(false)
                .rank(0)
                .serviceName("Default Device Admin")
                .state("enabled")
                .conditionType("ConditionAttributes")
                .conditionIsNegate(false)
                .conditionAttributeName("Location")
                .conditionAttributeValue("All Locations")
                .conditionDictionaryName("DEVICE")
                .conditionOperator("equals")
                .build());
    
        }
    }
    
    resources:
      example:
        type: ise:deviceadmin:PolicySet
        properties:
          name: PolicySet1
          description: My description
          isProxy: false
          rank: 0
          serviceName: Default Device Admin
          state: enabled
          conditionType: ConditionAttributes
          conditionIsNegate: false
          conditionAttributeName: Location
          conditionAttributeValue: All Locations
          conditionDictionaryName: DEVICE
          conditionOperator: equals
    

    Create PolicySet Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PolicySet(name: string, args: PolicySetArgs, opts?: CustomResourceOptions);
    @overload
    def PolicySet(resource_name: str,
                  args: PolicySetArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def PolicySet(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  service_name: Optional[str] = None,
                  condition_type: Optional[str] = None,
                  default: Optional[bool] = None,
                  condition_dictionary_name: Optional[str] = None,
                  condition_dictionary_value: Optional[str] = None,
                  condition_id: Optional[str] = None,
                  condition_is_negate: Optional[bool] = None,
                  condition_attribute_value: Optional[str] = None,
                  childrens: Optional[Sequence[PolicySetChildrenArgs]] = None,
                  condition_operator: Optional[str] = None,
                  description: Optional[str] = None,
                  is_proxy: Optional[bool] = None,
                  name: Optional[str] = None,
                  rank: Optional[int] = None,
                  condition_attribute_name: Optional[str] = None,
                  state: Optional[str] = None)
    func NewPolicySet(ctx *Context, name string, args PolicySetArgs, opts ...ResourceOption) (*PolicySet, error)
    public PolicySet(string name, PolicySetArgs args, CustomResourceOptions? opts = null)
    public PolicySet(String name, PolicySetArgs args)
    public PolicySet(String name, PolicySetArgs args, CustomResourceOptions options)
    
    type: ise:deviceadmin:PolicySet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PolicySetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PolicySetArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PolicySetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PolicySetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PolicySetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var policySetResource = new Ise.DeviceAdmin.PolicySet("policySetResource", new()
    {
        ServiceName = "string",
        ConditionType = "string",
        Default = false,
        ConditionDictionaryName = "string",
        ConditionDictionaryValue = "string",
        ConditionId = "string",
        ConditionIsNegate = false,
        ConditionAttributeValue = "string",
        Childrens = new[]
        {
            new Ise.DeviceAdmin.Inputs.PolicySetChildrenArgs
            {
                ConditionType = "string",
                AttributeName = "string",
                AttributeValue = "string",
                Childrens = new[]
                {
                    new Ise.DeviceAdmin.Inputs.PolicySetChildrenChildrenArgs
                    {
                        ConditionType = "string",
                        AttributeName = "string",
                        AttributeValue = "string",
                        DictionaryName = "string",
                        DictionaryValue = "string",
                        Id = "string",
                        IsNegate = false,
                        Operator = "string",
                    },
                },
                DictionaryName = "string",
                DictionaryValue = "string",
                Id = "string",
                IsNegate = false,
                Operator = "string",
            },
        },
        ConditionOperator = "string",
        Description = "string",
        IsProxy = false,
        Name = "string",
        Rank = 0,
        ConditionAttributeName = "string",
        State = "string",
    });
    
    example, err := deviceadmin.NewPolicySet(ctx, "policySetResource", &deviceadmin.PolicySetArgs{
    	ServiceName:              pulumi.String("string"),
    	ConditionType:            pulumi.String("string"),
    	Default:                  pulumi.Bool(false),
    	ConditionDictionaryName:  pulumi.String("string"),
    	ConditionDictionaryValue: pulumi.String("string"),
    	ConditionId:              pulumi.String("string"),
    	ConditionIsNegate:        pulumi.Bool(false),
    	ConditionAttributeValue:  pulumi.String("string"),
    	Childrens: deviceadmin.PolicySetChildrenArray{
    		&deviceadmin.PolicySetChildrenArgs{
    			ConditionType:  pulumi.String("string"),
    			AttributeName:  pulumi.String("string"),
    			AttributeValue: pulumi.String("string"),
    			Childrens: deviceadmin.PolicySetChildrenChildrenArray{
    				&deviceadmin.PolicySetChildrenChildrenArgs{
    					ConditionType:   pulumi.String("string"),
    					AttributeName:   pulumi.String("string"),
    					AttributeValue:  pulumi.String("string"),
    					DictionaryName:  pulumi.String("string"),
    					DictionaryValue: pulumi.String("string"),
    					Id:              pulumi.String("string"),
    					IsNegate:        pulumi.Bool(false),
    					Operator:        pulumi.String("string"),
    				},
    			},
    			DictionaryName:  pulumi.String("string"),
    			DictionaryValue: pulumi.String("string"),
    			Id:              pulumi.String("string"),
    			IsNegate:        pulumi.Bool(false),
    			Operator:        pulumi.String("string"),
    		},
    	},
    	ConditionOperator:      pulumi.String("string"),
    	Description:            pulumi.String("string"),
    	IsProxy:                pulumi.Bool(false),
    	Name:                   pulumi.String("string"),
    	Rank:                   pulumi.Int(0),
    	ConditionAttributeName: pulumi.String("string"),
    	State:                  pulumi.String("string"),
    })
    
    var policySetResource = new PolicySet("policySetResource", PolicySetArgs.builder()
        .serviceName("string")
        .conditionType("string")
        .default_(false)
        .conditionDictionaryName("string")
        .conditionDictionaryValue("string")
        .conditionId("string")
        .conditionIsNegate(false)
        .conditionAttributeValue("string")
        .childrens(PolicySetChildrenArgs.builder()
            .conditionType("string")
            .attributeName("string")
            .attributeValue("string")
            .childrens(PolicySetChildrenChildrenArgs.builder()
                .conditionType("string")
                .attributeName("string")
                .attributeValue("string")
                .dictionaryName("string")
                .dictionaryValue("string")
                .id("string")
                .isNegate(false)
                .operator("string")
                .build())
            .dictionaryName("string")
            .dictionaryValue("string")
            .id("string")
            .isNegate(false)
            .operator("string")
            .build())
        .conditionOperator("string")
        .description("string")
        .isProxy(false)
        .name("string")
        .rank(0)
        .conditionAttributeName("string")
        .state("string")
        .build());
    
    policy_set_resource = ise.deviceadmin.PolicySet("policySetResource",
        service_name="string",
        condition_type="string",
        default=False,
        condition_dictionary_name="string",
        condition_dictionary_value="string",
        condition_id="string",
        condition_is_negate=False,
        condition_attribute_value="string",
        childrens=[ise.deviceadmin.PolicySetChildrenArgs(
            condition_type="string",
            attribute_name="string",
            attribute_value="string",
            childrens=[ise.deviceadmin.PolicySetChildrenChildrenArgs(
                condition_type="string",
                attribute_name="string",
                attribute_value="string",
                dictionary_name="string",
                dictionary_value="string",
                id="string",
                is_negate=False,
                operator="string",
            )],
            dictionary_name="string",
            dictionary_value="string",
            id="string",
            is_negate=False,
            operator="string",
        )],
        condition_operator="string",
        description="string",
        is_proxy=False,
        name="string",
        rank=0,
        condition_attribute_name="string",
        state="string")
    
    const policySetResource = new ise.deviceadmin.PolicySet("policySetResource", {
        serviceName: "string",
        conditionType: "string",
        "default": false,
        conditionDictionaryName: "string",
        conditionDictionaryValue: "string",
        conditionId: "string",
        conditionIsNegate: false,
        conditionAttributeValue: "string",
        childrens: [{
            conditionType: "string",
            attributeName: "string",
            attributeValue: "string",
            childrens: [{
                conditionType: "string",
                attributeName: "string",
                attributeValue: "string",
                dictionaryName: "string",
                dictionaryValue: "string",
                id: "string",
                isNegate: false,
                operator: "string",
            }],
            dictionaryName: "string",
            dictionaryValue: "string",
            id: "string",
            isNegate: false,
            operator: "string",
        }],
        conditionOperator: "string",
        description: "string",
        isProxy: false,
        name: "string",
        rank: 0,
        conditionAttributeName: "string",
        state: "string",
    });
    
    type: ise:deviceadmin:PolicySet
    properties:
        childrens:
            - attributeName: string
              attributeValue: string
              childrens:
                - attributeName: string
                  attributeValue: string
                  conditionType: string
                  dictionaryName: string
                  dictionaryValue: string
                  id: string
                  isNegate: false
                  operator: string
              conditionType: string
              dictionaryName: string
              dictionaryValue: string
              id: string
              isNegate: false
              operator: string
        conditionAttributeName: string
        conditionAttributeValue: string
        conditionDictionaryName: string
        conditionDictionaryValue: string
        conditionId: string
        conditionIsNegate: false
        conditionOperator: string
        conditionType: string
        default: false
        description: string
        isProxy: false
        name: string
        rank: 0
        serviceName: string
        state: string
    

    PolicySet Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The PolicySet resource accepts the following input properties:

    ServiceName string
    Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
    Childrens List<PolicySetChildren>
    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 - Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    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. - Choices: ConditionAndBlock, ConditionAttributes, ConditionOrBlock, ConditionReference
    Default bool
    Indicates if this policy set is the default one
    Description string
    The description of the policy set
    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.
    State string
    The state that the policy set is in. A disabled policy set cannot be matched. - Choices: disabled, enabled, monitor
    ServiceName string
    Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
    Childrens []PolicySetChildrenArgs
    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 - Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    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. - Choices: ConditionAndBlock, ConditionAttributes, ConditionOrBlock, ConditionReference
    Default bool
    Indicates if this policy set is the default one
    Description string
    The description of the policy set
    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.
    State string
    The state that the policy set is in. A disabled policy set cannot be matched. - Choices: disabled, enabled, monitor
    serviceName String
    Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
    childrens List<PolicySetChildren>
    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 - Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    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. - Choices: ConditionAndBlock, ConditionAttributes, ConditionOrBlock, ConditionReference
    default_ Boolean
    Indicates if this policy set is the default one
    description String
    The description of the policy set
    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.
    state String
    The state that the policy set is in. A disabled policy set cannot be matched. - Choices: disabled, enabled, monitor
    serviceName string
    Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
    childrens PolicySetChildren[]
    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 - Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    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. - Choices: ConditionAndBlock, ConditionAttributes, ConditionOrBlock, ConditionReference
    default boolean
    Indicates if this policy set is the default one
    description string
    The description of the policy set
    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.
    state string
    The state that the policy set is in. A disabled policy set cannot be matched. - Choices: disabled, enabled, monitor
    service_name str
    Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
    childrens Sequence[PolicySetChildrenArgs]
    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 - Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    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. - Choices: ConditionAndBlock, ConditionAttributes, ConditionOrBlock, ConditionReference
    default bool
    Indicates if this policy set is the default one
    description str
    The description of the policy set
    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.
    state str
    The state that the policy set is in. A disabled policy set cannot be matched. - Choices: disabled, enabled, monitor
    serviceName String
    Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
    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 - Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    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. - Choices: ConditionAndBlock, ConditionAttributes, ConditionOrBlock, ConditionReference
    default Boolean
    Indicates if this policy set is the default one
    description String
    The description of the policy set
    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.
    state String
    The state that the policy set is in. A disabled policy set cannot be matched. - Choices: disabled, enabled, monitor

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PolicySet resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing PolicySet Resource

    Get an existing PolicySet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PolicySetState, opts?: CustomResourceOptions): PolicySet
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            childrens: Optional[Sequence[PolicySetChildrenArgs]] = None,
            condition_attribute_name: Optional[str] = None,
            condition_attribute_value: Optional[str] = None,
            condition_dictionary_name: Optional[str] = None,
            condition_dictionary_value: Optional[str] = None,
            condition_id: Optional[str] = None,
            condition_is_negate: Optional[bool] = None,
            condition_operator: Optional[str] = None,
            condition_type: Optional[str] = None,
            default: Optional[bool] = None,
            description: Optional[str] = None,
            is_proxy: Optional[bool] = None,
            name: Optional[str] = None,
            rank: Optional[int] = None,
            service_name: Optional[str] = None,
            state: Optional[str] = None) -> PolicySet
    func GetPolicySet(ctx *Context, name string, id IDInput, state *PolicySetState, opts ...ResourceOption) (*PolicySet, error)
    public static PolicySet Get(string name, Input<string> id, PolicySetState? state, CustomResourceOptions? opts = null)
    public static PolicySet get(String name, Output<String> id, PolicySetState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Childrens List<PolicySetChildren>
    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 - Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    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. - Choices: ConditionAndBlock, ConditionAttributes, ConditionOrBlock, ConditionReference
    Default bool
    Indicates if this policy set is the default one
    Description string
    The description of the policy set
    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. - Choices: disabled, enabled, monitor
    Childrens []PolicySetChildrenArgs
    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 - Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    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. - Choices: ConditionAndBlock, ConditionAttributes, ConditionOrBlock, ConditionReference
    Default bool
    Indicates if this policy set is the default one
    Description string
    The description of the policy set
    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. - Choices: disabled, enabled, monitor
    childrens List<PolicySetChildren>
    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 - Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    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. - Choices: ConditionAndBlock, ConditionAttributes, ConditionOrBlock, ConditionReference
    default_ Boolean
    Indicates if this policy set is the default one
    description String
    The description of the policy set
    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. - Choices: disabled, enabled, monitor
    childrens PolicySetChildren[]
    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 - Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    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. - Choices: ConditionAndBlock, ConditionAttributes, ConditionOrBlock, ConditionReference
    default boolean
    Indicates if this policy set is the default one
    description string
    The description of the policy set
    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. - Choices: disabled, enabled, monitor
    childrens Sequence[PolicySetChildrenArgs]
    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 - Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    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. - Choices: ConditionAndBlock, ConditionAttributes, ConditionOrBlock, ConditionReference
    default bool
    Indicates if this policy set is the default one
    description str
    The description of the policy set
    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. - Choices: disabled, enabled, monitor
    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 - Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    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. - Choices: ConditionAndBlock, ConditionAttributes, ConditionOrBlock, ConditionReference
    default Boolean
    Indicates if this policy set is the default one
    description String
    The description of the policy set
    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. - Choices: disabled, enabled, monitor

    Supporting Types

    PolicySetChildren, PolicySetChildrenArgs

    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.

    • Choices: ConditionAndBlock, ConditionAttributes, ConditionOrBlock, ConditionReference
    AttributeName string
    Dictionary attribute name
    AttributeValue string
    Attribute value for condition. Value type is specified in dictionary object.
    Childrens List<PolicySetChildrenChildren>
    List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
    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

    • Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    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.

    • Choices: ConditionAndBlock, ConditionAttributes, ConditionOrBlock, ConditionReference
    AttributeName string
    Dictionary attribute name
    AttributeValue string
    Attribute value for condition. Value type is specified in dictionary object.
    Childrens []PolicySetChildrenChildren
    List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
    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

    • Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    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.

    • Choices: ConditionAndBlock, ConditionAttributes, ConditionOrBlock, ConditionReference
    attributeName String
    Dictionary attribute name
    attributeValue String
    Attribute value for condition. Value type is specified in dictionary object.
    childrens List<PolicySetChildrenChildren>
    List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
    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

    • Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    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.

    • Choices: ConditionAndBlock, ConditionAttributes, ConditionOrBlock, ConditionReference
    attributeName string
    Dictionary attribute name
    attributeValue string
    Attribute value for condition. Value type is specified in dictionary object.
    childrens PolicySetChildrenChildren[]
    List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
    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

    • Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    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.

    • Choices: ConditionAndBlock, ConditionAttributes, ConditionOrBlock, ConditionReference
    attribute_name str
    Dictionary attribute name
    attribute_value str
    Attribute value for condition. Value type is specified in dictionary object.
    childrens Sequence[PolicySetChildrenChildren]
    List of child conditions. condition_type must be one of ConditionAndBlock or ConditionOrBlock.
    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

    • Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    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.

    • Choices: ConditionAndBlock, ConditionAttributes, ConditionOrBlock, ConditionReference
    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.
    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

    • Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith

    PolicySetChildrenChildren, PolicySetChildrenChildrenArgs

    ConditionType string
    Condition type.

    • Choices: ConditionAttributes, ConditionReference
    AttributeName string
    Dictionary attribute name
    AttributeValue string
    Attribute value for condition. Value type is specified in dictionary object.
    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

    • Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    ConditionType string
    Condition type.

    • Choices: ConditionAttributes, ConditionReference
    AttributeName string
    Dictionary attribute name
    AttributeValue string
    Attribute value for condition. Value type is specified in dictionary object.
    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

    • Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    conditionType String
    Condition type.

    • Choices: ConditionAttributes, ConditionReference
    attributeName String
    Dictionary attribute name
    attributeValue String
    Attribute value for condition. Value type is specified in dictionary object.
    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

    • Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    conditionType string
    Condition type.

    • Choices: ConditionAttributes, ConditionReference
    attributeName string
    Dictionary attribute name
    attributeValue string
    Attribute value for condition. Value type is specified in dictionary object.
    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

    • Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    condition_type str
    Condition type.

    • Choices: ConditionAttributes, ConditionReference
    attribute_name str
    Dictionary attribute name
    attribute_value str
    Attribute value for condition. Value type is specified in dictionary object.
    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

    • Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith
    conditionType String
    Condition type.

    • Choices: ConditionAttributes, ConditionReference
    attributeName String
    Dictionary attribute name
    attributeValue String
    Attribute value for condition. Value type is specified in dictionary object.
    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

    • Choices: contains, endsWith, equals, greaterOrEquals, greaterThan, in, ipEquals, ipGreaterThan, ipLessThan, ipNotEquals, lessOrEquals, lessThan, matches, notContains, notEndsWith, notEquals, notIn, notStartsWith, startsWith

    Import

    $ pulumi import ise:deviceadmin/policySet:PolicySet example "76d24097-41c4-4558-a4d0-a8c07ac08470"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.7 published on Tuesday, Sep 24, 2024 by Pulumi