ise.deviceadmin.AuthorizationExceptionRule
Explore with Pulumi AI
This resource can manage a Device Admin Authorization Exception Rule.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ise from "@pulumi/ise";
const example = new ise.deviceadmin.AuthorizationExceptionRule("example", {
    policySetId: "d82952cb-b901-4b09-b363-5ebf39bdbaf9",
    name: "Rule1",
    "default": false,
    rank: 0,
    state: "enabled",
    conditionType: "ConditionAttributes",
    conditionIsNegate: false,
    conditionAttributeName: "Location",
    conditionAttributeValue: "All Locations",
    conditionDictionaryName: "DEVICE",
    conditionOperator: "equals",
    commandSets: ["DenyAllCommands"],
    profile: "Default Shell Profile",
});
import pulumi
import pulumi_ise as ise
example = ise.deviceadmin.AuthorizationExceptionRule("example",
    policy_set_id="d82952cb-b901-4b09-b363-5ebf39bdbaf9",
    name="Rule1",
    default=False,
    rank=0,
    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",
    command_sets=["DenyAllCommands"],
    profile="Default Shell Profile")
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.NewAuthorizationExceptionRule(ctx, "example", &deviceadmin.AuthorizationExceptionRuleArgs{
			PolicySetId:             pulumi.String("d82952cb-b901-4b09-b363-5ebf39bdbaf9"),
			Name:                    pulumi.String("Rule1"),
			Default:                 pulumi.Bool(false),
			Rank:                    pulumi.Int(0),
			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"),
			CommandSets: pulumi.StringArray{
				pulumi.String("DenyAllCommands"),
			},
			Profile: pulumi.String("Default Shell Profile"),
		})
		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.AuthorizationExceptionRule("example", new()
    {
        PolicySetId = "d82952cb-b901-4b09-b363-5ebf39bdbaf9",
        Name = "Rule1",
        Default = false,
        Rank = 0,
        State = "enabled",
        ConditionType = "ConditionAttributes",
        ConditionIsNegate = false,
        ConditionAttributeName = "Location",
        ConditionAttributeValue = "All Locations",
        ConditionDictionaryName = "DEVICE",
        ConditionOperator = "equals",
        CommandSets = new[]
        {
            "DenyAllCommands",
        },
        Profile = "Default Shell Profile",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ise.deviceadmin.AuthorizationExceptionRule;
import com.pulumi.ise.deviceadmin.AuthorizationExceptionRuleArgs;
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 AuthorizationExceptionRule("example", AuthorizationExceptionRuleArgs.builder()
            .policySetId("d82952cb-b901-4b09-b363-5ebf39bdbaf9")
            .name("Rule1")
            .default_(false)
            .rank(0)
            .state("enabled")
            .conditionType("ConditionAttributes")
            .conditionIsNegate(false)
            .conditionAttributeName("Location")
            .conditionAttributeValue("All Locations")
            .conditionDictionaryName("DEVICE")
            .conditionOperator("equals")
            .commandSets("DenyAllCommands")
            .profile("Default Shell Profile")
            .build());
    }
}
resources:
  example:
    type: ise:deviceadmin:AuthorizationExceptionRule
    properties:
      policySetId: d82952cb-b901-4b09-b363-5ebf39bdbaf9
      name: Rule1
      default: false
      rank: 0
      state: enabled
      conditionType: ConditionAttributes
      conditionIsNegate: false
      conditionAttributeName: Location
      conditionAttributeValue: All Locations
      conditionDictionaryName: DEVICE
      conditionOperator: equals
      commandSets:
        - DenyAllCommands
      profile: Default Shell Profile
Create AuthorizationExceptionRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AuthorizationExceptionRule(name: string, args: AuthorizationExceptionRuleArgs, opts?: CustomResourceOptions);@overload
def AuthorizationExceptionRule(resource_name: str,
                               args: AuthorizationExceptionRuleArgs,
                               opts: Optional[ResourceOptions] = None)
@overload
def AuthorizationExceptionRule(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               policy_set_id: Optional[str] = None,
                               condition_dictionary_name: Optional[str] = None,
                               condition_type: Optional[str] = None,
                               condition_attribute_value: Optional[str] = None,
                               childrens: Optional[Sequence[AuthorizationExceptionRuleChildrenArgs]] = None,
                               condition_dictionary_value: Optional[str] = None,
                               condition_id: Optional[str] = None,
                               condition_attribute_name: Optional[str] = None,
                               condition_operator: Optional[str] = None,
                               condition_is_negate: Optional[bool] = None,
                               default: Optional[bool] = None,
                               name: Optional[str] = None,
                               command_sets: Optional[Sequence[str]] = None,
                               profile: Optional[str] = None,
                               rank: Optional[int] = None,
                               state: Optional[str] = None)func NewAuthorizationExceptionRule(ctx *Context, name string, args AuthorizationExceptionRuleArgs, opts ...ResourceOption) (*AuthorizationExceptionRule, error)public AuthorizationExceptionRule(string name, AuthorizationExceptionRuleArgs args, CustomResourceOptions? opts = null)
public AuthorizationExceptionRule(String name, AuthorizationExceptionRuleArgs args)
public AuthorizationExceptionRule(String name, AuthorizationExceptionRuleArgs args, CustomResourceOptions options)
type: ise:deviceadmin:AuthorizationExceptionRule
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 AuthorizationExceptionRuleArgs
- 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 AuthorizationExceptionRuleArgs
- 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 AuthorizationExceptionRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AuthorizationExceptionRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AuthorizationExceptionRuleArgs
- 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 authorizationExceptionRuleResource = new Ise.DeviceAdmin.AuthorizationExceptionRule("authorizationExceptionRuleResource", new()
{
    PolicySetId = "string",
    ConditionDictionaryName = "string",
    ConditionType = "string",
    ConditionAttributeValue = "string",
    Childrens = new[]
    {
        new Ise.DeviceAdmin.Inputs.AuthorizationExceptionRuleChildrenArgs
        {
            ConditionType = "string",
            AttributeName = "string",
            AttributeValue = "string",
            Childrens = new[]
            {
                new Ise.DeviceAdmin.Inputs.AuthorizationExceptionRuleChildrenChildrenArgs
                {
                    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",
        },
    },
    ConditionDictionaryValue = "string",
    ConditionId = "string",
    ConditionAttributeName = "string",
    ConditionOperator = "string",
    ConditionIsNegate = false,
    Default = false,
    Name = "string",
    CommandSets = new[]
    {
        "string",
    },
    Profile = "string",
    Rank = 0,
    State = "string",
});
example, err := deviceadmin.NewAuthorizationExceptionRule(ctx, "authorizationExceptionRuleResource", &deviceadmin.AuthorizationExceptionRuleArgs{
	PolicySetId:             pulumi.String("string"),
	ConditionDictionaryName: pulumi.String("string"),
	ConditionType:           pulumi.String("string"),
	ConditionAttributeValue: pulumi.String("string"),
	Childrens: deviceadmin.AuthorizationExceptionRuleChildrenArray{
		&deviceadmin.AuthorizationExceptionRuleChildrenArgs{
			ConditionType:  pulumi.String("string"),
			AttributeName:  pulumi.String("string"),
			AttributeValue: pulumi.String("string"),
			Childrens: deviceadmin.AuthorizationExceptionRuleChildrenChildrenArray{
				&deviceadmin.AuthorizationExceptionRuleChildrenChildrenArgs{
					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"),
		},
	},
	ConditionDictionaryValue: pulumi.String("string"),
	ConditionId:              pulumi.String("string"),
	ConditionAttributeName:   pulumi.String("string"),
	ConditionOperator:        pulumi.String("string"),
	ConditionIsNegate:        pulumi.Bool(false),
	Default:                  pulumi.Bool(false),
	Name:                     pulumi.String("string"),
	CommandSets: pulumi.StringArray{
		pulumi.String("string"),
	},
	Profile: pulumi.String("string"),
	Rank:    pulumi.Int(0),
	State:   pulumi.String("string"),
})
var authorizationExceptionRuleResource = new AuthorizationExceptionRule("authorizationExceptionRuleResource", AuthorizationExceptionRuleArgs.builder()
    .policySetId("string")
    .conditionDictionaryName("string")
    .conditionType("string")
    .conditionAttributeValue("string")
    .childrens(AuthorizationExceptionRuleChildrenArgs.builder()
        .conditionType("string")
        .attributeName("string")
        .attributeValue("string")
        .childrens(AuthorizationExceptionRuleChildrenChildrenArgs.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())
    .conditionDictionaryValue("string")
    .conditionId("string")
    .conditionAttributeName("string")
    .conditionOperator("string")
    .conditionIsNegate(false)
    .default_(false)
    .name("string")
    .commandSets("string")
    .profile("string")
    .rank(0)
    .state("string")
    .build());
authorization_exception_rule_resource = ise.deviceadmin.AuthorizationExceptionRule("authorizationExceptionRuleResource",
    policy_set_id="string",
    condition_dictionary_name="string",
    condition_type="string",
    condition_attribute_value="string",
    childrens=[{
        "condition_type": "string",
        "attribute_name": "string",
        "attribute_value": "string",
        "childrens": [{
            "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_dictionary_value="string",
    condition_id="string",
    condition_attribute_name="string",
    condition_operator="string",
    condition_is_negate=False,
    default=False,
    name="string",
    command_sets=["string"],
    profile="string",
    rank=0,
    state="string")
const authorizationExceptionRuleResource = new ise.deviceadmin.AuthorizationExceptionRule("authorizationExceptionRuleResource", {
    policySetId: "string",
    conditionDictionaryName: "string",
    conditionType: "string",
    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",
    }],
    conditionDictionaryValue: "string",
    conditionId: "string",
    conditionAttributeName: "string",
    conditionOperator: "string",
    conditionIsNegate: false,
    "default": false,
    name: "string",
    commandSets: ["string"],
    profile: "string",
    rank: 0,
    state: "string",
});
type: ise:deviceadmin:AuthorizationExceptionRule
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
    commandSets:
        - string
    conditionAttributeName: string
    conditionAttributeValue: string
    conditionDictionaryName: string
    conditionDictionaryValue: string
    conditionId: string
    conditionIsNegate: false
    conditionOperator: string
    conditionType: string
    default: false
    name: string
    policySetId: string
    profile: string
    rank: 0
    state: string
AuthorizationExceptionRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AuthorizationExceptionRule resource accepts the following input properties:
- PolicySet stringId 
- Policy set ID
- Childrens
List<AuthorizationException Rule Children> 
- List of child conditions. condition_typemust be one ofConditionAndBlockorConditionOrBlock.
- CommandSets List<string>
- Command sets enforce the specified list of commands that can be executed by a device administrator
- ConditionAttribute stringName 
- Dictionary attribute name
- ConditionAttribute stringValue 
- Attribute value for condition. Value type is specified in dictionary object.
- ConditionDictionary stringName 
- Dictionary name
- ConditionDictionary stringValue 
- Dictionary value
- ConditionId string
- UUID for condition
- ConditionIs boolNegate 
- 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 rule is the default one
- Name string
- Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
- Profile string
- Device admin profiles control the initial login session of the device administrator
- Rank int
- The rank (priority) in relation to other rules. Lower rank is higher priority.
- State string
- The state that the rule is in. A disabled rule cannot be matched. - Choices: disabled,enabled,monitor
- PolicySet stringId 
- Policy set ID
- Childrens
[]AuthorizationException Rule Children Args 
- List of child conditions. condition_typemust be one ofConditionAndBlockorConditionOrBlock.
- CommandSets []string
- Command sets enforce the specified list of commands that can be executed by a device administrator
- ConditionAttribute stringName 
- Dictionary attribute name
- ConditionAttribute stringValue 
- Attribute value for condition. Value type is specified in dictionary object.
- ConditionDictionary stringName 
- Dictionary name
- ConditionDictionary stringValue 
- Dictionary value
- ConditionId string
- UUID for condition
- ConditionIs boolNegate 
- 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 rule is the default one
- Name string
- Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
- Profile string
- Device admin profiles control the initial login session of the device administrator
- Rank int
- The rank (priority) in relation to other rules. Lower rank is higher priority.
- State string
- The state that the rule is in. A disabled rule cannot be matched. - Choices: disabled,enabled,monitor
- policySet StringId 
- Policy set ID
- childrens
List<AuthorizationException Rule Children> 
- List of child conditions. condition_typemust be one ofConditionAndBlockorConditionOrBlock.
- commandSets List<String>
- Command sets enforce the specified list of commands that can be executed by a device administrator
- conditionAttribute StringName 
- Dictionary attribute name
- conditionAttribute StringValue 
- Attribute value for condition. Value type is specified in dictionary object.
- conditionDictionary StringName 
- Dictionary name
- conditionDictionary StringValue 
- Dictionary value
- conditionId String
- UUID for condition
- conditionIs BooleanNegate 
- 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 rule is the default one
- name String
- Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
- profile String
- Device admin profiles control the initial login session of the device administrator
- rank Integer
- The rank (priority) in relation to other rules. Lower rank is higher priority.
- state String
- The state that the rule is in. A disabled rule cannot be matched. - Choices: disabled,enabled,monitor
- policySet stringId 
- Policy set ID
- childrens
AuthorizationException Rule Children[] 
- List of child conditions. condition_typemust be one ofConditionAndBlockorConditionOrBlock.
- commandSets string[]
- Command sets enforce the specified list of commands that can be executed by a device administrator
- conditionAttribute stringName 
- Dictionary attribute name
- conditionAttribute stringValue 
- Attribute value for condition. Value type is specified in dictionary object.
- conditionDictionary stringName 
- Dictionary name
- conditionDictionary stringValue 
- Dictionary value
- conditionId string
- UUID for condition
- conditionIs booleanNegate 
- 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 rule is the default one
- name string
- Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
- profile string
- Device admin profiles control the initial login session of the device administrator
- rank number
- The rank (priority) in relation to other rules. Lower rank is higher priority.
- state string
- The state that the rule is in. A disabled rule cannot be matched. - Choices: disabled,enabled,monitor
- policy_set_ strid 
- Policy set ID
- childrens
Sequence[AuthorizationException Rule Children Args] 
- List of child conditions. condition_typemust be one ofConditionAndBlockorConditionOrBlock.
- command_sets Sequence[str]
- Command sets enforce the specified list of commands that can be executed by a device administrator
- condition_attribute_ strname 
- Dictionary attribute name
- condition_attribute_ strvalue 
- Attribute value for condition. Value type is specified in dictionary object.
- condition_dictionary_ strname 
- Dictionary name
- condition_dictionary_ strvalue 
- Dictionary value
- condition_id str
- UUID for condition
- condition_is_ boolnegate 
- 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 rule is the default one
- name str
- Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
- profile str
- Device admin profiles control the initial login session of the device administrator
- rank int
- The rank (priority) in relation to other rules. Lower rank is higher priority.
- state str
- The state that the rule is in. A disabled rule cannot be matched. - Choices: disabled,enabled,monitor
- policySet StringId 
- Policy set ID
- childrens List<Property Map>
- List of child conditions. condition_typemust be one ofConditionAndBlockorConditionOrBlock.
- commandSets List<String>
- Command sets enforce the specified list of commands that can be executed by a device administrator
- conditionAttribute StringName 
- Dictionary attribute name
- conditionAttribute StringValue 
- Attribute value for condition. Value type is specified in dictionary object.
- conditionDictionary StringName 
- Dictionary name
- conditionDictionary StringValue 
- Dictionary value
- conditionId String
- UUID for condition
- conditionIs BooleanNegate 
- 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 rule is the default one
- name String
- Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
- profile String
- Device admin profiles control the initial login session of the device administrator
- rank Number
- The rank (priority) in relation to other rules. Lower rank is higher priority.
- state String
- The state that the rule is in. A disabled rule cannot be matched. - Choices: disabled,enabled,monitor
Outputs
All input properties are implicitly available as output properties. Additionally, the AuthorizationExceptionRule 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 AuthorizationExceptionRule Resource
Get an existing AuthorizationExceptionRule 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?: AuthorizationExceptionRuleState, opts?: CustomResourceOptions): AuthorizationExceptionRule@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        childrens: Optional[Sequence[AuthorizationExceptionRuleChildrenArgs]] = None,
        command_sets: Optional[Sequence[str]] = 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,
        name: Optional[str] = None,
        policy_set_id: Optional[str] = None,
        profile: Optional[str] = None,
        rank: Optional[int] = None,
        state: Optional[str] = None) -> AuthorizationExceptionRulefunc GetAuthorizationExceptionRule(ctx *Context, name string, id IDInput, state *AuthorizationExceptionRuleState, opts ...ResourceOption) (*AuthorizationExceptionRule, error)public static AuthorizationExceptionRule Get(string name, Input<string> id, AuthorizationExceptionRuleState? state, CustomResourceOptions? opts = null)public static AuthorizationExceptionRule get(String name, Output<String> id, AuthorizationExceptionRuleState state, CustomResourceOptions options)resources:  _:    type: ise:deviceadmin:AuthorizationExceptionRule    get:      id: ${id}- 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.
- Childrens
List<AuthorizationException Rule Children> 
- List of child conditions. condition_typemust be one ofConditionAndBlockorConditionOrBlock.
- CommandSets List<string>
- Command sets enforce the specified list of commands that can be executed by a device administrator
- ConditionAttribute stringName 
- Dictionary attribute name
- ConditionAttribute stringValue 
- Attribute value for condition. Value type is specified in dictionary object.
- ConditionDictionary stringName 
- Dictionary name
- ConditionDictionary stringValue 
- Dictionary value
- ConditionId string
- UUID for condition
- ConditionIs boolNegate 
- 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 rule is the default one
- Name string
- Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
- PolicySet stringId 
- Policy set ID
- Profile string
- Device admin profiles control the initial login session of the device administrator
- Rank int
- The rank (priority) in relation to other rules. Lower rank is higher priority.
- State string
- The state that the rule is in. A disabled rule cannot be matched. - Choices: disabled,enabled,monitor
- Childrens
[]AuthorizationException Rule Children Args 
- List of child conditions. condition_typemust be one ofConditionAndBlockorConditionOrBlock.
- CommandSets []string
- Command sets enforce the specified list of commands that can be executed by a device administrator
- ConditionAttribute stringName 
- Dictionary attribute name
- ConditionAttribute stringValue 
- Attribute value for condition. Value type is specified in dictionary object.
- ConditionDictionary stringName 
- Dictionary name
- ConditionDictionary stringValue 
- Dictionary value
- ConditionId string
- UUID for condition
- ConditionIs boolNegate 
- 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 rule is the default one
- Name string
- Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
- PolicySet stringId 
- Policy set ID
- Profile string
- Device admin profiles control the initial login session of the device administrator
- Rank int
- The rank (priority) in relation to other rules. Lower rank is higher priority.
- State string
- The state that the rule is in. A disabled rule cannot be matched. - Choices: disabled,enabled,monitor
- childrens
List<AuthorizationException Rule Children> 
- List of child conditions. condition_typemust be one ofConditionAndBlockorConditionOrBlock.
- commandSets List<String>
- Command sets enforce the specified list of commands that can be executed by a device administrator
- conditionAttribute StringName 
- Dictionary attribute name
- conditionAttribute StringValue 
- Attribute value for condition. Value type is specified in dictionary object.
- conditionDictionary StringName 
- Dictionary name
- conditionDictionary StringValue 
- Dictionary value
- conditionId String
- UUID for condition
- conditionIs BooleanNegate 
- 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 rule is the default one
- name String
- Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
- policySet StringId 
- Policy set ID
- profile String
- Device admin profiles control the initial login session of the device administrator
- rank Integer
- The rank (priority) in relation to other rules. Lower rank is higher priority.
- state String
- The state that the rule is in. A disabled rule cannot be matched. - Choices: disabled,enabled,monitor
- childrens
AuthorizationException Rule Children[] 
- List of child conditions. condition_typemust be one ofConditionAndBlockorConditionOrBlock.
- commandSets string[]
- Command sets enforce the specified list of commands that can be executed by a device administrator
- conditionAttribute stringName 
- Dictionary attribute name
- conditionAttribute stringValue 
- Attribute value for condition. Value type is specified in dictionary object.
- conditionDictionary stringName 
- Dictionary name
- conditionDictionary stringValue 
- Dictionary value
- conditionId string
- UUID for condition
- conditionIs booleanNegate 
- 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 rule is the default one
- name string
- Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
- policySet stringId 
- Policy set ID
- profile string
- Device admin profiles control the initial login session of the device administrator
- rank number
- The rank (priority) in relation to other rules. Lower rank is higher priority.
- state string
- The state that the rule is in. A disabled rule cannot be matched. - Choices: disabled,enabled,monitor
- childrens
Sequence[AuthorizationException Rule Children Args] 
- List of child conditions. condition_typemust be one ofConditionAndBlockorConditionOrBlock.
- command_sets Sequence[str]
- Command sets enforce the specified list of commands that can be executed by a device administrator
- condition_attribute_ strname 
- Dictionary attribute name
- condition_attribute_ strvalue 
- Attribute value for condition. Value type is specified in dictionary object.
- condition_dictionary_ strname 
- Dictionary name
- condition_dictionary_ strvalue 
- Dictionary value
- condition_id str
- UUID for condition
- condition_is_ boolnegate 
- 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 rule is the default one
- name str
- Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
- policy_set_ strid 
- Policy set ID
- profile str
- Device admin profiles control the initial login session of the device administrator
- rank int
- The rank (priority) in relation to other rules. Lower rank is higher priority.
- state str
- The state that the rule is in. A disabled rule cannot be matched. - Choices: disabled,enabled,monitor
- childrens List<Property Map>
- List of child conditions. condition_typemust be one ofConditionAndBlockorConditionOrBlock.
- commandSets List<String>
- Command sets enforce the specified list of commands that can be executed by a device administrator
- conditionAttribute StringName 
- Dictionary attribute name
- conditionAttribute StringValue 
- Attribute value for condition. Value type is specified in dictionary object.
- conditionDictionary StringName 
- Dictionary name
- conditionDictionary StringValue 
- Dictionary value
- conditionId String
- UUID for condition
- conditionIs BooleanNegate 
- 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 rule is the default one
- name String
- Rule name, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
- policySet StringId 
- Policy set ID
- profile String
- Device admin profiles control the initial login session of the device administrator
- rank Number
- The rank (priority) in relation to other rules. Lower rank is higher priority.
- state String
- The state that the rule is in. A disabled rule cannot be matched. - Choices: disabled,enabled,monitor
Supporting Types
AuthorizationExceptionRuleChildren, AuthorizationExceptionRuleChildrenArgs        
- 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
 
- Choices: 
- AttributeName string
- Dictionary attribute name
- AttributeValue string
- Attribute value for condition. Value type is specified in dictionary object.
- Childrens
List<AuthorizationException Rule Children Children> 
- List of child conditions. condition_typemust be one ofConditionAndBlockorConditionOrBlock.
- 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
 
- Choices: 
- 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
 
- Choices: 
- AttributeName string
- Dictionary attribute name
- AttributeValue string
- Attribute value for condition. Value type is specified in dictionary object.
- Childrens
[]AuthorizationException Rule Children Children 
- List of child conditions. condition_typemust be one ofConditionAndBlockorConditionOrBlock.
- 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
 
- Choices: 
- 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
 
- Choices: 
- attributeName String
- Dictionary attribute name
- attributeValue String
- Attribute value for condition. Value type is specified in dictionary object.
- childrens
List<AuthorizationException Rule Children Children> 
- List of child conditions. condition_typemust be one ofConditionAndBlockorConditionOrBlock.
- 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
 
- Choices: 
- 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
 
- Choices: 
- attributeName string
- Dictionary attribute name
- attributeValue string
- Attribute value for condition. Value type is specified in dictionary object.
- childrens
AuthorizationException Rule Children Children[] 
- List of child conditions. condition_typemust be one ofConditionAndBlockorConditionOrBlock.
- 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
 
- Choices: 
- 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
 
- Choices: 
- attribute_name str
- Dictionary attribute name
- attribute_value str
- Attribute value for condition. Value type is specified in dictionary object.
- childrens
Sequence[AuthorizationException Rule Children Children] 
- List of child conditions. condition_typemust be one ofConditionAndBlockorConditionOrBlock.
- 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
 
- Choices: 
- 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
 
- Choices: 
- 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_typemust be one ofConditionAndBlockorConditionOrBlock.
- 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
 
- Choices: 
AuthorizationExceptionRuleChildrenChildren, AuthorizationExceptionRuleChildrenChildrenArgs          
- ConditionType string
- Condition type.- Choices: ConditionAttributes,ConditionReference
 
- Choices: 
- 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
 
- Choices: 
- ConditionType string
- Condition type.- Choices: ConditionAttributes,ConditionReference
 
- Choices: 
- 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
 
- Choices: 
- conditionType String
- Condition type.- Choices: ConditionAttributes,ConditionReference
 
- Choices: 
- 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
 
- Choices: 
- conditionType string
- Condition type.- Choices: ConditionAttributes,ConditionReference
 
- Choices: 
- 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
 
- Choices: 
- condition_type str
- Condition type.- Choices: ConditionAttributes,ConditionReference
 
- Choices: 
- 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
 
- Choices: 
- conditionType String
- Condition type.- Choices: ConditionAttributes,ConditionReference
 
- Choices: 
- 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
 
- Choices: 
Import
$ pulumi import ise:deviceadmin/authorizationExceptionRule:AuthorizationExceptionRule example "76d24097-41c4-4558-a4d0-a8c07ac08470,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 iseTerraform Provider.
