pulumi-ise 0.2.0a1736833585__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- 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.0a1736833585.dist-info/METADATA +64 -0
- pulumi_ise-0.2.0a1736833585.dist-info/RECORD +119 -0
- pulumi_ise-0.2.0a1736833585.dist-info/WHEEL +5 -0
- pulumi_ise-0.2.0a1736833585.dist-info/top_level.txt +1 -0
@@ -0,0 +1,216 @@
|
|
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
|
+
'GetIpToSgtMappingResult',
|
19
|
+
'AwaitableGetIpToSgtMappingResult',
|
20
|
+
'get_ip_to_sgt_mapping',
|
21
|
+
'get_ip_to_sgt_mapping_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetIpToSgtMappingResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getIpToSgtMapping.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, deploy_to=None, deploy_type=None, description=None, host_ip=None, host_name=None, id=None, mapping_group=None, name=None, sgt=None):
|
30
|
+
if deploy_to and not isinstance(deploy_to, str):
|
31
|
+
raise TypeError("Expected argument 'deploy_to' to be a str")
|
32
|
+
pulumi.set(__self__, "deploy_to", deploy_to)
|
33
|
+
if deploy_type and not isinstance(deploy_type, str):
|
34
|
+
raise TypeError("Expected argument 'deploy_type' to be a str")
|
35
|
+
pulumi.set(__self__, "deploy_type", deploy_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 host_ip and not isinstance(host_ip, str):
|
40
|
+
raise TypeError("Expected argument 'host_ip' to be a str")
|
41
|
+
pulumi.set(__self__, "host_ip", host_ip)
|
42
|
+
if host_name and not isinstance(host_name, str):
|
43
|
+
raise TypeError("Expected argument 'host_name' to be a str")
|
44
|
+
pulumi.set(__self__, "host_name", host_name)
|
45
|
+
if id and not isinstance(id, str):
|
46
|
+
raise TypeError("Expected argument 'id' to be a str")
|
47
|
+
pulumi.set(__self__, "id", id)
|
48
|
+
if mapping_group and not isinstance(mapping_group, str):
|
49
|
+
raise TypeError("Expected argument 'mapping_group' to be a str")
|
50
|
+
pulumi.set(__self__, "mapping_group", mapping_group)
|
51
|
+
if name and not isinstance(name, str):
|
52
|
+
raise TypeError("Expected argument 'name' to be a str")
|
53
|
+
pulumi.set(__self__, "name", name)
|
54
|
+
if sgt and not isinstance(sgt, str):
|
55
|
+
raise TypeError("Expected argument 'sgt' to be a str")
|
56
|
+
pulumi.set(__self__, "sgt", sgt)
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter(name="deployTo")
|
60
|
+
def deploy_to(self) -> str:
|
61
|
+
"""
|
62
|
+
Mandatory unless `mapping_group` is set or unless `deploy_type` is `ALL`
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "deploy_to")
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="deployType")
|
68
|
+
def deploy_type(self) -> str:
|
69
|
+
"""
|
70
|
+
Deploy Type
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "deploy_type")
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter
|
76
|
+
def description(self) -> str:
|
77
|
+
"""
|
78
|
+
Description
|
79
|
+
"""
|
80
|
+
return pulumi.get(self, "description")
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter(name="hostIp")
|
84
|
+
def host_ip(self) -> str:
|
85
|
+
"""
|
86
|
+
Mandatory if `host_name` is empty
|
87
|
+
"""
|
88
|
+
return pulumi.get(self, "host_ip")
|
89
|
+
|
90
|
+
@property
|
91
|
+
@pulumi.getter(name="hostName")
|
92
|
+
def host_name(self) -> str:
|
93
|
+
"""
|
94
|
+
Mandatory if `host_ip` is empty
|
95
|
+
"""
|
96
|
+
return pulumi.get(self, "host_name")
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter
|
100
|
+
def id(self) -> str:
|
101
|
+
"""
|
102
|
+
The id of the object
|
103
|
+
"""
|
104
|
+
return pulumi.get(self, "id")
|
105
|
+
|
106
|
+
@property
|
107
|
+
@pulumi.getter(name="mappingGroup")
|
108
|
+
def mapping_group(self) -> str:
|
109
|
+
"""
|
110
|
+
IP to SGT Mapping Group ID. Mandatory unless `sgt` and `deploy_to` and `deploy_type` are set
|
111
|
+
"""
|
112
|
+
return pulumi.get(self, "mapping_group")
|
113
|
+
|
114
|
+
@property
|
115
|
+
@pulumi.getter
|
116
|
+
def name(self) -> str:
|
117
|
+
"""
|
118
|
+
The name of the IP to SGT mapping
|
119
|
+
"""
|
120
|
+
return pulumi.get(self, "name")
|
121
|
+
|
122
|
+
@property
|
123
|
+
@pulumi.getter
|
124
|
+
def sgt(self) -> str:
|
125
|
+
"""
|
126
|
+
Trustsec Security Group ID. Mandatory unless `mapping_group` is set
|
127
|
+
"""
|
128
|
+
return pulumi.get(self, "sgt")
|
129
|
+
|
130
|
+
|
131
|
+
class AwaitableGetIpToSgtMappingResult(GetIpToSgtMappingResult):
|
132
|
+
# pylint: disable=using-constant-test
|
133
|
+
def __await__(self):
|
134
|
+
if False:
|
135
|
+
yield self
|
136
|
+
return GetIpToSgtMappingResult(
|
137
|
+
deploy_to=self.deploy_to,
|
138
|
+
deploy_type=self.deploy_type,
|
139
|
+
description=self.description,
|
140
|
+
host_ip=self.host_ip,
|
141
|
+
host_name=self.host_name,
|
142
|
+
id=self.id,
|
143
|
+
mapping_group=self.mapping_group,
|
144
|
+
name=self.name,
|
145
|
+
sgt=self.sgt)
|
146
|
+
|
147
|
+
|
148
|
+
def get_ip_to_sgt_mapping(id: Optional[str] = None,
|
149
|
+
name: Optional[str] = None,
|
150
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIpToSgtMappingResult:
|
151
|
+
"""
|
152
|
+
This data source can read the TrustSec IP to SGT Mapping.
|
153
|
+
|
154
|
+
## Example Usage
|
155
|
+
|
156
|
+
```python
|
157
|
+
import pulumi
|
158
|
+
import pulumi_ise as ise
|
159
|
+
|
160
|
+
example = ise.trustsec.get_ip_to_sgt_mapping(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
161
|
+
```
|
162
|
+
|
163
|
+
|
164
|
+
:param str id: The id of the object
|
165
|
+
:param str name: The name of the IP to SGT mapping
|
166
|
+
"""
|
167
|
+
__args__ = dict()
|
168
|
+
__args__['id'] = id
|
169
|
+
__args__['name'] = name
|
170
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
171
|
+
__ret__ = pulumi.runtime.invoke('ise:trustsec/getIpToSgtMapping:getIpToSgtMapping', __args__, opts=opts, typ=GetIpToSgtMappingResult).value
|
172
|
+
|
173
|
+
return AwaitableGetIpToSgtMappingResult(
|
174
|
+
deploy_to=pulumi.get(__ret__, 'deploy_to'),
|
175
|
+
deploy_type=pulumi.get(__ret__, 'deploy_type'),
|
176
|
+
description=pulumi.get(__ret__, 'description'),
|
177
|
+
host_ip=pulumi.get(__ret__, 'host_ip'),
|
178
|
+
host_name=pulumi.get(__ret__, 'host_name'),
|
179
|
+
id=pulumi.get(__ret__, 'id'),
|
180
|
+
mapping_group=pulumi.get(__ret__, 'mapping_group'),
|
181
|
+
name=pulumi.get(__ret__, 'name'),
|
182
|
+
sgt=pulumi.get(__ret__, 'sgt'))
|
183
|
+
def get_ip_to_sgt_mapping_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
184
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
185
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIpToSgtMappingResult]:
|
186
|
+
"""
|
187
|
+
This data source can read the TrustSec IP to SGT Mapping.
|
188
|
+
|
189
|
+
## Example Usage
|
190
|
+
|
191
|
+
```python
|
192
|
+
import pulumi
|
193
|
+
import pulumi_ise as ise
|
194
|
+
|
195
|
+
example = ise.trustsec.get_ip_to_sgt_mapping(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
196
|
+
```
|
197
|
+
|
198
|
+
|
199
|
+
:param str id: The id of the object
|
200
|
+
:param str name: The name of the IP to SGT mapping
|
201
|
+
"""
|
202
|
+
__args__ = dict()
|
203
|
+
__args__['id'] = id
|
204
|
+
__args__['name'] = name
|
205
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
206
|
+
__ret__ = pulumi.runtime.invoke_output('ise:trustsec/getIpToSgtMapping:getIpToSgtMapping', __args__, opts=opts, typ=GetIpToSgtMappingResult)
|
207
|
+
return __ret__.apply(lambda __response__: GetIpToSgtMappingResult(
|
208
|
+
deploy_to=pulumi.get(__response__, 'deploy_to'),
|
209
|
+
deploy_type=pulumi.get(__response__, 'deploy_type'),
|
210
|
+
description=pulumi.get(__response__, 'description'),
|
211
|
+
host_ip=pulumi.get(__response__, 'host_ip'),
|
212
|
+
host_name=pulumi.get(__response__, 'host_name'),
|
213
|
+
id=pulumi.get(__response__, 'id'),
|
214
|
+
mapping_group=pulumi.get(__response__, 'mapping_group'),
|
215
|
+
name=pulumi.get(__response__, 'name'),
|
216
|
+
sgt=pulumi.get(__response__, 'sgt')))
|
@@ -0,0 +1,174 @@
|
|
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
|
+
'GetIpToSgtMappingGroupResult',
|
19
|
+
'AwaitableGetIpToSgtMappingGroupResult',
|
20
|
+
'get_ip_to_sgt_mapping_group',
|
21
|
+
'get_ip_to_sgt_mapping_group_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetIpToSgtMappingGroupResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getIpToSgtMappingGroup.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, deploy_to=None, deploy_type=None, description=None, id=None, name=None, sgt=None):
|
30
|
+
if deploy_to and not isinstance(deploy_to, str):
|
31
|
+
raise TypeError("Expected argument 'deploy_to' to be a str")
|
32
|
+
pulumi.set(__self__, "deploy_to", deploy_to)
|
33
|
+
if deploy_type and not isinstance(deploy_type, str):
|
34
|
+
raise TypeError("Expected argument 'deploy_type' to be a str")
|
35
|
+
pulumi.set(__self__, "deploy_type", deploy_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
|
+
if sgt and not isinstance(sgt, str):
|
46
|
+
raise TypeError("Expected argument 'sgt' to be a str")
|
47
|
+
pulumi.set(__self__, "sgt", sgt)
|
48
|
+
|
49
|
+
@property
|
50
|
+
@pulumi.getter(name="deployTo")
|
51
|
+
def deploy_to(self) -> str:
|
52
|
+
"""
|
53
|
+
Mandatory unless `deploy_type` is `ALL`
|
54
|
+
"""
|
55
|
+
return pulumi.get(self, "deploy_to")
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter(name="deployType")
|
59
|
+
def deploy_type(self) -> str:
|
60
|
+
"""
|
61
|
+
Deploy Type
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "deploy_type")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter
|
67
|
+
def description(self) -> str:
|
68
|
+
"""
|
69
|
+
Description
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "description")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter
|
75
|
+
def id(self) -> str:
|
76
|
+
"""
|
77
|
+
The id of the object
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "id")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter
|
83
|
+
def name(self) -> str:
|
84
|
+
"""
|
85
|
+
The name of the IP to SGT mapping Group
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "name")
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter
|
91
|
+
def sgt(self) -> str:
|
92
|
+
"""
|
93
|
+
Trustsec Security Group ID
|
94
|
+
"""
|
95
|
+
return pulumi.get(self, "sgt")
|
96
|
+
|
97
|
+
|
98
|
+
class AwaitableGetIpToSgtMappingGroupResult(GetIpToSgtMappingGroupResult):
|
99
|
+
# pylint: disable=using-constant-test
|
100
|
+
def __await__(self):
|
101
|
+
if False:
|
102
|
+
yield self
|
103
|
+
return GetIpToSgtMappingGroupResult(
|
104
|
+
deploy_to=self.deploy_to,
|
105
|
+
deploy_type=self.deploy_type,
|
106
|
+
description=self.description,
|
107
|
+
id=self.id,
|
108
|
+
name=self.name,
|
109
|
+
sgt=self.sgt)
|
110
|
+
|
111
|
+
|
112
|
+
def get_ip_to_sgt_mapping_group(id: Optional[str] = None,
|
113
|
+
name: Optional[str] = None,
|
114
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIpToSgtMappingGroupResult:
|
115
|
+
"""
|
116
|
+
This data source can read the TrustSec IP to SGT Mapping Group.
|
117
|
+
|
118
|
+
## Example Usage
|
119
|
+
|
120
|
+
```python
|
121
|
+
import pulumi
|
122
|
+
import pulumi_ise as ise
|
123
|
+
|
124
|
+
example = ise.trustsec.get_ip_to_sgt_mapping_group(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
125
|
+
```
|
126
|
+
|
127
|
+
|
128
|
+
:param str id: The id of the object
|
129
|
+
:param str name: The name of the IP to SGT mapping Group
|
130
|
+
"""
|
131
|
+
__args__ = dict()
|
132
|
+
__args__['id'] = id
|
133
|
+
__args__['name'] = name
|
134
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
135
|
+
__ret__ = pulumi.runtime.invoke('ise:trustsec/getIpToSgtMappingGroup:getIpToSgtMappingGroup', __args__, opts=opts, typ=GetIpToSgtMappingGroupResult).value
|
136
|
+
|
137
|
+
return AwaitableGetIpToSgtMappingGroupResult(
|
138
|
+
deploy_to=pulumi.get(__ret__, 'deploy_to'),
|
139
|
+
deploy_type=pulumi.get(__ret__, 'deploy_type'),
|
140
|
+
description=pulumi.get(__ret__, 'description'),
|
141
|
+
id=pulumi.get(__ret__, 'id'),
|
142
|
+
name=pulumi.get(__ret__, 'name'),
|
143
|
+
sgt=pulumi.get(__ret__, 'sgt'))
|
144
|
+
def get_ip_to_sgt_mapping_group_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
145
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
146
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIpToSgtMappingGroupResult]:
|
147
|
+
"""
|
148
|
+
This data source can read the TrustSec IP to SGT Mapping Group.
|
149
|
+
|
150
|
+
## Example Usage
|
151
|
+
|
152
|
+
```python
|
153
|
+
import pulumi
|
154
|
+
import pulumi_ise as ise
|
155
|
+
|
156
|
+
example = ise.trustsec.get_ip_to_sgt_mapping_group(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
157
|
+
```
|
158
|
+
|
159
|
+
|
160
|
+
:param str id: The id of the object
|
161
|
+
:param str name: The name of the IP to SGT mapping Group
|
162
|
+
"""
|
163
|
+
__args__ = dict()
|
164
|
+
__args__['id'] = id
|
165
|
+
__args__['name'] = name
|
166
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
167
|
+
__ret__ = pulumi.runtime.invoke_output('ise:trustsec/getIpToSgtMappingGroup:getIpToSgtMappingGroup', __args__, opts=opts, typ=GetIpToSgtMappingGroupResult)
|
168
|
+
return __ret__.apply(lambda __response__: GetIpToSgtMappingGroupResult(
|
169
|
+
deploy_to=pulumi.get(__response__, 'deploy_to'),
|
170
|
+
deploy_type=pulumi.get(__response__, 'deploy_type'),
|
171
|
+
description=pulumi.get(__response__, 'description'),
|
172
|
+
id=pulumi.get(__response__, 'id'),
|
173
|
+
name=pulumi.get(__response__, 'name'),
|
174
|
+
sgt=pulumi.get(__response__, 'sgt')))
|
@@ -0,0 +1,174 @@
|
|
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
|
+
'GetSecurityGroupResult',
|
19
|
+
'AwaitableGetSecurityGroupResult',
|
20
|
+
'get_security_group',
|
21
|
+
'get_security_group_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetSecurityGroupResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getSecurityGroup.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, description=None, id=None, is_read_only=None, name=None, propogate_to_apic=None, value=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 id and not isinstance(id, str):
|
34
|
+
raise TypeError("Expected argument 'id' to be a str")
|
35
|
+
pulumi.set(__self__, "id", id)
|
36
|
+
if is_read_only and not isinstance(is_read_only, bool):
|
37
|
+
raise TypeError("Expected argument 'is_read_only' to be a bool")
|
38
|
+
pulumi.set(__self__, "is_read_only", is_read_only)
|
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 propogate_to_apic and not isinstance(propogate_to_apic, bool):
|
43
|
+
raise TypeError("Expected argument 'propogate_to_apic' to be a bool")
|
44
|
+
pulumi.set(__self__, "propogate_to_apic", propogate_to_apic)
|
45
|
+
if value and not isinstance(value, int):
|
46
|
+
raise TypeError("Expected argument 'value' to be a int")
|
47
|
+
pulumi.set(__self__, "value", value)
|
48
|
+
|
49
|
+
@property
|
50
|
+
@pulumi.getter
|
51
|
+
def description(self) -> str:
|
52
|
+
"""
|
53
|
+
Description
|
54
|
+
"""
|
55
|
+
return pulumi.get(self, "description")
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter
|
59
|
+
def id(self) -> str:
|
60
|
+
"""
|
61
|
+
The id of the object
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "id")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="isReadOnly")
|
67
|
+
def is_read_only(self) -> bool:
|
68
|
+
"""
|
69
|
+
Read-only
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "is_read_only")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter
|
75
|
+
def name(self) -> str:
|
76
|
+
"""
|
77
|
+
The name of the security group
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "name")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="propogateToApic")
|
83
|
+
def propogate_to_apic(self) -> bool:
|
84
|
+
"""
|
85
|
+
Propagate to APIC (ACI)
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "propogate_to_apic")
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter
|
91
|
+
def value(self) -> int:
|
92
|
+
"""
|
93
|
+
`-1` to auto-generate
|
94
|
+
"""
|
95
|
+
return pulumi.get(self, "value")
|
96
|
+
|
97
|
+
|
98
|
+
class AwaitableGetSecurityGroupResult(GetSecurityGroupResult):
|
99
|
+
# pylint: disable=using-constant-test
|
100
|
+
def __await__(self):
|
101
|
+
if False:
|
102
|
+
yield self
|
103
|
+
return GetSecurityGroupResult(
|
104
|
+
description=self.description,
|
105
|
+
id=self.id,
|
106
|
+
is_read_only=self.is_read_only,
|
107
|
+
name=self.name,
|
108
|
+
propogate_to_apic=self.propogate_to_apic,
|
109
|
+
value=self.value)
|
110
|
+
|
111
|
+
|
112
|
+
def get_security_group(id: Optional[str] = None,
|
113
|
+
name: Optional[str] = None,
|
114
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityGroupResult:
|
115
|
+
"""
|
116
|
+
This data source can read the TrustSec Security Group.
|
117
|
+
|
118
|
+
## Example Usage
|
119
|
+
|
120
|
+
```python
|
121
|
+
import pulumi
|
122
|
+
import pulumi_ise as ise
|
123
|
+
|
124
|
+
example = ise.trustsec.get_security_group(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
125
|
+
```
|
126
|
+
|
127
|
+
|
128
|
+
:param str id: The id of the object
|
129
|
+
:param str name: The name of the security group
|
130
|
+
"""
|
131
|
+
__args__ = dict()
|
132
|
+
__args__['id'] = id
|
133
|
+
__args__['name'] = name
|
134
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
135
|
+
__ret__ = pulumi.runtime.invoke('ise:trustsec/getSecurityGroup:getSecurityGroup', __args__, opts=opts, typ=GetSecurityGroupResult).value
|
136
|
+
|
137
|
+
return AwaitableGetSecurityGroupResult(
|
138
|
+
description=pulumi.get(__ret__, 'description'),
|
139
|
+
id=pulumi.get(__ret__, 'id'),
|
140
|
+
is_read_only=pulumi.get(__ret__, 'is_read_only'),
|
141
|
+
name=pulumi.get(__ret__, 'name'),
|
142
|
+
propogate_to_apic=pulumi.get(__ret__, 'propogate_to_apic'),
|
143
|
+
value=pulumi.get(__ret__, 'value'))
|
144
|
+
def get_security_group_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
145
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
146
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSecurityGroupResult]:
|
147
|
+
"""
|
148
|
+
This data source can read the TrustSec Security Group.
|
149
|
+
|
150
|
+
## Example Usage
|
151
|
+
|
152
|
+
```python
|
153
|
+
import pulumi
|
154
|
+
import pulumi_ise as ise
|
155
|
+
|
156
|
+
example = ise.trustsec.get_security_group(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
157
|
+
```
|
158
|
+
|
159
|
+
|
160
|
+
:param str id: The id of the object
|
161
|
+
:param str name: The name of the security group
|
162
|
+
"""
|
163
|
+
__args__ = dict()
|
164
|
+
__args__['id'] = id
|
165
|
+
__args__['name'] = name
|
166
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
167
|
+
__ret__ = pulumi.runtime.invoke_output('ise:trustsec/getSecurityGroup:getSecurityGroup', __args__, opts=opts, typ=GetSecurityGroupResult)
|
168
|
+
return __ret__.apply(lambda __response__: GetSecurityGroupResult(
|
169
|
+
description=pulumi.get(__response__, 'description'),
|
170
|
+
id=pulumi.get(__response__, 'id'),
|
171
|
+
is_read_only=pulumi.get(__response__, 'is_read_only'),
|
172
|
+
name=pulumi.get(__response__, 'name'),
|
173
|
+
propogate_to_apic=pulumi.get(__response__, 'propogate_to_apic'),
|
174
|
+
value=pulumi.get(__response__, 'value')))
|