pulumi-oci 2.5.0__py3-none-any.whl → 2.5.0a1721976101__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 (76) hide show
  1. pulumi_oci/__init__.py +32 -59
  2. pulumi_oci/bigdataservice/bds_instance.py +0 -47
  3. pulumi_oci/bigdataservice/get_bds_instance.py +1 -11
  4. pulumi_oci/bigdataservice/outputs.py +0 -7
  5. pulumi_oci/core/__init__.py +0 -3
  6. pulumi_oci/core/_inputs.py +0 -40
  7. pulumi_oci/core/outputs.py +0 -314
  8. pulumi_oci/database/autonomous_database.py +0 -28
  9. pulumi_oci/database/get_autonomous_database.py +1 -14
  10. pulumi_oci/database/outputs.py +0 -22
  11. pulumi_oci/databasemigration/_inputs.py +0 -184
  12. pulumi_oci/databasemigration/job.py +24 -99
  13. pulumi_oci/databasemigration/outputs.py +0 -171
  14. pulumi_oci/datasafe/__init__.py +4 -2
  15. pulumi_oci/datasafe/_inputs.py +0 -55
  16. pulumi_oci/datasafe/alert.py +0 -56
  17. pulumi_oci/datasafe/get_alert.py +1 -27
  18. pulumi_oci/datasafe/get_alert_policy.py +2 -26
  19. pulumi_oci/datasafe/get_alert_policy_rule.py +18 -94
  20. pulumi_oci/datasafe/get_report.py +1 -14
  21. pulumi_oci/datasafe/get_report_definition.py +1 -14
  22. pulumi_oci/datasafe/get_target_alert_policy_association.py +2 -15
  23. pulumi_oci/datasafe/masking_policy_health_report_management.py +453 -0
  24. pulumi_oci/datasafe/masking_report_management.py +693 -0
  25. pulumi_oci/datasafe/outputs.py +27 -231
  26. pulumi_oci/datasafe/report.py +0 -28
  27. pulumi_oci/datasafe/report_definition.py +0 -28
  28. pulumi_oci/datasafe/set_security_assessment_baseline_management.py +304 -0
  29. pulumi_oci/datasafe/set_user_assessment_baseline_management.py +304 -0
  30. pulumi_oci/datasafe/target_alert_policy_association.py +0 -28
  31. pulumi_oci/generativeai/get_dedicated_ai_cluster.py +0 -3
  32. pulumi_oci/generativeai/get_dedicated_ai_clusters.py +0 -3
  33. pulumi_oci/generativeai/get_endpoint.py +9 -6
  34. pulumi_oci/generativeai/get_endpoints.py +3 -3
  35. pulumi_oci/generativeai/get_model.py +6 -36
  36. pulumi_oci/generativeai/get_models.py +0 -6
  37. pulumi_oci/generativeai/outputs.py +16 -228
  38. pulumi_oci/identity/__init__.py +0 -3
  39. pulumi_oci/identity/_inputs.py +0 -1029
  40. pulumi_oci/identity/outputs.py +27254 -29420
  41. pulumi_oci/networkfirewall/__init__.py +0 -3
  42. pulumi_oci/networkfirewall/_inputs.py +0 -150
  43. pulumi_oci/networkfirewall/outputs.py +0 -457
  44. pulumi_oci/pulumi-plugin.json +1 -1
  45. pulumi_oci/redis/get_redis_cluster.py +1 -1
  46. pulumi_oci/redis/outputs.py +2 -2
  47. pulumi_oci/redis/redis_cluster.py +7 -7
  48. pulumi_oci/stackmonitoring/_inputs.py +2 -2
  49. pulumi_oci/stackmonitoring/baselineable_metric.py +28 -76
  50. pulumi_oci/stackmonitoring/get_baselineable_metric.py +1 -14
  51. pulumi_oci/stackmonitoring/get_baselineable_metrics.py +5 -45
  52. pulumi_oci/stackmonitoring/outputs.py +8 -19
  53. {pulumi_oci-2.5.0.dist-info → pulumi_oci-2.5.0a1721976101.dist-info}/METADATA +1 -1
  54. {pulumi_oci-2.5.0.dist-info → pulumi_oci-2.5.0a1721976101.dist-info}/RECORD +56 -72
  55. {pulumi_oci-2.5.0.dist-info → pulumi_oci-2.5.0a1721976101.dist-info}/WHEEL +1 -1
  56. pulumi_oci/core/get_instance_maintenance_event.py +0 -414
  57. pulumi_oci/core/get_instance_maintenance_events.py +0 -250
  58. pulumi_oci/core/instance_maintenance_event.py +0 -1022
  59. pulumi_oci/datasafe/alert_policy.py +0 -745
  60. pulumi_oci/datasafe/alert_policy_rule.py +0 -446
  61. pulumi_oci/fleetsoftwareupdate/__init__.py +0 -15
  62. pulumi_oci/fleetsoftwareupdate/_inputs.py +0 -553
  63. pulumi_oci/fleetsoftwareupdate/fsu_collection.py +0 -514
  64. pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +0 -812
  65. pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +0 -225
  66. pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +0 -141
  67. pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +0 -325
  68. pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +0 -167
  69. pulumi_oci/fleetsoftwareupdate/outputs.py +0 -1481
  70. pulumi_oci/identity/domains_social_identity_provider.py +0 -4628
  71. pulumi_oci/identity/get_domains_social_identity_provider.py +0 -664
  72. pulumi_oci/identity/get_domains_social_identity_providers.py +0 -276
  73. pulumi_oci/networkfirewall/get_network_firewall_policy_tunnel_inspection_rule.py +0 -227
  74. pulumi_oci/networkfirewall/get_network_firewall_policy_tunnel_inspection_rules.py +0 -167
  75. pulumi_oci/networkfirewall/network_firewall_policy_tunnel_inspection_rule.py +0 -605
  76. {pulumi_oci-2.5.0.dist-info → pulumi_oci-2.5.0a1721976101.dist-info}/top_level.txt +0 -0
@@ -1,276 +0,0 @@
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
- 'GetDomainsSocialIdentityProvidersResult',
15
- 'AwaitableGetDomainsSocialIdentityProvidersResult',
16
- 'get_domains_social_identity_providers',
17
- 'get_domains_social_identity_providers_output',
18
- ]
19
-
20
- @pulumi.output_type
21
- class GetDomainsSocialIdentityProvidersResult:
22
- """
23
- A collection of values returned by getDomainsSocialIdentityProviders.
24
- """
25
- def __init__(__self__, authorization=None, compartment_id=None, id=None, idcs_endpoint=None, items_per_page=None, resource_type_schema_version=None, schemas=None, social_identity_provider_count=None, social_identity_provider_filter=None, social_identity_providers=None, sort_by=None, sort_order=None, start_index=None, total_results=None):
26
- if authorization and not isinstance(authorization, str):
27
- raise TypeError("Expected argument 'authorization' to be a str")
28
- pulumi.set(__self__, "authorization", authorization)
29
- if compartment_id and not isinstance(compartment_id, str):
30
- raise TypeError("Expected argument 'compartment_id' to be a str")
31
- pulumi.set(__self__, "compartment_id", compartment_id)
32
- if id and not isinstance(id, str):
33
- raise TypeError("Expected argument 'id' to be a str")
34
- pulumi.set(__self__, "id", id)
35
- if idcs_endpoint and not isinstance(idcs_endpoint, str):
36
- raise TypeError("Expected argument 'idcs_endpoint' to be a str")
37
- pulumi.set(__self__, "idcs_endpoint", idcs_endpoint)
38
- if items_per_page and not isinstance(items_per_page, int):
39
- raise TypeError("Expected argument 'items_per_page' to be a int")
40
- pulumi.set(__self__, "items_per_page", items_per_page)
41
- if resource_type_schema_version and not isinstance(resource_type_schema_version, str):
42
- raise TypeError("Expected argument 'resource_type_schema_version' to be a str")
43
- pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version)
44
- if schemas and not isinstance(schemas, list):
45
- raise TypeError("Expected argument 'schemas' to be a list")
46
- pulumi.set(__self__, "schemas", schemas)
47
- if social_identity_provider_count and not isinstance(social_identity_provider_count, int):
48
- raise TypeError("Expected argument 'social_identity_provider_count' to be a int")
49
- pulumi.set(__self__, "social_identity_provider_count", social_identity_provider_count)
50
- if social_identity_provider_filter and not isinstance(social_identity_provider_filter, str):
51
- raise TypeError("Expected argument 'social_identity_provider_filter' to be a str")
52
- pulumi.set(__self__, "social_identity_provider_filter", social_identity_provider_filter)
53
- if social_identity_providers and not isinstance(social_identity_providers, list):
54
- raise TypeError("Expected argument 'social_identity_providers' to be a list")
55
- pulumi.set(__self__, "social_identity_providers", social_identity_providers)
56
- if sort_by and not isinstance(sort_by, str):
57
- raise TypeError("Expected argument 'sort_by' to be a str")
58
- pulumi.set(__self__, "sort_by", sort_by)
59
- if sort_order and not isinstance(sort_order, str):
60
- raise TypeError("Expected argument 'sort_order' to be a str")
61
- pulumi.set(__self__, "sort_order", sort_order)
62
- if start_index and not isinstance(start_index, int):
63
- raise TypeError("Expected argument 'start_index' to be a int")
64
- pulumi.set(__self__, "start_index", start_index)
65
- if total_results and not isinstance(total_results, int):
66
- raise TypeError("Expected argument 'total_results' to be a int")
67
- pulumi.set(__self__, "total_results", total_results)
68
-
69
- @property
70
- @pulumi.getter
71
- def authorization(self) -> Optional[str]:
72
- return pulumi.get(self, "authorization")
73
-
74
- @property
75
- @pulumi.getter(name="compartmentId")
76
- def compartment_id(self) -> Optional[str]:
77
- return pulumi.get(self, "compartment_id")
78
-
79
- @property
80
- @pulumi.getter
81
- def id(self) -> str:
82
- """
83
- The provider-assigned unique ID for this managed resource.
84
- """
85
- return pulumi.get(self, "id")
86
-
87
- @property
88
- @pulumi.getter(name="idcsEndpoint")
89
- def idcs_endpoint(self) -> str:
90
- return pulumi.get(self, "idcs_endpoint")
91
-
92
- @property
93
- @pulumi.getter(name="itemsPerPage")
94
- def items_per_page(self) -> int:
95
- return pulumi.get(self, "items_per_page")
96
-
97
- @property
98
- @pulumi.getter(name="resourceTypeSchemaVersion")
99
- def resource_type_schema_version(self) -> Optional[str]:
100
- return pulumi.get(self, "resource_type_schema_version")
101
-
102
- @property
103
- @pulumi.getter
104
- def schemas(self) -> Sequence[str]:
105
- """
106
- REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.
107
- """
108
- return pulumi.get(self, "schemas")
109
-
110
- @property
111
- @pulumi.getter(name="socialIdentityProviderCount")
112
- def social_identity_provider_count(self) -> Optional[int]:
113
- return pulumi.get(self, "social_identity_provider_count")
114
-
115
- @property
116
- @pulumi.getter(name="socialIdentityProviderFilter")
117
- def social_identity_provider_filter(self) -> Optional[str]:
118
- return pulumi.get(self, "social_identity_provider_filter")
119
-
120
- @property
121
- @pulumi.getter(name="socialIdentityProviders")
122
- def social_identity_providers(self) -> Sequence['outputs.GetDomainsSocialIdentityProvidersSocialIdentityProviderResult']:
123
- """
124
- The list of social_identity_providers.
125
- """
126
- return pulumi.get(self, "social_identity_providers")
127
-
128
- @property
129
- @pulumi.getter(name="sortBy")
130
- def sort_by(self) -> Optional[str]:
131
- return pulumi.get(self, "sort_by")
132
-
133
- @property
134
- @pulumi.getter(name="sortOrder")
135
- def sort_order(self) -> Optional[str]:
136
- return pulumi.get(self, "sort_order")
137
-
138
- @property
139
- @pulumi.getter(name="startIndex")
140
- def start_index(self) -> Optional[int]:
141
- return pulumi.get(self, "start_index")
142
-
143
- @property
144
- @pulumi.getter(name="totalResults")
145
- def total_results(self) -> int:
146
- return pulumi.get(self, "total_results")
147
-
148
-
149
- class AwaitableGetDomainsSocialIdentityProvidersResult(GetDomainsSocialIdentityProvidersResult):
150
- # pylint: disable=using-constant-test
151
- def __await__(self):
152
- if False:
153
- yield self
154
- return GetDomainsSocialIdentityProvidersResult(
155
- authorization=self.authorization,
156
- compartment_id=self.compartment_id,
157
- id=self.id,
158
- idcs_endpoint=self.idcs_endpoint,
159
- items_per_page=self.items_per_page,
160
- resource_type_schema_version=self.resource_type_schema_version,
161
- schemas=self.schemas,
162
- social_identity_provider_count=self.social_identity_provider_count,
163
- social_identity_provider_filter=self.social_identity_provider_filter,
164
- social_identity_providers=self.social_identity_providers,
165
- sort_by=self.sort_by,
166
- sort_order=self.sort_order,
167
- start_index=self.start_index,
168
- total_results=self.total_results)
169
-
170
-
171
- def get_domains_social_identity_providers(authorization: Optional[str] = None,
172
- compartment_id: Optional[str] = None,
173
- idcs_endpoint: Optional[str] = None,
174
- resource_type_schema_version: Optional[str] = None,
175
- social_identity_provider_count: Optional[int] = None,
176
- social_identity_provider_filter: Optional[str] = None,
177
- sort_by: Optional[str] = None,
178
- sort_order: Optional[str] = None,
179
- start_index: Optional[int] = None,
180
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDomainsSocialIdentityProvidersResult:
181
- """
182
- This data source provides the list of Social Identity Providers in Oracle Cloud Infrastructure Identity Domains service.
183
-
184
- Search Social Identity Providers
185
-
186
- ## Example Usage
187
-
188
- ```python
189
- import pulumi
190
- import pulumi_oci as oci
191
-
192
- test_social_identity_providers = oci.Identity.get_domains_social_identity_providers(idcs_endpoint=test_domain["url"],
193
- social_identity_provider_count=social_identity_provider_social_identity_provider_count,
194
- social_identity_provider_filter=social_identity_provider_social_identity_provider_filter,
195
- authorization=social_identity_provider_authorization,
196
- resource_type_schema_version=social_identity_provider_resource_type_schema_version,
197
- start_index=social_identity_provider_start_index)
198
- ```
199
-
200
-
201
- :param str authorization: The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.
202
- :param str idcs_endpoint: The basic endpoint for the identity domain
203
- :param str resource_type_schema_version: An endpoint-specific schema version number to use in the Request. Allowed version values are Earliest Version or Latest Version as specified in each REST API endpoint description, or any sequential number inbetween. All schema attributes/body parameters are a part of version 1. After version 1, any attributes added or deprecated will be tagged with the version that they were added to or deprecated in. If no version is provided, the latest schema version is returned.
204
- :param int social_identity_provider_count: OPTIONAL. An integer that indicates the desired maximum number of query results per page. 1000 is the largest value that you can use. See the Pagination section of the System for Cross-Domain Identity Management Protocol specification for more information. (Section 3.4.2.4).
205
- :param str social_identity_provider_filter: OPTIONAL. The filter string that is used to request a subset of resources. The filter string MUST be a valid filter expression. See the Filtering section of the SCIM specification for more information (Section 3.4.2.2). The string should contain at least one condition that each item must match in order to be returned in the search results. Each condition specifies an attribute, an operator, and a value. Conditions within a filter can be connected by logical operators (such as AND and OR). Sets of conditions can be grouped together using parentheses.
206
- :param int start_index: OPTIONAL. An integer that indicates the 1-based index of the first query result. See the Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The number of results pages to return. The first page is 1. Specify 2 to access the second page of results, and so on.
207
- """
208
- __args__ = dict()
209
- __args__['authorization'] = authorization
210
- __args__['compartmentId'] = compartment_id
211
- __args__['idcsEndpoint'] = idcs_endpoint
212
- __args__['resourceTypeSchemaVersion'] = resource_type_schema_version
213
- __args__['socialIdentityProviderCount'] = social_identity_provider_count
214
- __args__['socialIdentityProviderFilter'] = social_identity_provider_filter
215
- __args__['sortBy'] = sort_by
216
- __args__['sortOrder'] = sort_order
217
- __args__['startIndex'] = start_index
218
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
219
- __ret__ = pulumi.runtime.invoke('oci:Identity/getDomainsSocialIdentityProviders:getDomainsSocialIdentityProviders', __args__, opts=opts, typ=GetDomainsSocialIdentityProvidersResult).value
220
-
221
- return AwaitableGetDomainsSocialIdentityProvidersResult(
222
- authorization=pulumi.get(__ret__, 'authorization'),
223
- compartment_id=pulumi.get(__ret__, 'compartment_id'),
224
- id=pulumi.get(__ret__, 'id'),
225
- idcs_endpoint=pulumi.get(__ret__, 'idcs_endpoint'),
226
- items_per_page=pulumi.get(__ret__, 'items_per_page'),
227
- resource_type_schema_version=pulumi.get(__ret__, 'resource_type_schema_version'),
228
- schemas=pulumi.get(__ret__, 'schemas'),
229
- social_identity_provider_count=pulumi.get(__ret__, 'social_identity_provider_count'),
230
- social_identity_provider_filter=pulumi.get(__ret__, 'social_identity_provider_filter'),
231
- social_identity_providers=pulumi.get(__ret__, 'social_identity_providers'),
232
- sort_by=pulumi.get(__ret__, 'sort_by'),
233
- sort_order=pulumi.get(__ret__, 'sort_order'),
234
- start_index=pulumi.get(__ret__, 'start_index'),
235
- total_results=pulumi.get(__ret__, 'total_results'))
236
-
237
-
238
- @_utilities.lift_output_func(get_domains_social_identity_providers)
239
- def get_domains_social_identity_providers_output(authorization: Optional[pulumi.Input[Optional[str]]] = None,
240
- compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
241
- idcs_endpoint: Optional[pulumi.Input[str]] = None,
242
- resource_type_schema_version: Optional[pulumi.Input[Optional[str]]] = None,
243
- social_identity_provider_count: Optional[pulumi.Input[Optional[int]]] = None,
244
- social_identity_provider_filter: Optional[pulumi.Input[Optional[str]]] = None,
245
- sort_by: Optional[pulumi.Input[Optional[str]]] = None,
246
- sort_order: Optional[pulumi.Input[Optional[str]]] = None,
247
- start_index: Optional[pulumi.Input[Optional[int]]] = None,
248
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainsSocialIdentityProvidersResult]:
249
- """
250
- This data source provides the list of Social Identity Providers in Oracle Cloud Infrastructure Identity Domains service.
251
-
252
- Search Social Identity Providers
253
-
254
- ## Example Usage
255
-
256
- ```python
257
- import pulumi
258
- import pulumi_oci as oci
259
-
260
- test_social_identity_providers = oci.Identity.get_domains_social_identity_providers(idcs_endpoint=test_domain["url"],
261
- social_identity_provider_count=social_identity_provider_social_identity_provider_count,
262
- social_identity_provider_filter=social_identity_provider_social_identity_provider_filter,
263
- authorization=social_identity_provider_authorization,
264
- resource_type_schema_version=social_identity_provider_resource_type_schema_version,
265
- start_index=social_identity_provider_start_index)
266
- ```
267
-
268
-
269
- :param str authorization: The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.
270
- :param str idcs_endpoint: The basic endpoint for the identity domain
271
- :param str resource_type_schema_version: An endpoint-specific schema version number to use in the Request. Allowed version values are Earliest Version or Latest Version as specified in each REST API endpoint description, or any sequential number inbetween. All schema attributes/body parameters are a part of version 1. After version 1, any attributes added or deprecated will be tagged with the version that they were added to or deprecated in. If no version is provided, the latest schema version is returned.
272
- :param int social_identity_provider_count: OPTIONAL. An integer that indicates the desired maximum number of query results per page. 1000 is the largest value that you can use. See the Pagination section of the System for Cross-Domain Identity Management Protocol specification for more information. (Section 3.4.2.4).
273
- :param str social_identity_provider_filter: OPTIONAL. The filter string that is used to request a subset of resources. The filter string MUST be a valid filter expression. See the Filtering section of the SCIM specification for more information (Section 3.4.2.2). The string should contain at least one condition that each item must match in order to be returned in the search results. Each condition specifies an attribute, an operator, and a value. Conditions within a filter can be connected by logical operators (such as AND and OR). Sets of conditions can be grouped together using parentheses.
274
- :param int start_index: OPTIONAL. An integer that indicates the 1-based index of the first query result. See the Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The number of results pages to return. The first page is 1. Specify 2 to access the second page of results, and so on.
275
- """
276
- ...
@@ -1,227 +0,0 @@
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
- 'GetNetworkFirewallPolicyTunnelInspectionRuleResult',
15
- 'AwaitableGetNetworkFirewallPolicyTunnelInspectionRuleResult',
16
- 'get_network_firewall_policy_tunnel_inspection_rule',
17
- 'get_network_firewall_policy_tunnel_inspection_rule_output',
18
- ]
19
-
20
- @pulumi.output_type
21
- class GetNetworkFirewallPolicyTunnelInspectionRuleResult:
22
- """
23
- A collection of values returned by getNetworkFirewallPolicyTunnelInspectionRule.
24
- """
25
- def __init__(__self__, action=None, conditions=None, id=None, name=None, network_firewall_policy_id=None, parent_resource_id=None, positions=None, priority_order=None, profiles=None, protocol=None, tunnel_inspection_rule_name=None):
26
- if action and not isinstance(action, str):
27
- raise TypeError("Expected argument 'action' to be a str")
28
- pulumi.set(__self__, "action", action)
29
- if conditions and not isinstance(conditions, list):
30
- raise TypeError("Expected argument 'conditions' to be a list")
31
- pulumi.set(__self__, "conditions", conditions)
32
- if id and not isinstance(id, str):
33
- raise TypeError("Expected argument 'id' to be a str")
34
- pulumi.set(__self__, "id", id)
35
- if name and not isinstance(name, str):
36
- raise TypeError("Expected argument 'name' to be a str")
37
- pulumi.set(__self__, "name", name)
38
- if network_firewall_policy_id and not isinstance(network_firewall_policy_id, str):
39
- raise TypeError("Expected argument 'network_firewall_policy_id' to be a str")
40
- pulumi.set(__self__, "network_firewall_policy_id", network_firewall_policy_id)
41
- if parent_resource_id and not isinstance(parent_resource_id, str):
42
- raise TypeError("Expected argument 'parent_resource_id' to be a str")
43
- pulumi.set(__self__, "parent_resource_id", parent_resource_id)
44
- if positions and not isinstance(positions, list):
45
- raise TypeError("Expected argument 'positions' to be a list")
46
- pulumi.set(__self__, "positions", positions)
47
- if priority_order and not isinstance(priority_order, str):
48
- raise TypeError("Expected argument 'priority_order' to be a str")
49
- pulumi.set(__self__, "priority_order", priority_order)
50
- if profiles and not isinstance(profiles, list):
51
- raise TypeError("Expected argument 'profiles' to be a list")
52
- pulumi.set(__self__, "profiles", profiles)
53
- if protocol and not isinstance(protocol, str):
54
- raise TypeError("Expected argument 'protocol' to be a str")
55
- pulumi.set(__self__, "protocol", protocol)
56
- if tunnel_inspection_rule_name and not isinstance(tunnel_inspection_rule_name, str):
57
- raise TypeError("Expected argument 'tunnel_inspection_rule_name' to be a str")
58
- pulumi.set(__self__, "tunnel_inspection_rule_name", tunnel_inspection_rule_name)
59
-
60
- @property
61
- @pulumi.getter
62
- def action(self) -> str:
63
- """
64
- Types of Inspect Action on the Traffic flow.
65
- * INSPECT - Inspect the traffic.
66
- * INSPECT_AND_CAPTURE_LOG - Inspect and capture logs for the traffic.
67
- """
68
- return pulumi.get(self, "action")
69
-
70
- @property
71
- @pulumi.getter
72
- def conditions(self) -> Sequence['outputs.GetNetworkFirewallPolicyTunnelInspectionRuleConditionResult']:
73
- """
74
- Criteria to evaluate against incoming network traffic. A match occurs when at least one item in the array associated with each specified property corresponds with the relevant aspect of the traffic.
75
- """
76
- return pulumi.get(self, "conditions")
77
-
78
- @property
79
- @pulumi.getter
80
- def id(self) -> str:
81
- return pulumi.get(self, "id")
82
-
83
- @property
84
- @pulumi.getter
85
- def name(self) -> str:
86
- """
87
- Name for the Tunnel Inspection Rule, must be unique within the policy.
88
- """
89
- return pulumi.get(self, "name")
90
-
91
- @property
92
- @pulumi.getter(name="networkFirewallPolicyId")
93
- def network_firewall_policy_id(self) -> str:
94
- return pulumi.get(self, "network_firewall_policy_id")
95
-
96
- @property
97
- @pulumi.getter(name="parentResourceId")
98
- def parent_resource_id(self) -> str:
99
- """
100
- OCID of the Network Firewall Policy this Tunnel Inspection Rule belongs to.
101
- """
102
- return pulumi.get(self, "parent_resource_id")
103
-
104
- @property
105
- @pulumi.getter
106
- def positions(self) -> Sequence['outputs.GetNetworkFirewallPolicyTunnelInspectionRulePositionResult']:
107
- """
108
- An object which defines the position of the rule.
109
- """
110
- return pulumi.get(self, "positions")
111
-
112
- @property
113
- @pulumi.getter(name="priorityOrder")
114
- def priority_order(self) -> str:
115
- """
116
- The priority order in which this rule should be evaluated
117
- """
118
- return pulumi.get(self, "priority_order")
119
-
120
- @property
121
- @pulumi.getter
122
- def profiles(self) -> Sequence['outputs.GetNetworkFirewallPolicyTunnelInspectionRuleProfileResult']:
123
- """
124
- Vxlan Inspect profile used in Vxlan Tunnel Inspection Rules.
125
- """
126
- return pulumi.get(self, "profiles")
127
-
128
- @property
129
- @pulumi.getter
130
- def protocol(self) -> str:
131
- """
132
- Types of Tunnel Inspection Protocol to be applied on the traffic.
133
- * VXLAN - VXLAN Tunnel Inspection Protocol will be applied on the traffic.
134
- """
135
- return pulumi.get(self, "protocol")
136
-
137
- @property
138
- @pulumi.getter(name="tunnelInspectionRuleName")
139
- def tunnel_inspection_rule_name(self) -> str:
140
- return pulumi.get(self, "tunnel_inspection_rule_name")
141
-
142
-
143
- class AwaitableGetNetworkFirewallPolicyTunnelInspectionRuleResult(GetNetworkFirewallPolicyTunnelInspectionRuleResult):
144
- # pylint: disable=using-constant-test
145
- def __await__(self):
146
- if False:
147
- yield self
148
- return GetNetworkFirewallPolicyTunnelInspectionRuleResult(
149
- action=self.action,
150
- conditions=self.conditions,
151
- id=self.id,
152
- name=self.name,
153
- network_firewall_policy_id=self.network_firewall_policy_id,
154
- parent_resource_id=self.parent_resource_id,
155
- positions=self.positions,
156
- priority_order=self.priority_order,
157
- profiles=self.profiles,
158
- protocol=self.protocol,
159
- tunnel_inspection_rule_name=self.tunnel_inspection_rule_name)
160
-
161
-
162
- def get_network_firewall_policy_tunnel_inspection_rule(network_firewall_policy_id: Optional[str] = None,
163
- tunnel_inspection_rule_name: Optional[str] = None,
164
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkFirewallPolicyTunnelInspectionRuleResult:
165
- """
166
- This data source provides details about a specific Network Firewall Policy Tunnel Inspection Rule resource in Oracle Cloud Infrastructure Network Firewall service.
167
-
168
- Get tunnel inspection rule by the given name in the context of network firewall policy.
169
-
170
- ## Example Usage
171
-
172
- ```python
173
- import pulumi
174
- import pulumi_oci as oci
175
-
176
- test_network_firewall_policy_tunnel_inspection_rule = oci.NetworkFirewall.get_network_firewall_policy_tunnel_inspection_rule(network_firewall_policy_id=test_network_firewall_policy["id"],
177
- tunnel_inspection_rule_name=test_rule["name"])
178
- ```
179
-
180
-
181
- :param str network_firewall_policy_id: Unique Network Firewall Policy identifier
182
- :param str tunnel_inspection_rule_name: Unique identifier for Tunnel Inspection Rules in the network firewall policy.
183
- """
184
- __args__ = dict()
185
- __args__['networkFirewallPolicyId'] = network_firewall_policy_id
186
- __args__['tunnelInspectionRuleName'] = tunnel_inspection_rule_name
187
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
188
- __ret__ = pulumi.runtime.invoke('oci:NetworkFirewall/getNetworkFirewallPolicyTunnelInspectionRule:getNetworkFirewallPolicyTunnelInspectionRule', __args__, opts=opts, typ=GetNetworkFirewallPolicyTunnelInspectionRuleResult).value
189
-
190
- return AwaitableGetNetworkFirewallPolicyTunnelInspectionRuleResult(
191
- action=pulumi.get(__ret__, 'action'),
192
- conditions=pulumi.get(__ret__, 'conditions'),
193
- id=pulumi.get(__ret__, 'id'),
194
- name=pulumi.get(__ret__, 'name'),
195
- network_firewall_policy_id=pulumi.get(__ret__, 'network_firewall_policy_id'),
196
- parent_resource_id=pulumi.get(__ret__, 'parent_resource_id'),
197
- positions=pulumi.get(__ret__, 'positions'),
198
- priority_order=pulumi.get(__ret__, 'priority_order'),
199
- profiles=pulumi.get(__ret__, 'profiles'),
200
- protocol=pulumi.get(__ret__, 'protocol'),
201
- tunnel_inspection_rule_name=pulumi.get(__ret__, 'tunnel_inspection_rule_name'))
202
-
203
-
204
- @_utilities.lift_output_func(get_network_firewall_policy_tunnel_inspection_rule)
205
- def get_network_firewall_policy_tunnel_inspection_rule_output(network_firewall_policy_id: Optional[pulumi.Input[str]] = None,
206
- tunnel_inspection_rule_name: Optional[pulumi.Input[str]] = None,
207
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkFirewallPolicyTunnelInspectionRuleResult]:
208
- """
209
- This data source provides details about a specific Network Firewall Policy Tunnel Inspection Rule resource in Oracle Cloud Infrastructure Network Firewall service.
210
-
211
- Get tunnel inspection rule by the given name in the context of network firewall policy.
212
-
213
- ## Example Usage
214
-
215
- ```python
216
- import pulumi
217
- import pulumi_oci as oci
218
-
219
- test_network_firewall_policy_tunnel_inspection_rule = oci.NetworkFirewall.get_network_firewall_policy_tunnel_inspection_rule(network_firewall_policy_id=test_network_firewall_policy["id"],
220
- tunnel_inspection_rule_name=test_rule["name"])
221
- ```
222
-
223
-
224
- :param str network_firewall_policy_id: Unique Network Firewall Policy identifier
225
- :param str tunnel_inspection_rule_name: Unique identifier for Tunnel Inspection Rules in the network firewall policy.
226
- """
227
- ...