@pulumi/ise 0.3.0-alpha.1754978360 → 0.3.0-alpha.1756506550

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/deviceadmin/allowedProtocolsTacacs.js +14 -14
  2. package/deviceadmin/allowedProtocolsTacacs.js.map +1 -1
  3. package/deviceadmin/authenticationRule.d.ts +36 -33
  4. package/deviceadmin/authenticationRule.js +41 -41
  5. package/deviceadmin/authenticationRule.js.map +1 -1
  6. package/deviceadmin/authenticationRuleUpdateRank.js +10 -10
  7. package/deviceadmin/authenticationRuleUpdateRank.js.map +1 -1
  8. package/deviceadmin/authenticationRuleUpdateRanks.js +6 -6
  9. package/deviceadmin/authenticationRuleUpdateRanks.js.map +1 -1
  10. package/deviceadmin/authorizationExceptionRule.d.ts +18 -21
  11. package/deviceadmin/authorizationExceptionRule.js +34 -34
  12. package/deviceadmin/authorizationExceptionRule.js.map +1 -1
  13. package/deviceadmin/authorizationExceptionRuleUpdateRank.js +10 -10
  14. package/deviceadmin/authorizationExceptionRuleUpdateRank.js.map +1 -1
  15. package/deviceadmin/authorizationExceptionRuleUpdateRanks.js +6 -6
  16. package/deviceadmin/authorizationExceptionRuleUpdateRanks.js.map +1 -1
  17. package/deviceadmin/authorizationGlobalExceptionRule.d.ts +18 -21
  18. package/deviceadmin/authorizationGlobalExceptionRule.js +29 -29
  19. package/deviceadmin/authorizationGlobalExceptionRule.js.map +1 -1
  20. package/deviceadmin/authorizationGlobalExceptionRuleUpdateRank.js +7 -7
  21. package/deviceadmin/authorizationGlobalExceptionRuleUpdateRank.js.map +1 -1
  22. package/deviceadmin/authorizationGlobalExceptionRuleUpdateRanks.js +3 -3
  23. package/deviceadmin/authorizationGlobalExceptionRuleUpdateRanks.js.map +1 -1
  24. package/deviceadmin/authorizationRule.d.ts +18 -21
  25. package/deviceadmin/authorizationRule.js +34 -34
  26. package/deviceadmin/authorizationRule.js.map +1 -1
  27. package/deviceadmin/authorizationRuleUpdateRank.js +10 -10
  28. package/deviceadmin/authorizationRuleUpdateRank.js.map +1 -1
  29. package/deviceadmin/authorizationRuleUpdateRanks.js +6 -6
  30. package/deviceadmin/authorizationRuleUpdateRanks.js.map +1 -1
  31. package/deviceadmin/condition.d.ts +12 -18
  32. package/deviceadmin/condition.js +22 -22
  33. package/deviceadmin/condition.js.map +1 -1
  34. package/deviceadmin/policySet.d.ts +18 -24
  35. package/deviceadmin/policySet.js +34 -34
  36. package/deviceadmin/policySet.js.map +1 -1
  37. package/deviceadmin/policySetUpdateRank.js +7 -7
  38. package/deviceadmin/policySetUpdateRank.js.map +1 -1
  39. package/deviceadmin/policySetUpdateRanks.js +3 -3
  40. package/deviceadmin/policySetUpdateRanks.js.map +1 -1
  41. package/deviceadmin/tacacsCommandSet.d.ts +6 -3
  42. package/deviceadmin/tacacsCommandSet.js +9 -9
  43. package/deviceadmin/tacacsCommandSet.js.map +1 -1
  44. package/deviceadmin/tacacsProfile.js +7 -7
  45. package/deviceadmin/tacacsProfile.js.map +1 -1
  46. package/deviceadmin/timeAndDateCondition.js +27 -27
  47. package/deviceadmin/timeAndDateCondition.js.map +1 -1
  48. package/identitymanagement/activeDirectoryAddGroups.d.ts +6 -6
  49. package/identitymanagement/activeDirectoryAddGroups.js +17 -17
  50. package/identitymanagement/activeDirectoryAddGroups.js.map +1 -1
  51. package/identitymanagement/activeDirectoryJoinDomainWithAllNodes.js +7 -7
  52. package/identitymanagement/activeDirectoryJoinDomainWithAllNodes.js.map +1 -1
  53. package/identitymanagement/activeDirectoryJoinPoint.d.ts +90 -48
  54. package/identitymanagement/activeDirectoryJoinPoint.js +68 -68
  55. package/identitymanagement/activeDirectoryJoinPoint.js.map +1 -1
  56. package/identitymanagement/certificateAuthenticationProfile.d.ts +39 -36
  57. package/identitymanagement/certificateAuthenticationProfile.js +15 -15
  58. package/identitymanagement/certificateAuthenticationProfile.js.map +1 -1
  59. package/identitymanagement/endpoint.d.ts +12 -6
  60. package/identitymanagement/endpoint.js +56 -56
  61. package/identitymanagement/endpoint.js.map +1 -1
  62. package/identitymanagement/endpointCustomAttribute.d.ts +6 -3
  63. package/identitymanagement/endpointCustomAttribute.js +7 -7
  64. package/identitymanagement/endpointCustomAttribute.js.map +1 -1
  65. package/identitymanagement/endpointIdentityGroup.js +9 -9
  66. package/identitymanagement/endpointIdentityGroup.js.map +1 -1
  67. package/identitymanagement/identitySourceSequence.js +14 -14
  68. package/identitymanagement/identitySourceSequence.js.map +1 -1
  69. package/identitymanagement/internalUser.d.ts +21 -18
  70. package/identitymanagement/internalUser.js +30 -30
  71. package/identitymanagement/internalUser.js.map +1 -1
  72. package/identitymanagement/userIdentityGroup.js +7 -7
  73. package/identitymanagement/userIdentityGroup.js.map +1 -1
  74. package/network/device.d.ts +48 -24
  75. package/network/device.js +86 -86
  76. package/network/device.js.map +1 -1
  77. package/network/deviceGroup.js +8 -8
  78. package/network/deviceGroup.js.map +1 -1
  79. package/networkaccess/allowedProtocols.d.ts +81 -60
  80. package/networkaccess/allowedProtocols.js +171 -171
  81. package/networkaccess/allowedProtocols.js.map +1 -1
  82. package/networkaccess/authenticationRule.d.ts +36 -33
  83. package/networkaccess/authenticationRule.js +41 -41
  84. package/networkaccess/authenticationRule.js.map +1 -1
  85. package/networkaccess/authenticationRuleUpdateRank.js +10 -10
  86. package/networkaccess/authenticationRuleUpdateRank.js.map +1 -1
  87. package/networkaccess/authenticationRuleUpdateRanks.js +6 -6
  88. package/networkaccess/authenticationRuleUpdateRanks.js.map +1 -1
  89. package/networkaccess/authorizationExceptionRule.d.ts +18 -21
  90. package/networkaccess/authorizationExceptionRule.js +34 -34
  91. package/networkaccess/authorizationExceptionRule.js.map +1 -1
  92. package/networkaccess/authorizationExceptionRuleUpdateRank.js +10 -10
  93. package/networkaccess/authorizationExceptionRuleUpdateRank.js.map +1 -1
  94. package/networkaccess/authorizationExceptionRuleUpdateRanks.js +6 -6
  95. package/networkaccess/authorizationExceptionRuleUpdateRanks.js.map +1 -1
  96. package/networkaccess/authorizationGlobalExceptionRule.d.ts +18 -21
  97. package/networkaccess/authorizationGlobalExceptionRule.js +29 -29
  98. package/networkaccess/authorizationGlobalExceptionRule.js.map +1 -1
  99. package/networkaccess/authorizationGlobalExceptionRuleUpdateRank.js +7 -7
  100. package/networkaccess/authorizationGlobalExceptionRuleUpdateRank.js.map +1 -1
  101. package/networkaccess/authorizationGlobalExceptionRuleUpdateRanks.js +3 -3
  102. package/networkaccess/authorizationGlobalExceptionRuleUpdateRanks.js.map +1 -1
  103. package/networkaccess/authorizationProfile.d.ts +84 -48
  104. package/networkaccess/authorizationProfile.js +67 -67
  105. package/networkaccess/authorizationProfile.js.map +1 -1
  106. package/networkaccess/authorizationRule.d.ts +18 -21
  107. package/networkaccess/authorizationRule.js +34 -34
  108. package/networkaccess/authorizationRule.js.map +1 -1
  109. package/networkaccess/authorizationRuleUpdateRank.js +10 -10
  110. package/networkaccess/authorizationRuleUpdateRank.js.map +1 -1
  111. package/networkaccess/authorizationRuleUpdateRanks.js +6 -6
  112. package/networkaccess/authorizationRuleUpdateRanks.js.map +1 -1
  113. package/networkaccess/condition.d.ts +12 -18
  114. package/networkaccess/condition.js +22 -22
  115. package/networkaccess/condition.js.map +1 -1
  116. package/networkaccess/dictionary.d.ts +6 -3
  117. package/networkaccess/dictionary.js +11 -11
  118. package/networkaccess/dictionary.js.map +1 -1
  119. package/networkaccess/downloadableAcl.d.ts +9 -3
  120. package/networkaccess/downloadableAcl.js +10 -10
  121. package/networkaccess/downloadableAcl.js.map +1 -1
  122. package/networkaccess/policySet.d.ts +18 -24
  123. package/networkaccess/policySet.js +34 -34
  124. package/networkaccess/policySet.js.map +1 -1
  125. package/networkaccess/policySetUpdateRank.js +7 -7
  126. package/networkaccess/policySetUpdateRank.js.map +1 -1
  127. package/networkaccess/policySetUpdateRanks.js +3 -3
  128. package/networkaccess/policySetUpdateRanks.js.map +1 -1
  129. package/networkaccess/timeAndDateCondition.js +27 -27
  130. package/networkaccess/timeAndDateCondition.js.map +1 -1
  131. package/package.json +2 -2
  132. package/provider.js +5 -5
  133. package/provider.js.map +1 -1
  134. package/system/licenseTierState.js +4 -4
  135. package/system/licenseTierState.js.map +1 -1
  136. package/system/repository.d.ts +6 -3
  137. package/system/repository.js +17 -17
  138. package/system/repository.js.map +1 -1
  139. package/trustsec/egressMatrixCell.d.ts +18 -6
  140. package/trustsec/egressMatrixCell.js +15 -15
  141. package/trustsec/egressMatrixCell.js.map +1 -1
  142. package/trustsec/egressMatrixCellDefault.d.ts +15 -6
  143. package/trustsec/egressMatrixCellDefault.js +9 -9
  144. package/trustsec/egressMatrixCellDefault.js.map +1 -1
  145. package/trustsec/ipToSgtMapping.d.ts +6 -3
  146. package/trustsec/ipToSgtMapping.js +17 -17
  147. package/trustsec/ipToSgtMapping.js.map +1 -1
  148. package/trustsec/ipToSgtMappingGroup.d.ts +6 -3
  149. package/trustsec/ipToSgtMappingGroup.js +13 -13
  150. package/trustsec/ipToSgtMappingGroup.js.map +1 -1
  151. package/trustsec/securityGroup.d.ts +6 -3
  152. package/trustsec/securityGroup.js +12 -12
  153. package/trustsec/securityGroup.js.map +1 -1
  154. package/trustsec/securityGroupAcl.d.ts +9 -3
  155. package/trustsec/securityGroupAcl.js +12 -12
  156. package/trustsec/securityGroupAcl.js.map +1 -1
  157. package/trustsec/sxpDomainFilter.js +14 -14
  158. package/trustsec/sxpDomainFilter.js.map +1 -1
  159. package/utilities.js +18 -29
  160. package/utilities.js.map +1 -1
@@ -42,7 +42,7 @@ class AllowedProtocolsTacacs extends pulumi.CustomResource {
42
42
  * @param opts Optional settings to control the behavior of the CustomResource.
43
43
  */
44
44
  static get(name, id, state, opts) {
45
- return new AllowedProtocolsTacacs(name, state, Object.assign(Object.assign({}, opts), { id: id }));
45
+ return new AllowedProtocolsTacacs(name, state, { ...opts, id: id });
46
46
  }
47
47
  /**
48
48
  * Returns true if the given object is an instance of AllowedProtocolsTacacs. This is designed to work even
@@ -59,28 +59,28 @@ class AllowedProtocolsTacacs extends pulumi.CustomResource {
59
59
  opts = opts || {};
60
60
  if (opts.id) {
61
61
  const state = argsOrState;
62
- resourceInputs["allowChap"] = state ? state.allowChap : undefined;
63
- resourceInputs["allowMsChapV1"] = state ? state.allowMsChapV1 : undefined;
64
- resourceInputs["allowPapAscii"] = state ? state.allowPapAscii : undefined;
65
- resourceInputs["description"] = state ? state.description : undefined;
66
- resourceInputs["name"] = state ? state.name : undefined;
62
+ resourceInputs["allowChap"] = state?.allowChap;
63
+ resourceInputs["allowMsChapV1"] = state?.allowMsChapV1;
64
+ resourceInputs["allowPapAscii"] = state?.allowPapAscii;
65
+ resourceInputs["description"] = state?.description;
66
+ resourceInputs["name"] = state?.name;
67
67
  }
68
68
  else {
69
69
  const args = argsOrState;
70
- if ((!args || args.allowChap === undefined) && !opts.urn) {
70
+ if (args?.allowChap === undefined && !opts.urn) {
71
71
  throw new Error("Missing required property 'allowChap'");
72
72
  }
73
- if ((!args || args.allowMsChapV1 === undefined) && !opts.urn) {
73
+ if (args?.allowMsChapV1 === undefined && !opts.urn) {
74
74
  throw new Error("Missing required property 'allowMsChapV1'");
75
75
  }
76
- if ((!args || args.allowPapAscii === undefined) && !opts.urn) {
76
+ if (args?.allowPapAscii === undefined && !opts.urn) {
77
77
  throw new Error("Missing required property 'allowPapAscii'");
78
78
  }
79
- resourceInputs["allowChap"] = args ? args.allowChap : undefined;
80
- resourceInputs["allowMsChapV1"] = args ? args.allowMsChapV1 : undefined;
81
- resourceInputs["allowPapAscii"] = args ? args.allowPapAscii : undefined;
82
- resourceInputs["description"] = args ? args.description : undefined;
83
- resourceInputs["name"] = args ? args.name : undefined;
79
+ resourceInputs["allowChap"] = args?.allowChap;
80
+ resourceInputs["allowMsChapV1"] = args?.allowMsChapV1;
81
+ resourceInputs["allowPapAscii"] = args?.allowPapAscii;
82
+ resourceInputs["description"] = args?.description;
83
+ resourceInputs["name"] = args?.name;
84
84
  }
85
85
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
86
86
  super(AllowedProtocolsTacacs.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"allowedProtocolsTacacs.js","sourceRoot":"","sources":["../../deviceadmin/allowedProtocolsTacacs.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC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C,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AAtFL,wDAuFC;AAzEG,gBAAgB;AACO,mCAAY,GAAG,+DAA+D,CAAC"}
@@ -82,15 +82,13 @@ export declare class AuthenticationRule extends pulumi.CustomResource {
82
82
  */
83
83
  readonly conditionIsNegate: pulumi.Output<boolean | undefined>;
84
84
  /**
85
- * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
86
- * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
87
- * `notEquals`, `notIn`, `notStartsWith`, `startsWith`
85
+ * Equality operator
86
+ * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith`
88
87
  */
89
88
  readonly conditionOperator: pulumi.Output<string | undefined>;
90
89
  /**
91
- * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
92
- * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`,
93
- * `ConditionOrBlock`, `ConditionReference`
90
+ * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
91
+ * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference`
94
92
  */
95
93
  readonly conditionType: pulumi.Output<string | undefined>;
96
94
  /**
@@ -102,16 +100,18 @@ export declare class AuthenticationRule extends pulumi.CustomResource {
102
100
  */
103
101
  readonly identitySourceName: pulumi.Output<string | undefined>;
104
102
  /**
105
- * Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`,
106
- * `DROP`, `CONTINUE`
103
+ * Action to perform when authentication fails such as Bad credentials, disabled user and so on
104
+ * - Choices: `REJECT`, `DROP`, `CONTINUE`
107
105
  */
108
106
  readonly ifAuthFail: pulumi.Output<string>;
109
107
  /**
110
- * Action to perform when ISE is unable to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE`
108
+ * Action to perform when ISE is unable to access the identity database
109
+ * - Choices: `REJECT`, `DROP`, `CONTINUE`
111
110
  */
112
111
  readonly ifProcessFail: pulumi.Output<string>;
113
112
  /**
114
- * Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE`
113
+ * Action to perform when user is not found in any of identity stores
114
+ * - Choices: `REJECT`, `DROP`, `CONTINUE`
115
115
  */
116
116
  readonly ifUserNotFound: pulumi.Output<string>;
117
117
  /**
@@ -127,7 +127,8 @@ export declare class AuthenticationRule extends pulumi.CustomResource {
127
127
  */
128
128
  readonly rank: pulumi.Output<number | undefined>;
129
129
  /**
130
- * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor`
130
+ * The state that the rule is in. A disabled rule cannot be matched.
131
+ * - Choices: `disabled`, `enabled`, `monitor`
131
132
  */
132
133
  readonly state: pulumi.Output<string | undefined>;
133
134
  /**
@@ -172,15 +173,13 @@ export interface AuthenticationRuleState {
172
173
  */
173
174
  conditionIsNegate?: pulumi.Input<boolean>;
174
175
  /**
175
- * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
176
- * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
177
- * `notEquals`, `notIn`, `notStartsWith`, `startsWith`
176
+ * Equality operator
177
+ * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith`
178
178
  */
179
179
  conditionOperator?: pulumi.Input<string>;
180
180
  /**
181
- * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
182
- * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`,
183
- * `ConditionOrBlock`, `ConditionReference`
181
+ * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
182
+ * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference`
184
183
  */
185
184
  conditionType?: pulumi.Input<string>;
186
185
  /**
@@ -192,16 +191,18 @@ export interface AuthenticationRuleState {
192
191
  */
193
192
  identitySourceName?: pulumi.Input<string>;
194
193
  /**
195
- * Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`,
196
- * `DROP`, `CONTINUE`
194
+ * Action to perform when authentication fails such as Bad credentials, disabled user and so on
195
+ * - Choices: `REJECT`, `DROP`, `CONTINUE`
197
196
  */
198
197
  ifAuthFail?: pulumi.Input<string>;
199
198
  /**
200
- * Action to perform when ISE is unable to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE`
199
+ * Action to perform when ISE is unable to access the identity database
200
+ * - Choices: `REJECT`, `DROP`, `CONTINUE`
201
201
  */
202
202
  ifProcessFail?: pulumi.Input<string>;
203
203
  /**
204
- * Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE`
204
+ * Action to perform when user is not found in any of identity stores
205
+ * - Choices: `REJECT`, `DROP`, `CONTINUE`
205
206
  */
206
207
  ifUserNotFound?: pulumi.Input<string>;
207
208
  /**
@@ -217,7 +218,8 @@ export interface AuthenticationRuleState {
217
218
  */
218
219
  rank?: pulumi.Input<number>;
219
220
  /**
220
- * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor`
221
+ * The state that the rule is in. A disabled rule cannot be matched.
222
+ * - Choices: `disabled`, `enabled`, `monitor`
221
223
  */
222
224
  state?: pulumi.Input<string>;
223
225
  }
@@ -254,15 +256,13 @@ export interface AuthenticationRuleArgs {
254
256
  */
255
257
  conditionIsNegate?: pulumi.Input<boolean>;
256
258
  /**
257
- * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
258
- * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
259
- * `notEquals`, `notIn`, `notStartsWith`, `startsWith`
259
+ * Equality operator
260
+ * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith`
260
261
  */
261
262
  conditionOperator?: pulumi.Input<string>;
262
263
  /**
263
- * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
264
- * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`,
265
- * `ConditionOrBlock`, `ConditionReference`
264
+ * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
265
+ * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference`
266
266
  */
267
267
  conditionType?: pulumi.Input<string>;
268
268
  /**
@@ -274,16 +274,18 @@ export interface AuthenticationRuleArgs {
274
274
  */
275
275
  identitySourceName?: pulumi.Input<string>;
276
276
  /**
277
- * Action to perform when authentication fails such as Bad credentials, disabled user and so on - Choices: `REJECT`,
278
- * `DROP`, `CONTINUE`
277
+ * Action to perform when authentication fails such as Bad credentials, disabled user and so on
278
+ * - Choices: `REJECT`, `DROP`, `CONTINUE`
279
279
  */
280
280
  ifAuthFail: pulumi.Input<string>;
281
281
  /**
282
- * Action to perform when ISE is unable to access the identity database - Choices: `REJECT`, `DROP`, `CONTINUE`
282
+ * Action to perform when ISE is unable to access the identity database
283
+ * - Choices: `REJECT`, `DROP`, `CONTINUE`
283
284
  */
284
285
  ifProcessFail: pulumi.Input<string>;
285
286
  /**
286
- * Action to perform when user is not found in any of identity stores - Choices: `REJECT`, `DROP`, `CONTINUE`
287
+ * Action to perform when user is not found in any of identity stores
288
+ * - Choices: `REJECT`, `DROP`, `CONTINUE`
287
289
  */
288
290
  ifUserNotFound: pulumi.Input<string>;
289
291
  /**
@@ -299,7 +301,8 @@ export interface AuthenticationRuleArgs {
299
301
  */
300
302
  rank?: pulumi.Input<number>;
301
303
  /**
302
- * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor`
304
+ * The state that the rule is in. A disabled rule cannot be matched.
305
+ * - Choices: `disabled`, `enabled`, `monitor`
303
306
  */
304
307
  state?: pulumi.Input<string>;
305
308
  }
@@ -52,7 +52,7 @@ class AuthenticationRule extends pulumi.CustomResource {
52
52
  * @param opts Optional settings to control the behavior of the CustomResource.
53
53
  */
54
54
  static get(name, id, state, opts) {
55
- return new AuthenticationRule(name, state, Object.assign(Object.assign({}, opts), { id: id }));
55
+ return new AuthenticationRule(name, state, { ...opts, id: id });
56
56
  }
57
57
  /**
58
58
  * Returns true if the given object is an instance of AuthenticationRule. This is designed to work even
@@ -69,57 +69,57 @@ class AuthenticationRule extends pulumi.CustomResource {
69
69
  opts = opts || {};
70
70
  if (opts.id) {
71
71
  const state = argsOrState;
72
- resourceInputs["childrens"] = state ? state.childrens : undefined;
73
- resourceInputs["conditionAttributeName"] = state ? state.conditionAttributeName : undefined;
74
- resourceInputs["conditionAttributeValue"] = state ? state.conditionAttributeValue : undefined;
75
- resourceInputs["conditionDictionaryName"] = state ? state.conditionDictionaryName : undefined;
76
- resourceInputs["conditionDictionaryValue"] = state ? state.conditionDictionaryValue : undefined;
77
- resourceInputs["conditionId"] = state ? state.conditionId : undefined;
78
- resourceInputs["conditionIsNegate"] = state ? state.conditionIsNegate : undefined;
79
- resourceInputs["conditionOperator"] = state ? state.conditionOperator : undefined;
80
- resourceInputs["conditionType"] = state ? state.conditionType : undefined;
81
- resourceInputs["default"] = state ? state.default : undefined;
82
- resourceInputs["identitySourceName"] = state ? state.identitySourceName : undefined;
83
- resourceInputs["ifAuthFail"] = state ? state.ifAuthFail : undefined;
84
- resourceInputs["ifProcessFail"] = state ? state.ifProcessFail : undefined;
85
- resourceInputs["ifUserNotFound"] = state ? state.ifUserNotFound : undefined;
86
- resourceInputs["name"] = state ? state.name : undefined;
87
- resourceInputs["policySetId"] = state ? state.policySetId : undefined;
88
- resourceInputs["rank"] = state ? state.rank : undefined;
89
- resourceInputs["state"] = state ? state.state : undefined;
72
+ resourceInputs["childrens"] = state?.childrens;
73
+ resourceInputs["conditionAttributeName"] = state?.conditionAttributeName;
74
+ resourceInputs["conditionAttributeValue"] = state?.conditionAttributeValue;
75
+ resourceInputs["conditionDictionaryName"] = state?.conditionDictionaryName;
76
+ resourceInputs["conditionDictionaryValue"] = state?.conditionDictionaryValue;
77
+ resourceInputs["conditionId"] = state?.conditionId;
78
+ resourceInputs["conditionIsNegate"] = state?.conditionIsNegate;
79
+ resourceInputs["conditionOperator"] = state?.conditionOperator;
80
+ resourceInputs["conditionType"] = state?.conditionType;
81
+ resourceInputs["default"] = state?.default;
82
+ resourceInputs["identitySourceName"] = state?.identitySourceName;
83
+ resourceInputs["ifAuthFail"] = state?.ifAuthFail;
84
+ resourceInputs["ifProcessFail"] = state?.ifProcessFail;
85
+ resourceInputs["ifUserNotFound"] = state?.ifUserNotFound;
86
+ resourceInputs["name"] = state?.name;
87
+ resourceInputs["policySetId"] = state?.policySetId;
88
+ resourceInputs["rank"] = state?.rank;
89
+ resourceInputs["state"] = state?.state;
90
90
  }
91
91
  else {
92
92
  const args = argsOrState;
93
- if ((!args || args.ifAuthFail === undefined) && !opts.urn) {
93
+ if (args?.ifAuthFail === undefined && !opts.urn) {
94
94
  throw new Error("Missing required property 'ifAuthFail'");
95
95
  }
96
- if ((!args || args.ifProcessFail === undefined) && !opts.urn) {
96
+ if (args?.ifProcessFail === undefined && !opts.urn) {
97
97
  throw new Error("Missing required property 'ifProcessFail'");
98
98
  }
99
- if ((!args || args.ifUserNotFound === undefined) && !opts.urn) {
99
+ if (args?.ifUserNotFound === undefined && !opts.urn) {
100
100
  throw new Error("Missing required property 'ifUserNotFound'");
101
101
  }
102
- if ((!args || args.policySetId === undefined) && !opts.urn) {
102
+ if (args?.policySetId === undefined && !opts.urn) {
103
103
  throw new Error("Missing required property 'policySetId'");
104
104
  }
105
- resourceInputs["childrens"] = args ? args.childrens : undefined;
106
- resourceInputs["conditionAttributeName"] = args ? args.conditionAttributeName : undefined;
107
- resourceInputs["conditionAttributeValue"] = args ? args.conditionAttributeValue : undefined;
108
- resourceInputs["conditionDictionaryName"] = args ? args.conditionDictionaryName : undefined;
109
- resourceInputs["conditionDictionaryValue"] = args ? args.conditionDictionaryValue : undefined;
110
- resourceInputs["conditionId"] = args ? args.conditionId : undefined;
111
- resourceInputs["conditionIsNegate"] = args ? args.conditionIsNegate : undefined;
112
- resourceInputs["conditionOperator"] = args ? args.conditionOperator : undefined;
113
- resourceInputs["conditionType"] = args ? args.conditionType : undefined;
114
- resourceInputs["default"] = args ? args.default : undefined;
115
- resourceInputs["identitySourceName"] = args ? args.identitySourceName : undefined;
116
- resourceInputs["ifAuthFail"] = args ? args.ifAuthFail : undefined;
117
- resourceInputs["ifProcessFail"] = args ? args.ifProcessFail : undefined;
118
- resourceInputs["ifUserNotFound"] = args ? args.ifUserNotFound : undefined;
119
- resourceInputs["name"] = args ? args.name : undefined;
120
- resourceInputs["policySetId"] = args ? args.policySetId : undefined;
121
- resourceInputs["rank"] = args ? args.rank : undefined;
122
- resourceInputs["state"] = args ? args.state : undefined;
105
+ resourceInputs["childrens"] = args?.childrens;
106
+ resourceInputs["conditionAttributeName"] = args?.conditionAttributeName;
107
+ resourceInputs["conditionAttributeValue"] = args?.conditionAttributeValue;
108
+ resourceInputs["conditionDictionaryName"] = args?.conditionDictionaryName;
109
+ resourceInputs["conditionDictionaryValue"] = args?.conditionDictionaryValue;
110
+ resourceInputs["conditionId"] = args?.conditionId;
111
+ resourceInputs["conditionIsNegate"] = args?.conditionIsNegate;
112
+ resourceInputs["conditionOperator"] = args?.conditionOperator;
113
+ resourceInputs["conditionType"] = args?.conditionType;
114
+ resourceInputs["default"] = args?.default;
115
+ resourceInputs["identitySourceName"] = args?.identitySourceName;
116
+ resourceInputs["ifAuthFail"] = args?.ifAuthFail;
117
+ resourceInputs["ifProcessFail"] = args?.ifProcessFail;
118
+ resourceInputs["ifUserNotFound"] = args?.ifUserNotFound;
119
+ resourceInputs["name"] = args?.name;
120
+ resourceInputs["policySetId"] = args?.policySetId;
121
+ resourceInputs["rank"] = args?.rank;
122
+ resourceInputs["state"] = args?.state;
123
123
  }
124
124
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
125
125
  super(AuthenticationRule.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"authenticationRule.js","sourceRoot":"","sources":["../../deviceadmin/authenticationRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAA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AAC;YACtD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;SACzC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA7KL,gDA8KC;AAhKG,gBAAgB;AACO,+BAAY,GAAG,uDAAuD,CAAC"}
@@ -32,7 +32,7 @@ class AuthenticationRuleUpdateRank extends pulumi.CustomResource {
32
32
  * @param opts Optional settings to control the behavior of the CustomResource.
33
33
  */
34
34
  static get(name, id, state, opts) {
35
- return new AuthenticationRuleUpdateRank(name, state, Object.assign(Object.assign({}, opts), { id: id }));
35
+ return new AuthenticationRuleUpdateRank(name, state, { ...opts, id: id });
36
36
  }
37
37
  /**
38
38
  * Returns true if the given object is an instance of AuthenticationRuleUpdateRank. This is designed to work even
@@ -49,24 +49,24 @@ class AuthenticationRuleUpdateRank extends pulumi.CustomResource {
49
49
  opts = opts || {};
50
50
  if (opts.id) {
51
51
  const state = argsOrState;
52
- resourceInputs["policySetId"] = state ? state.policySetId : undefined;
53
- resourceInputs["rank"] = state ? state.rank : undefined;
54
- resourceInputs["ruleId"] = state ? state.ruleId : undefined;
52
+ resourceInputs["policySetId"] = state?.policySetId;
53
+ resourceInputs["rank"] = state?.rank;
54
+ resourceInputs["ruleId"] = state?.ruleId;
55
55
  }
56
56
  else {
57
57
  const args = argsOrState;
58
- if ((!args || args.policySetId === undefined) && !opts.urn) {
58
+ if (args?.policySetId === undefined && !opts.urn) {
59
59
  throw new Error("Missing required property 'policySetId'");
60
60
  }
61
- if ((!args || args.rank === undefined) && !opts.urn) {
61
+ if (args?.rank === undefined && !opts.urn) {
62
62
  throw new Error("Missing required property 'rank'");
63
63
  }
64
- if ((!args || args.ruleId === undefined) && !opts.urn) {
64
+ if (args?.ruleId === undefined && !opts.urn) {
65
65
  throw new Error("Missing required property 'ruleId'");
66
66
  }
67
- resourceInputs["policySetId"] = args ? args.policySetId : undefined;
68
- resourceInputs["rank"] = args ? args.rank : undefined;
69
- resourceInputs["ruleId"] = args ? args.ruleId : undefined;
67
+ resourceInputs["policySetId"] = args?.policySetId;
68
+ resourceInputs["rank"] = args?.rank;
69
+ resourceInputs["ruleId"] = args?.ruleId;
70
70
  }
71
71
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
72
72
  super(AuthenticationRuleUpdateRank.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"authenticationRuleUpdateRank.js","sourceRoot":"","sources":["../../deviceadmin/authenticationRuleUpdateRank.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,MAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyC,EAAE,IAAmC;QACvI,OAAO,IAAI,4BAA4B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,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class AuthenticationRuleUpdateRanks extends pulumi.CustomResource {
34
34
  * @param opts Optional settings to control the behavior of the CustomResource.
35
35
  */
36
36
  static get(name, id, state, opts) {
37
- return new AuthenticationRuleUpdateRanks(name, state, Object.assign(Object.assign({}, opts), { id: id }));
37
+ return new AuthenticationRuleUpdateRanks(name, state, { ...opts, id: id });
38
38
  }
39
39
  /**
40
40
  * Returns true if the given object is an instance of AuthenticationRuleUpdateRanks. This is designed to work even
@@ -51,16 +51,16 @@ class AuthenticationRuleUpdateRanks extends pulumi.CustomResource {
51
51
  opts = opts || {};
52
52
  if (opts.id) {
53
53
  const state = argsOrState;
54
- resourceInputs["policySetId"] = state ? state.policySetId : undefined;
55
- resourceInputs["rules"] = state ? state.rules : undefined;
54
+ resourceInputs["policySetId"] = state?.policySetId;
55
+ resourceInputs["rules"] = state?.rules;
56
56
  }
57
57
  else {
58
58
  const args = argsOrState;
59
- if ((!args || args.policySetId === undefined) && !opts.urn) {
59
+ if (args?.policySetId === undefined && !opts.urn) {
60
60
  throw new Error("Missing required property 'policySetId'");
61
61
  }
62
- resourceInputs["policySetId"] = args ? args.policySetId : undefined;
63
- resourceInputs["rules"] = args ? args.rules : undefined;
62
+ resourceInputs["policySetId"] = args?.policySetId;
63
+ resourceInputs["rules"] = args?.rules;
64
64
  }
65
65
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
66
66
  super(AuthenticationRuleUpdateRanks.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"authenticationRuleUpdateRanks.js","sourceRoot":"","sources":["../../deviceadmin/authenticationRuleUpdateRanks.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,6BAA8B,SAAQ,MAAM,CAAC,cAAc;IACpE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EA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AE,KAAK,CAAC;SAC1C;aAAM;YACH,MAAM,IAAI,GAAG,WAA4D,CAAC;YAC1E,IAAI,IAAI,EAAE,WAAW,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;SACzC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,6BAA6B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;;AA3DL,sEA4DC;AA9CG,gBAAgB;AACO,0CAAY,GAAG,6EAA6E,CAAC"}
@@ -84,15 +84,13 @@ export declare class AuthorizationExceptionRule extends pulumi.CustomResource {
84
84
  */
85
85
  readonly conditionIsNegate: pulumi.Output<boolean | undefined>;
86
86
  /**
87
- * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
88
- * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
89
- * `notEquals`, `notIn`, `notStartsWith`, `startsWith`
87
+ * Equality operator
88
+ * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith`
90
89
  */
91
90
  readonly conditionOperator: pulumi.Output<string | undefined>;
92
91
  /**
93
- * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
94
- * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`,
95
- * `ConditionOrBlock`, `ConditionReference`
92
+ * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
93
+ * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference`
96
94
  */
97
95
  readonly conditionType: pulumi.Output<string | undefined>;
98
96
  /**
@@ -116,7 +114,8 @@ export declare class AuthorizationExceptionRule extends pulumi.CustomResource {
116
114
  */
117
115
  readonly rank: pulumi.Output<number | undefined>;
118
116
  /**
119
- * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor`
117
+ * The state that the rule is in. A disabled rule cannot be matched.
118
+ * - Choices: `disabled`, `enabled`, `monitor`
120
119
  */
121
120
  readonly state: pulumi.Output<string | undefined>;
122
121
  /**
@@ -165,15 +164,13 @@ export interface AuthorizationExceptionRuleState {
165
164
  */
166
165
  conditionIsNegate?: pulumi.Input<boolean>;
167
166
  /**
168
- * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
169
- * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
170
- * `notEquals`, `notIn`, `notStartsWith`, `startsWith`
167
+ * Equality operator
168
+ * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith`
171
169
  */
172
170
  conditionOperator?: pulumi.Input<string>;
173
171
  /**
174
- * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
175
- * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`,
176
- * `ConditionOrBlock`, `ConditionReference`
172
+ * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
173
+ * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference`
177
174
  */
178
175
  conditionType?: pulumi.Input<string>;
179
176
  /**
@@ -197,7 +194,8 @@ export interface AuthorizationExceptionRuleState {
197
194
  */
198
195
  rank?: pulumi.Input<number>;
199
196
  /**
200
- * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor`
197
+ * The state that the rule is in. A disabled rule cannot be matched.
198
+ * - Choices: `disabled`, `enabled`, `monitor`
201
199
  */
202
200
  state?: pulumi.Input<string>;
203
201
  }
@@ -238,15 +236,13 @@ export interface AuthorizationExceptionRuleArgs {
238
236
  */
239
237
  conditionIsNegate?: pulumi.Input<boolean>;
240
238
  /**
241
- * Equality operator - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`,
242
- * `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`,
243
- * `notEquals`, `notIn`, `notStartsWith`, `startsWith`
239
+ * Equality operator
240
+ * - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith`
244
241
  */
245
242
  conditionOperator?: pulumi.Input<string>;
246
243
  /**
247
- * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that
248
- * additional conditions are present under the children attribute. - Choices: `ConditionAndBlock`, `ConditionAttributes`,
249
- * `ConditionOrBlock`, `ConditionReference`
244
+ * Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
245
+ * - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference`
250
246
  */
251
247
  conditionType?: pulumi.Input<string>;
252
248
  /**
@@ -270,7 +266,8 @@ export interface AuthorizationExceptionRuleArgs {
270
266
  */
271
267
  rank?: pulumi.Input<number>;
272
268
  /**
273
- * The state that the rule is in. A disabled rule cannot be matched. - Choices: `disabled`, `enabled`, `monitor`
269
+ * The state that the rule is in. A disabled rule cannot be matched.
270
+ * - Choices: `disabled`, `enabled`, `monitor`
274
271
  */
275
272
  state?: pulumi.Input<string>;
276
273
  }