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.
Files changed (105) hide show
  1. pulumi_ise/__init__.py +362 -0
  2. pulumi_ise/_utilities.py +291 -0
  3. pulumi_ise/config/__init__.py +8 -0
  4. pulumi_ise/config/__init__.pyi +36 -0
  5. pulumi_ise/config/vars.py +52 -0
  6. pulumi_ise/deviceadmin/__init__.py +29 -0
  7. pulumi_ise/deviceadmin/_inputs.py +1952 -0
  8. pulumi_ise/deviceadmin/allowed_protocols_tacacs.py +376 -0
  9. pulumi_ise/deviceadmin/authentication_rule.py +1045 -0
  10. pulumi_ise/deviceadmin/authorization_exception_rule.py +937 -0
  11. pulumi_ise/deviceadmin/authorization_global_exception_rule.py +887 -0
  12. pulumi_ise/deviceadmin/authorization_rule.py +937 -0
  13. pulumi_ise/deviceadmin/condition.py +645 -0
  14. pulumi_ise/deviceadmin/get_allowed_protocols_tacacs.py +161 -0
  15. pulumi_ise/deviceadmin/get_authentication_rule.py +338 -0
  16. pulumi_ise/deviceadmin/get_authorization_exception_rule.py +312 -0
  17. pulumi_ise/deviceadmin/get_authorization_global_exception_rule.py +292 -0
  18. pulumi_ise/deviceadmin/get_authorization_rule.py +312 -0
  19. pulumi_ise/deviceadmin/get_condition.py +227 -0
  20. pulumi_ise/deviceadmin/get_policy_set.py +305 -0
  21. pulumi_ise/deviceadmin/get_tacacs_command_set.py +146 -0
  22. pulumi_ise/deviceadmin/get_tacacs_profile.py +133 -0
  23. pulumi_ise/deviceadmin/get_time_and_date_condition.py +265 -0
  24. pulumi_ise/deviceadmin/outputs.py +3173 -0
  25. pulumi_ise/deviceadmin/policy_set.py +942 -0
  26. pulumi_ise/deviceadmin/tacacs_command_set.py +321 -0
  27. pulumi_ise/deviceadmin/tacacs_profile.py +272 -0
  28. pulumi_ise/deviceadmin/time_and_date_condition.py +765 -0
  29. pulumi_ise/identitymanagement/__init__.py +26 -0
  30. pulumi_ise/identitymanagement/_inputs.py +313 -0
  31. pulumi_ise/identitymanagement/active_directory_add_groups.py +478 -0
  32. pulumi_ise/identitymanagement/active_directory_join_domain_with_all_nodes.py +211 -0
  33. pulumi_ise/identitymanagement/active_directory_join_point.py +1671 -0
  34. pulumi_ise/identitymanagement/certificate_authentication_profile.py +520 -0
  35. pulumi_ise/identitymanagement/endpoint.py +1371 -0
  36. pulumi_ise/identitymanagement/endpoint_identity_group.py +322 -0
  37. pulumi_ise/identitymanagement/get_active_directory_groups_by_domain.py +198 -0
  38. pulumi_ise/identitymanagement/get_active_directory_join_point.py +518 -0
  39. pulumi_ise/identitymanagement/get_certificate_authentication_profile.py +187 -0
  40. pulumi_ise/identitymanagement/get_endpoint.py +434 -0
  41. pulumi_ise/identitymanagement/get_endpoint_identity_group.py +148 -0
  42. pulumi_ise/identitymanagement/get_identity_source_sequence.py +159 -0
  43. pulumi_ise/identitymanagement/get_internal_user.py +278 -0
  44. pulumi_ise/identitymanagement/get_user_identity_group.py +135 -0
  45. pulumi_ise/identitymanagement/identity_source_sequence.py +371 -0
  46. pulumi_ise/identitymanagement/internal_user.py +825 -0
  47. pulumi_ise/identitymanagement/outputs.py +486 -0
  48. pulumi_ise/identitymanagement/user_identity_group.py +275 -0
  49. pulumi_ise/network/__init__.py +13 -0
  50. pulumi_ise/network/_inputs.py +69 -0
  51. pulumi_ise/network/device.py +2189 -0
  52. pulumi_ise/network/device_group.py +276 -0
  53. pulumi_ise/network/get_device.py +643 -0
  54. pulumi_ise/network/get_device_group.py +135 -0
  55. pulumi_ise/network/outputs.py +115 -0
  56. pulumi_ise/networkaccess/__init__.py +31 -0
  57. pulumi_ise/networkaccess/_inputs.py +1948 -0
  58. pulumi_ise/networkaccess/allowed_protocols.py +3962 -0
  59. pulumi_ise/networkaccess/authentication_rule.py +1045 -0
  60. pulumi_ise/networkaccess/authorization_exception_rule.py +937 -0
  61. pulumi_ise/networkaccess/authorization_global_exception_rule.py +887 -0
  62. pulumi_ise/networkaccess/authorization_profile.py +1677 -0
  63. pulumi_ise/networkaccess/authorization_rule.py +937 -0
  64. pulumi_ise/networkaccess/condition.py +645 -0
  65. pulumi_ise/networkaccess/dictionary.py +326 -0
  66. pulumi_ise/networkaccess/downloadable_acl.py +325 -0
  67. pulumi_ise/networkaccess/get_allowed_protocols.py +1097 -0
  68. pulumi_ise/networkaccess/get_authentication_rule.py +338 -0
  69. pulumi_ise/networkaccess/get_authorization_exception_rule.py +312 -0
  70. pulumi_ise/networkaccess/get_authorization_global_exception_rule.py +292 -0
  71. pulumi_ise/networkaccess/get_authorization_profile.py +526 -0
  72. pulumi_ise/networkaccess/get_authorization_rule.py +312 -0
  73. pulumi_ise/networkaccess/get_condition.py +227 -0
  74. pulumi_ise/networkaccess/get_dictionary.py +148 -0
  75. pulumi_ise/networkaccess/get_downloadable_acl.py +148 -0
  76. pulumi_ise/networkaccess/get_policy_set.py +305 -0
  77. pulumi_ise/networkaccess/get_time_and_date_condition.py +265 -0
  78. pulumi_ise/networkaccess/outputs.py +3188 -0
  79. pulumi_ise/networkaccess/policy_set.py +942 -0
  80. pulumi_ise/networkaccess/time_and_date_condition.py +765 -0
  81. pulumi_ise/provider.py +204 -0
  82. pulumi_ise/pulumi-plugin.json +4 -0
  83. pulumi_ise/py.typed +0 -0
  84. pulumi_ise/system/__init__.py +13 -0
  85. pulumi_ise/system/_inputs.py +56 -0
  86. pulumi_ise/system/get_license_tier_state.py +105 -0
  87. pulumi_ise/system/get_repository.py +187 -0
  88. pulumi_ise/system/license_tier_state.py +184 -0
  89. pulumi_ise/system/outputs.py +78 -0
  90. pulumi_ise/system/repository.py +473 -0
  91. pulumi_ise/trustsec/__init__.py +17 -0
  92. pulumi_ise/trustsec/egress_matrix_cell.py +424 -0
  93. pulumi_ise/trustsec/get_egress_matrix_cell.py +169 -0
  94. pulumi_ise/trustsec/get_ip_to_sgt_mapping.py +200 -0
  95. pulumi_ise/trustsec/get_ip_to_sgt_mapping_group.py +161 -0
  96. pulumi_ise/trustsec/get_security_group.py +161 -0
  97. pulumi_ise/trustsec/get_security_group_acl.py +161 -0
  98. pulumi_ise/trustsec/ip_to_sgt_mapping.py +512 -0
  99. pulumi_ise/trustsec/ip_to_sgt_mapping_group.py +371 -0
  100. pulumi_ise/trustsec/security_group.py +374 -0
  101. pulumi_ise/trustsec/security_group_acl.py +374 -0
  102. pulumi_ise-0.1.0.dist-info/METADATA +63 -0
  103. pulumi_ise-0.1.0.dist-info/RECORD +105 -0
  104. pulumi_ise-0.1.0.dist-info/WHEEL +5 -0
  105. pulumi_ise-0.1.0.dist-info/top_level.txt +1 -0
pulumi_ise/provider.py ADDED
@@ -0,0 +1,204 @@
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__ = ['ProviderArgs', 'Provider']
13
+
14
+ @pulumi.input_type
15
+ class ProviderArgs:
16
+ def __init__(__self__, *,
17
+ insecure: Optional[pulumi.Input[bool]] = None,
18
+ password: Optional[pulumi.Input[str]] = None,
19
+ retries: Optional[pulumi.Input[int]] = None,
20
+ url: Optional[pulumi.Input[str]] = None,
21
+ username: Optional[pulumi.Input[str]] = None):
22
+ """
23
+ The set of arguments for constructing a Provider resource.
24
+ :param pulumi.Input[bool] insecure: Allow insecure HTTPS client. This can also be set as the ISE_INSECURE environment variable. Defaults to `true`.
25
+ :param pulumi.Input[str] password: Password for the ISE instance. This can also be set as the ISE_PASSWORD environment variable.
26
+ :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`.
27
+ :param pulumi.Input[str] url: URL of the Cisco ISE instance. This can also be set as the ISE_URL environment variable.
28
+ :param pulumi.Input[str] username: Username for the ISE instance. This can also be set as the ISE_USERNAME environment variable.
29
+ """
30
+ if insecure is not None:
31
+ pulumi.set(__self__, "insecure", insecure)
32
+ if password is not None:
33
+ pulumi.set(__self__, "password", password)
34
+ if retries is not None:
35
+ pulumi.set(__self__, "retries", retries)
36
+ if url is not None:
37
+ pulumi.set(__self__, "url", url)
38
+ if username is not None:
39
+ pulumi.set(__self__, "username", username)
40
+
41
+ @property
42
+ @pulumi.getter
43
+ def insecure(self) -> Optional[pulumi.Input[bool]]:
44
+ """
45
+ Allow insecure HTTPS client. This can also be set as the ISE_INSECURE environment variable. Defaults to `true`.
46
+ """
47
+ return pulumi.get(self, "insecure")
48
+
49
+ @insecure.setter
50
+ def insecure(self, value: Optional[pulumi.Input[bool]]):
51
+ pulumi.set(self, "insecure", value)
52
+
53
+ @property
54
+ @pulumi.getter
55
+ def password(self) -> Optional[pulumi.Input[str]]:
56
+ """
57
+ Password for the ISE instance. This can also be set as the ISE_PASSWORD environment variable.
58
+ """
59
+ return pulumi.get(self, "password")
60
+
61
+ @password.setter
62
+ def password(self, value: Optional[pulumi.Input[str]]):
63
+ pulumi.set(self, "password", value)
64
+
65
+ @property
66
+ @pulumi.getter
67
+ def retries(self) -> Optional[pulumi.Input[int]]:
68
+ """
69
+ Number of retries for REST API calls. This can also be set as the ISE_RETRIES environment variable. Defaults to `3`.
70
+ """
71
+ return pulumi.get(self, "retries")
72
+
73
+ @retries.setter
74
+ def retries(self, value: Optional[pulumi.Input[int]]):
75
+ pulumi.set(self, "retries", value)
76
+
77
+ @property
78
+ @pulumi.getter
79
+ def url(self) -> Optional[pulumi.Input[str]]:
80
+ """
81
+ URL of the Cisco ISE instance. This can also be set as the ISE_URL environment variable.
82
+ """
83
+ return pulumi.get(self, "url")
84
+
85
+ @url.setter
86
+ def url(self, value: Optional[pulumi.Input[str]]):
87
+ pulumi.set(self, "url", value)
88
+
89
+ @property
90
+ @pulumi.getter
91
+ def username(self) -> Optional[pulumi.Input[str]]:
92
+ """
93
+ Username for the ISE instance. This can also be set as the ISE_USERNAME environment variable.
94
+ """
95
+ return pulumi.get(self, "username")
96
+
97
+ @username.setter
98
+ def username(self, value: Optional[pulumi.Input[str]]):
99
+ pulumi.set(self, "username", value)
100
+
101
+
102
+ class Provider(pulumi.ProviderResource):
103
+ @overload
104
+ def __init__(__self__,
105
+ resource_name: str,
106
+ opts: Optional[pulumi.ResourceOptions] = None,
107
+ insecure: Optional[pulumi.Input[bool]] = None,
108
+ password: Optional[pulumi.Input[str]] = None,
109
+ retries: Optional[pulumi.Input[int]] = None,
110
+ url: Optional[pulumi.Input[str]] = None,
111
+ username: Optional[pulumi.Input[str]] = None,
112
+ __props__=None):
113
+ """
114
+ The provider type for the ise package. By default, resources use package-wide configuration
115
+ settings, however an explicit `Provider` instance may be created and passed during resource
116
+ construction to achieve fine-grained programmatic control over provider settings. See the
117
+ [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
118
+
119
+ :param str resource_name: The name of the resource.
120
+ :param pulumi.ResourceOptions opts: Options for the resource.
121
+ :param pulumi.Input[bool] insecure: Allow insecure HTTPS client. This can also be set as the ISE_INSECURE environment variable. Defaults to `true`.
122
+ :param pulumi.Input[str] password: Password for the ISE instance. This can also be set as the ISE_PASSWORD environment variable.
123
+ :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`.
124
+ :param pulumi.Input[str] url: URL of the Cisco ISE instance. This can also be set as the ISE_URL environment variable.
125
+ :param pulumi.Input[str] username: Username for the ISE instance. This can also be set as the ISE_USERNAME environment variable.
126
+ """
127
+ ...
128
+ @overload
129
+ def __init__(__self__,
130
+ resource_name: str,
131
+ args: Optional[ProviderArgs] = None,
132
+ opts: Optional[pulumi.ResourceOptions] = None):
133
+ """
134
+ The provider type for the ise package. By default, resources use package-wide configuration
135
+ settings, however an explicit `Provider` instance may be created and passed during resource
136
+ construction to achieve fine-grained programmatic control over provider settings. See the
137
+ [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
138
+
139
+ :param str resource_name: The name of the resource.
140
+ :param ProviderArgs args: The arguments to use to populate this resource's properties.
141
+ :param pulumi.ResourceOptions opts: Options for the resource.
142
+ """
143
+ ...
144
+ def __init__(__self__, resource_name: str, *args, **kwargs):
145
+ resource_args, opts = _utilities.get_resource_args_opts(ProviderArgs, pulumi.ResourceOptions, *args, **kwargs)
146
+ if resource_args is not None:
147
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
148
+ else:
149
+ __self__._internal_init(resource_name, *args, **kwargs)
150
+
151
+ def _internal_init(__self__,
152
+ resource_name: str,
153
+ opts: Optional[pulumi.ResourceOptions] = None,
154
+ insecure: Optional[pulumi.Input[bool]] = None,
155
+ password: Optional[pulumi.Input[str]] = None,
156
+ retries: Optional[pulumi.Input[int]] = None,
157
+ url: Optional[pulumi.Input[str]] = None,
158
+ username: Optional[pulumi.Input[str]] = None,
159
+ __props__=None):
160
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
161
+ if not isinstance(opts, pulumi.ResourceOptions):
162
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
163
+ if opts.id is None:
164
+ if __props__ is not None:
165
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
166
+ __props__ = ProviderArgs.__new__(ProviderArgs)
167
+
168
+ __props__.__dict__["insecure"] = pulumi.Output.from_input(insecure).apply(pulumi.runtime.to_json) if insecure is not None else None
169
+ __props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
170
+ __props__.__dict__["retries"] = pulumi.Output.from_input(retries).apply(pulumi.runtime.to_json) if retries is not None else None
171
+ __props__.__dict__["url"] = url
172
+ __props__.__dict__["username"] = username
173
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
174
+ opts = pulumi.ResourceOptions.merge(opts, secret_opts)
175
+ super(Provider, __self__).__init__(
176
+ 'ise',
177
+ resource_name,
178
+ __props__,
179
+ opts)
180
+
181
+ @property
182
+ @pulumi.getter
183
+ def password(self) -> pulumi.Output[Optional[str]]:
184
+ """
185
+ Password for the ISE instance. This can also be set as the ISE_PASSWORD environment variable.
186
+ """
187
+ return pulumi.get(self, "password")
188
+
189
+ @property
190
+ @pulumi.getter
191
+ def url(self) -> pulumi.Output[Optional[str]]:
192
+ """
193
+ URL of the Cisco ISE instance. This can also be set as the ISE_URL environment variable.
194
+ """
195
+ return pulumi.get(self, "url")
196
+
197
+ @property
198
+ @pulumi.getter
199
+ def username(self) -> pulumi.Output[Optional[str]]:
200
+ """
201
+ Username for the ISE instance. This can also be set as the ISE_USERNAME environment variable.
202
+ """
203
+ return pulumi.get(self, "username")
204
+
@@ -0,0 +1,4 @@
1
+ {
2
+ "resource": true,
3
+ "name": "ise"
4
+ }
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,56 @@
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
+ 'LicenseTierStateLicenseArgs',
14
+ ]
15
+
16
+ @pulumi.input_type
17
+ class LicenseTierStateLicenseArgs:
18
+ def __init__(__self__, *,
19
+ name: pulumi.Input[str],
20
+ status: pulumi.Input[str]):
21
+ """
22
+ :param pulumi.Input[str] name: License name
23
+ - Choices: `ESSENTIAL`, `ADVANTAGE`, `PREMIER`, `DEVICEADMIN`, `VM`
24
+ :param pulumi.Input[str] status: License status
25
+ - Choices: `ENABLED`, `DISABLED`
26
+ """
27
+ pulumi.set(__self__, "name", name)
28
+ pulumi.set(__self__, "status", status)
29
+
30
+ @property
31
+ @pulumi.getter
32
+ def name(self) -> pulumi.Input[str]:
33
+ """
34
+ License name
35
+ - Choices: `ESSENTIAL`, `ADVANTAGE`, `PREMIER`, `DEVICEADMIN`, `VM`
36
+ """
37
+ return pulumi.get(self, "name")
38
+
39
+ @name.setter
40
+ def name(self, value: pulumi.Input[str]):
41
+ pulumi.set(self, "name", value)
42
+
43
+ @property
44
+ @pulumi.getter
45
+ def status(self) -> pulumi.Input[str]:
46
+ """
47
+ License status
48
+ - Choices: `ENABLED`, `DISABLED`
49
+ """
50
+ return pulumi.get(self, "status")
51
+
52
+ @status.setter
53
+ def status(self, value: pulumi.Input[str]):
54
+ pulumi.set(self, "status", value)
55
+
56
+
@@ -0,0 +1,105 @@
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
+ from . import outputs
12
+
13
+ __all__ = [
14
+ 'GetLicenseTierStateResult',
15
+ 'AwaitableGetLicenseTierStateResult',
16
+ 'get_license_tier_state',
17
+ 'get_license_tier_state_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetLicenseTierStateResult:
22
+ """
23
+ A collection of values returned by getLicenseTierState.
24
+ """
25
+ def __init__(__self__, id=None, licenses=None):
26
+ if id and not isinstance(id, str):
27
+ raise TypeError("Expected argument 'id' to be a str")
28
+ pulumi.set(__self__, "id", id)
29
+ if licenses and not isinstance(licenses, list):
30
+ raise TypeError("Expected argument 'licenses' to be a list")
31
+ pulumi.set(__self__, "licenses", licenses)
32
+
33
+ @property
34
+ @pulumi.getter
35
+ def id(self) -> str:
36
+ """
37
+ The id of the object
38
+ """
39
+ return pulumi.get(self, "id")
40
+
41
+ @property
42
+ @pulumi.getter
43
+ def licenses(self) -> Sequence['outputs.GetLicenseTierStateLicenseResult']:
44
+ """
45
+ List of licenses
46
+ """
47
+ return pulumi.get(self, "licenses")
48
+
49
+
50
+ class AwaitableGetLicenseTierStateResult(GetLicenseTierStateResult):
51
+ # pylint: disable=using-constant-test
52
+ def __await__(self):
53
+ if False:
54
+ yield self
55
+ return GetLicenseTierStateResult(
56
+ id=self.id,
57
+ licenses=self.licenses)
58
+
59
+
60
+ def get_license_tier_state(id: Optional[str] = None,
61
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLicenseTierStateResult:
62
+ """
63
+ This data source can read the License Tier State.
64
+
65
+ ## Example Usage
66
+
67
+ ```python
68
+ import pulumi
69
+ import pulumi_ise as ise
70
+
71
+ example = ise.system.get_license_tier_state(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
72
+ ```
73
+
74
+
75
+ :param str id: The id of the object
76
+ """
77
+ __args__ = dict()
78
+ __args__['id'] = id
79
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
80
+ __ret__ = pulumi.runtime.invoke('ise:system/getLicenseTierState:getLicenseTierState', __args__, opts=opts, typ=GetLicenseTierStateResult).value
81
+
82
+ return AwaitableGetLicenseTierStateResult(
83
+ id=pulumi.get(__ret__, 'id'),
84
+ licenses=pulumi.get(__ret__, 'licenses'))
85
+
86
+
87
+ @_utilities.lift_output_func(get_license_tier_state)
88
+ def get_license_tier_state_output(id: Optional[pulumi.Input[str]] = None,
89
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLicenseTierStateResult]:
90
+ """
91
+ This data source can read the License Tier State.
92
+
93
+ ## Example Usage
94
+
95
+ ```python
96
+ import pulumi
97
+ import pulumi_ise as ise
98
+
99
+ example = ise.system.get_license_tier_state(id="76d24097-41c4-4558-a4d0-a8c07ac08470")
100
+ ```
101
+
102
+
103
+ :param str id: The id of the object
104
+ """
105
+ ...
@@ -0,0 +1,187 @@
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
+ 'GetRepositoryResult',
14
+ 'AwaitableGetRepositoryResult',
15
+ 'get_repository',
16
+ 'get_repository_output',
17
+ ]
18
+
19
+ @pulumi.output_type
20
+ class GetRepositoryResult:
21
+ """
22
+ A collection of values returned by getRepository.
23
+ """
24
+ def __init__(__self__, enable_pki=None, id=None, name=None, password=None, path=None, protocol=None, server_name=None, user_name=None):
25
+ if enable_pki and not isinstance(enable_pki, bool):
26
+ raise TypeError("Expected argument 'enable_pki' to be a bool")
27
+ pulumi.set(__self__, "enable_pki", enable_pki)
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 name and not isinstance(name, str):
32
+ raise TypeError("Expected argument 'name' to be a str")
33
+ pulumi.set(__self__, "name", name)
34
+ if password and not isinstance(password, str):
35
+ raise TypeError("Expected argument 'password' to be a str")
36
+ pulumi.set(__self__, "password", password)
37
+ if path and not isinstance(path, str):
38
+ raise TypeError("Expected argument 'path' to be a str")
39
+ pulumi.set(__self__, "path", path)
40
+ if protocol and not isinstance(protocol, str):
41
+ raise TypeError("Expected argument 'protocol' to be a str")
42
+ pulumi.set(__self__, "protocol", protocol)
43
+ if server_name and not isinstance(server_name, str):
44
+ raise TypeError("Expected argument 'server_name' to be a str")
45
+ pulumi.set(__self__, "server_name", server_name)
46
+ if user_name and not isinstance(user_name, str):
47
+ raise TypeError("Expected argument 'user_name' to be a str")
48
+ pulumi.set(__self__, "user_name", user_name)
49
+
50
+ @property
51
+ @pulumi.getter(name="enablePki")
52
+ def enable_pki(self) -> bool:
53
+ """
54
+ Enable PKI
55
+ """
56
+ return pulumi.get(self, "enable_pki")
57
+
58
+ @property
59
+ @pulumi.getter
60
+ def id(self) -> str:
61
+ """
62
+ The id of the object
63
+ """
64
+ return pulumi.get(self, "id")
65
+
66
+ @property
67
+ @pulumi.getter
68
+ def name(self) -> str:
69
+ """
70
+ Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
71
+ """
72
+ return pulumi.get(self, "name")
73
+
74
+ @property
75
+ @pulumi.getter
76
+ def password(self) -> str:
77
+ """
78
+ Password can contain alphanumeric and/or special characters.
79
+ """
80
+ return pulumi.get(self, "password")
81
+
82
+ @property
83
+ @pulumi.getter
84
+ def path(self) -> str:
85
+ """
86
+ Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
87
+ """
88
+ return pulumi.get(self, "path")
89
+
90
+ @property
91
+ @pulumi.getter
92
+ def protocol(self) -> str:
93
+ """
94
+ Protocol
95
+ """
96
+ return pulumi.get(self, "protocol")
97
+
98
+ @property
99
+ @pulumi.getter(name="serverName")
100
+ def server_name(self) -> str:
101
+ """
102
+ Name of the server
103
+ """
104
+ return pulumi.get(self, "server_name")
105
+
106
+ @property
107
+ @pulumi.getter(name="userName")
108
+ def user_name(self) -> str:
109
+ """
110
+ User name
111
+ """
112
+ return pulumi.get(self, "user_name")
113
+
114
+
115
+ class AwaitableGetRepositoryResult(GetRepositoryResult):
116
+ # pylint: disable=using-constant-test
117
+ def __await__(self):
118
+ if False:
119
+ yield self
120
+ return GetRepositoryResult(
121
+ enable_pki=self.enable_pki,
122
+ id=self.id,
123
+ name=self.name,
124
+ password=self.password,
125
+ path=self.path,
126
+ protocol=self.protocol,
127
+ server_name=self.server_name,
128
+ user_name=self.user_name)
129
+
130
+
131
+ def get_repository(id: Optional[str] = None,
132
+ name: Optional[str] = None,
133
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRepositoryResult:
134
+ """
135
+ This data source can read the Repository.
136
+
137
+ ## Example Usage
138
+
139
+ ```python
140
+ import pulumi
141
+ import pulumi_ise as ise
142
+
143
+ example = ise.system.get_repository(id="repo1")
144
+ ```
145
+
146
+
147
+ :param str id: The id of the object
148
+ :param str name: Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
149
+ """
150
+ __args__ = dict()
151
+ __args__['id'] = id
152
+ __args__['name'] = name
153
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
154
+ __ret__ = pulumi.runtime.invoke('ise:system/getRepository:getRepository', __args__, opts=opts, typ=GetRepositoryResult).value
155
+
156
+ return AwaitableGetRepositoryResult(
157
+ enable_pki=pulumi.get(__ret__, 'enable_pki'),
158
+ id=pulumi.get(__ret__, 'id'),
159
+ name=pulumi.get(__ret__, 'name'),
160
+ password=pulumi.get(__ret__, 'password'),
161
+ path=pulumi.get(__ret__, 'path'),
162
+ protocol=pulumi.get(__ret__, 'protocol'),
163
+ server_name=pulumi.get(__ret__, 'server_name'),
164
+ user_name=pulumi.get(__ret__, 'user_name'))
165
+
166
+
167
+ @_utilities.lift_output_func(get_repository)
168
+ def get_repository_output(id: Optional[pulumi.Input[Optional[str]]] = None,
169
+ name: Optional[pulumi.Input[Optional[str]]] = None,
170
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRepositoryResult]:
171
+ """
172
+ This data source can read the Repository.
173
+
174
+ ## Example Usage
175
+
176
+ ```python
177
+ import pulumi
178
+ import pulumi_ise as ise
179
+
180
+ example = ise.system.get_repository(id="repo1")
181
+ ```
182
+
183
+
184
+ :param str id: The id of the object
185
+ :param str name: Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
186
+ """
187
+ ...