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
pulumi_ise/provider.py
ADDED
@@ -0,0 +1,209 @@
|
|
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__ = ['ProviderArgs', 'Provider']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class ProviderArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
insecure: Optional[pulumi.Input[bool]] = None,
|
23
|
+
password: Optional[pulumi.Input[str]] = None,
|
24
|
+
retries: Optional[pulumi.Input[int]] = None,
|
25
|
+
url: Optional[pulumi.Input[str]] = None,
|
26
|
+
username: Optional[pulumi.Input[str]] = None):
|
27
|
+
"""
|
28
|
+
The set of arguments for constructing a Provider resource.
|
29
|
+
:param pulumi.Input[bool] insecure: Allow insecure HTTPS client. This can also be set as the ISE_INSECURE environment variable. Defaults to `true`.
|
30
|
+
:param pulumi.Input[str] password: Password for the ISE instance. This can also be set as the ISE_PASSWORD environment variable.
|
31
|
+
:param pulumi.Input[int] retries: Number of retries for REST API calls. This can also be set as the ISE_RETRIES environment variable. Defaults to `3`.
|
32
|
+
:param pulumi.Input[str] url: URL of the Cisco ISE instance. This can also be set as the ISE_URL environment variable.
|
33
|
+
:param pulumi.Input[str] username: Username for the ISE instance. This can also be set as the ISE_USERNAME environment variable.
|
34
|
+
"""
|
35
|
+
if insecure is not None:
|
36
|
+
pulumi.set(__self__, "insecure", insecure)
|
37
|
+
if password is not None:
|
38
|
+
pulumi.set(__self__, "password", password)
|
39
|
+
if retries is not None:
|
40
|
+
pulumi.set(__self__, "retries", retries)
|
41
|
+
if url is not None:
|
42
|
+
pulumi.set(__self__, "url", url)
|
43
|
+
if username is not None:
|
44
|
+
pulumi.set(__self__, "username", username)
|
45
|
+
|
46
|
+
@property
|
47
|
+
@pulumi.getter
|
48
|
+
def insecure(self) -> Optional[pulumi.Input[bool]]:
|
49
|
+
"""
|
50
|
+
Allow insecure HTTPS client. This can also be set as the ISE_INSECURE environment variable. Defaults to `true`.
|
51
|
+
"""
|
52
|
+
return pulumi.get(self, "insecure")
|
53
|
+
|
54
|
+
@insecure.setter
|
55
|
+
def insecure(self, value: Optional[pulumi.Input[bool]]):
|
56
|
+
pulumi.set(self, "insecure", value)
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter
|
60
|
+
def password(self) -> Optional[pulumi.Input[str]]:
|
61
|
+
"""
|
62
|
+
Password for the ISE instance. This can also be set as the ISE_PASSWORD environment variable.
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "password")
|
65
|
+
|
66
|
+
@password.setter
|
67
|
+
def password(self, value: Optional[pulumi.Input[str]]):
|
68
|
+
pulumi.set(self, "password", value)
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter
|
72
|
+
def retries(self) -> Optional[pulumi.Input[int]]:
|
73
|
+
"""
|
74
|
+
Number of retries for REST API calls. This can also be set as the ISE_RETRIES environment variable. Defaults to `3`.
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "retries")
|
77
|
+
|
78
|
+
@retries.setter
|
79
|
+
def retries(self, value: Optional[pulumi.Input[int]]):
|
80
|
+
pulumi.set(self, "retries", value)
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter
|
84
|
+
def url(self) -> Optional[pulumi.Input[str]]:
|
85
|
+
"""
|
86
|
+
URL of the Cisco ISE instance. This can also be set as the ISE_URL environment variable.
|
87
|
+
"""
|
88
|
+
return pulumi.get(self, "url")
|
89
|
+
|
90
|
+
@url.setter
|
91
|
+
def url(self, value: Optional[pulumi.Input[str]]):
|
92
|
+
pulumi.set(self, "url", value)
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter
|
96
|
+
def username(self) -> Optional[pulumi.Input[str]]:
|
97
|
+
"""
|
98
|
+
Username for the ISE instance. This can also be set as the ISE_USERNAME environment variable.
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "username")
|
101
|
+
|
102
|
+
@username.setter
|
103
|
+
def username(self, value: Optional[pulumi.Input[str]]):
|
104
|
+
pulumi.set(self, "username", value)
|
105
|
+
|
106
|
+
|
107
|
+
class Provider(pulumi.ProviderResource):
|
108
|
+
@overload
|
109
|
+
def __init__(__self__,
|
110
|
+
resource_name: str,
|
111
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
112
|
+
insecure: Optional[pulumi.Input[bool]] = None,
|
113
|
+
password: Optional[pulumi.Input[str]] = None,
|
114
|
+
retries: Optional[pulumi.Input[int]] = None,
|
115
|
+
url: Optional[pulumi.Input[str]] = None,
|
116
|
+
username: Optional[pulumi.Input[str]] = None,
|
117
|
+
__props__=None):
|
118
|
+
"""
|
119
|
+
The provider type for the ise package. By default, resources use package-wide configuration
|
120
|
+
settings, however an explicit `Provider` instance may be created and passed during resource
|
121
|
+
construction to achieve fine-grained programmatic control over provider settings. See the
|
122
|
+
[documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
123
|
+
|
124
|
+
:param str resource_name: The name of the resource.
|
125
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
126
|
+
:param pulumi.Input[bool] insecure: Allow insecure HTTPS client. This can also be set as the ISE_INSECURE environment variable. Defaults to `true`.
|
127
|
+
:param pulumi.Input[str] password: Password for the ISE instance. This can also be set as the ISE_PASSWORD environment variable.
|
128
|
+
:param pulumi.Input[int] retries: Number of retries for REST API calls. This can also be set as the ISE_RETRIES environment variable. Defaults to `3`.
|
129
|
+
:param pulumi.Input[str] url: URL of the Cisco ISE instance. This can also be set as the ISE_URL environment variable.
|
130
|
+
:param pulumi.Input[str] username: Username for the ISE instance. This can also be set as the ISE_USERNAME environment variable.
|
131
|
+
"""
|
132
|
+
...
|
133
|
+
@overload
|
134
|
+
def __init__(__self__,
|
135
|
+
resource_name: str,
|
136
|
+
args: Optional[ProviderArgs] = None,
|
137
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
138
|
+
"""
|
139
|
+
The provider type for the ise package. By default, resources use package-wide configuration
|
140
|
+
settings, however an explicit `Provider` instance may be created and passed during resource
|
141
|
+
construction to achieve fine-grained programmatic control over provider settings. See the
|
142
|
+
[documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
143
|
+
|
144
|
+
:param str resource_name: The name of the resource.
|
145
|
+
:param ProviderArgs args: The arguments to use to populate this resource's properties.
|
146
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
147
|
+
"""
|
148
|
+
...
|
149
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
150
|
+
resource_args, opts = _utilities.get_resource_args_opts(ProviderArgs, pulumi.ResourceOptions, *args, **kwargs)
|
151
|
+
if resource_args is not None:
|
152
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
153
|
+
else:
|
154
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
155
|
+
|
156
|
+
def _internal_init(__self__,
|
157
|
+
resource_name: str,
|
158
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
159
|
+
insecure: Optional[pulumi.Input[bool]] = None,
|
160
|
+
password: Optional[pulumi.Input[str]] = None,
|
161
|
+
retries: Optional[pulumi.Input[int]] = None,
|
162
|
+
url: Optional[pulumi.Input[str]] = None,
|
163
|
+
username: Optional[pulumi.Input[str]] = None,
|
164
|
+
__props__=None):
|
165
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
166
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
167
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
168
|
+
if opts.id is None:
|
169
|
+
if __props__ is not None:
|
170
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
171
|
+
__props__ = ProviderArgs.__new__(ProviderArgs)
|
172
|
+
|
173
|
+
__props__.__dict__["insecure"] = pulumi.Output.from_input(insecure).apply(pulumi.runtime.to_json) if insecure is not None else None
|
174
|
+
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
175
|
+
__props__.__dict__["retries"] = pulumi.Output.from_input(retries).apply(pulumi.runtime.to_json) if retries is not None else None
|
176
|
+
__props__.__dict__["url"] = url
|
177
|
+
__props__.__dict__["username"] = username
|
178
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
|
179
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
180
|
+
super(Provider, __self__).__init__(
|
181
|
+
'ise',
|
182
|
+
resource_name,
|
183
|
+
__props__,
|
184
|
+
opts)
|
185
|
+
|
186
|
+
@property
|
187
|
+
@pulumi.getter
|
188
|
+
def password(self) -> pulumi.Output[Optional[str]]:
|
189
|
+
"""
|
190
|
+
Password for the ISE instance. This can also be set as the ISE_PASSWORD environment variable.
|
191
|
+
"""
|
192
|
+
return pulumi.get(self, "password")
|
193
|
+
|
194
|
+
@property
|
195
|
+
@pulumi.getter
|
196
|
+
def url(self) -> pulumi.Output[Optional[str]]:
|
197
|
+
"""
|
198
|
+
URL of the Cisco ISE instance. This can also be set as the ISE_URL environment variable.
|
199
|
+
"""
|
200
|
+
return pulumi.get(self, "url")
|
201
|
+
|
202
|
+
@property
|
203
|
+
@pulumi.getter
|
204
|
+
def username(self) -> pulumi.Output[Optional[str]]:
|
205
|
+
"""
|
206
|
+
Username for the ISE instance. This can also be set as the ISE_USERNAME environment variable.
|
207
|
+
"""
|
208
|
+
return pulumi.get(self, "username")
|
209
|
+
|
pulumi_ise/py.typed
ADDED
File without changes
|
@@ -0,0 +1,13 @@
|
|
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
|
+
from .. import _utilities
|
6
|
+
import typing
|
7
|
+
# Export this package's modules as members:
|
8
|
+
from .get_license_tier_state import *
|
9
|
+
from .get_repository import *
|
10
|
+
from .license_tier_state import *
|
11
|
+
from .repository import *
|
12
|
+
from ._inputs import *
|
13
|
+
from . import outputs
|
@@ -0,0 +1,79 @@
|
|
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
|
+
'LicenseTierStateLicenseArgs',
|
19
|
+
'LicenseTierStateLicenseArgsDict',
|
20
|
+
]
|
21
|
+
|
22
|
+
MYPY = False
|
23
|
+
|
24
|
+
if not MYPY:
|
25
|
+
class LicenseTierStateLicenseArgsDict(TypedDict):
|
26
|
+
name: pulumi.Input[str]
|
27
|
+
"""
|
28
|
+
License name
|
29
|
+
- Choices: `ESSENTIAL`, `ADVANTAGE`, `PREMIER`, `DEVICEADMIN`, `VM`
|
30
|
+
"""
|
31
|
+
status: pulumi.Input[str]
|
32
|
+
"""
|
33
|
+
License status
|
34
|
+
- Choices: `ENABLED`, `DISABLED`
|
35
|
+
"""
|
36
|
+
elif False:
|
37
|
+
LicenseTierStateLicenseArgsDict: TypeAlias = Mapping[str, Any]
|
38
|
+
|
39
|
+
@pulumi.input_type
|
40
|
+
class LicenseTierStateLicenseArgs:
|
41
|
+
def __init__(__self__, *,
|
42
|
+
name: pulumi.Input[str],
|
43
|
+
status: pulumi.Input[str]):
|
44
|
+
"""
|
45
|
+
:param pulumi.Input[str] name: License name
|
46
|
+
- Choices: `ESSENTIAL`, `ADVANTAGE`, `PREMIER`, `DEVICEADMIN`, `VM`
|
47
|
+
:param pulumi.Input[str] status: License status
|
48
|
+
- Choices: `ENABLED`, `DISABLED`
|
49
|
+
"""
|
50
|
+
pulumi.set(__self__, "name", name)
|
51
|
+
pulumi.set(__self__, "status", status)
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter
|
55
|
+
def name(self) -> pulumi.Input[str]:
|
56
|
+
"""
|
57
|
+
License name
|
58
|
+
- Choices: `ESSENTIAL`, `ADVANTAGE`, `PREMIER`, `DEVICEADMIN`, `VM`
|
59
|
+
"""
|
60
|
+
return pulumi.get(self, "name")
|
61
|
+
|
62
|
+
@name.setter
|
63
|
+
def name(self, value: pulumi.Input[str]):
|
64
|
+
pulumi.set(self, "name", value)
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter
|
68
|
+
def status(self) -> pulumi.Input[str]:
|
69
|
+
"""
|
70
|
+
License status
|
71
|
+
- Choices: `ENABLED`, `DISABLED`
|
72
|
+
"""
|
73
|
+
return pulumi.get(self, "status")
|
74
|
+
|
75
|
+
@status.setter
|
76
|
+
def status(self, value: pulumi.Input[str]):
|
77
|
+
pulumi.set(self, "status", value)
|
78
|
+
|
79
|
+
|
@@ -0,0 +1,113 @@
|
|
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
|
+
'GetLicenseTierStateResult',
|
20
|
+
'AwaitableGetLicenseTierStateResult',
|
21
|
+
'get_license_tier_state',
|
22
|
+
'get_license_tier_state_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetLicenseTierStateResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getLicenseTierState.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, id=None, licenses=None):
|
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 licenses and not isinstance(licenses, list):
|
35
|
+
raise TypeError("Expected argument 'licenses' to be a list")
|
36
|
+
pulumi.set(__self__, "licenses", licenses)
|
37
|
+
|
38
|
+
@property
|
39
|
+
@pulumi.getter
|
40
|
+
def id(self) -> str:
|
41
|
+
"""
|
42
|
+
The id of the object
|
43
|
+
"""
|
44
|
+
return pulumi.get(self, "id")
|
45
|
+
|
46
|
+
@property
|
47
|
+
@pulumi.getter
|
48
|
+
def licenses(self) -> Sequence['outputs.GetLicenseTierStateLicenseResult']:
|
49
|
+
"""
|
50
|
+
List of licenses
|
51
|
+
"""
|
52
|
+
return pulumi.get(self, "licenses")
|
53
|
+
|
54
|
+
|
55
|
+
class AwaitableGetLicenseTierStateResult(GetLicenseTierStateResult):
|
56
|
+
# pylint: disable=using-constant-test
|
57
|
+
def __await__(self):
|
58
|
+
if False:
|
59
|
+
yield self
|
60
|
+
return GetLicenseTierStateResult(
|
61
|
+
id=self.id,
|
62
|
+
licenses=self.licenses)
|
63
|
+
|
64
|
+
|
65
|
+
def get_license_tier_state(id: Optional[str] = None,
|
66
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLicenseTierStateResult:
|
67
|
+
"""
|
68
|
+
This data source can read the License Tier State.
|
69
|
+
|
70
|
+
## Example Usage
|
71
|
+
|
72
|
+
```python
|
73
|
+
import pulumi
|
74
|
+
import pulumi_ise as ise
|
75
|
+
|
76
|
+
example = ise.system.get_license_tier_state(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
77
|
+
```
|
78
|
+
|
79
|
+
|
80
|
+
:param str id: The id of the object
|
81
|
+
"""
|
82
|
+
__args__ = dict()
|
83
|
+
__args__['id'] = id
|
84
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
85
|
+
__ret__ = pulumi.runtime.invoke('ise:system/getLicenseTierState:getLicenseTierState', __args__, opts=opts, typ=GetLicenseTierStateResult).value
|
86
|
+
|
87
|
+
return AwaitableGetLicenseTierStateResult(
|
88
|
+
id=pulumi.get(__ret__, 'id'),
|
89
|
+
licenses=pulumi.get(__ret__, 'licenses'))
|
90
|
+
def get_license_tier_state_output(id: Optional[pulumi.Input[str]] = None,
|
91
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLicenseTierStateResult]:
|
92
|
+
"""
|
93
|
+
This data source can read the License Tier State.
|
94
|
+
|
95
|
+
## Example Usage
|
96
|
+
|
97
|
+
```python
|
98
|
+
import pulumi
|
99
|
+
import pulumi_ise as ise
|
100
|
+
|
101
|
+
example = ise.system.get_license_tier_state(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
|
102
|
+
```
|
103
|
+
|
104
|
+
|
105
|
+
:param str id: The id of the object
|
106
|
+
"""
|
107
|
+
__args__ = dict()
|
108
|
+
__args__['id'] = id
|
109
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
110
|
+
__ret__ = pulumi.runtime.invoke_output('ise:system/getLicenseTierState:getLicenseTierState', __args__, opts=opts, typ=GetLicenseTierStateResult)
|
111
|
+
return __ret__.apply(lambda __response__: GetLicenseTierStateResult(
|
112
|
+
id=pulumi.get(__response__, 'id'),
|
113
|
+
licenses=pulumi.get(__response__, 'licenses')))
|
@@ -0,0 +1,202 @@
|
|
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
|
+
'GetRepositoryResult',
|
19
|
+
'AwaitableGetRepositoryResult',
|
20
|
+
'get_repository',
|
21
|
+
'get_repository_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetRepositoryResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getRepository.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, enable_pki=None, id=None, name=None, password=None, path=None, protocol=None, server_name=None, user_name=None):
|
30
|
+
if enable_pki and not isinstance(enable_pki, bool):
|
31
|
+
raise TypeError("Expected argument 'enable_pki' to be a bool")
|
32
|
+
pulumi.set(__self__, "enable_pki", enable_pki)
|
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 name and not isinstance(name, str):
|
37
|
+
raise TypeError("Expected argument 'name' to be a str")
|
38
|
+
pulumi.set(__self__, "name", name)
|
39
|
+
if password and not isinstance(password, str):
|
40
|
+
raise TypeError("Expected argument 'password' to be a str")
|
41
|
+
pulumi.set(__self__, "password", password)
|
42
|
+
if path and not isinstance(path, str):
|
43
|
+
raise TypeError("Expected argument 'path' to be a str")
|
44
|
+
pulumi.set(__self__, "path", path)
|
45
|
+
if protocol and not isinstance(protocol, str):
|
46
|
+
raise TypeError("Expected argument 'protocol' to be a str")
|
47
|
+
pulumi.set(__self__, "protocol", protocol)
|
48
|
+
if server_name and not isinstance(server_name, str):
|
49
|
+
raise TypeError("Expected argument 'server_name' to be a str")
|
50
|
+
pulumi.set(__self__, "server_name", server_name)
|
51
|
+
if user_name and not isinstance(user_name, str):
|
52
|
+
raise TypeError("Expected argument 'user_name' to be a str")
|
53
|
+
pulumi.set(__self__, "user_name", user_name)
|
54
|
+
|
55
|
+
@property
|
56
|
+
@pulumi.getter(name="enablePki")
|
57
|
+
def enable_pki(self) -> bool:
|
58
|
+
"""
|
59
|
+
Enable PKI
|
60
|
+
"""
|
61
|
+
return pulumi.get(self, "enable_pki")
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter
|
65
|
+
def id(self) -> str:
|
66
|
+
"""
|
67
|
+
The id of the object
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "id")
|
70
|
+
|
71
|
+
@property
|
72
|
+
@pulumi.getter
|
73
|
+
def name(self) -> str:
|
74
|
+
"""
|
75
|
+
Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "name")
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter
|
81
|
+
def password(self) -> str:
|
82
|
+
"""
|
83
|
+
Password can contain alphanumeric and/or special characters.
|
84
|
+
"""
|
85
|
+
return pulumi.get(self, "password")
|
86
|
+
|
87
|
+
@property
|
88
|
+
@pulumi.getter
|
89
|
+
def path(self) -> str:
|
90
|
+
"""
|
91
|
+
Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "path")
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter
|
97
|
+
def protocol(self) -> str:
|
98
|
+
"""
|
99
|
+
Protocol
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "protocol")
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter(name="serverName")
|
105
|
+
def server_name(self) -> str:
|
106
|
+
"""
|
107
|
+
Name of the server
|
108
|
+
"""
|
109
|
+
return pulumi.get(self, "server_name")
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter(name="userName")
|
113
|
+
def user_name(self) -> str:
|
114
|
+
"""
|
115
|
+
User name
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "user_name")
|
118
|
+
|
119
|
+
|
120
|
+
class AwaitableGetRepositoryResult(GetRepositoryResult):
|
121
|
+
# pylint: disable=using-constant-test
|
122
|
+
def __await__(self):
|
123
|
+
if False:
|
124
|
+
yield self
|
125
|
+
return GetRepositoryResult(
|
126
|
+
enable_pki=self.enable_pki,
|
127
|
+
id=self.id,
|
128
|
+
name=self.name,
|
129
|
+
password=self.password,
|
130
|
+
path=self.path,
|
131
|
+
protocol=self.protocol,
|
132
|
+
server_name=self.server_name,
|
133
|
+
user_name=self.user_name)
|
134
|
+
|
135
|
+
|
136
|
+
def get_repository(id: Optional[str] = None,
|
137
|
+
name: Optional[str] = None,
|
138
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRepositoryResult:
|
139
|
+
"""
|
140
|
+
This data source can read the Repository.
|
141
|
+
|
142
|
+
## Example Usage
|
143
|
+
|
144
|
+
```python
|
145
|
+
import pulumi
|
146
|
+
import pulumi_ise as ise
|
147
|
+
|
148
|
+
example = ise.system.get_repository(id="repo1")
|
149
|
+
```
|
150
|
+
|
151
|
+
|
152
|
+
:param str id: The id of the object
|
153
|
+
:param str name: Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
|
154
|
+
"""
|
155
|
+
__args__ = dict()
|
156
|
+
__args__['id'] = id
|
157
|
+
__args__['name'] = name
|
158
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
159
|
+
__ret__ = pulumi.runtime.invoke('ise:system/getRepository:getRepository', __args__, opts=opts, typ=GetRepositoryResult).value
|
160
|
+
|
161
|
+
return AwaitableGetRepositoryResult(
|
162
|
+
enable_pki=pulumi.get(__ret__, 'enable_pki'),
|
163
|
+
id=pulumi.get(__ret__, 'id'),
|
164
|
+
name=pulumi.get(__ret__, 'name'),
|
165
|
+
password=pulumi.get(__ret__, 'password'),
|
166
|
+
path=pulumi.get(__ret__, 'path'),
|
167
|
+
protocol=pulumi.get(__ret__, 'protocol'),
|
168
|
+
server_name=pulumi.get(__ret__, 'server_name'),
|
169
|
+
user_name=pulumi.get(__ret__, 'user_name'))
|
170
|
+
def get_repository_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
171
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
172
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRepositoryResult]:
|
173
|
+
"""
|
174
|
+
This data source can read the Repository.
|
175
|
+
|
176
|
+
## Example Usage
|
177
|
+
|
178
|
+
```python
|
179
|
+
import pulumi
|
180
|
+
import pulumi_ise as ise
|
181
|
+
|
182
|
+
example = ise.system.get_repository(id="repo1")
|
183
|
+
```
|
184
|
+
|
185
|
+
|
186
|
+
:param str id: The id of the object
|
187
|
+
:param str name: Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
|
188
|
+
"""
|
189
|
+
__args__ = dict()
|
190
|
+
__args__['id'] = id
|
191
|
+
__args__['name'] = name
|
192
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
193
|
+
__ret__ = pulumi.runtime.invoke_output('ise:system/getRepository:getRepository', __args__, opts=opts, typ=GetRepositoryResult)
|
194
|
+
return __ret__.apply(lambda __response__: GetRepositoryResult(
|
195
|
+
enable_pki=pulumi.get(__response__, 'enable_pki'),
|
196
|
+
id=pulumi.get(__response__, 'id'),
|
197
|
+
name=pulumi.get(__response__, 'name'),
|
198
|
+
password=pulumi.get(__response__, 'password'),
|
199
|
+
path=pulumi.get(__response__, 'path'),
|
200
|
+
protocol=pulumi.get(__response__, 'protocol'),
|
201
|
+
server_name=pulumi.get(__response__, 'server_name'),
|
202
|
+
user_name=pulumi.get(__response__, 'user_name')))
|