pulumi-ise 0.1.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 +362 -0
- pulumi_ise/_utilities.py +291 -0
- pulumi_ise/config/__init__.py +8 -0
- pulumi_ise/config/__init__.pyi +36 -0
- pulumi_ise/config/vars.py +52 -0
- pulumi_ise/deviceadmin/__init__.py +29 -0
- pulumi_ise/deviceadmin/_inputs.py +1952 -0
- pulumi_ise/deviceadmin/allowed_protocols_tacacs.py +376 -0
- pulumi_ise/deviceadmin/authentication_rule.py +1045 -0
- pulumi_ise/deviceadmin/authorization_exception_rule.py +937 -0
- pulumi_ise/deviceadmin/authorization_global_exception_rule.py +887 -0
- pulumi_ise/deviceadmin/authorization_rule.py +937 -0
- pulumi_ise/deviceadmin/condition.py +645 -0
- pulumi_ise/deviceadmin/get_allowed_protocols_tacacs.py +161 -0
- pulumi_ise/deviceadmin/get_authentication_rule.py +338 -0
- pulumi_ise/deviceadmin/get_authorization_exception_rule.py +312 -0
- pulumi_ise/deviceadmin/get_authorization_global_exception_rule.py +292 -0
- pulumi_ise/deviceadmin/get_authorization_rule.py +312 -0
- pulumi_ise/deviceadmin/get_condition.py +227 -0
- pulumi_ise/deviceadmin/get_policy_set.py +305 -0
- pulumi_ise/deviceadmin/get_tacacs_command_set.py +146 -0
- pulumi_ise/deviceadmin/get_tacacs_profile.py +133 -0
- pulumi_ise/deviceadmin/get_time_and_date_condition.py +265 -0
- pulumi_ise/deviceadmin/outputs.py +3173 -0
- pulumi_ise/deviceadmin/policy_set.py +942 -0
- pulumi_ise/deviceadmin/tacacs_command_set.py +321 -0
- pulumi_ise/deviceadmin/tacacs_profile.py +272 -0
- pulumi_ise/deviceadmin/time_and_date_condition.py +765 -0
- pulumi_ise/identitymanagement/__init__.py +26 -0
- pulumi_ise/identitymanagement/_inputs.py +313 -0
- pulumi_ise/identitymanagement/active_directory_add_groups.py +478 -0
- pulumi_ise/identitymanagement/active_directory_join_domain_with_all_nodes.py +211 -0
- pulumi_ise/identitymanagement/active_directory_join_point.py +1671 -0
- pulumi_ise/identitymanagement/certificate_authentication_profile.py +520 -0
- pulumi_ise/identitymanagement/endpoint.py +1371 -0
- pulumi_ise/identitymanagement/endpoint_identity_group.py +322 -0
- pulumi_ise/identitymanagement/get_active_directory_groups_by_domain.py +198 -0
- pulumi_ise/identitymanagement/get_active_directory_join_point.py +518 -0
- pulumi_ise/identitymanagement/get_certificate_authentication_profile.py +187 -0
- pulumi_ise/identitymanagement/get_endpoint.py +434 -0
- pulumi_ise/identitymanagement/get_endpoint_identity_group.py +148 -0
- pulumi_ise/identitymanagement/get_identity_source_sequence.py +159 -0
- pulumi_ise/identitymanagement/get_internal_user.py +278 -0
- pulumi_ise/identitymanagement/get_user_identity_group.py +135 -0
- pulumi_ise/identitymanagement/identity_source_sequence.py +371 -0
- pulumi_ise/identitymanagement/internal_user.py +825 -0
- pulumi_ise/identitymanagement/outputs.py +486 -0
- pulumi_ise/identitymanagement/user_identity_group.py +275 -0
- pulumi_ise/network/__init__.py +13 -0
- pulumi_ise/network/_inputs.py +69 -0
- pulumi_ise/network/device.py +2189 -0
- pulumi_ise/network/device_group.py +276 -0
- pulumi_ise/network/get_device.py +643 -0
- pulumi_ise/network/get_device_group.py +135 -0
- pulumi_ise/network/outputs.py +115 -0
- pulumi_ise/networkaccess/__init__.py +31 -0
- pulumi_ise/networkaccess/_inputs.py +1948 -0
- pulumi_ise/networkaccess/allowed_protocols.py +3962 -0
- pulumi_ise/networkaccess/authentication_rule.py +1045 -0
- pulumi_ise/networkaccess/authorization_exception_rule.py +937 -0
- pulumi_ise/networkaccess/authorization_global_exception_rule.py +887 -0
- pulumi_ise/networkaccess/authorization_profile.py +1677 -0
- pulumi_ise/networkaccess/authorization_rule.py +937 -0
- pulumi_ise/networkaccess/condition.py +645 -0
- pulumi_ise/networkaccess/dictionary.py +326 -0
- pulumi_ise/networkaccess/downloadable_acl.py +325 -0
- pulumi_ise/networkaccess/get_allowed_protocols.py +1097 -0
- pulumi_ise/networkaccess/get_authentication_rule.py +338 -0
- pulumi_ise/networkaccess/get_authorization_exception_rule.py +312 -0
- pulumi_ise/networkaccess/get_authorization_global_exception_rule.py +292 -0
- pulumi_ise/networkaccess/get_authorization_profile.py +526 -0
- pulumi_ise/networkaccess/get_authorization_rule.py +312 -0
- pulumi_ise/networkaccess/get_condition.py +227 -0
- pulumi_ise/networkaccess/get_dictionary.py +148 -0
- pulumi_ise/networkaccess/get_downloadable_acl.py +148 -0
- pulumi_ise/networkaccess/get_policy_set.py +305 -0
- pulumi_ise/networkaccess/get_time_and_date_condition.py +265 -0
- pulumi_ise/networkaccess/outputs.py +3188 -0
- pulumi_ise/networkaccess/policy_set.py +942 -0
- pulumi_ise/networkaccess/time_and_date_condition.py +765 -0
- pulumi_ise/provider.py +204 -0
- pulumi_ise/pulumi-plugin.json +4 -0
- pulumi_ise/py.typed +0 -0
- pulumi_ise/system/__init__.py +13 -0
- pulumi_ise/system/_inputs.py +56 -0
- pulumi_ise/system/get_license_tier_state.py +105 -0
- pulumi_ise/system/get_repository.py +187 -0
- pulumi_ise/system/license_tier_state.py +184 -0
- pulumi_ise/system/outputs.py +78 -0
- pulumi_ise/system/repository.py +473 -0
- pulumi_ise/trustsec/__init__.py +17 -0
- pulumi_ise/trustsec/egress_matrix_cell.py +424 -0
- pulumi_ise/trustsec/get_egress_matrix_cell.py +169 -0
- pulumi_ise/trustsec/get_ip_to_sgt_mapping.py +200 -0
- pulumi_ise/trustsec/get_ip_to_sgt_mapping_group.py +161 -0
- pulumi_ise/trustsec/get_security_group.py +161 -0
- pulumi_ise/trustsec/get_security_group_acl.py +161 -0
- pulumi_ise/trustsec/ip_to_sgt_mapping.py +512 -0
- pulumi_ise/trustsec/ip_to_sgt_mapping_group.py +371 -0
- pulumi_ise/trustsec/security_group.py +374 -0
- pulumi_ise/trustsec/security_group_acl.py +374 -0
- pulumi_ise-0.1.0.dist-info/METADATA +63 -0
- pulumi_ise-0.1.0.dist-info/RECORD +105 -0
- pulumi_ise-0.1.0.dist-info/WHEEL +5 -0
- pulumi_ise-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,200 @@
|
|
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 pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
|
12
|
+
__all__ = [
|
13
|
+
'GetIpToSgtMappingResult',
|
14
|
+
'AwaitableGetIpToSgtMappingResult',
|
15
|
+
'get_ip_to_sgt_mapping',
|
16
|
+
'get_ip_to_sgt_mapping_output',
|
17
|
+
]
|
18
|
+
|
19
|
+
@pulumi.output_type
|
20
|
+
class GetIpToSgtMappingResult:
|
21
|
+
"""
|
22
|
+
A collection of values returned by getIpToSgtMapping.
|
23
|
+
"""
|
24
|
+
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):
|
25
|
+
if deploy_to and not isinstance(deploy_to, str):
|
26
|
+
raise TypeError("Expected argument 'deploy_to' to be a str")
|
27
|
+
pulumi.set(__self__, "deploy_to", deploy_to)
|
28
|
+
if deploy_type and not isinstance(deploy_type, str):
|
29
|
+
raise TypeError("Expected argument 'deploy_type' to be a str")
|
30
|
+
pulumi.set(__self__, "deploy_type", deploy_type)
|
31
|
+
if description and not isinstance(description, str):
|
32
|
+
raise TypeError("Expected argument 'description' to be a str")
|
33
|
+
pulumi.set(__self__, "description", description)
|
34
|
+
if host_ip and not isinstance(host_ip, str):
|
35
|
+
raise TypeError("Expected argument 'host_ip' to be a str")
|
36
|
+
pulumi.set(__self__, "host_ip", host_ip)
|
37
|
+
if host_name and not isinstance(host_name, str):
|
38
|
+
raise TypeError("Expected argument 'host_name' to be a str")
|
39
|
+
pulumi.set(__self__, "host_name", host_name)
|
40
|
+
if id and not isinstance(id, str):
|
41
|
+
raise TypeError("Expected argument 'id' to be a str")
|
42
|
+
pulumi.set(__self__, "id", id)
|
43
|
+
if mapping_group and not isinstance(mapping_group, str):
|
44
|
+
raise TypeError("Expected argument 'mapping_group' to be a str")
|
45
|
+
pulumi.set(__self__, "mapping_group", mapping_group)
|
46
|
+
if name and not isinstance(name, str):
|
47
|
+
raise TypeError("Expected argument 'name' to be a str")
|
48
|
+
pulumi.set(__self__, "name", name)
|
49
|
+
if sgt and not isinstance(sgt, str):
|
50
|
+
raise TypeError("Expected argument 'sgt' to be a str")
|
51
|
+
pulumi.set(__self__, "sgt", sgt)
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter(name="deployTo")
|
55
|
+
def deploy_to(self) -> str:
|
56
|
+
"""
|
57
|
+
Mandatory unless `mapping_group` is set or unless `deploy_type` is `ALL`
|
58
|
+
"""
|
59
|
+
return pulumi.get(self, "deploy_to")
|
60
|
+
|
61
|
+
@property
|
62
|
+
@pulumi.getter(name="deployType")
|
63
|
+
def deploy_type(self) -> str:
|
64
|
+
"""
|
65
|
+
Deploy Type
|
66
|
+
"""
|
67
|
+
return pulumi.get(self, "deploy_type")
|
68
|
+
|
69
|
+
@property
|
70
|
+
@pulumi.getter
|
71
|
+
def description(self) -> str:
|
72
|
+
"""
|
73
|
+
Description
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "description")
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter(name="hostIp")
|
79
|
+
def host_ip(self) -> str:
|
80
|
+
"""
|
81
|
+
Mandatory if `host_name` is empty
|
82
|
+
"""
|
83
|
+
return pulumi.get(self, "host_ip")
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter(name="hostName")
|
87
|
+
def host_name(self) -> str:
|
88
|
+
"""
|
89
|
+
Mandatory if `host_ip` is empty
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "host_name")
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter
|
95
|
+
def id(self) -> str:
|
96
|
+
"""
|
97
|
+
The id of the object
|
98
|
+
"""
|
99
|
+
return pulumi.get(self, "id")
|
100
|
+
|
101
|
+
@property
|
102
|
+
@pulumi.getter(name="mappingGroup")
|
103
|
+
def mapping_group(self) -> str:
|
104
|
+
"""
|
105
|
+
IP to SGT Mapping Group ID. Mandatory unless `sgt` and `deploy_to` and `deploy_type` are set
|
106
|
+
"""
|
107
|
+
return pulumi.get(self, "mapping_group")
|
108
|
+
|
109
|
+
@property
|
110
|
+
@pulumi.getter
|
111
|
+
def name(self) -> str:
|
112
|
+
"""
|
113
|
+
The name of the IP to SGT mapping
|
114
|
+
"""
|
115
|
+
return pulumi.get(self, "name")
|
116
|
+
|
117
|
+
@property
|
118
|
+
@pulumi.getter
|
119
|
+
def sgt(self) -> str:
|
120
|
+
"""
|
121
|
+
Trustsec Security Group ID. Mandatory unless `mapping_group` is set
|
122
|
+
"""
|
123
|
+
return pulumi.get(self, "sgt")
|
124
|
+
|
125
|
+
|
126
|
+
class AwaitableGetIpToSgtMappingResult(GetIpToSgtMappingResult):
|
127
|
+
# pylint: disable=using-constant-test
|
128
|
+
def __await__(self):
|
129
|
+
if False:
|
130
|
+
yield self
|
131
|
+
return GetIpToSgtMappingResult(
|
132
|
+
deploy_to=self.deploy_to,
|
133
|
+
deploy_type=self.deploy_type,
|
134
|
+
description=self.description,
|
135
|
+
host_ip=self.host_ip,
|
136
|
+
host_name=self.host_name,
|
137
|
+
id=self.id,
|
138
|
+
mapping_group=self.mapping_group,
|
139
|
+
name=self.name,
|
140
|
+
sgt=self.sgt)
|
141
|
+
|
142
|
+
|
143
|
+
def get_ip_to_sgt_mapping(id: Optional[str] = None,
|
144
|
+
name: Optional[str] = None,
|
145
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIpToSgtMappingResult:
|
146
|
+
"""
|
147
|
+
This data source can read the TrustSec IP to SGT Mapping.
|
148
|
+
|
149
|
+
## Example Usage
|
150
|
+
|
151
|
+
```python
|
152
|
+
import pulumi
|
153
|
+
import pulumi_ise as ise
|
154
|
+
|
155
|
+
example = ise.trustsec.get_ip_to_sgt_mapping(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
156
|
+
```
|
157
|
+
|
158
|
+
|
159
|
+
:param str id: The id of the object
|
160
|
+
:param str name: The name of the IP to SGT mapping
|
161
|
+
"""
|
162
|
+
__args__ = dict()
|
163
|
+
__args__['id'] = id
|
164
|
+
__args__['name'] = name
|
165
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
166
|
+
__ret__ = pulumi.runtime.invoke('ise:trustsec/getIpToSgtMapping:getIpToSgtMapping', __args__, opts=opts, typ=GetIpToSgtMappingResult).value
|
167
|
+
|
168
|
+
return AwaitableGetIpToSgtMappingResult(
|
169
|
+
deploy_to=pulumi.get(__ret__, 'deploy_to'),
|
170
|
+
deploy_type=pulumi.get(__ret__, 'deploy_type'),
|
171
|
+
description=pulumi.get(__ret__, 'description'),
|
172
|
+
host_ip=pulumi.get(__ret__, 'host_ip'),
|
173
|
+
host_name=pulumi.get(__ret__, 'host_name'),
|
174
|
+
id=pulumi.get(__ret__, 'id'),
|
175
|
+
mapping_group=pulumi.get(__ret__, 'mapping_group'),
|
176
|
+
name=pulumi.get(__ret__, 'name'),
|
177
|
+
sgt=pulumi.get(__ret__, 'sgt'))
|
178
|
+
|
179
|
+
|
180
|
+
@_utilities.lift_output_func(get_ip_to_sgt_mapping)
|
181
|
+
def get_ip_to_sgt_mapping_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
182
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
183
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIpToSgtMappingResult]:
|
184
|
+
"""
|
185
|
+
This data source can read the TrustSec IP to SGT Mapping.
|
186
|
+
|
187
|
+
## Example Usage
|
188
|
+
|
189
|
+
```python
|
190
|
+
import pulumi
|
191
|
+
import pulumi_ise as ise
|
192
|
+
|
193
|
+
example = ise.trustsec.get_ip_to_sgt_mapping(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
194
|
+
```
|
195
|
+
|
196
|
+
|
197
|
+
:param str id: The id of the object
|
198
|
+
:param str name: The name of the IP to SGT mapping
|
199
|
+
"""
|
200
|
+
...
|
@@ -0,0 +1,161 @@
|
|
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 pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
|
12
|
+
__all__ = [
|
13
|
+
'GetIpToSgtMappingGroupResult',
|
14
|
+
'AwaitableGetIpToSgtMappingGroupResult',
|
15
|
+
'get_ip_to_sgt_mapping_group',
|
16
|
+
'get_ip_to_sgt_mapping_group_output',
|
17
|
+
]
|
18
|
+
|
19
|
+
@pulumi.output_type
|
20
|
+
class GetIpToSgtMappingGroupResult:
|
21
|
+
"""
|
22
|
+
A collection of values returned by getIpToSgtMappingGroup.
|
23
|
+
"""
|
24
|
+
def __init__(__self__, deploy_to=None, deploy_type=None, description=None, id=None, name=None, sgt=None):
|
25
|
+
if deploy_to and not isinstance(deploy_to, str):
|
26
|
+
raise TypeError("Expected argument 'deploy_to' to be a str")
|
27
|
+
pulumi.set(__self__, "deploy_to", deploy_to)
|
28
|
+
if deploy_type and not isinstance(deploy_type, str):
|
29
|
+
raise TypeError("Expected argument 'deploy_type' to be a str")
|
30
|
+
pulumi.set(__self__, "deploy_type", deploy_type)
|
31
|
+
if description and not isinstance(description, str):
|
32
|
+
raise TypeError("Expected argument 'description' to be a str")
|
33
|
+
pulumi.set(__self__, "description", description)
|
34
|
+
if id and not isinstance(id, str):
|
35
|
+
raise TypeError("Expected argument 'id' to be a str")
|
36
|
+
pulumi.set(__self__, "id", id)
|
37
|
+
if name and not isinstance(name, str):
|
38
|
+
raise TypeError("Expected argument 'name' to be a str")
|
39
|
+
pulumi.set(__self__, "name", name)
|
40
|
+
if sgt and not isinstance(sgt, str):
|
41
|
+
raise TypeError("Expected argument 'sgt' to be a str")
|
42
|
+
pulumi.set(__self__, "sgt", sgt)
|
43
|
+
|
44
|
+
@property
|
45
|
+
@pulumi.getter(name="deployTo")
|
46
|
+
def deploy_to(self) -> str:
|
47
|
+
"""
|
48
|
+
Mandatory unless `deploy_type` is `ALL`
|
49
|
+
"""
|
50
|
+
return pulumi.get(self, "deploy_to")
|
51
|
+
|
52
|
+
@property
|
53
|
+
@pulumi.getter(name="deployType")
|
54
|
+
def deploy_type(self) -> str:
|
55
|
+
"""
|
56
|
+
Deploy Type
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "deploy_type")
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter
|
62
|
+
def description(self) -> str:
|
63
|
+
"""
|
64
|
+
Description
|
65
|
+
"""
|
66
|
+
return pulumi.get(self, "description")
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter
|
70
|
+
def id(self) -> str:
|
71
|
+
"""
|
72
|
+
The id of the object
|
73
|
+
"""
|
74
|
+
return pulumi.get(self, "id")
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter
|
78
|
+
def name(self) -> str:
|
79
|
+
"""
|
80
|
+
The name of the IP to SGT mapping Group
|
81
|
+
"""
|
82
|
+
return pulumi.get(self, "name")
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter
|
86
|
+
def sgt(self) -> str:
|
87
|
+
"""
|
88
|
+
Trustsec Security Group ID
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "sgt")
|
91
|
+
|
92
|
+
|
93
|
+
class AwaitableGetIpToSgtMappingGroupResult(GetIpToSgtMappingGroupResult):
|
94
|
+
# pylint: disable=using-constant-test
|
95
|
+
def __await__(self):
|
96
|
+
if False:
|
97
|
+
yield self
|
98
|
+
return GetIpToSgtMappingGroupResult(
|
99
|
+
deploy_to=self.deploy_to,
|
100
|
+
deploy_type=self.deploy_type,
|
101
|
+
description=self.description,
|
102
|
+
id=self.id,
|
103
|
+
name=self.name,
|
104
|
+
sgt=self.sgt)
|
105
|
+
|
106
|
+
|
107
|
+
def get_ip_to_sgt_mapping_group(id: Optional[str] = None,
|
108
|
+
name: Optional[str] = None,
|
109
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIpToSgtMappingGroupResult:
|
110
|
+
"""
|
111
|
+
This data source can read the TrustSec IP to SGT Mapping Group.
|
112
|
+
|
113
|
+
## Example Usage
|
114
|
+
|
115
|
+
```python
|
116
|
+
import pulumi
|
117
|
+
import pulumi_ise as ise
|
118
|
+
|
119
|
+
example = ise.trustsec.get_ip_to_sgt_mapping_group(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
120
|
+
```
|
121
|
+
|
122
|
+
|
123
|
+
:param str id: The id of the object
|
124
|
+
:param str name: The name of the IP to SGT mapping Group
|
125
|
+
"""
|
126
|
+
__args__ = dict()
|
127
|
+
__args__['id'] = id
|
128
|
+
__args__['name'] = name
|
129
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
130
|
+
__ret__ = pulumi.runtime.invoke('ise:trustsec/getIpToSgtMappingGroup:getIpToSgtMappingGroup', __args__, opts=opts, typ=GetIpToSgtMappingGroupResult).value
|
131
|
+
|
132
|
+
return AwaitableGetIpToSgtMappingGroupResult(
|
133
|
+
deploy_to=pulumi.get(__ret__, 'deploy_to'),
|
134
|
+
deploy_type=pulumi.get(__ret__, 'deploy_type'),
|
135
|
+
description=pulumi.get(__ret__, 'description'),
|
136
|
+
id=pulumi.get(__ret__, 'id'),
|
137
|
+
name=pulumi.get(__ret__, 'name'),
|
138
|
+
sgt=pulumi.get(__ret__, 'sgt'))
|
139
|
+
|
140
|
+
|
141
|
+
@_utilities.lift_output_func(get_ip_to_sgt_mapping_group)
|
142
|
+
def get_ip_to_sgt_mapping_group_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
143
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
144
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIpToSgtMappingGroupResult]:
|
145
|
+
"""
|
146
|
+
This data source can read the TrustSec IP to SGT Mapping Group.
|
147
|
+
|
148
|
+
## Example Usage
|
149
|
+
|
150
|
+
```python
|
151
|
+
import pulumi
|
152
|
+
import pulumi_ise as ise
|
153
|
+
|
154
|
+
example = ise.trustsec.get_ip_to_sgt_mapping_group(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
155
|
+
```
|
156
|
+
|
157
|
+
|
158
|
+
:param str id: The id of the object
|
159
|
+
:param str name: The name of the IP to SGT mapping Group
|
160
|
+
"""
|
161
|
+
...
|
@@ -0,0 +1,161 @@
|
|
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 pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
|
12
|
+
__all__ = [
|
13
|
+
'GetSecurityGroupResult',
|
14
|
+
'AwaitableGetSecurityGroupResult',
|
15
|
+
'get_security_group',
|
16
|
+
'get_security_group_output',
|
17
|
+
]
|
18
|
+
|
19
|
+
@pulumi.output_type
|
20
|
+
class GetSecurityGroupResult:
|
21
|
+
"""
|
22
|
+
A collection of values returned by getSecurityGroup.
|
23
|
+
"""
|
24
|
+
def __init__(__self__, description=None, id=None, is_read_only=None, name=None, propogate_to_apic=None, value=None):
|
25
|
+
if description and not isinstance(description, str):
|
26
|
+
raise TypeError("Expected argument 'description' to be a str")
|
27
|
+
pulumi.set(__self__, "description", description)
|
28
|
+
if id and not isinstance(id, str):
|
29
|
+
raise TypeError("Expected argument 'id' to be a str")
|
30
|
+
pulumi.set(__self__, "id", id)
|
31
|
+
if is_read_only and not isinstance(is_read_only, bool):
|
32
|
+
raise TypeError("Expected argument 'is_read_only' to be a bool")
|
33
|
+
pulumi.set(__self__, "is_read_only", is_read_only)
|
34
|
+
if name and not isinstance(name, str):
|
35
|
+
raise TypeError("Expected argument 'name' to be a str")
|
36
|
+
pulumi.set(__self__, "name", name)
|
37
|
+
if propogate_to_apic and not isinstance(propogate_to_apic, bool):
|
38
|
+
raise TypeError("Expected argument 'propogate_to_apic' to be a bool")
|
39
|
+
pulumi.set(__self__, "propogate_to_apic", propogate_to_apic)
|
40
|
+
if value and not isinstance(value, int):
|
41
|
+
raise TypeError("Expected argument 'value' to be a int")
|
42
|
+
pulumi.set(__self__, "value", value)
|
43
|
+
|
44
|
+
@property
|
45
|
+
@pulumi.getter
|
46
|
+
def description(self) -> str:
|
47
|
+
"""
|
48
|
+
Description
|
49
|
+
"""
|
50
|
+
return pulumi.get(self, "description")
|
51
|
+
|
52
|
+
@property
|
53
|
+
@pulumi.getter
|
54
|
+
def id(self) -> str:
|
55
|
+
"""
|
56
|
+
The id of the object
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "id")
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter(name="isReadOnly")
|
62
|
+
def is_read_only(self) -> bool:
|
63
|
+
"""
|
64
|
+
Read-only
|
65
|
+
"""
|
66
|
+
return pulumi.get(self, "is_read_only")
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter
|
70
|
+
def name(self) -> str:
|
71
|
+
"""
|
72
|
+
The name of the security group
|
73
|
+
"""
|
74
|
+
return pulumi.get(self, "name")
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter(name="propogateToApic")
|
78
|
+
def propogate_to_apic(self) -> bool:
|
79
|
+
"""
|
80
|
+
Propagate to APIC (ACI)
|
81
|
+
"""
|
82
|
+
return pulumi.get(self, "propogate_to_apic")
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter
|
86
|
+
def value(self) -> int:
|
87
|
+
"""
|
88
|
+
`-1` to auto-generate
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "value")
|
91
|
+
|
92
|
+
|
93
|
+
class AwaitableGetSecurityGroupResult(GetSecurityGroupResult):
|
94
|
+
# pylint: disable=using-constant-test
|
95
|
+
def __await__(self):
|
96
|
+
if False:
|
97
|
+
yield self
|
98
|
+
return GetSecurityGroupResult(
|
99
|
+
description=self.description,
|
100
|
+
id=self.id,
|
101
|
+
is_read_only=self.is_read_only,
|
102
|
+
name=self.name,
|
103
|
+
propogate_to_apic=self.propogate_to_apic,
|
104
|
+
value=self.value)
|
105
|
+
|
106
|
+
|
107
|
+
def get_security_group(id: Optional[str] = None,
|
108
|
+
name: Optional[str] = None,
|
109
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityGroupResult:
|
110
|
+
"""
|
111
|
+
This data source can read the TrustSec Security Group.
|
112
|
+
|
113
|
+
## Example Usage
|
114
|
+
|
115
|
+
```python
|
116
|
+
import pulumi
|
117
|
+
import pulumi_ise as ise
|
118
|
+
|
119
|
+
example = ise.trustsec.get_security_group(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
120
|
+
```
|
121
|
+
|
122
|
+
|
123
|
+
:param str id: The id of the object
|
124
|
+
:param str name: The name of the security group
|
125
|
+
"""
|
126
|
+
__args__ = dict()
|
127
|
+
__args__['id'] = id
|
128
|
+
__args__['name'] = name
|
129
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
130
|
+
__ret__ = pulumi.runtime.invoke('ise:trustsec/getSecurityGroup:getSecurityGroup', __args__, opts=opts, typ=GetSecurityGroupResult).value
|
131
|
+
|
132
|
+
return AwaitableGetSecurityGroupResult(
|
133
|
+
description=pulumi.get(__ret__, 'description'),
|
134
|
+
id=pulumi.get(__ret__, 'id'),
|
135
|
+
is_read_only=pulumi.get(__ret__, 'is_read_only'),
|
136
|
+
name=pulumi.get(__ret__, 'name'),
|
137
|
+
propogate_to_apic=pulumi.get(__ret__, 'propogate_to_apic'),
|
138
|
+
value=pulumi.get(__ret__, 'value'))
|
139
|
+
|
140
|
+
|
141
|
+
@_utilities.lift_output_func(get_security_group)
|
142
|
+
def get_security_group_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
143
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
144
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityGroupResult]:
|
145
|
+
"""
|
146
|
+
This data source can read the TrustSec Security Group.
|
147
|
+
|
148
|
+
## Example Usage
|
149
|
+
|
150
|
+
```python
|
151
|
+
import pulumi
|
152
|
+
import pulumi_ise as ise
|
153
|
+
|
154
|
+
example = ise.trustsec.get_security_group(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
155
|
+
```
|
156
|
+
|
157
|
+
|
158
|
+
:param str id: The id of the object
|
159
|
+
:param str name: The name of the security group
|
160
|
+
"""
|
161
|
+
...
|
@@ -0,0 +1,161 @@
|
|
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 pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
|
12
|
+
__all__ = [
|
13
|
+
'GetSecurityGroupAclResult',
|
14
|
+
'AwaitableGetSecurityGroupAclResult',
|
15
|
+
'get_security_group_acl',
|
16
|
+
'get_security_group_acl_output',
|
17
|
+
]
|
18
|
+
|
19
|
+
@pulumi.output_type
|
20
|
+
class GetSecurityGroupAclResult:
|
21
|
+
"""
|
22
|
+
A collection of values returned by getSecurityGroupAcl.
|
23
|
+
"""
|
24
|
+
def __init__(__self__, acl_content=None, description=None, id=None, ip_version=None, name=None, read_only=None):
|
25
|
+
if acl_content and not isinstance(acl_content, str):
|
26
|
+
raise TypeError("Expected argument 'acl_content' to be a str")
|
27
|
+
pulumi.set(__self__, "acl_content", acl_content)
|
28
|
+
if description and not isinstance(description, str):
|
29
|
+
raise TypeError("Expected argument 'description' to be a str")
|
30
|
+
pulumi.set(__self__, "description", description)
|
31
|
+
if id and not isinstance(id, str):
|
32
|
+
raise TypeError("Expected argument 'id' to be a str")
|
33
|
+
pulumi.set(__self__, "id", id)
|
34
|
+
if ip_version and not isinstance(ip_version, str):
|
35
|
+
raise TypeError("Expected argument 'ip_version' to be a str")
|
36
|
+
pulumi.set(__self__, "ip_version", ip_version)
|
37
|
+
if name and not isinstance(name, str):
|
38
|
+
raise TypeError("Expected argument 'name' to be a str")
|
39
|
+
pulumi.set(__self__, "name", name)
|
40
|
+
if read_only and not isinstance(read_only, bool):
|
41
|
+
raise TypeError("Expected argument 'read_only' to be a bool")
|
42
|
+
pulumi.set(__self__, "read_only", read_only)
|
43
|
+
|
44
|
+
@property
|
45
|
+
@pulumi.getter(name="aclContent")
|
46
|
+
def acl_content(self) -> str:
|
47
|
+
"""
|
48
|
+
Content of ACL
|
49
|
+
"""
|
50
|
+
return pulumi.get(self, "acl_content")
|
51
|
+
|
52
|
+
@property
|
53
|
+
@pulumi.getter
|
54
|
+
def description(self) -> str:
|
55
|
+
"""
|
56
|
+
Description
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "description")
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter
|
62
|
+
def id(self) -> str:
|
63
|
+
"""
|
64
|
+
The id of the object
|
65
|
+
"""
|
66
|
+
return pulumi.get(self, "id")
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter(name="ipVersion")
|
70
|
+
def ip_version(self) -> str:
|
71
|
+
"""
|
72
|
+
IP Version
|
73
|
+
"""
|
74
|
+
return pulumi.get(self, "ip_version")
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter
|
78
|
+
def name(self) -> str:
|
79
|
+
"""
|
80
|
+
The name of the security group ACL
|
81
|
+
"""
|
82
|
+
return pulumi.get(self, "name")
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter(name="readOnly")
|
86
|
+
def read_only(self) -> bool:
|
87
|
+
"""
|
88
|
+
Read-only
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "read_only")
|
91
|
+
|
92
|
+
|
93
|
+
class AwaitableGetSecurityGroupAclResult(GetSecurityGroupAclResult):
|
94
|
+
# pylint: disable=using-constant-test
|
95
|
+
def __await__(self):
|
96
|
+
if False:
|
97
|
+
yield self
|
98
|
+
return GetSecurityGroupAclResult(
|
99
|
+
acl_content=self.acl_content,
|
100
|
+
description=self.description,
|
101
|
+
id=self.id,
|
102
|
+
ip_version=self.ip_version,
|
103
|
+
name=self.name,
|
104
|
+
read_only=self.read_only)
|
105
|
+
|
106
|
+
|
107
|
+
def get_security_group_acl(id: Optional[str] = None,
|
108
|
+
name: Optional[str] = None,
|
109
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityGroupAclResult:
|
110
|
+
"""
|
111
|
+
This data source can read the TrustSec Security Group ACL.
|
112
|
+
|
113
|
+
## Example Usage
|
114
|
+
|
115
|
+
```python
|
116
|
+
import pulumi
|
117
|
+
import pulumi_ise as ise
|
118
|
+
|
119
|
+
example = ise.trustsec.get_security_group_acl(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
120
|
+
```
|
121
|
+
|
122
|
+
|
123
|
+
:param str id: The id of the object
|
124
|
+
:param str name: The name of the security group ACL
|
125
|
+
"""
|
126
|
+
__args__ = dict()
|
127
|
+
__args__['id'] = id
|
128
|
+
__args__['name'] = name
|
129
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
130
|
+
__ret__ = pulumi.runtime.invoke('ise:trustsec/getSecurityGroupAcl:getSecurityGroupAcl', __args__, opts=opts, typ=GetSecurityGroupAclResult).value
|
131
|
+
|
132
|
+
return AwaitableGetSecurityGroupAclResult(
|
133
|
+
acl_content=pulumi.get(__ret__, 'acl_content'),
|
134
|
+
description=pulumi.get(__ret__, 'description'),
|
135
|
+
id=pulumi.get(__ret__, 'id'),
|
136
|
+
ip_version=pulumi.get(__ret__, 'ip_version'),
|
137
|
+
name=pulumi.get(__ret__, 'name'),
|
138
|
+
read_only=pulumi.get(__ret__, 'read_only'))
|
139
|
+
|
140
|
+
|
141
|
+
@_utilities.lift_output_func(get_security_group_acl)
|
142
|
+
def get_security_group_acl_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
143
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
144
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityGroupAclResult]:
|
145
|
+
"""
|
146
|
+
This data source can read the TrustSec Security Group ACL.
|
147
|
+
|
148
|
+
## Example Usage
|
149
|
+
|
150
|
+
```python
|
151
|
+
import pulumi
|
152
|
+
import pulumi_ise as ise
|
153
|
+
|
154
|
+
example = ise.trustsec.get_security_group_acl(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
155
|
+
```
|
156
|
+
|
157
|
+
|
158
|
+
:param str id: The id of the object
|
159
|
+
:param str name: The name of the security group ACL
|
160
|
+
"""
|
161
|
+
...
|