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.
Files changed (119) hide show
  1. pulumi_ise/__init__.py +458 -0
  2. pulumi_ise/_utilities.py +327 -0
  3. pulumi_ise/config/__init__.py +8 -0
  4. pulumi_ise/config/__init__.pyi +41 -0
  5. pulumi_ise/config/vars.py +57 -0
  6. pulumi_ise/deviceadmin/__init__.py +34 -0
  7. pulumi_ise/deviceadmin/_inputs.py +2517 -0
  8. pulumi_ise/deviceadmin/allowed_protocols_tacacs.py +381 -0
  9. pulumi_ise/deviceadmin/authentication_rule.py +1050 -0
  10. pulumi_ise/deviceadmin/authentication_rule_update_rank.py +271 -0
  11. pulumi_ise/deviceadmin/authorization_exception_rule.py +942 -0
  12. pulumi_ise/deviceadmin/authorization_exception_rule_update_rank.py +271 -0
  13. pulumi_ise/deviceadmin/authorization_global_exception_rule.py +843 -0
  14. pulumi_ise/deviceadmin/authorization_global_exception_rule_update_rank.py +221 -0
  15. pulumi_ise/deviceadmin/authorization_rule.py +942 -0
  16. pulumi_ise/deviceadmin/authorization_rule_update_rank.py +271 -0
  17. pulumi_ise/deviceadmin/condition.py +650 -0
  18. pulumi_ise/deviceadmin/get_allowed_protocols_tacacs.py +174 -0
  19. pulumi_ise/deviceadmin/get_authentication_rule.py +365 -0
  20. pulumi_ise/deviceadmin/get_authorization_exception_rule.py +337 -0
  21. pulumi_ise/deviceadmin/get_authorization_global_exception_rule.py +301 -0
  22. pulumi_ise/deviceadmin/get_authorization_rule.py +337 -0
  23. pulumi_ise/deviceadmin/get_condition.py +245 -0
  24. pulumi_ise/deviceadmin/get_policy_set.py +329 -0
  25. pulumi_ise/deviceadmin/get_tacacs_command_set.py +158 -0
  26. pulumi_ise/deviceadmin/get_tacacs_profile.py +144 -0
  27. pulumi_ise/deviceadmin/get_time_and_date_condition.py +286 -0
  28. pulumi_ise/deviceadmin/outputs.py +3178 -0
  29. pulumi_ise/deviceadmin/policy_set.py +947 -0
  30. pulumi_ise/deviceadmin/policy_set_update_rank.py +221 -0
  31. pulumi_ise/deviceadmin/tacacs_command_set.py +326 -0
  32. pulumi_ise/deviceadmin/tacacs_profile.py +277 -0
  33. pulumi_ise/deviceadmin/time_and_date_condition.py +770 -0
  34. pulumi_ise/identitymanagement/__init__.py +26 -0
  35. pulumi_ise/identitymanagement/_inputs.py +419 -0
  36. pulumi_ise/identitymanagement/active_directory_add_groups.py +483 -0
  37. pulumi_ise/identitymanagement/active_directory_join_domain_with_all_nodes.py +216 -0
  38. pulumi_ise/identitymanagement/active_directory_join_point.py +1676 -0
  39. pulumi_ise/identitymanagement/certificate_authentication_profile.py +525 -0
  40. pulumi_ise/identitymanagement/endpoint.py +1376 -0
  41. pulumi_ise/identitymanagement/endpoint_identity_group.py +327 -0
  42. pulumi_ise/identitymanagement/get_active_directory_groups_by_domain.py +215 -0
  43. pulumi_ise/identitymanagement/get_active_directory_join_point.py +558 -0
  44. pulumi_ise/identitymanagement/get_certificate_authentication_profile.py +202 -0
  45. pulumi_ise/identitymanagement/get_endpoint.py +468 -0
  46. pulumi_ise/identitymanagement/get_endpoint_identity_group.py +160 -0
  47. pulumi_ise/identitymanagement/get_identity_source_sequence.py +172 -0
  48. pulumi_ise/identitymanagement/get_internal_user.py +300 -0
  49. pulumi_ise/identitymanagement/get_user_identity_group.py +146 -0
  50. pulumi_ise/identitymanagement/identity_source_sequence.py +376 -0
  51. pulumi_ise/identitymanagement/internal_user.py +830 -0
  52. pulumi_ise/identitymanagement/outputs.py +491 -0
  53. pulumi_ise/identitymanagement/user_identity_group.py +280 -0
  54. pulumi_ise/network/__init__.py +13 -0
  55. pulumi_ise/network/_inputs.py +94 -0
  56. pulumi_ise/network/device.py +2194 -0
  57. pulumi_ise/network/device_group.py +281 -0
  58. pulumi_ise/network/get_device.py +693 -0
  59. pulumi_ise/network/get_device_group.py +146 -0
  60. pulumi_ise/network/outputs.py +120 -0
  61. pulumi_ise/networkaccess/__init__.py +36 -0
  62. pulumi_ise/networkaccess/_inputs.py +2506 -0
  63. pulumi_ise/networkaccess/allowed_protocols.py +3967 -0
  64. pulumi_ise/networkaccess/authentication_rule.py +1050 -0
  65. pulumi_ise/networkaccess/authentication_rule_update_rank.py +271 -0
  66. pulumi_ise/networkaccess/authorization_exception_rule.py +942 -0
  67. pulumi_ise/networkaccess/authorization_exception_rule_update_rank.py +271 -0
  68. pulumi_ise/networkaccess/authorization_global_exception_rule.py +843 -0
  69. pulumi_ise/networkaccess/authorization_global_exception_rule_update_rank.py +221 -0
  70. pulumi_ise/networkaccess/authorization_profile.py +1682 -0
  71. pulumi_ise/networkaccess/authorization_rule.py +942 -0
  72. pulumi_ise/networkaccess/authorization_rule_update_rank.py +271 -0
  73. pulumi_ise/networkaccess/condition.py +650 -0
  74. pulumi_ise/networkaccess/dictionary.py +331 -0
  75. pulumi_ise/networkaccess/downloadable_acl.py +330 -0
  76. pulumi_ise/networkaccess/get_allowed_protocols.py +1182 -0
  77. pulumi_ise/networkaccess/get_authentication_rule.py +365 -0
  78. pulumi_ise/networkaccess/get_authorization_exception_rule.py +337 -0
  79. pulumi_ise/networkaccess/get_authorization_global_exception_rule.py +301 -0
  80. pulumi_ise/networkaccess/get_authorization_profile.py +567 -0
  81. pulumi_ise/networkaccess/get_authorization_rule.py +337 -0
  82. pulumi_ise/networkaccess/get_condition.py +245 -0
  83. pulumi_ise/networkaccess/get_dictionary.py +160 -0
  84. pulumi_ise/networkaccess/get_downloadable_acl.py +160 -0
  85. pulumi_ise/networkaccess/get_policy_set.py +329 -0
  86. pulumi_ise/networkaccess/get_time_and_date_condition.py +286 -0
  87. pulumi_ise/networkaccess/outputs.py +3193 -0
  88. pulumi_ise/networkaccess/policy_set.py +947 -0
  89. pulumi_ise/networkaccess/policy_set_update_rank.py +221 -0
  90. pulumi_ise/networkaccess/time_and_date_condition.py +770 -0
  91. pulumi_ise/provider.py +209 -0
  92. pulumi_ise/pulumi-plugin.json +5 -0
  93. pulumi_ise/py.typed +0 -0
  94. pulumi_ise/system/__init__.py +13 -0
  95. pulumi_ise/system/_inputs.py +79 -0
  96. pulumi_ise/system/get_license_tier_state.py +113 -0
  97. pulumi_ise/system/get_repository.py +202 -0
  98. pulumi_ise/system/license_tier_state.py +189 -0
  99. pulumi_ise/system/outputs.py +83 -0
  100. pulumi_ise/system/repository.py +478 -0
  101. pulumi_ise/trustsec/__init__.py +21 -0
  102. pulumi_ise/trustsec/egress_matrix_cell.py +429 -0
  103. pulumi_ise/trustsec/egress_matrix_cell_default.py +327 -0
  104. pulumi_ise/trustsec/get_egress_matrix_cell.py +182 -0
  105. pulumi_ise/trustsec/get_egress_matrix_cell_default.py +154 -0
  106. pulumi_ise/trustsec/get_ip_to_sgt_mapping.py +216 -0
  107. pulumi_ise/trustsec/get_ip_to_sgt_mapping_group.py +174 -0
  108. pulumi_ise/trustsec/get_security_group.py +174 -0
  109. pulumi_ise/trustsec/get_security_group_acl.py +174 -0
  110. pulumi_ise/trustsec/get_sxp_domain_filter.py +188 -0
  111. pulumi_ise/trustsec/ip_to_sgt_mapping.py +517 -0
  112. pulumi_ise/trustsec/ip_to_sgt_mapping_group.py +376 -0
  113. pulumi_ise/trustsec/security_group.py +379 -0
  114. pulumi_ise/trustsec/security_group_acl.py +379 -0
  115. pulumi_ise/trustsec/sxp_domain_filter.py +422 -0
  116. pulumi_ise-0.2.0.dist-info/METADATA +64 -0
  117. pulumi_ise-0.2.0.dist-info/RECORD +119 -0
  118. pulumi_ise-0.2.0.dist-info/WHEEL +5 -0
  119. pulumi_ise-0.2.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,478 @@
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__ = ['RepositoryArgs', 'Repository']
18
+
19
+ @pulumi.input_type
20
+ class RepositoryArgs:
21
+ def __init__(__self__, *,
22
+ path: pulumi.Input[str],
23
+ protocol: pulumi.Input[str],
24
+ enable_pki: Optional[pulumi.Input[bool]] = None,
25
+ name: Optional[pulumi.Input[str]] = None,
26
+ password: Optional[pulumi.Input[str]] = None,
27
+ server_name: Optional[pulumi.Input[str]] = None,
28
+ user_name: Optional[pulumi.Input[str]] = None):
29
+ """
30
+ The set of arguments for constructing a Repository resource.
31
+ :param pulumi.Input[str] path: Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
32
+ :param pulumi.Input[str] protocol: Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP`
33
+ :param pulumi.Input[bool] enable_pki: Enable PKI
34
+ :param pulumi.Input[str] name: Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
35
+ :param pulumi.Input[str] password: Password can contain alphanumeric and/or special characters.
36
+ :param pulumi.Input[str] server_name: Name of the server
37
+ :param pulumi.Input[str] user_name: User name
38
+ """
39
+ pulumi.set(__self__, "path", path)
40
+ pulumi.set(__self__, "protocol", protocol)
41
+ if enable_pki is not None:
42
+ pulumi.set(__self__, "enable_pki", enable_pki)
43
+ if name is not None:
44
+ pulumi.set(__self__, "name", name)
45
+ if password is not None:
46
+ pulumi.set(__self__, "password", password)
47
+ if server_name is not None:
48
+ pulumi.set(__self__, "server_name", server_name)
49
+ if user_name is not None:
50
+ pulumi.set(__self__, "user_name", user_name)
51
+
52
+ @property
53
+ @pulumi.getter
54
+ def path(self) -> pulumi.Input[str]:
55
+ """
56
+ Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
57
+ """
58
+ return pulumi.get(self, "path")
59
+
60
+ @path.setter
61
+ def path(self, value: pulumi.Input[str]):
62
+ pulumi.set(self, "path", value)
63
+
64
+ @property
65
+ @pulumi.getter
66
+ def protocol(self) -> pulumi.Input[str]:
67
+ """
68
+ Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP`
69
+ """
70
+ return pulumi.get(self, "protocol")
71
+
72
+ @protocol.setter
73
+ def protocol(self, value: pulumi.Input[str]):
74
+ pulumi.set(self, "protocol", value)
75
+
76
+ @property
77
+ @pulumi.getter(name="enablePki")
78
+ def enable_pki(self) -> Optional[pulumi.Input[bool]]:
79
+ """
80
+ Enable PKI
81
+ """
82
+ return pulumi.get(self, "enable_pki")
83
+
84
+ @enable_pki.setter
85
+ def enable_pki(self, value: Optional[pulumi.Input[bool]]):
86
+ pulumi.set(self, "enable_pki", value)
87
+
88
+ @property
89
+ @pulumi.getter
90
+ def name(self) -> Optional[pulumi.Input[str]]:
91
+ """
92
+ Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
93
+ """
94
+ return pulumi.get(self, "name")
95
+
96
+ @name.setter
97
+ def name(self, value: Optional[pulumi.Input[str]]):
98
+ pulumi.set(self, "name", value)
99
+
100
+ @property
101
+ @pulumi.getter
102
+ def password(self) -> Optional[pulumi.Input[str]]:
103
+ """
104
+ Password can contain alphanumeric and/or special characters.
105
+ """
106
+ return pulumi.get(self, "password")
107
+
108
+ @password.setter
109
+ def password(self, value: Optional[pulumi.Input[str]]):
110
+ pulumi.set(self, "password", value)
111
+
112
+ @property
113
+ @pulumi.getter(name="serverName")
114
+ def server_name(self) -> Optional[pulumi.Input[str]]:
115
+ """
116
+ Name of the server
117
+ """
118
+ return pulumi.get(self, "server_name")
119
+
120
+ @server_name.setter
121
+ def server_name(self, value: Optional[pulumi.Input[str]]):
122
+ pulumi.set(self, "server_name", value)
123
+
124
+ @property
125
+ @pulumi.getter(name="userName")
126
+ def user_name(self) -> Optional[pulumi.Input[str]]:
127
+ """
128
+ User name
129
+ """
130
+ return pulumi.get(self, "user_name")
131
+
132
+ @user_name.setter
133
+ def user_name(self, value: Optional[pulumi.Input[str]]):
134
+ pulumi.set(self, "user_name", value)
135
+
136
+
137
+ @pulumi.input_type
138
+ class _RepositoryState:
139
+ def __init__(__self__, *,
140
+ enable_pki: Optional[pulumi.Input[bool]] = None,
141
+ name: Optional[pulumi.Input[str]] = None,
142
+ password: Optional[pulumi.Input[str]] = None,
143
+ path: Optional[pulumi.Input[str]] = None,
144
+ protocol: Optional[pulumi.Input[str]] = None,
145
+ server_name: Optional[pulumi.Input[str]] = None,
146
+ user_name: Optional[pulumi.Input[str]] = None):
147
+ """
148
+ Input properties used for looking up and filtering Repository resources.
149
+ :param pulumi.Input[bool] enable_pki: Enable PKI
150
+ :param pulumi.Input[str] name: Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
151
+ :param pulumi.Input[str] password: Password can contain alphanumeric and/or special characters.
152
+ :param pulumi.Input[str] path: Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
153
+ :param pulumi.Input[str] protocol: Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP`
154
+ :param pulumi.Input[str] server_name: Name of the server
155
+ :param pulumi.Input[str] user_name: User name
156
+ """
157
+ if enable_pki is not None:
158
+ pulumi.set(__self__, "enable_pki", enable_pki)
159
+ if name is not None:
160
+ pulumi.set(__self__, "name", name)
161
+ if password is not None:
162
+ pulumi.set(__self__, "password", password)
163
+ if path is not None:
164
+ pulumi.set(__self__, "path", path)
165
+ if protocol is not None:
166
+ pulumi.set(__self__, "protocol", protocol)
167
+ if server_name is not None:
168
+ pulumi.set(__self__, "server_name", server_name)
169
+ if user_name is not None:
170
+ pulumi.set(__self__, "user_name", user_name)
171
+
172
+ @property
173
+ @pulumi.getter(name="enablePki")
174
+ def enable_pki(self) -> Optional[pulumi.Input[bool]]:
175
+ """
176
+ Enable PKI
177
+ """
178
+ return pulumi.get(self, "enable_pki")
179
+
180
+ @enable_pki.setter
181
+ def enable_pki(self, value: Optional[pulumi.Input[bool]]):
182
+ pulumi.set(self, "enable_pki", value)
183
+
184
+ @property
185
+ @pulumi.getter
186
+ def name(self) -> Optional[pulumi.Input[str]]:
187
+ """
188
+ Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
189
+ """
190
+ return pulumi.get(self, "name")
191
+
192
+ @name.setter
193
+ def name(self, value: Optional[pulumi.Input[str]]):
194
+ pulumi.set(self, "name", value)
195
+
196
+ @property
197
+ @pulumi.getter
198
+ def password(self) -> Optional[pulumi.Input[str]]:
199
+ """
200
+ Password can contain alphanumeric and/or special characters.
201
+ """
202
+ return pulumi.get(self, "password")
203
+
204
+ @password.setter
205
+ def password(self, value: Optional[pulumi.Input[str]]):
206
+ pulumi.set(self, "password", value)
207
+
208
+ @property
209
+ @pulumi.getter
210
+ def path(self) -> Optional[pulumi.Input[str]]:
211
+ """
212
+ Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
213
+ """
214
+ return pulumi.get(self, "path")
215
+
216
+ @path.setter
217
+ def path(self, value: Optional[pulumi.Input[str]]):
218
+ pulumi.set(self, "path", value)
219
+
220
+ @property
221
+ @pulumi.getter
222
+ def protocol(self) -> Optional[pulumi.Input[str]]:
223
+ """
224
+ Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP`
225
+ """
226
+ return pulumi.get(self, "protocol")
227
+
228
+ @protocol.setter
229
+ def protocol(self, value: Optional[pulumi.Input[str]]):
230
+ pulumi.set(self, "protocol", value)
231
+
232
+ @property
233
+ @pulumi.getter(name="serverName")
234
+ def server_name(self) -> Optional[pulumi.Input[str]]:
235
+ """
236
+ Name of the server
237
+ """
238
+ return pulumi.get(self, "server_name")
239
+
240
+ @server_name.setter
241
+ def server_name(self, value: Optional[pulumi.Input[str]]):
242
+ pulumi.set(self, "server_name", value)
243
+
244
+ @property
245
+ @pulumi.getter(name="userName")
246
+ def user_name(self) -> Optional[pulumi.Input[str]]:
247
+ """
248
+ User name
249
+ """
250
+ return pulumi.get(self, "user_name")
251
+
252
+ @user_name.setter
253
+ def user_name(self, value: Optional[pulumi.Input[str]]):
254
+ pulumi.set(self, "user_name", value)
255
+
256
+
257
+ class Repository(pulumi.CustomResource):
258
+ @overload
259
+ def __init__(__self__,
260
+ resource_name: str,
261
+ opts: Optional[pulumi.ResourceOptions] = None,
262
+ enable_pki: Optional[pulumi.Input[bool]] = None,
263
+ name: Optional[pulumi.Input[str]] = None,
264
+ password: Optional[pulumi.Input[str]] = None,
265
+ path: Optional[pulumi.Input[str]] = None,
266
+ protocol: Optional[pulumi.Input[str]] = None,
267
+ server_name: Optional[pulumi.Input[str]] = None,
268
+ user_name: Optional[pulumi.Input[str]] = None,
269
+ __props__=None):
270
+ """
271
+ This resource can manage a Repository.
272
+
273
+ ## Example Usage
274
+
275
+ ```python
276
+ import pulumi
277
+ import pulumi_ise as ise
278
+
279
+ example = ise.system.Repository("example",
280
+ name="repo1",
281
+ protocol="SFTP",
282
+ path="/dir",
283
+ server_name="server1",
284
+ user_name="user9",
285
+ password="cisco123",
286
+ enable_pki=False)
287
+ ```
288
+
289
+ ## Import
290
+
291
+ ```sh
292
+ $ pulumi import ise:system/repository:Repository example "repo1"
293
+ ```
294
+
295
+ :param str resource_name: The name of the resource.
296
+ :param pulumi.ResourceOptions opts: Options for the resource.
297
+ :param pulumi.Input[bool] enable_pki: Enable PKI
298
+ :param pulumi.Input[str] name: Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
299
+ :param pulumi.Input[str] password: Password can contain alphanumeric and/or special characters.
300
+ :param pulumi.Input[str] path: Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
301
+ :param pulumi.Input[str] protocol: Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP`
302
+ :param pulumi.Input[str] server_name: Name of the server
303
+ :param pulumi.Input[str] user_name: User name
304
+ """
305
+ ...
306
+ @overload
307
+ def __init__(__self__,
308
+ resource_name: str,
309
+ args: RepositoryArgs,
310
+ opts: Optional[pulumi.ResourceOptions] = None):
311
+ """
312
+ This resource can manage a Repository.
313
+
314
+ ## Example Usage
315
+
316
+ ```python
317
+ import pulumi
318
+ import pulumi_ise as ise
319
+
320
+ example = ise.system.Repository("example",
321
+ name="repo1",
322
+ protocol="SFTP",
323
+ path="/dir",
324
+ server_name="server1",
325
+ user_name="user9",
326
+ password="cisco123",
327
+ enable_pki=False)
328
+ ```
329
+
330
+ ## Import
331
+
332
+ ```sh
333
+ $ pulumi import ise:system/repository:Repository example "repo1"
334
+ ```
335
+
336
+ :param str resource_name: The name of the resource.
337
+ :param RepositoryArgs args: The arguments to use to populate this resource's properties.
338
+ :param pulumi.ResourceOptions opts: Options for the resource.
339
+ """
340
+ ...
341
+ def __init__(__self__, resource_name: str, *args, **kwargs):
342
+ resource_args, opts = _utilities.get_resource_args_opts(RepositoryArgs, pulumi.ResourceOptions, *args, **kwargs)
343
+ if resource_args is not None:
344
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
345
+ else:
346
+ __self__._internal_init(resource_name, *args, **kwargs)
347
+
348
+ def _internal_init(__self__,
349
+ resource_name: str,
350
+ opts: Optional[pulumi.ResourceOptions] = None,
351
+ enable_pki: Optional[pulumi.Input[bool]] = None,
352
+ name: Optional[pulumi.Input[str]] = None,
353
+ password: Optional[pulumi.Input[str]] = None,
354
+ path: Optional[pulumi.Input[str]] = None,
355
+ protocol: Optional[pulumi.Input[str]] = None,
356
+ server_name: Optional[pulumi.Input[str]] = None,
357
+ user_name: Optional[pulumi.Input[str]] = None,
358
+ __props__=None):
359
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
360
+ if not isinstance(opts, pulumi.ResourceOptions):
361
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
362
+ if opts.id is None:
363
+ if __props__ is not None:
364
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
365
+ __props__ = RepositoryArgs.__new__(RepositoryArgs)
366
+
367
+ __props__.__dict__["enable_pki"] = enable_pki
368
+ __props__.__dict__["name"] = name
369
+ __props__.__dict__["password"] = password
370
+ if path is None and not opts.urn:
371
+ raise TypeError("Missing required property 'path'")
372
+ __props__.__dict__["path"] = path
373
+ if protocol is None and not opts.urn:
374
+ raise TypeError("Missing required property 'protocol'")
375
+ __props__.__dict__["protocol"] = protocol
376
+ __props__.__dict__["server_name"] = server_name
377
+ __props__.__dict__["user_name"] = user_name
378
+ super(Repository, __self__).__init__(
379
+ 'ise:system/repository:Repository',
380
+ resource_name,
381
+ __props__,
382
+ opts)
383
+
384
+ @staticmethod
385
+ def get(resource_name: str,
386
+ id: pulumi.Input[str],
387
+ opts: Optional[pulumi.ResourceOptions] = None,
388
+ enable_pki: Optional[pulumi.Input[bool]] = None,
389
+ name: Optional[pulumi.Input[str]] = None,
390
+ password: Optional[pulumi.Input[str]] = None,
391
+ path: Optional[pulumi.Input[str]] = None,
392
+ protocol: Optional[pulumi.Input[str]] = None,
393
+ server_name: Optional[pulumi.Input[str]] = None,
394
+ user_name: Optional[pulumi.Input[str]] = None) -> 'Repository':
395
+ """
396
+ Get an existing Repository resource's state with the given name, id, and optional extra
397
+ properties used to qualify the lookup.
398
+
399
+ :param str resource_name: The unique name of the resulting resource.
400
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
401
+ :param pulumi.ResourceOptions opts: Options for the resource.
402
+ :param pulumi.Input[bool] enable_pki: Enable PKI
403
+ :param pulumi.Input[str] name: Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
404
+ :param pulumi.Input[str] password: Password can contain alphanumeric and/or special characters.
405
+ :param pulumi.Input[str] path: Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
406
+ :param pulumi.Input[str] protocol: Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP`
407
+ :param pulumi.Input[str] server_name: Name of the server
408
+ :param pulumi.Input[str] user_name: User name
409
+ """
410
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
411
+
412
+ __props__ = _RepositoryState.__new__(_RepositoryState)
413
+
414
+ __props__.__dict__["enable_pki"] = enable_pki
415
+ __props__.__dict__["name"] = name
416
+ __props__.__dict__["password"] = password
417
+ __props__.__dict__["path"] = path
418
+ __props__.__dict__["protocol"] = protocol
419
+ __props__.__dict__["server_name"] = server_name
420
+ __props__.__dict__["user_name"] = user_name
421
+ return Repository(resource_name, opts=opts, __props__=__props__)
422
+
423
+ @property
424
+ @pulumi.getter(name="enablePki")
425
+ def enable_pki(self) -> pulumi.Output[Optional[bool]]:
426
+ """
427
+ Enable PKI
428
+ """
429
+ return pulumi.get(self, "enable_pki")
430
+
431
+ @property
432
+ @pulumi.getter
433
+ def name(self) -> pulumi.Output[str]:
434
+ """
435
+ Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
436
+ """
437
+ return pulumi.get(self, "name")
438
+
439
+ @property
440
+ @pulumi.getter
441
+ def password(self) -> pulumi.Output[Optional[str]]:
442
+ """
443
+ Password can contain alphanumeric and/or special characters.
444
+ """
445
+ return pulumi.get(self, "password")
446
+
447
+ @property
448
+ @pulumi.getter
449
+ def path(self) -> pulumi.Output[str]:
450
+ """
451
+ Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
452
+ """
453
+ return pulumi.get(self, "path")
454
+
455
+ @property
456
+ @pulumi.getter
457
+ def protocol(self) -> pulumi.Output[str]:
458
+ """
459
+ Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP`
460
+ """
461
+ return pulumi.get(self, "protocol")
462
+
463
+ @property
464
+ @pulumi.getter(name="serverName")
465
+ def server_name(self) -> pulumi.Output[Optional[str]]:
466
+ """
467
+ Name of the server
468
+ """
469
+ return pulumi.get(self, "server_name")
470
+
471
+ @property
472
+ @pulumi.getter(name="userName")
473
+ def user_name(self) -> pulumi.Output[Optional[str]]:
474
+ """
475
+ User name
476
+ """
477
+ return pulumi.get(self, "user_name")
478
+
@@ -0,0 +1,21 @@
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 .egress_matrix_cell import *
9
+ from .egress_matrix_cell_default import *
10
+ from .get_egress_matrix_cell import *
11
+ from .get_egress_matrix_cell_default import *
12
+ from .get_ip_to_sgt_mapping import *
13
+ from .get_ip_to_sgt_mapping_group import *
14
+ from .get_security_group import *
15
+ from .get_security_group_acl import *
16
+ from .get_sxp_domain_filter import *
17
+ from .ip_to_sgt_mapping import *
18
+ from .ip_to_sgt_mapping_group import *
19
+ from .security_group import *
20
+ from .security_group_acl import *
21
+ from .sxp_domain_filter import *