pulumi-oci 1.30.0a1711740723__py3-none-any.whl → 1.30.0a1712219839__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_oci/cloudguard/_inputs.py +10 -2
- pulumi_oci/cloudguard/cloud_guard_configuration.py +2 -2
- pulumi_oci/cloudguard/cloud_guard_data_source.py +45 -24
- pulumi_oci/cloudguard/data_mask_rule.py +2 -2
- pulumi_oci/cloudguard/detector_recipe.py +2 -2
- pulumi_oci/cloudguard/get_cloud_guard_configuration.py +2 -2
- pulumi_oci/cloudguard/get_data_mask_rule.py +2 -2
- pulumi_oci/cloudguard/get_data_mask_rules.py +2 -2
- pulumi_oci/cloudguard/get_detector_recipe.py +2 -2
- pulumi_oci/cloudguard/get_detector_recipes.py +2 -2
- pulumi_oci/cloudguard/get_managed_list.py +2 -2
- pulumi_oci/cloudguard/get_managed_lists.py +2 -2
- pulumi_oci/cloudguard/managed_list.py +2 -2
- pulumi_oci/cloudguard/outputs.py +10 -2
- pulumi_oci/disasterrecovery/dr_protection_group.py +1 -1
- pulumi_oci/email/__init__.py +1 -0
- pulumi_oci/email/dkim.py +21 -21
- pulumi_oci/email/email_domain.py +7 -7
- pulumi_oci/email/get_configuration.py +138 -0
- pulumi_oci/email/get_dkim.py +2 -2
- pulumi_oci/email/get_dkims.py +2 -2
- pulumi_oci/email/get_email_domain.py +2 -2
- pulumi_oci/email/get_email_domains.py +1 -1
- pulumi_oci/email/get_sender.py +15 -2
- pulumi_oci/email/get_suppression.py +2 -2
- pulumi_oci/email/get_suppressions.py +4 -4
- pulumi_oci/email/outputs.py +23 -12
- pulumi_oci/email/sender.py +32 -4
- pulumi_oci/email/suppression.py +8 -8
- pulumi_oci/loadbalancer/_inputs.py +2 -2
- pulumi_oci/loadbalancer/outputs.py +4 -4
- pulumi_oci/loadbalancer/ssl_cipher_suite.py +42 -0
- pulumi_oci/managementagent/_inputs.py +0 -44
- pulumi_oci/managementagent/get_management_agents.py +20 -3
- pulumi_oci/managementagent/management_agent.py +27 -79
- pulumi_oci/managementagent/outputs.py +0 -44
- pulumi_oci/networkloadbalancer/_inputs.py +4 -4
- pulumi_oci/networkloadbalancer/get_network_load_balancer.py +31 -1
- pulumi_oci/networkloadbalancer/network_load_balancer.py +184 -23
- pulumi_oci/networkloadbalancer/outputs.py +25 -4
- {pulumi_oci-1.30.0a1711740723.dist-info → pulumi_oci-1.30.0a1712219839.dist-info}/METADATA +1 -1
- {pulumi_oci-1.30.0a1711740723.dist-info → pulumi_oci-1.30.0a1712219839.dist-info}/RECORD +44 -43
- {pulumi_oci-1.30.0a1711740723.dist-info → pulumi_oci-1.30.0a1712219839.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.30.0a1711740723.dist-info → pulumi_oci-1.30.0a1712219839.dist-info}/top_level.txt +0 -0
@@ -23,7 +23,7 @@ class GetManagementAgentsResult:
|
|
23
23
|
"""
|
24
24
|
A collection of values returned by getManagementAgents.
|
25
25
|
"""
|
26
|
-
def __init__(__self__, access_level=None, availability_status=None, compartment_id=None, compartment_id_in_subtree=None, data_source_names=None, data_source_type=None, display_name=None, filters=None, gateway_ids=None, host_id=None, id=None, install_type=None, is_customer_deployed=None, management_agents=None, platform_types=None, plugin_names=None, state=None, versions=None):
|
26
|
+
def __init__(__self__, access_level=None, availability_status=None, compartment_id=None, compartment_id_in_subtree=None, data_source_names=None, data_source_type=None, display_name=None, filters=None, gateway_ids=None, host_id=None, id=None, install_type=None, is_customer_deployed=None, management_agents=None, platform_types=None, plugin_names=None, state=None, versions=None, wait_for_host_id=None):
|
27
27
|
if access_level and not isinstance(access_level, str):
|
28
28
|
raise TypeError("Expected argument 'access_level' to be a str")
|
29
29
|
pulumi.set(__self__, "access_level", access_level)
|
@@ -78,6 +78,9 @@ class GetManagementAgentsResult:
|
|
78
78
|
if versions and not isinstance(versions, list):
|
79
79
|
raise TypeError("Expected argument 'versions' to be a list")
|
80
80
|
pulumi.set(__self__, "versions", versions)
|
81
|
+
if wait_for_host_id and not isinstance(wait_for_host_id, int):
|
82
|
+
raise TypeError("Expected argument 'wait_for_host_id' to be a int")
|
83
|
+
pulumi.set(__self__, "wait_for_host_id", wait_for_host_id)
|
81
84
|
|
82
85
|
@property
|
83
86
|
@pulumi.getter(name="accessLevel")
|
@@ -205,6 +208,11 @@ class GetManagementAgentsResult:
|
|
205
208
|
"""
|
206
209
|
return pulumi.get(self, "versions")
|
207
210
|
|
211
|
+
@property
|
212
|
+
@pulumi.getter(name="waitForHostId")
|
213
|
+
def wait_for_host_id(self) -> Optional[int]:
|
214
|
+
return pulumi.get(self, "wait_for_host_id")
|
215
|
+
|
208
216
|
|
209
217
|
class AwaitableGetManagementAgentsResult(GetManagementAgentsResult):
|
210
218
|
# pylint: disable=using-constant-test
|
@@ -229,7 +237,8 @@ class AwaitableGetManagementAgentsResult(GetManagementAgentsResult):
|
|
229
237
|
platform_types=self.platform_types,
|
230
238
|
plugin_names=self.plugin_names,
|
231
239
|
state=self.state,
|
232
|
-
versions=self.versions
|
240
|
+
versions=self.versions,
|
241
|
+
wait_for_host_id=self.wait_for_host_id)
|
233
242
|
|
234
243
|
|
235
244
|
def get_management_agents(access_level: Optional[str] = None,
|
@@ -248,6 +257,7 @@ def get_management_agents(access_level: Optional[str] = None,
|
|
248
257
|
plugin_names: Optional[Sequence[str]] = None,
|
249
258
|
state: Optional[str] = None,
|
250
259
|
versions: Optional[Sequence[str]] = None,
|
260
|
+
wait_for_host_id: Optional[int] = None,
|
251
261
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManagementAgentsResult:
|
252
262
|
"""
|
253
263
|
This data source provides the list of Management Agents in Oracle Cloud Infrastructure Management Agent service.
|
@@ -272,6 +282,7 @@ def get_management_agents(access_level: Optional[str] = None,
|
|
272
282
|
display_name=var["management_agent_display_name"],
|
273
283
|
gateway_ids=oci_apigateway_gateway["test_gateway"]["id"],
|
274
284
|
host_id=oci_management_agent_host["test_host"]["id"],
|
285
|
+
wait_for_host_id=10,
|
275
286
|
install_type=var["management_agent_install_type"],
|
276
287
|
is_customer_deployed=var["management_agent_is_customer_deployed"],
|
277
288
|
platform_types=var["management_agent_platform_type"],
|
@@ -297,6 +308,7 @@ def get_management_agents(access_level: Optional[str] = None,
|
|
297
308
|
:param Sequence[str] plugin_names: Array of pluginName to return only Management Agents having the particular Plugins installed. A special pluginName of 'None' can be provided and this will return only Management Agents having no plugin installed. Example: ["PluginA"]
|
298
309
|
:param str state: Filter to return only Management Agents in the particular lifecycle state.
|
299
310
|
:param Sequence[str] versions: Array of versions to return only Management Agents having the particular agent versions. Example: ["202020.0101","210201.0513"]
|
311
|
+
:param int wait_for_host_id: When host_id argument is set, the data source will wait for the given period of time (in minutes) for this host_id to become available. This can be used when compute instance with Management Agent has been recently created.
|
300
312
|
"""
|
301
313
|
__args__ = dict()
|
302
314
|
__args__['accessLevel'] = access_level
|
@@ -315,6 +327,7 @@ def get_management_agents(access_level: Optional[str] = None,
|
|
315
327
|
__args__['pluginNames'] = plugin_names
|
316
328
|
__args__['state'] = state
|
317
329
|
__args__['versions'] = versions
|
330
|
+
__args__['waitForHostId'] = wait_for_host_id
|
318
331
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
319
332
|
__ret__ = pulumi.runtime.invoke('oci:ManagementAgent/getManagementAgents:getManagementAgents', __args__, opts=opts, typ=GetManagementAgentsResult).value
|
320
333
|
|
@@ -336,7 +349,8 @@ def get_management_agents(access_level: Optional[str] = None,
|
|
336
349
|
platform_types=pulumi.get(__ret__, 'platform_types'),
|
337
350
|
plugin_names=pulumi.get(__ret__, 'plugin_names'),
|
338
351
|
state=pulumi.get(__ret__, 'state'),
|
339
|
-
versions=pulumi.get(__ret__, 'versions')
|
352
|
+
versions=pulumi.get(__ret__, 'versions'),
|
353
|
+
wait_for_host_id=pulumi.get(__ret__, 'wait_for_host_id'))
|
340
354
|
|
341
355
|
|
342
356
|
@_utilities.lift_output_func(get_management_agents)
|
@@ -356,6 +370,7 @@ def get_management_agents_output(access_level: Optional[pulumi.Input[Optional[st
|
|
356
370
|
plugin_names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
357
371
|
state: Optional[pulumi.Input[Optional[str]]] = None,
|
358
372
|
versions: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
373
|
+
wait_for_host_id: Optional[pulumi.Input[Optional[int]]] = None,
|
359
374
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagementAgentsResult]:
|
360
375
|
"""
|
361
376
|
This data source provides the list of Management Agents in Oracle Cloud Infrastructure Management Agent service.
|
@@ -380,6 +395,7 @@ def get_management_agents_output(access_level: Optional[pulumi.Input[Optional[st
|
|
380
395
|
display_name=var["management_agent_display_name"],
|
381
396
|
gateway_ids=oci_apigateway_gateway["test_gateway"]["id"],
|
382
397
|
host_id=oci_management_agent_host["test_host"]["id"],
|
398
|
+
wait_for_host_id=10,
|
383
399
|
install_type=var["management_agent_install_type"],
|
384
400
|
is_customer_deployed=var["management_agent_is_customer_deployed"],
|
385
401
|
platform_types=var["management_agent_platform_type"],
|
@@ -405,5 +421,6 @@ def get_management_agents_output(access_level: Optional[pulumi.Input[Optional[st
|
|
405
421
|
:param Sequence[str] plugin_names: Array of pluginName to return only Management Agents having the particular Plugins installed. A special pluginName of 'None' can be provided and this will return only Management Agents having no plugin installed. Example: ["PluginA"]
|
406
422
|
:param str state: Filter to return only Management Agents in the particular lifecycle state.
|
407
423
|
:param Sequence[str] versions: Array of versions to return only Management Agents having the particular agent versions. Example: ["202020.0101","210201.0513"]
|
424
|
+
:param int wait_for_host_id: When host_id argument is set, the data source will wait for the given period of time (in minutes) for this host_id to become available. This can be used when compute instance with Management Agent has been recently created.
|
408
425
|
"""
|
409
426
|
...
|
@@ -24,13 +24,9 @@ class ManagementAgentArgs:
|
|
24
24
|
"""
|
25
25
|
The set of arguments for constructing a ManagementAgent resource.
|
26
26
|
:param pulumi.Input[str] managed_agent_id: Unique Management Agent identifier
|
27
|
-
:param pulumi.Input[Mapping[str, Any]] defined_tags:
|
28
|
-
:param pulumi.Input[
|
29
|
-
|
30
|
-
** IMPORTANT **
|
31
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
32
|
-
:param pulumi.Input[str] display_name: (Updatable) New displayName of Agent.
|
33
|
-
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
27
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
28
|
+
:param pulumi.Input[str] display_name: Management Agent Name
|
29
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
34
30
|
"""
|
35
31
|
pulumi.set(__self__, "managed_agent_id", managed_agent_id)
|
36
32
|
if defined_tags is not None:
|
@@ -58,7 +54,7 @@ class ManagementAgentArgs:
|
|
58
54
|
@pulumi.getter(name="definedTags")
|
59
55
|
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
60
56
|
"""
|
61
|
-
|
57
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
62
58
|
"""
|
63
59
|
return pulumi.get(self, "defined_tags")
|
64
60
|
|
@@ -69,12 +65,6 @@ class ManagementAgentArgs:
|
|
69
65
|
@property
|
70
66
|
@pulumi.getter(name="deployPluginsIds")
|
71
67
|
def deploy_plugins_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
72
|
-
"""
|
73
|
-
(Updatable) Plugin Id list
|
74
|
-
|
75
|
-
** IMPORTANT **
|
76
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
77
|
-
"""
|
78
68
|
return pulumi.get(self, "deploy_plugins_ids")
|
79
69
|
|
80
70
|
@deploy_plugins_ids.setter
|
@@ -85,7 +75,7 @@ class ManagementAgentArgs:
|
|
85
75
|
@pulumi.getter(name="displayName")
|
86
76
|
def display_name(self) -> Optional[pulumi.Input[str]]:
|
87
77
|
"""
|
88
|
-
|
78
|
+
Management Agent Name
|
89
79
|
"""
|
90
80
|
return pulumi.get(self, "display_name")
|
91
81
|
|
@@ -97,7 +87,7 @@ class ManagementAgentArgs:
|
|
97
87
|
@pulumi.getter(name="freeformTags")
|
98
88
|
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
99
89
|
"""
|
100
|
-
|
90
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
101
91
|
"""
|
102
92
|
return pulumi.get(self, "freeform_tags")
|
103
93
|
|
@@ -139,16 +129,9 @@ class _ManagementAgentState:
|
|
139
129
|
version: Optional[pulumi.Input[str]] = None):
|
140
130
|
"""
|
141
131
|
Input properties used for looking up and filtering ManagementAgent resources.
|
142
|
-
:param pulumi.Input[str]
|
143
|
-
:param pulumi.Input[str]
|
144
|
-
:param pulumi.Input[
|
145
|
-
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
146
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] deploy_plugins_ids: (Updatable) Plugin Id list
|
147
|
-
|
148
|
-
** IMPORTANT **
|
149
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
150
|
-
:param pulumi.Input[str] display_name: (Updatable) New displayName of Agent.
|
151
|
-
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
132
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
133
|
+
:param pulumi.Input[str] display_name: Management Agent Name
|
134
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
152
135
|
:param pulumi.Input[str] host: Management Agent host machine name
|
153
136
|
:param pulumi.Input[str] host_id: Host resource ocid
|
154
137
|
:param pulumi.Input[str] install_key_id: agent install key identifier
|
@@ -230,9 +213,6 @@ class _ManagementAgentState:
|
|
230
213
|
@property
|
231
214
|
@pulumi.getter(name="availabilityStatus")
|
232
215
|
def availability_status(self) -> Optional[pulumi.Input[str]]:
|
233
|
-
"""
|
234
|
-
The current availability status of managementAgent
|
235
|
-
"""
|
236
216
|
return pulumi.get(self, "availability_status")
|
237
217
|
|
238
218
|
@availability_status.setter
|
@@ -242,9 +222,6 @@ class _ManagementAgentState:
|
|
242
222
|
@property
|
243
223
|
@pulumi.getter(name="compartmentId")
|
244
224
|
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
245
|
-
"""
|
246
|
-
Compartment owning this DataSource.
|
247
|
-
"""
|
248
225
|
return pulumi.get(self, "compartment_id")
|
249
226
|
|
250
227
|
@compartment_id.setter
|
@@ -254,9 +231,6 @@ class _ManagementAgentState:
|
|
254
231
|
@property
|
255
232
|
@pulumi.getter(name="dataSourceLists")
|
256
233
|
def data_source_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagementAgentDataSourceListArgs']]]]:
|
257
|
-
"""
|
258
|
-
list of dataSources associated with the agent
|
259
|
-
"""
|
260
234
|
return pulumi.get(self, "data_source_lists")
|
261
235
|
|
262
236
|
@data_source_lists.setter
|
@@ -276,7 +250,7 @@ class _ManagementAgentState:
|
|
276
250
|
@pulumi.getter(name="definedTags")
|
277
251
|
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
278
252
|
"""
|
279
|
-
|
253
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
280
254
|
"""
|
281
255
|
return pulumi.get(self, "defined_tags")
|
282
256
|
|
@@ -287,12 +261,6 @@ class _ManagementAgentState:
|
|
287
261
|
@property
|
288
262
|
@pulumi.getter(name="deployPluginsIds")
|
289
263
|
def deploy_plugins_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
290
|
-
"""
|
291
|
-
(Updatable) Plugin Id list
|
292
|
-
|
293
|
-
** IMPORTANT **
|
294
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
295
|
-
"""
|
296
264
|
return pulumi.get(self, "deploy_plugins_ids")
|
297
265
|
|
298
266
|
@deploy_plugins_ids.setter
|
@@ -303,7 +271,7 @@ class _ManagementAgentState:
|
|
303
271
|
@pulumi.getter(name="displayName")
|
304
272
|
def display_name(self) -> Optional[pulumi.Input[str]]:
|
305
273
|
"""
|
306
|
-
|
274
|
+
Management Agent Name
|
307
275
|
"""
|
308
276
|
return pulumi.get(self, "display_name")
|
309
277
|
|
@@ -315,7 +283,7 @@ class _ManagementAgentState:
|
|
315
283
|
@pulumi.getter(name="freeformTags")
|
316
284
|
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
317
285
|
"""
|
318
|
-
|
286
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
319
287
|
"""
|
320
288
|
return pulumi.get(self, "freeform_tags")
|
321
289
|
|
@@ -588,7 +556,10 @@ class ManagementAgent(pulumi.CustomResource):
|
|
588
556
|
test_management_agent = oci.management_agent.ManagementAgent("testManagementAgent", managed_agent_id=oci_management_agent_managed_agent["test_managed_agent"]["id"])
|
589
557
|
```
|
590
558
|
<!--End PulumiCodeChooser -->
|
559
|
+
***
|
560
|
+
Add plugin to Management Agent created via OCI Compute instance.
|
591
561
|
|
562
|
+
Compute instance must have OCA Plugin "Management Agent" enabled
|
592
563
|
## Import
|
593
564
|
|
594
565
|
ManagementAgents can be imported using the `id`, e.g.
|
@@ -599,13 +570,9 @@ class ManagementAgent(pulumi.CustomResource):
|
|
599
570
|
|
600
571
|
:param str resource_name: The name of the resource.
|
601
572
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
602
|
-
:param pulumi.Input[Mapping[str, Any]] defined_tags:
|
603
|
-
:param pulumi.Input[
|
604
|
-
|
605
|
-
** IMPORTANT **
|
606
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
607
|
-
:param pulumi.Input[str] display_name: (Updatable) New displayName of Agent.
|
608
|
-
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
573
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
574
|
+
:param pulumi.Input[str] display_name: Management Agent Name
|
575
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
609
576
|
:param pulumi.Input[str] managed_agent_id: Unique Management Agent identifier
|
610
577
|
"""
|
611
578
|
...
|
@@ -627,7 +594,10 @@ class ManagementAgent(pulumi.CustomResource):
|
|
627
594
|
test_management_agent = oci.management_agent.ManagementAgent("testManagementAgent", managed_agent_id=oci_management_agent_managed_agent["test_managed_agent"]["id"])
|
628
595
|
```
|
629
596
|
<!--End PulumiCodeChooser -->
|
597
|
+
***
|
598
|
+
Add plugin to Management Agent created via OCI Compute instance.
|
630
599
|
|
600
|
+
Compute instance must have OCA Plugin "Management Agent" enabled
|
631
601
|
## Import
|
632
602
|
|
633
603
|
ManagementAgents can be imported using the `id`, e.g.
|
@@ -740,16 +710,9 @@ class ManagementAgent(pulumi.CustomResource):
|
|
740
710
|
:param str resource_name: The unique name of the resulting resource.
|
741
711
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
742
712
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
743
|
-
:param pulumi.Input[str]
|
744
|
-
:param pulumi.Input[str]
|
745
|
-
:param pulumi.Input[
|
746
|
-
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
747
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] deploy_plugins_ids: (Updatable) Plugin Id list
|
748
|
-
|
749
|
-
** IMPORTANT **
|
750
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
751
|
-
:param pulumi.Input[str] display_name: (Updatable) New displayName of Agent.
|
752
|
-
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
713
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
714
|
+
:param pulumi.Input[str] display_name: Management Agent Name
|
715
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
753
716
|
:param pulumi.Input[str] host: Management Agent host machine name
|
754
717
|
:param pulumi.Input[str] host_id: Host resource ocid
|
755
718
|
:param pulumi.Input[str] install_key_id: agent install key identifier
|
@@ -808,25 +771,16 @@ class ManagementAgent(pulumi.CustomResource):
|
|
808
771
|
@property
|
809
772
|
@pulumi.getter(name="availabilityStatus")
|
810
773
|
def availability_status(self) -> pulumi.Output[str]:
|
811
|
-
"""
|
812
|
-
The current availability status of managementAgent
|
813
|
-
"""
|
814
774
|
return pulumi.get(self, "availability_status")
|
815
775
|
|
816
776
|
@property
|
817
777
|
@pulumi.getter(name="compartmentId")
|
818
778
|
def compartment_id(self) -> pulumi.Output[str]:
|
819
|
-
"""
|
820
|
-
Compartment owning this DataSource.
|
821
|
-
"""
|
822
779
|
return pulumi.get(self, "compartment_id")
|
823
780
|
|
824
781
|
@property
|
825
782
|
@pulumi.getter(name="dataSourceLists")
|
826
783
|
def data_source_lists(self) -> pulumi.Output[Sequence['outputs.ManagementAgentDataSourceList']]:
|
827
|
-
"""
|
828
|
-
list of dataSources associated with the agent
|
829
|
-
"""
|
830
784
|
return pulumi.get(self, "data_source_lists")
|
831
785
|
|
832
786
|
@property
|
@@ -838,26 +792,20 @@ class ManagementAgent(pulumi.CustomResource):
|
|
838
792
|
@pulumi.getter(name="definedTags")
|
839
793
|
def defined_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
840
794
|
"""
|
841
|
-
|
795
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
842
796
|
"""
|
843
797
|
return pulumi.get(self, "defined_tags")
|
844
798
|
|
845
799
|
@property
|
846
800
|
@pulumi.getter(name="deployPluginsIds")
|
847
801
|
def deploy_plugins_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
848
|
-
"""
|
849
|
-
(Updatable) Plugin Id list
|
850
|
-
|
851
|
-
** IMPORTANT **
|
852
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
853
|
-
"""
|
854
802
|
return pulumi.get(self, "deploy_plugins_ids")
|
855
803
|
|
856
804
|
@property
|
857
805
|
@pulumi.getter(name="displayName")
|
858
806
|
def display_name(self) -> pulumi.Output[str]:
|
859
807
|
"""
|
860
|
-
|
808
|
+
Management Agent Name
|
861
809
|
"""
|
862
810
|
return pulumi.get(self, "display_name")
|
863
811
|
|
@@ -865,7 +813,7 @@ class ManagementAgent(pulumi.CustomResource):
|
|
865
813
|
@pulumi.getter(name="freeformTags")
|
866
814
|
def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
867
815
|
"""
|
868
|
-
|
816
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
869
817
|
"""
|
870
818
|
return pulumi.get(self, "freeform_tags")
|
871
819
|
|
@@ -108,15 +108,7 @@ class ManagementAgentDataSourceList(dict):
|
|
108
108
|
type: Optional[str] = None,
|
109
109
|
url: Optional[str] = None):
|
110
110
|
"""
|
111
|
-
:param str allow_metrics: Comma separated metric name list. The complete set of desired scraped metrics. Use this property to limit the set of metrics uploaded if required.
|
112
|
-
:param str compartment_id: Compartment owning this DataSource.
|
113
|
-
:param int connection_timeout: Number in milliseconds. The timeout for connecting to the Prometheus Exporter's endpoint.
|
114
|
-
:param bool is_daemon_set: If the Kubernetes cluster type is Daemon set then this will be set to true.
|
115
|
-
:param str key: Identifier for DataSource. This represents the type and name for the data source associated with the Management Agent.
|
116
|
-
:param Sequence['ManagementAgentDataSourceListMetricDimensionArgs'] metric_dimensions: The names of other user-supplied properties expressed as fixed values to be used as dimensions for every uploaded datapoint.
|
117
111
|
:param str name: Name of the property
|
118
|
-
:param str namespace: The Oracle Cloud Infrastructure monitoring namespace to which scraped metrics should be uploaded.
|
119
|
-
:param str proxy_url: The url of the network proxy that provides access to the Prometheus Exporter's endpoint (url required property).
|
120
112
|
:param int read_data_limit: Number in kilobytes. The limit on the data being sent, not to exceed the agent's fixed limit of 400 (KB).
|
121
113
|
:param int read_timeout: Number in milliseconds. The timeout for reading the response from the Prometheus Exporter's endpoint.
|
122
114
|
:param str resource_group: Oracle Cloud Infrastructure monitoring resource group to assign the metric to.
|
@@ -167,49 +159,31 @@ class ManagementAgentDataSourceList(dict):
|
|
167
159
|
@property
|
168
160
|
@pulumi.getter(name="allowMetrics")
|
169
161
|
def allow_metrics(self) -> Optional[str]:
|
170
|
-
"""
|
171
|
-
Comma separated metric name list. The complete set of desired scraped metrics. Use this property to limit the set of metrics uploaded if required.
|
172
|
-
"""
|
173
162
|
return pulumi.get(self, "allow_metrics")
|
174
163
|
|
175
164
|
@property
|
176
165
|
@pulumi.getter(name="compartmentId")
|
177
166
|
def compartment_id(self) -> Optional[str]:
|
178
|
-
"""
|
179
|
-
Compartment owning this DataSource.
|
180
|
-
"""
|
181
167
|
return pulumi.get(self, "compartment_id")
|
182
168
|
|
183
169
|
@property
|
184
170
|
@pulumi.getter(name="connectionTimeout")
|
185
171
|
def connection_timeout(self) -> Optional[int]:
|
186
|
-
"""
|
187
|
-
Number in milliseconds. The timeout for connecting to the Prometheus Exporter's endpoint.
|
188
|
-
"""
|
189
172
|
return pulumi.get(self, "connection_timeout")
|
190
173
|
|
191
174
|
@property
|
192
175
|
@pulumi.getter(name="isDaemonSet")
|
193
176
|
def is_daemon_set(self) -> Optional[bool]:
|
194
|
-
"""
|
195
|
-
If the Kubernetes cluster type is Daemon set then this will be set to true.
|
196
|
-
"""
|
197
177
|
return pulumi.get(self, "is_daemon_set")
|
198
178
|
|
199
179
|
@property
|
200
180
|
@pulumi.getter
|
201
181
|
def key(self) -> Optional[str]:
|
202
|
-
"""
|
203
|
-
Identifier for DataSource. This represents the type and name for the data source associated with the Management Agent.
|
204
|
-
"""
|
205
182
|
return pulumi.get(self, "key")
|
206
183
|
|
207
184
|
@property
|
208
185
|
@pulumi.getter(name="metricDimensions")
|
209
186
|
def metric_dimensions(self) -> Optional[Sequence['outputs.ManagementAgentDataSourceListMetricDimension']]:
|
210
|
-
"""
|
211
|
-
The names of other user-supplied properties expressed as fixed values to be used as dimensions for every uploaded datapoint.
|
212
|
-
"""
|
213
187
|
return pulumi.get(self, "metric_dimensions")
|
214
188
|
|
215
189
|
@property
|
@@ -223,17 +197,11 @@ class ManagementAgentDataSourceList(dict):
|
|
223
197
|
@property
|
224
198
|
@pulumi.getter
|
225
199
|
def namespace(self) -> Optional[str]:
|
226
|
-
"""
|
227
|
-
The Oracle Cloud Infrastructure monitoring namespace to which scraped metrics should be uploaded.
|
228
|
-
"""
|
229
200
|
return pulumi.get(self, "namespace")
|
230
201
|
|
231
202
|
@property
|
232
203
|
@pulumi.getter(name="proxyUrl")
|
233
204
|
def proxy_url(self) -> Optional[str]:
|
234
|
-
"""
|
235
|
-
The url of the network proxy that provides access to the Prometheus Exporter's endpoint (url required property).
|
236
|
-
"""
|
237
205
|
return pulumi.get(self, "proxy_url")
|
238
206
|
|
239
207
|
@property
|
@@ -316,7 +284,6 @@ class ManagementAgentDataSourceListMetricDimension(dict):
|
|
316
284
|
value: Optional[str] = None):
|
317
285
|
"""
|
318
286
|
:param str name: Name of the property
|
319
|
-
:param str value: Value of the metric dimension
|
320
287
|
"""
|
321
288
|
if name is not None:
|
322
289
|
pulumi.set(__self__, "name", name)
|
@@ -334,9 +301,6 @@ class ManagementAgentDataSourceListMetricDimension(dict):
|
|
334
301
|
@property
|
335
302
|
@pulumi.getter
|
336
303
|
def value(self) -> Optional[str]:
|
337
|
-
"""
|
338
|
-
Value of the metric dimension
|
339
|
-
"""
|
340
304
|
return pulumi.get(self, "value")
|
341
305
|
|
342
306
|
|
@@ -394,8 +358,6 @@ class ManagementAgentDataSourceSummaryList(dict):
|
|
394
358
|
name: Optional[str] = None,
|
395
359
|
type: Optional[str] = None):
|
396
360
|
"""
|
397
|
-
:param bool is_daemon_set: If the Kubernetes cluster type is Daemon set then this will be set to true.
|
398
|
-
:param str key: Identifier for DataSource. This represents the type and name for the data source associated with the Management Agent.
|
399
361
|
:param str name: Name of the property
|
400
362
|
:param str type: The type of the DataSource.
|
401
363
|
"""
|
@@ -411,17 +373,11 @@ class ManagementAgentDataSourceSummaryList(dict):
|
|
411
373
|
@property
|
412
374
|
@pulumi.getter(name="isDaemonSet")
|
413
375
|
def is_daemon_set(self) -> Optional[bool]:
|
414
|
-
"""
|
415
|
-
If the Kubernetes cluster type is Daemon set then this will be set to true.
|
416
|
-
"""
|
417
376
|
return pulumi.get(self, "is_daemon_set")
|
418
377
|
|
419
378
|
@property
|
420
379
|
@pulumi.getter
|
421
380
|
def key(self) -> Optional[str]:
|
422
|
-
"""
|
423
|
-
Identifier for DataSource. This represents the type and name for the data source associated with the Management Agent.
|
424
|
-
"""
|
425
381
|
return pulumi.get(self, "key")
|
426
382
|
|
427
383
|
@property
|
@@ -341,8 +341,8 @@ class NetworkLoadBalancerIpAddressArgs:
|
|
341
341
|
is_public: Optional[pulumi.Input[bool]] = None,
|
342
342
|
reserved_ips: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkLoadBalancerIpAddressReservedIpArgs']]]] = None):
|
343
343
|
"""
|
344
|
-
:param pulumi.Input[str] ip_address:
|
345
|
-
:param pulumi.Input[str] ip_version: IP version associated with
|
344
|
+
:param pulumi.Input[str] ip_address: An IP address. Example: `192.168.0.3`
|
345
|
+
:param pulumi.Input[str] ip_version: IP version associated with this IP address.
|
346
346
|
:param pulumi.Input[bool] is_public: Whether the IP address is public or private.
|
347
347
|
:param pulumi.Input[Sequence[pulumi.Input['NetworkLoadBalancerIpAddressReservedIpArgs']]] reserved_ips: An object representing a reserved IP address to be attached or that is already attached to a network load balancer.
|
348
348
|
"""
|
@@ -359,7 +359,7 @@ class NetworkLoadBalancerIpAddressArgs:
|
|
359
359
|
@pulumi.getter(name="ipAddress")
|
360
360
|
def ip_address(self) -> Optional[pulumi.Input[str]]:
|
361
361
|
"""
|
362
|
-
|
362
|
+
An IP address. Example: `192.168.0.3`
|
363
363
|
"""
|
364
364
|
return pulumi.get(self, "ip_address")
|
365
365
|
|
@@ -371,7 +371,7 @@ class NetworkLoadBalancerIpAddressArgs:
|
|
371
371
|
@pulumi.getter(name="ipVersion")
|
372
372
|
def ip_version(self) -> Optional[pulumi.Input[str]]:
|
373
373
|
"""
|
374
|
-
IP version associated with
|
374
|
+
IP version associated with this IP address.
|
375
375
|
"""
|
376
376
|
return pulumi.get(self, "ip_version")
|
377
377
|
|
@@ -22,7 +22,13 @@ class GetNetworkLoadBalancerResult:
|
|
22
22
|
"""
|
23
23
|
A collection of values returned by getNetworkLoadBalancer.
|
24
24
|
"""
|
25
|
-
def __init__(__self__, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, ip_addresses=None, is_preserve_source_destination=None, is_private=None, is_symmetric_hash_enabled=None, lifecycle_details=None, network_load_balancer_id=None, network_security_group_ids=None, nlb_ip_version=None, reserved_ips=None, state=None, subnet_id=None, system_tags=None, time_created=None, time_updated=None):
|
25
|
+
def __init__(__self__, assigned_ipv6=None, assigned_private_ipv4=None, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, ip_addresses=None, is_preserve_source_destination=None, is_private=None, is_symmetric_hash_enabled=None, lifecycle_details=None, network_load_balancer_id=None, network_security_group_ids=None, nlb_ip_version=None, reserved_ips=None, state=None, subnet_id=None, subnet_ipv6cidr=None, system_tags=None, time_created=None, time_updated=None):
|
26
|
+
if assigned_ipv6 and not isinstance(assigned_ipv6, str):
|
27
|
+
raise TypeError("Expected argument 'assigned_ipv6' to be a str")
|
28
|
+
pulumi.set(__self__, "assigned_ipv6", assigned_ipv6)
|
29
|
+
if assigned_private_ipv4 and not isinstance(assigned_private_ipv4, str):
|
30
|
+
raise TypeError("Expected argument 'assigned_private_ipv4' to be a str")
|
31
|
+
pulumi.set(__self__, "assigned_private_ipv4", assigned_private_ipv4)
|
26
32
|
if compartment_id and not isinstance(compartment_id, str):
|
27
33
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
28
34
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -71,6 +77,9 @@ class GetNetworkLoadBalancerResult:
|
|
71
77
|
if subnet_id and not isinstance(subnet_id, str):
|
72
78
|
raise TypeError("Expected argument 'subnet_id' to be a str")
|
73
79
|
pulumi.set(__self__, "subnet_id", subnet_id)
|
80
|
+
if subnet_ipv6cidr and not isinstance(subnet_ipv6cidr, str):
|
81
|
+
raise TypeError("Expected argument 'subnet_ipv6cidr' to be a str")
|
82
|
+
pulumi.set(__self__, "subnet_ipv6cidr", subnet_ipv6cidr)
|
74
83
|
if system_tags and not isinstance(system_tags, dict):
|
75
84
|
raise TypeError("Expected argument 'system_tags' to be a dict")
|
76
85
|
pulumi.set(__self__, "system_tags", system_tags)
|
@@ -81,6 +90,16 @@ class GetNetworkLoadBalancerResult:
|
|
81
90
|
raise TypeError("Expected argument 'time_updated' to be a str")
|
82
91
|
pulumi.set(__self__, "time_updated", time_updated)
|
83
92
|
|
93
|
+
@property
|
94
|
+
@pulumi.getter(name="assignedIpv6")
|
95
|
+
def assigned_ipv6(self) -> str:
|
96
|
+
return pulumi.get(self, "assigned_ipv6")
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter(name="assignedPrivateIpv4")
|
100
|
+
def assigned_private_ipv4(self) -> str:
|
101
|
+
return pulumi.get(self, "assigned_private_ipv4")
|
102
|
+
|
84
103
|
@property
|
85
104
|
@pulumi.getter(name="compartmentId")
|
86
105
|
def compartment_id(self) -> str:
|
@@ -203,6 +222,11 @@ class GetNetworkLoadBalancerResult:
|
|
203
222
|
"""
|
204
223
|
return pulumi.get(self, "subnet_id")
|
205
224
|
|
225
|
+
@property
|
226
|
+
@pulumi.getter(name="subnetIpv6cidr")
|
227
|
+
def subnet_ipv6cidr(self) -> str:
|
228
|
+
return pulumi.get(self, "subnet_ipv6cidr")
|
229
|
+
|
206
230
|
@property
|
207
231
|
@pulumi.getter(name="systemTags")
|
208
232
|
def system_tags(self) -> Mapping[str, Any]:
|
@@ -234,6 +258,8 @@ class AwaitableGetNetworkLoadBalancerResult(GetNetworkLoadBalancerResult):
|
|
234
258
|
if False:
|
235
259
|
yield self
|
236
260
|
return GetNetworkLoadBalancerResult(
|
261
|
+
assigned_ipv6=self.assigned_ipv6,
|
262
|
+
assigned_private_ipv4=self.assigned_private_ipv4,
|
237
263
|
compartment_id=self.compartment_id,
|
238
264
|
defined_tags=self.defined_tags,
|
239
265
|
display_name=self.display_name,
|
@@ -250,6 +276,7 @@ class AwaitableGetNetworkLoadBalancerResult(GetNetworkLoadBalancerResult):
|
|
250
276
|
reserved_ips=self.reserved_ips,
|
251
277
|
state=self.state,
|
252
278
|
subnet_id=self.subnet_id,
|
279
|
+
subnet_ipv6cidr=self.subnet_ipv6cidr,
|
253
280
|
system_tags=self.system_tags,
|
254
281
|
time_created=self.time_created,
|
255
282
|
time_updated=self.time_updated)
|
@@ -282,6 +309,8 @@ def get_network_load_balancer(network_load_balancer_id: Optional[str] = None,
|
|
282
309
|
__ret__ = pulumi.runtime.invoke('oci:NetworkLoadBalancer/getNetworkLoadBalancer:getNetworkLoadBalancer', __args__, opts=opts, typ=GetNetworkLoadBalancerResult).value
|
283
310
|
|
284
311
|
return AwaitableGetNetworkLoadBalancerResult(
|
312
|
+
assigned_ipv6=pulumi.get(__ret__, 'assigned_ipv6'),
|
313
|
+
assigned_private_ipv4=pulumi.get(__ret__, 'assigned_private_ipv4'),
|
285
314
|
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
286
315
|
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
287
316
|
display_name=pulumi.get(__ret__, 'display_name'),
|
@@ -298,6 +327,7 @@ def get_network_load_balancer(network_load_balancer_id: Optional[str] = None,
|
|
298
327
|
reserved_ips=pulumi.get(__ret__, 'reserved_ips'),
|
299
328
|
state=pulumi.get(__ret__, 'state'),
|
300
329
|
subnet_id=pulumi.get(__ret__, 'subnet_id'),
|
330
|
+
subnet_ipv6cidr=pulumi.get(__ret__, 'subnet_ipv6cidr'),
|
301
331
|
system_tags=pulumi.get(__ret__, 'system_tags'),
|
302
332
|
time_created=pulumi.get(__ret__, 'time_created'),
|
303
333
|
time_updated=pulumi.get(__ret__, 'time_updated'))
|