pulumi-ise 0.2.0__py3-none-any.whl
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.
- pulumi_ise/__init__.py +458 -0
- pulumi_ise/_utilities.py +327 -0
- pulumi_ise/config/__init__.py +8 -0
- pulumi_ise/config/__init__.pyi +41 -0
- pulumi_ise/config/vars.py +57 -0
- pulumi_ise/deviceadmin/__init__.py +34 -0
- pulumi_ise/deviceadmin/_inputs.py +2517 -0
- pulumi_ise/deviceadmin/allowed_protocols_tacacs.py +381 -0
- pulumi_ise/deviceadmin/authentication_rule.py +1050 -0
- pulumi_ise/deviceadmin/authentication_rule_update_rank.py +271 -0
- pulumi_ise/deviceadmin/authorization_exception_rule.py +942 -0
- pulumi_ise/deviceadmin/authorization_exception_rule_update_rank.py +271 -0
- pulumi_ise/deviceadmin/authorization_global_exception_rule.py +843 -0
- pulumi_ise/deviceadmin/authorization_global_exception_rule_update_rank.py +221 -0
- pulumi_ise/deviceadmin/authorization_rule.py +942 -0
- pulumi_ise/deviceadmin/authorization_rule_update_rank.py +271 -0
- pulumi_ise/deviceadmin/condition.py +650 -0
- pulumi_ise/deviceadmin/get_allowed_protocols_tacacs.py +174 -0
- pulumi_ise/deviceadmin/get_authentication_rule.py +365 -0
- pulumi_ise/deviceadmin/get_authorization_exception_rule.py +337 -0
- pulumi_ise/deviceadmin/get_authorization_global_exception_rule.py +301 -0
- pulumi_ise/deviceadmin/get_authorization_rule.py +337 -0
- pulumi_ise/deviceadmin/get_condition.py +245 -0
- pulumi_ise/deviceadmin/get_policy_set.py +329 -0
- pulumi_ise/deviceadmin/get_tacacs_command_set.py +158 -0
- pulumi_ise/deviceadmin/get_tacacs_profile.py +144 -0
- pulumi_ise/deviceadmin/get_time_and_date_condition.py +286 -0
- pulumi_ise/deviceadmin/outputs.py +3178 -0
- pulumi_ise/deviceadmin/policy_set.py +947 -0
- pulumi_ise/deviceadmin/policy_set_update_rank.py +221 -0
- pulumi_ise/deviceadmin/tacacs_command_set.py +326 -0
- pulumi_ise/deviceadmin/tacacs_profile.py +277 -0
- pulumi_ise/deviceadmin/time_and_date_condition.py +770 -0
- pulumi_ise/identitymanagement/__init__.py +26 -0
- pulumi_ise/identitymanagement/_inputs.py +419 -0
- pulumi_ise/identitymanagement/active_directory_add_groups.py +483 -0
- pulumi_ise/identitymanagement/active_directory_join_domain_with_all_nodes.py +216 -0
- pulumi_ise/identitymanagement/active_directory_join_point.py +1676 -0
- pulumi_ise/identitymanagement/certificate_authentication_profile.py +525 -0
- pulumi_ise/identitymanagement/endpoint.py +1376 -0
- pulumi_ise/identitymanagement/endpoint_identity_group.py +327 -0
- pulumi_ise/identitymanagement/get_active_directory_groups_by_domain.py +215 -0
- pulumi_ise/identitymanagement/get_active_directory_join_point.py +558 -0
- pulumi_ise/identitymanagement/get_certificate_authentication_profile.py +202 -0
- pulumi_ise/identitymanagement/get_endpoint.py +468 -0
- pulumi_ise/identitymanagement/get_endpoint_identity_group.py +160 -0
- pulumi_ise/identitymanagement/get_identity_source_sequence.py +172 -0
- pulumi_ise/identitymanagement/get_internal_user.py +300 -0
- pulumi_ise/identitymanagement/get_user_identity_group.py +146 -0
- pulumi_ise/identitymanagement/identity_source_sequence.py +376 -0
- pulumi_ise/identitymanagement/internal_user.py +830 -0
- pulumi_ise/identitymanagement/outputs.py +491 -0
- pulumi_ise/identitymanagement/user_identity_group.py +280 -0
- pulumi_ise/network/__init__.py +13 -0
- pulumi_ise/network/_inputs.py +94 -0
- pulumi_ise/network/device.py +2194 -0
- pulumi_ise/network/device_group.py +281 -0
- pulumi_ise/network/get_device.py +693 -0
- pulumi_ise/network/get_device_group.py +146 -0
- pulumi_ise/network/outputs.py +120 -0
- pulumi_ise/networkaccess/__init__.py +36 -0
- pulumi_ise/networkaccess/_inputs.py +2506 -0
- pulumi_ise/networkaccess/allowed_protocols.py +3967 -0
- pulumi_ise/networkaccess/authentication_rule.py +1050 -0
- pulumi_ise/networkaccess/authentication_rule_update_rank.py +271 -0
- pulumi_ise/networkaccess/authorization_exception_rule.py +942 -0
- pulumi_ise/networkaccess/authorization_exception_rule_update_rank.py +271 -0
- pulumi_ise/networkaccess/authorization_global_exception_rule.py +843 -0
- pulumi_ise/networkaccess/authorization_global_exception_rule_update_rank.py +221 -0
- pulumi_ise/networkaccess/authorization_profile.py +1682 -0
- pulumi_ise/networkaccess/authorization_rule.py +942 -0
- pulumi_ise/networkaccess/authorization_rule_update_rank.py +271 -0
- pulumi_ise/networkaccess/condition.py +650 -0
- pulumi_ise/networkaccess/dictionary.py +331 -0
- pulumi_ise/networkaccess/downloadable_acl.py +330 -0
- pulumi_ise/networkaccess/get_allowed_protocols.py +1182 -0
- pulumi_ise/networkaccess/get_authentication_rule.py +365 -0
- pulumi_ise/networkaccess/get_authorization_exception_rule.py +337 -0
- pulumi_ise/networkaccess/get_authorization_global_exception_rule.py +301 -0
- pulumi_ise/networkaccess/get_authorization_profile.py +567 -0
- pulumi_ise/networkaccess/get_authorization_rule.py +337 -0
- pulumi_ise/networkaccess/get_condition.py +245 -0
- pulumi_ise/networkaccess/get_dictionary.py +160 -0
- pulumi_ise/networkaccess/get_downloadable_acl.py +160 -0
- pulumi_ise/networkaccess/get_policy_set.py +329 -0
- pulumi_ise/networkaccess/get_time_and_date_condition.py +286 -0
- pulumi_ise/networkaccess/outputs.py +3193 -0
- pulumi_ise/networkaccess/policy_set.py +947 -0
- pulumi_ise/networkaccess/policy_set_update_rank.py +221 -0
- pulumi_ise/networkaccess/time_and_date_condition.py +770 -0
- pulumi_ise/provider.py +209 -0
- pulumi_ise/pulumi-plugin.json +5 -0
- pulumi_ise/py.typed +0 -0
- pulumi_ise/system/__init__.py +13 -0
- pulumi_ise/system/_inputs.py +79 -0
- pulumi_ise/system/get_license_tier_state.py +113 -0
- pulumi_ise/system/get_repository.py +202 -0
- pulumi_ise/system/license_tier_state.py +189 -0
- pulumi_ise/system/outputs.py +83 -0
- pulumi_ise/system/repository.py +478 -0
- pulumi_ise/trustsec/__init__.py +21 -0
- pulumi_ise/trustsec/egress_matrix_cell.py +429 -0
- pulumi_ise/trustsec/egress_matrix_cell_default.py +327 -0
- pulumi_ise/trustsec/get_egress_matrix_cell.py +182 -0
- pulumi_ise/trustsec/get_egress_matrix_cell_default.py +154 -0
- pulumi_ise/trustsec/get_ip_to_sgt_mapping.py +216 -0
- pulumi_ise/trustsec/get_ip_to_sgt_mapping_group.py +174 -0
- pulumi_ise/trustsec/get_security_group.py +174 -0
- pulumi_ise/trustsec/get_security_group_acl.py +174 -0
- pulumi_ise/trustsec/get_sxp_domain_filter.py +188 -0
- pulumi_ise/trustsec/ip_to_sgt_mapping.py +517 -0
- pulumi_ise/trustsec/ip_to_sgt_mapping_group.py +376 -0
- pulumi_ise/trustsec/security_group.py +379 -0
- pulumi_ise/trustsec/security_group_acl.py +379 -0
- pulumi_ise/trustsec/sxp_domain_filter.py +422 -0
- pulumi_ise-0.2.0.dist-info/METADATA +64 -0
- pulumi_ise-0.2.0.dist-info/RECORD +119 -0
- pulumi_ise-0.2.0.dist-info/WHEEL +5 -0
- pulumi_ise-0.2.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,160 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = [
|
18
|
+
'GetDictionaryResult',
|
19
|
+
'AwaitableGetDictionaryResult',
|
20
|
+
'get_dictionary',
|
21
|
+
'get_dictionary_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetDictionaryResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getDictionary.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, description=None, dictionary_attr_type=None, id=None, name=None, version=None):
|
30
|
+
if description and not isinstance(description, str):
|
31
|
+
raise TypeError("Expected argument 'description' to be a str")
|
32
|
+
pulumi.set(__self__, "description", description)
|
33
|
+
if dictionary_attr_type and not isinstance(dictionary_attr_type, str):
|
34
|
+
raise TypeError("Expected argument 'dictionary_attr_type' to be a str")
|
35
|
+
pulumi.set(__self__, "dictionary_attr_type", dictionary_attr_type)
|
36
|
+
if id and not isinstance(id, str):
|
37
|
+
raise TypeError("Expected argument 'id' to be a str")
|
38
|
+
pulumi.set(__self__, "id", id)
|
39
|
+
if name and not isinstance(name, str):
|
40
|
+
raise TypeError("Expected argument 'name' to be a str")
|
41
|
+
pulumi.set(__self__, "name", name)
|
42
|
+
if version and not isinstance(version, str):
|
43
|
+
raise TypeError("Expected argument 'version' to be a str")
|
44
|
+
pulumi.set(__self__, "version", version)
|
45
|
+
|
46
|
+
@property
|
47
|
+
@pulumi.getter
|
48
|
+
def description(self) -> str:
|
49
|
+
"""
|
50
|
+
The description of the dictionary
|
51
|
+
"""
|
52
|
+
return pulumi.get(self, "description")
|
53
|
+
|
54
|
+
@property
|
55
|
+
@pulumi.getter(name="dictionaryAttrType")
|
56
|
+
def dictionary_attr_type(self) -> str:
|
57
|
+
"""
|
58
|
+
The dictionary attribute type
|
59
|
+
"""
|
60
|
+
return pulumi.get(self, "dictionary_attr_type")
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter
|
64
|
+
def id(self) -> str:
|
65
|
+
"""
|
66
|
+
The id of the object
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "id")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter
|
72
|
+
def name(self) -> str:
|
73
|
+
"""
|
74
|
+
The dictionary name
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "name")
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter
|
80
|
+
def version(self) -> str:
|
81
|
+
"""
|
82
|
+
The version of the dictionary
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "version")
|
85
|
+
|
86
|
+
|
87
|
+
class AwaitableGetDictionaryResult(GetDictionaryResult):
|
88
|
+
# pylint: disable=using-constant-test
|
89
|
+
def __await__(self):
|
90
|
+
if False:
|
91
|
+
yield self
|
92
|
+
return GetDictionaryResult(
|
93
|
+
description=self.description,
|
94
|
+
dictionary_attr_type=self.dictionary_attr_type,
|
95
|
+
id=self.id,
|
96
|
+
name=self.name,
|
97
|
+
version=self.version)
|
98
|
+
|
99
|
+
|
100
|
+
def get_dictionary(id: Optional[str] = None,
|
101
|
+
name: Optional[str] = None,
|
102
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDictionaryResult:
|
103
|
+
"""
|
104
|
+
This data source can read the Network Access Dictionary.
|
105
|
+
|
106
|
+
## Example Usage
|
107
|
+
|
108
|
+
```python
|
109
|
+
import pulumi
|
110
|
+
import pulumi_ise as ise
|
111
|
+
|
112
|
+
example = ise.networkaccess.get_dictionary(id="Dict1")
|
113
|
+
```
|
114
|
+
|
115
|
+
|
116
|
+
:param str id: The id of the object
|
117
|
+
:param str name: The dictionary name
|
118
|
+
"""
|
119
|
+
__args__ = dict()
|
120
|
+
__args__['id'] = id
|
121
|
+
__args__['name'] = name
|
122
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
123
|
+
__ret__ = pulumi.runtime.invoke('ise:networkaccess/getDictionary:getDictionary', __args__, opts=opts, typ=GetDictionaryResult).value
|
124
|
+
|
125
|
+
return AwaitableGetDictionaryResult(
|
126
|
+
description=pulumi.get(__ret__, 'description'),
|
127
|
+
dictionary_attr_type=pulumi.get(__ret__, 'dictionary_attr_type'),
|
128
|
+
id=pulumi.get(__ret__, 'id'),
|
129
|
+
name=pulumi.get(__ret__, 'name'),
|
130
|
+
version=pulumi.get(__ret__, 'version'))
|
131
|
+
def get_dictionary_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
132
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
133
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDictionaryResult]:
|
134
|
+
"""
|
135
|
+
This data source can read the Network Access Dictionary.
|
136
|
+
|
137
|
+
## Example Usage
|
138
|
+
|
139
|
+
```python
|
140
|
+
import pulumi
|
141
|
+
import pulumi_ise as ise
|
142
|
+
|
143
|
+
example = ise.networkaccess.get_dictionary(id="Dict1")
|
144
|
+
```
|
145
|
+
|
146
|
+
|
147
|
+
:param str id: The id of the object
|
148
|
+
:param str name: The dictionary name
|
149
|
+
"""
|
150
|
+
__args__ = dict()
|
151
|
+
__args__['id'] = id
|
152
|
+
__args__['name'] = name
|
153
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
154
|
+
__ret__ = pulumi.runtime.invoke_output('ise:networkaccess/getDictionary:getDictionary', __args__, opts=opts, typ=GetDictionaryResult)
|
155
|
+
return __ret__.apply(lambda __response__: GetDictionaryResult(
|
156
|
+
description=pulumi.get(__response__, 'description'),
|
157
|
+
dictionary_attr_type=pulumi.get(__response__, 'dictionary_attr_type'),
|
158
|
+
id=pulumi.get(__response__, 'id'),
|
159
|
+
name=pulumi.get(__response__, 'name'),
|
160
|
+
version=pulumi.get(__response__, 'version')))
|
@@ -0,0 +1,160 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = [
|
18
|
+
'GetDownloadableAclResult',
|
19
|
+
'AwaitableGetDownloadableAclResult',
|
20
|
+
'get_downloadable_acl',
|
21
|
+
'get_downloadable_acl_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetDownloadableAclResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getDownloadableAcl.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, dacl=None, dacl_type=None, description=None, id=None, name=None):
|
30
|
+
if dacl and not isinstance(dacl, str):
|
31
|
+
raise TypeError("Expected argument 'dacl' to be a str")
|
32
|
+
pulumi.set(__self__, "dacl", dacl)
|
33
|
+
if dacl_type and not isinstance(dacl_type, str):
|
34
|
+
raise TypeError("Expected argument 'dacl_type' to be a str")
|
35
|
+
pulumi.set(__self__, "dacl_type", dacl_type)
|
36
|
+
if description and not isinstance(description, str):
|
37
|
+
raise TypeError("Expected argument 'description' to be a str")
|
38
|
+
pulumi.set(__self__, "description", description)
|
39
|
+
if id and not isinstance(id, str):
|
40
|
+
raise TypeError("Expected argument 'id' to be a str")
|
41
|
+
pulumi.set(__self__, "id", id)
|
42
|
+
if name and not isinstance(name, str):
|
43
|
+
raise TypeError("Expected argument 'name' to be a str")
|
44
|
+
pulumi.set(__self__, "name", name)
|
45
|
+
|
46
|
+
@property
|
47
|
+
@pulumi.getter
|
48
|
+
def dacl(self) -> str:
|
49
|
+
"""
|
50
|
+
The DACL content
|
51
|
+
"""
|
52
|
+
return pulumi.get(self, "dacl")
|
53
|
+
|
54
|
+
@property
|
55
|
+
@pulumi.getter(name="daclType")
|
56
|
+
def dacl_type(self) -> str:
|
57
|
+
"""
|
58
|
+
The type of ACL
|
59
|
+
"""
|
60
|
+
return pulumi.get(self, "dacl_type")
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter
|
64
|
+
def description(self) -> str:
|
65
|
+
"""
|
66
|
+
Description
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "description")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter
|
72
|
+
def id(self) -> str:
|
73
|
+
"""
|
74
|
+
The id of the object
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "id")
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter
|
80
|
+
def name(self) -> str:
|
81
|
+
"""
|
82
|
+
The name of the downloadable ACL
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "name")
|
85
|
+
|
86
|
+
|
87
|
+
class AwaitableGetDownloadableAclResult(GetDownloadableAclResult):
|
88
|
+
# pylint: disable=using-constant-test
|
89
|
+
def __await__(self):
|
90
|
+
if False:
|
91
|
+
yield self
|
92
|
+
return GetDownloadableAclResult(
|
93
|
+
dacl=self.dacl,
|
94
|
+
dacl_type=self.dacl_type,
|
95
|
+
description=self.description,
|
96
|
+
id=self.id,
|
97
|
+
name=self.name)
|
98
|
+
|
99
|
+
|
100
|
+
def get_downloadable_acl(id: Optional[str] = None,
|
101
|
+
name: Optional[str] = None,
|
102
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDownloadableAclResult:
|
103
|
+
"""
|
104
|
+
This data source can read the Downloadable ACL.
|
105
|
+
|
106
|
+
## Example Usage
|
107
|
+
|
108
|
+
```python
|
109
|
+
import pulumi
|
110
|
+
import pulumi_ise as ise
|
111
|
+
|
112
|
+
example = ise.networkaccess.get_downloadable_acl(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
113
|
+
```
|
114
|
+
|
115
|
+
|
116
|
+
:param str id: The id of the object
|
117
|
+
:param str name: The name of the downloadable ACL
|
118
|
+
"""
|
119
|
+
__args__ = dict()
|
120
|
+
__args__['id'] = id
|
121
|
+
__args__['name'] = name
|
122
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
123
|
+
__ret__ = pulumi.runtime.invoke('ise:networkaccess/getDownloadableAcl:getDownloadableAcl', __args__, opts=opts, typ=GetDownloadableAclResult).value
|
124
|
+
|
125
|
+
return AwaitableGetDownloadableAclResult(
|
126
|
+
dacl=pulumi.get(__ret__, 'dacl'),
|
127
|
+
dacl_type=pulumi.get(__ret__, 'dacl_type'),
|
128
|
+
description=pulumi.get(__ret__, 'description'),
|
129
|
+
id=pulumi.get(__ret__, 'id'),
|
130
|
+
name=pulumi.get(__ret__, 'name'))
|
131
|
+
def get_downloadable_acl_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
132
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
133
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDownloadableAclResult]:
|
134
|
+
"""
|
135
|
+
This data source can read the Downloadable ACL.
|
136
|
+
|
137
|
+
## Example Usage
|
138
|
+
|
139
|
+
```python
|
140
|
+
import pulumi
|
141
|
+
import pulumi_ise as ise
|
142
|
+
|
143
|
+
example = ise.networkaccess.get_downloadable_acl(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
144
|
+
```
|
145
|
+
|
146
|
+
|
147
|
+
:param str id: The id of the object
|
148
|
+
:param str name: The name of the downloadable ACL
|
149
|
+
"""
|
150
|
+
__args__ = dict()
|
151
|
+
__args__['id'] = id
|
152
|
+
__args__['name'] = name
|
153
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
154
|
+
__ret__ = pulumi.runtime.invoke_output('ise:networkaccess/getDownloadableAcl:getDownloadableAcl', __args__, opts=opts, typ=GetDownloadableAclResult)
|
155
|
+
return __ret__.apply(lambda __response__: GetDownloadableAclResult(
|
156
|
+
dacl=pulumi.get(__response__, 'dacl'),
|
157
|
+
dacl_type=pulumi.get(__response__, 'dacl_type'),
|
158
|
+
description=pulumi.get(__response__, 'description'),
|
159
|
+
id=pulumi.get(__response__, 'id'),
|
160
|
+
name=pulumi.get(__response__, 'name')))
|
@@ -0,0 +1,329 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetPolicySetResult',
|
20
|
+
'AwaitableGetPolicySetResult',
|
21
|
+
'get_policy_set',
|
22
|
+
'get_policy_set_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetPolicySetResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getPolicySet.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, childrens=None, condition_attribute_name=None, condition_attribute_value=None, condition_dictionary_name=None, condition_dictionary_value=None, condition_id=None, condition_is_negate=None, condition_operator=None, condition_type=None, default=None, description=None, id=None, is_proxy=None, name=None, rank=None, service_name=None, state=None):
|
31
|
+
if childrens and not isinstance(childrens, list):
|
32
|
+
raise TypeError("Expected argument 'childrens' to be a list")
|
33
|
+
pulumi.set(__self__, "childrens", childrens)
|
34
|
+
if condition_attribute_name and not isinstance(condition_attribute_name, str):
|
35
|
+
raise TypeError("Expected argument 'condition_attribute_name' to be a str")
|
36
|
+
pulumi.set(__self__, "condition_attribute_name", condition_attribute_name)
|
37
|
+
if condition_attribute_value and not isinstance(condition_attribute_value, str):
|
38
|
+
raise TypeError("Expected argument 'condition_attribute_value' to be a str")
|
39
|
+
pulumi.set(__self__, "condition_attribute_value", condition_attribute_value)
|
40
|
+
if condition_dictionary_name and not isinstance(condition_dictionary_name, str):
|
41
|
+
raise TypeError("Expected argument 'condition_dictionary_name' to be a str")
|
42
|
+
pulumi.set(__self__, "condition_dictionary_name", condition_dictionary_name)
|
43
|
+
if condition_dictionary_value and not isinstance(condition_dictionary_value, str):
|
44
|
+
raise TypeError("Expected argument 'condition_dictionary_value' to be a str")
|
45
|
+
pulumi.set(__self__, "condition_dictionary_value", condition_dictionary_value)
|
46
|
+
if condition_id and not isinstance(condition_id, str):
|
47
|
+
raise TypeError("Expected argument 'condition_id' to be a str")
|
48
|
+
pulumi.set(__self__, "condition_id", condition_id)
|
49
|
+
if condition_is_negate and not isinstance(condition_is_negate, bool):
|
50
|
+
raise TypeError("Expected argument 'condition_is_negate' to be a bool")
|
51
|
+
pulumi.set(__self__, "condition_is_negate", condition_is_negate)
|
52
|
+
if condition_operator and not isinstance(condition_operator, str):
|
53
|
+
raise TypeError("Expected argument 'condition_operator' to be a str")
|
54
|
+
pulumi.set(__self__, "condition_operator", condition_operator)
|
55
|
+
if condition_type and not isinstance(condition_type, str):
|
56
|
+
raise TypeError("Expected argument 'condition_type' to be a str")
|
57
|
+
pulumi.set(__self__, "condition_type", condition_type)
|
58
|
+
if default and not isinstance(default, bool):
|
59
|
+
raise TypeError("Expected argument 'default' to be a bool")
|
60
|
+
pulumi.set(__self__, "default", default)
|
61
|
+
if description and not isinstance(description, str):
|
62
|
+
raise TypeError("Expected argument 'description' to be a str")
|
63
|
+
pulumi.set(__self__, "description", description)
|
64
|
+
if id and not isinstance(id, str):
|
65
|
+
raise TypeError("Expected argument 'id' to be a str")
|
66
|
+
pulumi.set(__self__, "id", id)
|
67
|
+
if is_proxy and not isinstance(is_proxy, bool):
|
68
|
+
raise TypeError("Expected argument 'is_proxy' to be a bool")
|
69
|
+
pulumi.set(__self__, "is_proxy", is_proxy)
|
70
|
+
if name and not isinstance(name, str):
|
71
|
+
raise TypeError("Expected argument 'name' to be a str")
|
72
|
+
pulumi.set(__self__, "name", name)
|
73
|
+
if rank and not isinstance(rank, int):
|
74
|
+
raise TypeError("Expected argument 'rank' to be a int")
|
75
|
+
pulumi.set(__self__, "rank", rank)
|
76
|
+
if service_name and not isinstance(service_name, str):
|
77
|
+
raise TypeError("Expected argument 'service_name' to be a str")
|
78
|
+
pulumi.set(__self__, "service_name", service_name)
|
79
|
+
if state and not isinstance(state, str):
|
80
|
+
raise TypeError("Expected argument 'state' to be a str")
|
81
|
+
pulumi.set(__self__, "state", state)
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter
|
85
|
+
def childrens(self) -> Sequence['outputs.GetPolicySetChildrenResult']:
|
86
|
+
"""
|
87
|
+
List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "childrens")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="conditionAttributeName")
|
93
|
+
def condition_attribute_name(self) -> str:
|
94
|
+
"""
|
95
|
+
Dictionary attribute name
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "condition_attribute_name")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter(name="conditionAttributeValue")
|
101
|
+
def condition_attribute_value(self) -> str:
|
102
|
+
"""
|
103
|
+
Attribute value for condition. Value type is specified in dictionary object.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "condition_attribute_value")
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter(name="conditionDictionaryName")
|
109
|
+
def condition_dictionary_name(self) -> str:
|
110
|
+
"""
|
111
|
+
Dictionary name
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "condition_dictionary_name")
|
114
|
+
|
115
|
+
@property
|
116
|
+
@pulumi.getter(name="conditionDictionaryValue")
|
117
|
+
def condition_dictionary_value(self) -> str:
|
118
|
+
"""
|
119
|
+
Dictionary value
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "condition_dictionary_value")
|
122
|
+
|
123
|
+
@property
|
124
|
+
@pulumi.getter(name="conditionId")
|
125
|
+
def condition_id(self) -> str:
|
126
|
+
"""
|
127
|
+
UUID for condition
|
128
|
+
"""
|
129
|
+
return pulumi.get(self, "condition_id")
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter(name="conditionIsNegate")
|
133
|
+
def condition_is_negate(self) -> bool:
|
134
|
+
"""
|
135
|
+
Indicates whereas this condition is in negate mode
|
136
|
+
"""
|
137
|
+
return pulumi.get(self, "condition_is_negate")
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter(name="conditionOperator")
|
141
|
+
def condition_operator(self) -> str:
|
142
|
+
"""
|
143
|
+
Equality operator
|
144
|
+
"""
|
145
|
+
return pulumi.get(self, "condition_operator")
|
146
|
+
|
147
|
+
@property
|
148
|
+
@pulumi.getter(name="conditionType")
|
149
|
+
def condition_type(self) -> str:
|
150
|
+
"""
|
151
|
+
Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "condition_type")
|
154
|
+
|
155
|
+
@property
|
156
|
+
@pulumi.getter
|
157
|
+
def default(self) -> bool:
|
158
|
+
"""
|
159
|
+
Indicates if this policy set is the default one
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "default")
|
162
|
+
|
163
|
+
@property
|
164
|
+
@pulumi.getter
|
165
|
+
def description(self) -> str:
|
166
|
+
"""
|
167
|
+
The description of the policy set
|
168
|
+
"""
|
169
|
+
return pulumi.get(self, "description")
|
170
|
+
|
171
|
+
@property
|
172
|
+
@pulumi.getter
|
173
|
+
def id(self) -> str:
|
174
|
+
"""
|
175
|
+
The id of the object
|
176
|
+
"""
|
177
|
+
return pulumi.get(self, "id")
|
178
|
+
|
179
|
+
@property
|
180
|
+
@pulumi.getter(name="isProxy")
|
181
|
+
def is_proxy(self) -> bool:
|
182
|
+
"""
|
183
|
+
Flag which indicates if the policy set service is of type 'Proxy Sequence' or 'Allowed Protocols'
|
184
|
+
"""
|
185
|
+
return pulumi.get(self, "is_proxy")
|
186
|
+
|
187
|
+
@property
|
188
|
+
@pulumi.getter
|
189
|
+
def name(self) -> str:
|
190
|
+
"""
|
191
|
+
Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
|
192
|
+
"""
|
193
|
+
return pulumi.get(self, "name")
|
194
|
+
|
195
|
+
@property
|
196
|
+
@pulumi.getter
|
197
|
+
def rank(self) -> int:
|
198
|
+
"""
|
199
|
+
The rank (priority) in relation to other policy sets. Lower rank is higher priority.
|
200
|
+
"""
|
201
|
+
return pulumi.get(self, "rank")
|
202
|
+
|
203
|
+
@property
|
204
|
+
@pulumi.getter(name="serviceName")
|
205
|
+
def service_name(self) -> str:
|
206
|
+
"""
|
207
|
+
Policy set service identifier. 'Allowed Protocols' or 'Server Sequence'.
|
208
|
+
"""
|
209
|
+
return pulumi.get(self, "service_name")
|
210
|
+
|
211
|
+
@property
|
212
|
+
@pulumi.getter
|
213
|
+
def state(self) -> str:
|
214
|
+
"""
|
215
|
+
The state that the policy set is in. A disabled policy set cannot be matched.
|
216
|
+
"""
|
217
|
+
return pulumi.get(self, "state")
|
218
|
+
|
219
|
+
|
220
|
+
class AwaitableGetPolicySetResult(GetPolicySetResult):
|
221
|
+
# pylint: disable=using-constant-test
|
222
|
+
def __await__(self):
|
223
|
+
if False:
|
224
|
+
yield self
|
225
|
+
return GetPolicySetResult(
|
226
|
+
childrens=self.childrens,
|
227
|
+
condition_attribute_name=self.condition_attribute_name,
|
228
|
+
condition_attribute_value=self.condition_attribute_value,
|
229
|
+
condition_dictionary_name=self.condition_dictionary_name,
|
230
|
+
condition_dictionary_value=self.condition_dictionary_value,
|
231
|
+
condition_id=self.condition_id,
|
232
|
+
condition_is_negate=self.condition_is_negate,
|
233
|
+
condition_operator=self.condition_operator,
|
234
|
+
condition_type=self.condition_type,
|
235
|
+
default=self.default,
|
236
|
+
description=self.description,
|
237
|
+
id=self.id,
|
238
|
+
is_proxy=self.is_proxy,
|
239
|
+
name=self.name,
|
240
|
+
rank=self.rank,
|
241
|
+
service_name=self.service_name,
|
242
|
+
state=self.state)
|
243
|
+
|
244
|
+
|
245
|
+
def get_policy_set(id: Optional[str] = None,
|
246
|
+
name: Optional[str] = None,
|
247
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPolicySetResult:
|
248
|
+
"""
|
249
|
+
This data source can read the Network Access Policy Set.
|
250
|
+
|
251
|
+
## Example Usage
|
252
|
+
|
253
|
+
```python
|
254
|
+
import pulumi
|
255
|
+
import pulumi_ise as ise
|
256
|
+
|
257
|
+
example = ise.networkaccess.get_policy_set(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
258
|
+
```
|
259
|
+
|
260
|
+
|
261
|
+
:param str id: The id of the object
|
262
|
+
:param str name: Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
|
263
|
+
"""
|
264
|
+
__args__ = dict()
|
265
|
+
__args__['id'] = id
|
266
|
+
__args__['name'] = name
|
267
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
268
|
+
__ret__ = pulumi.runtime.invoke('ise:networkaccess/getPolicySet:getPolicySet', __args__, opts=opts, typ=GetPolicySetResult).value
|
269
|
+
|
270
|
+
return AwaitableGetPolicySetResult(
|
271
|
+
childrens=pulumi.get(__ret__, 'childrens'),
|
272
|
+
condition_attribute_name=pulumi.get(__ret__, 'condition_attribute_name'),
|
273
|
+
condition_attribute_value=pulumi.get(__ret__, 'condition_attribute_value'),
|
274
|
+
condition_dictionary_name=pulumi.get(__ret__, 'condition_dictionary_name'),
|
275
|
+
condition_dictionary_value=pulumi.get(__ret__, 'condition_dictionary_value'),
|
276
|
+
condition_id=pulumi.get(__ret__, 'condition_id'),
|
277
|
+
condition_is_negate=pulumi.get(__ret__, 'condition_is_negate'),
|
278
|
+
condition_operator=pulumi.get(__ret__, 'condition_operator'),
|
279
|
+
condition_type=pulumi.get(__ret__, 'condition_type'),
|
280
|
+
default=pulumi.get(__ret__, 'default'),
|
281
|
+
description=pulumi.get(__ret__, 'description'),
|
282
|
+
id=pulumi.get(__ret__, 'id'),
|
283
|
+
is_proxy=pulumi.get(__ret__, 'is_proxy'),
|
284
|
+
name=pulumi.get(__ret__, 'name'),
|
285
|
+
rank=pulumi.get(__ret__, 'rank'),
|
286
|
+
service_name=pulumi.get(__ret__, 'service_name'),
|
287
|
+
state=pulumi.get(__ret__, 'state'))
|
288
|
+
def get_policy_set_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
289
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
290
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPolicySetResult]:
|
291
|
+
"""
|
292
|
+
This data source can read the Network Access Policy Set.
|
293
|
+
|
294
|
+
## Example Usage
|
295
|
+
|
296
|
+
```python
|
297
|
+
import pulumi
|
298
|
+
import pulumi_ise as ise
|
299
|
+
|
300
|
+
example = ise.networkaccess.get_policy_set(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
301
|
+
```
|
302
|
+
|
303
|
+
|
304
|
+
:param str id: The id of the object
|
305
|
+
:param str name: Given name for the policy set, [Valid characters are alphanumerics, underscore, hyphen, space, period, parentheses]
|
306
|
+
"""
|
307
|
+
__args__ = dict()
|
308
|
+
__args__['id'] = id
|
309
|
+
__args__['name'] = name
|
310
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
311
|
+
__ret__ = pulumi.runtime.invoke_output('ise:networkaccess/getPolicySet:getPolicySet', __args__, opts=opts, typ=GetPolicySetResult)
|
312
|
+
return __ret__.apply(lambda __response__: GetPolicySetResult(
|
313
|
+
childrens=pulumi.get(__response__, 'childrens'),
|
314
|
+
condition_attribute_name=pulumi.get(__response__, 'condition_attribute_name'),
|
315
|
+
condition_attribute_value=pulumi.get(__response__, 'condition_attribute_value'),
|
316
|
+
condition_dictionary_name=pulumi.get(__response__, 'condition_dictionary_name'),
|
317
|
+
condition_dictionary_value=pulumi.get(__response__, 'condition_dictionary_value'),
|
318
|
+
condition_id=pulumi.get(__response__, 'condition_id'),
|
319
|
+
condition_is_negate=pulumi.get(__response__, 'condition_is_negate'),
|
320
|
+
condition_operator=pulumi.get(__response__, 'condition_operator'),
|
321
|
+
condition_type=pulumi.get(__response__, 'condition_type'),
|
322
|
+
default=pulumi.get(__response__, 'default'),
|
323
|
+
description=pulumi.get(__response__, 'description'),
|
324
|
+
id=pulumi.get(__response__, 'id'),
|
325
|
+
is_proxy=pulumi.get(__response__, 'is_proxy'),
|
326
|
+
name=pulumi.get(__response__, 'name'),
|
327
|
+
rank=pulumi.get(__response__, 'rank'),
|
328
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
329
|
+
state=pulumi.get(__response__, 'state')))
|