pulumi-oci 1.20.0a1705991859__py3-none-any.whl → 1.21.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +51 -0
- pulumi_oci/core/get_boot_volume_attachments.py +36 -2
- pulumi_oci/database/autonomous_database.py +49 -0
- pulumi_oci/database/autonomous_database_wallet.py +18 -0
- pulumi_oci/database/get_autonomous_database.py +14 -1
- pulumi_oci/database/get_managed_preferred_credential.py +19 -1
- pulumi_oci/database/outputs.py +21 -0
- pulumi_oci/database/vm_cluster_network.py +20 -7
- pulumi_oci/databasemanagement/__init__.py +3 -0
- pulumi_oci/databasemanagement/_inputs.py +863 -48
- pulumi_oci/databasemanagement/get_external_asm_configuration.py +22 -5
- pulumi_oci/databasemanagement/get_external_asm_disk_groups.py +22 -5
- pulumi_oci/databasemanagement/get_external_asm_users.py +22 -5
- pulumi_oci/databasemanagement/get_external_listener_services.py +22 -5
- pulumi_oci/databasemanagement/get_managed_database_cursor_cache_statements.py +18 -1
- pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline_configuration.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline_jobs.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_sql_plan_baselines.py +46 -37
- pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks.py +18 -1
- pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_execution_plan_stats_comparison.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_findings.py +18 -1
- pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_recommendations.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_sql_execution_plan.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_summary_report.py +18 -1
- pulumi_oci/databasemanagement/get_managed_database_sql_tuning_sets.py +18 -1
- pulumi_oci/databasemanagement/get_managed_database_user.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_user_consumer_group_privileges.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_user_data_access_containers.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_user_object_privileges.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_user_proxied_for_users.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_user_roles.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_users.py +20 -3
- pulumi_oci/databasemanagement/get_managed_databases_database_parameters.py +18 -1
- pulumi_oci/databasemanagement/get_managed_databases_user_proxy_users.py +20 -3
- pulumi_oci/databasemanagement/get_managed_databases_user_system_privileges.py +20 -3
- pulumi_oci/databasemanagement/get_named_credential.py +249 -0
- pulumi_oci/databasemanagement/get_named_credentials.py +216 -0
- pulumi_oci/databasemanagement/managed_databases_change_database_parameter.py +99 -37
- pulumi_oci/databasemanagement/managed_databases_reset_database_parameter.py +91 -29
- pulumi_oci/databasemanagement/named_credential.py +635 -0
- pulumi_oci/databasemanagement/outputs.py +1896 -157
- pulumi_oci/dataintegration/__init__.py +3 -0
- pulumi_oci/dataintegration/_inputs.py +798 -0
- pulumi_oci/dataintegration/get_workspace_application_patch.py +391 -0
- pulumi_oci/dataintegration/get_workspace_application_patches.py +207 -0
- pulumi_oci/dataintegration/get_workspace_import_request.py +14 -1
- pulumi_oci/dataintegration/outputs.py +2844 -739
- pulumi_oci/dataintegration/workspace_application_patch.py +1026 -0
- pulumi_oci/dataintegration/workspace_import_request.py +49 -0
- pulumi_oci/generativeai/__init__.py +18 -0
- pulumi_oci/generativeai/_inputs.py +534 -0
- pulumi_oci/generativeai/dedicated_ai_cluster.py +808 -0
- pulumi_oci/generativeai/endpoint.py +717 -0
- pulumi_oci/generativeai/get_dedicated_ai_cluster.py +288 -0
- pulumi_oci/generativeai/get_dedicated_ai_clusters.py +183 -0
- pulumi_oci/generativeai/get_endpoint.py +275 -0
- pulumi_oci/generativeai/get_endpoints.py +183 -0
- pulumi_oci/generativeai/get_model.py +353 -0
- pulumi_oci/generativeai/get_models.py +220 -0
- pulumi_oci/generativeai/model.py +858 -0
- pulumi_oci/generativeai/outputs.py +1721 -0
- pulumi_oci/loadbalancer/_inputs.py +12 -0
- pulumi_oci/loadbalancer/outputs.py +12 -0
- pulumi_oci/marketplace/get_publication.py +14 -1
- pulumi_oci/marketplace/outputs.py +11 -0
- pulumi_oci/marketplace/publication.py +28 -0
- pulumi_oci/ospgateway/_inputs.py +16 -0
- pulumi_oci/ospgateway/outputs.py +94 -19
- pulumi_oci/stackmonitoring/__init__.py +3 -0
- pulumi_oci/stackmonitoring/_inputs.py +143 -0
- pulumi_oci/stackmonitoring/get_process_set.py +236 -0
- pulumi_oci/stackmonitoring/get_process_sets.py +156 -0
- pulumi_oci/stackmonitoring/outputs.py +422 -0
- pulumi_oci/stackmonitoring/process_set.py +548 -0
- {pulumi_oci-1.20.0a1705991859.dist-info → pulumi_oci-1.21.0.dist-info}/METADATA +1 -1
- {pulumi_oci-1.20.0a1705991859.dist-info → pulumi_oci-1.21.0.dist-info}/RECORD +79 -58
- {pulumi_oci-1.20.0a1705991859.dist-info → pulumi_oci-1.21.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.20.0a1705991859.dist-info → pulumi_oci-1.21.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,548 @@
|
|
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
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = ['ProcessSetArgs', 'ProcessSet']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class ProcessSetArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
compartment_id: pulumi.Input[str],
|
20
|
+
display_name: pulumi.Input[str],
|
21
|
+
specification: pulumi.Input['ProcessSetSpecificationArgs'],
|
22
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
23
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
|
24
|
+
"""
|
25
|
+
The set of arguments for constructing a ProcessSet resource.
|
26
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
27
|
+
:param pulumi.Input[str] display_name: (Updatable) Name of the Process Set.
|
28
|
+
:param pulumi.Input['ProcessSetSpecificationArgs'] specification: (Updatable) Collection of regular expression specifications used to identify the processes to be monitored.
|
29
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
30
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
31
|
+
"""
|
32
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
33
|
+
pulumi.set(__self__, "display_name", display_name)
|
34
|
+
pulumi.set(__self__, "specification", specification)
|
35
|
+
if defined_tags is not None:
|
36
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
37
|
+
if freeform_tags is not None:
|
38
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
39
|
+
|
40
|
+
@property
|
41
|
+
@pulumi.getter(name="compartmentId")
|
42
|
+
def compartment_id(self) -> pulumi.Input[str]:
|
43
|
+
"""
|
44
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
45
|
+
"""
|
46
|
+
return pulumi.get(self, "compartment_id")
|
47
|
+
|
48
|
+
@compartment_id.setter
|
49
|
+
def compartment_id(self, value: pulumi.Input[str]):
|
50
|
+
pulumi.set(self, "compartment_id", value)
|
51
|
+
|
52
|
+
@property
|
53
|
+
@pulumi.getter(name="displayName")
|
54
|
+
def display_name(self) -> pulumi.Input[str]:
|
55
|
+
"""
|
56
|
+
(Updatable) Name of the Process Set.
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "display_name")
|
59
|
+
|
60
|
+
@display_name.setter
|
61
|
+
def display_name(self, value: pulumi.Input[str]):
|
62
|
+
pulumi.set(self, "display_name", value)
|
63
|
+
|
64
|
+
@property
|
65
|
+
@pulumi.getter
|
66
|
+
def specification(self) -> pulumi.Input['ProcessSetSpecificationArgs']:
|
67
|
+
"""
|
68
|
+
(Updatable) Collection of regular expression specifications used to identify the processes to be monitored.
|
69
|
+
"""
|
70
|
+
return pulumi.get(self, "specification")
|
71
|
+
|
72
|
+
@specification.setter
|
73
|
+
def specification(self, value: pulumi.Input['ProcessSetSpecificationArgs']):
|
74
|
+
pulumi.set(self, "specification", value)
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter(name="definedTags")
|
78
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
79
|
+
"""
|
80
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
81
|
+
"""
|
82
|
+
return pulumi.get(self, "defined_tags")
|
83
|
+
|
84
|
+
@defined_tags.setter
|
85
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
86
|
+
pulumi.set(self, "defined_tags", value)
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter(name="freeformTags")
|
90
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
91
|
+
"""
|
92
|
+
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
93
|
+
"""
|
94
|
+
return pulumi.get(self, "freeform_tags")
|
95
|
+
|
96
|
+
@freeform_tags.setter
|
97
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
98
|
+
pulumi.set(self, "freeform_tags", value)
|
99
|
+
|
100
|
+
|
101
|
+
@pulumi.input_type
|
102
|
+
class _ProcessSetState:
|
103
|
+
def __init__(__self__, *,
|
104
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
105
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
106
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
107
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
108
|
+
revision: Optional[pulumi.Input[str]] = None,
|
109
|
+
specification: Optional[pulumi.Input['ProcessSetSpecificationArgs']] = None,
|
110
|
+
state: Optional[pulumi.Input[str]] = None,
|
111
|
+
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
112
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
113
|
+
time_updated: Optional[pulumi.Input[str]] = None):
|
114
|
+
"""
|
115
|
+
Input properties used for looking up and filtering ProcessSet resources.
|
116
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
117
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
118
|
+
:param pulumi.Input[str] display_name: (Updatable) Name of the Process Set.
|
119
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
120
|
+
:param pulumi.Input[str] revision: The current revision of the Process Set.
|
121
|
+
:param pulumi.Input['ProcessSetSpecificationArgs'] specification: (Updatable) Collection of regular expression specifications used to identify the processes to be monitored.
|
122
|
+
:param pulumi.Input[str] state: The current state of the Resource.
|
123
|
+
:param pulumi.Input[Mapping[str, Any]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
124
|
+
:param pulumi.Input[str] time_created: The time the process set was created. An RFC3339 formatted datetime string.
|
125
|
+
:param pulumi.Input[str] time_updated: The time the process set was last updated. An RFC3339 formatted datetime string.
|
126
|
+
"""
|
127
|
+
if compartment_id is not None:
|
128
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
129
|
+
if defined_tags is not None:
|
130
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
131
|
+
if display_name is not None:
|
132
|
+
pulumi.set(__self__, "display_name", display_name)
|
133
|
+
if freeform_tags is not None:
|
134
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
135
|
+
if revision is not None:
|
136
|
+
pulumi.set(__self__, "revision", revision)
|
137
|
+
if specification is not None:
|
138
|
+
pulumi.set(__self__, "specification", specification)
|
139
|
+
if state is not None:
|
140
|
+
pulumi.set(__self__, "state", state)
|
141
|
+
if system_tags is not None:
|
142
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
143
|
+
if time_created is not None:
|
144
|
+
pulumi.set(__self__, "time_created", time_created)
|
145
|
+
if time_updated is not None:
|
146
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
147
|
+
|
148
|
+
@property
|
149
|
+
@pulumi.getter(name="compartmentId")
|
150
|
+
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
151
|
+
"""
|
152
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
153
|
+
"""
|
154
|
+
return pulumi.get(self, "compartment_id")
|
155
|
+
|
156
|
+
@compartment_id.setter
|
157
|
+
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
158
|
+
pulumi.set(self, "compartment_id", value)
|
159
|
+
|
160
|
+
@property
|
161
|
+
@pulumi.getter(name="definedTags")
|
162
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
163
|
+
"""
|
164
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
165
|
+
"""
|
166
|
+
return pulumi.get(self, "defined_tags")
|
167
|
+
|
168
|
+
@defined_tags.setter
|
169
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
170
|
+
pulumi.set(self, "defined_tags", value)
|
171
|
+
|
172
|
+
@property
|
173
|
+
@pulumi.getter(name="displayName")
|
174
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
175
|
+
"""
|
176
|
+
(Updatable) Name of the Process Set.
|
177
|
+
"""
|
178
|
+
return pulumi.get(self, "display_name")
|
179
|
+
|
180
|
+
@display_name.setter
|
181
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
182
|
+
pulumi.set(self, "display_name", value)
|
183
|
+
|
184
|
+
@property
|
185
|
+
@pulumi.getter(name="freeformTags")
|
186
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
187
|
+
"""
|
188
|
+
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
189
|
+
"""
|
190
|
+
return pulumi.get(self, "freeform_tags")
|
191
|
+
|
192
|
+
@freeform_tags.setter
|
193
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
194
|
+
pulumi.set(self, "freeform_tags", value)
|
195
|
+
|
196
|
+
@property
|
197
|
+
@pulumi.getter
|
198
|
+
def revision(self) -> Optional[pulumi.Input[str]]:
|
199
|
+
"""
|
200
|
+
The current revision of the Process Set.
|
201
|
+
"""
|
202
|
+
return pulumi.get(self, "revision")
|
203
|
+
|
204
|
+
@revision.setter
|
205
|
+
def revision(self, value: Optional[pulumi.Input[str]]):
|
206
|
+
pulumi.set(self, "revision", value)
|
207
|
+
|
208
|
+
@property
|
209
|
+
@pulumi.getter
|
210
|
+
def specification(self) -> Optional[pulumi.Input['ProcessSetSpecificationArgs']]:
|
211
|
+
"""
|
212
|
+
(Updatable) Collection of regular expression specifications used to identify the processes to be monitored.
|
213
|
+
"""
|
214
|
+
return pulumi.get(self, "specification")
|
215
|
+
|
216
|
+
@specification.setter
|
217
|
+
def specification(self, value: Optional[pulumi.Input['ProcessSetSpecificationArgs']]):
|
218
|
+
pulumi.set(self, "specification", value)
|
219
|
+
|
220
|
+
@property
|
221
|
+
@pulumi.getter
|
222
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
223
|
+
"""
|
224
|
+
The current state of the Resource.
|
225
|
+
"""
|
226
|
+
return pulumi.get(self, "state")
|
227
|
+
|
228
|
+
@state.setter
|
229
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
230
|
+
pulumi.set(self, "state", value)
|
231
|
+
|
232
|
+
@property
|
233
|
+
@pulumi.getter(name="systemTags")
|
234
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
235
|
+
"""
|
236
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
237
|
+
"""
|
238
|
+
return pulumi.get(self, "system_tags")
|
239
|
+
|
240
|
+
@system_tags.setter
|
241
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
242
|
+
pulumi.set(self, "system_tags", value)
|
243
|
+
|
244
|
+
@property
|
245
|
+
@pulumi.getter(name="timeCreated")
|
246
|
+
def time_created(self) -> Optional[pulumi.Input[str]]:
|
247
|
+
"""
|
248
|
+
The time the process set was created. An RFC3339 formatted datetime string.
|
249
|
+
"""
|
250
|
+
return pulumi.get(self, "time_created")
|
251
|
+
|
252
|
+
@time_created.setter
|
253
|
+
def time_created(self, value: Optional[pulumi.Input[str]]):
|
254
|
+
pulumi.set(self, "time_created", value)
|
255
|
+
|
256
|
+
@property
|
257
|
+
@pulumi.getter(name="timeUpdated")
|
258
|
+
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
259
|
+
"""
|
260
|
+
The time the process set was last updated. An RFC3339 formatted datetime string.
|
261
|
+
"""
|
262
|
+
return pulumi.get(self, "time_updated")
|
263
|
+
|
264
|
+
@time_updated.setter
|
265
|
+
def time_updated(self, value: Optional[pulumi.Input[str]]):
|
266
|
+
pulumi.set(self, "time_updated", value)
|
267
|
+
|
268
|
+
|
269
|
+
class ProcessSet(pulumi.CustomResource):
|
270
|
+
@overload
|
271
|
+
def __init__(__self__,
|
272
|
+
resource_name: str,
|
273
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
274
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
275
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
276
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
277
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
278
|
+
specification: Optional[pulumi.Input[pulumi.InputType['ProcessSetSpecificationArgs']]] = None,
|
279
|
+
__props__=None):
|
280
|
+
"""
|
281
|
+
This resource provides the Process Set resource in Oracle Cloud Infrastructure Stack Monitoring service.
|
282
|
+
|
283
|
+
API to create Process Set.
|
284
|
+
|
285
|
+
## Example Usage
|
286
|
+
|
287
|
+
```python
|
288
|
+
import pulumi
|
289
|
+
import pulumi_oci as oci
|
290
|
+
|
291
|
+
test_process_set = oci.stack_monitoring.ProcessSet("testProcessSet",
|
292
|
+
compartment_id=var["compartment_id"],
|
293
|
+
display_name=var["process_set_display_name"],
|
294
|
+
specification=oci.stack_monitoring.ProcessSetSpecificationArgs(
|
295
|
+
items=[oci.stack_monitoring.ProcessSetSpecificationItemArgs(
|
296
|
+
label=var["process_set_specification_items_label"],
|
297
|
+
process_command=var["process_set_specification_items_process_command"],
|
298
|
+
process_line_regex_pattern=var["process_set_specification_items_process_line_regex_pattern"],
|
299
|
+
process_user=var["process_set_specification_items_process_user"],
|
300
|
+
)],
|
301
|
+
),
|
302
|
+
defined_tags={
|
303
|
+
"foo-namespace.bar-key": "value",
|
304
|
+
},
|
305
|
+
freeform_tags={
|
306
|
+
"bar-key": "value",
|
307
|
+
})
|
308
|
+
```
|
309
|
+
|
310
|
+
## Import
|
311
|
+
|
312
|
+
ProcessSets can be imported using the `id`, e.g.
|
313
|
+
|
314
|
+
```sh
|
315
|
+
$ pulumi import oci:StackMonitoring/processSet:ProcessSet test_process_set "id"
|
316
|
+
```
|
317
|
+
|
318
|
+
:param str resource_name: The name of the resource.
|
319
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
320
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
321
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
322
|
+
:param pulumi.Input[str] display_name: (Updatable) Name of the Process Set.
|
323
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
324
|
+
:param pulumi.Input[pulumi.InputType['ProcessSetSpecificationArgs']] specification: (Updatable) Collection of regular expression specifications used to identify the processes to be monitored.
|
325
|
+
"""
|
326
|
+
...
|
327
|
+
@overload
|
328
|
+
def __init__(__self__,
|
329
|
+
resource_name: str,
|
330
|
+
args: ProcessSetArgs,
|
331
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
332
|
+
"""
|
333
|
+
This resource provides the Process Set resource in Oracle Cloud Infrastructure Stack Monitoring service.
|
334
|
+
|
335
|
+
API to create Process Set.
|
336
|
+
|
337
|
+
## Example Usage
|
338
|
+
|
339
|
+
```python
|
340
|
+
import pulumi
|
341
|
+
import pulumi_oci as oci
|
342
|
+
|
343
|
+
test_process_set = oci.stack_monitoring.ProcessSet("testProcessSet",
|
344
|
+
compartment_id=var["compartment_id"],
|
345
|
+
display_name=var["process_set_display_name"],
|
346
|
+
specification=oci.stack_monitoring.ProcessSetSpecificationArgs(
|
347
|
+
items=[oci.stack_monitoring.ProcessSetSpecificationItemArgs(
|
348
|
+
label=var["process_set_specification_items_label"],
|
349
|
+
process_command=var["process_set_specification_items_process_command"],
|
350
|
+
process_line_regex_pattern=var["process_set_specification_items_process_line_regex_pattern"],
|
351
|
+
process_user=var["process_set_specification_items_process_user"],
|
352
|
+
)],
|
353
|
+
),
|
354
|
+
defined_tags={
|
355
|
+
"foo-namespace.bar-key": "value",
|
356
|
+
},
|
357
|
+
freeform_tags={
|
358
|
+
"bar-key": "value",
|
359
|
+
})
|
360
|
+
```
|
361
|
+
|
362
|
+
## Import
|
363
|
+
|
364
|
+
ProcessSets can be imported using the `id`, e.g.
|
365
|
+
|
366
|
+
```sh
|
367
|
+
$ pulumi import oci:StackMonitoring/processSet:ProcessSet test_process_set "id"
|
368
|
+
```
|
369
|
+
|
370
|
+
:param str resource_name: The name of the resource.
|
371
|
+
:param ProcessSetArgs args: The arguments to use to populate this resource's properties.
|
372
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
373
|
+
"""
|
374
|
+
...
|
375
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
376
|
+
resource_args, opts = _utilities.get_resource_args_opts(ProcessSetArgs, pulumi.ResourceOptions, *args, **kwargs)
|
377
|
+
if resource_args is not None:
|
378
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
379
|
+
else:
|
380
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
381
|
+
|
382
|
+
def _internal_init(__self__,
|
383
|
+
resource_name: str,
|
384
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
385
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
386
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
387
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
388
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
389
|
+
specification: Optional[pulumi.Input[pulumi.InputType['ProcessSetSpecificationArgs']]] = None,
|
390
|
+
__props__=None):
|
391
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
392
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
393
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
394
|
+
if opts.id is None:
|
395
|
+
if __props__ is not None:
|
396
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
397
|
+
__props__ = ProcessSetArgs.__new__(ProcessSetArgs)
|
398
|
+
|
399
|
+
if compartment_id is None and not opts.urn:
|
400
|
+
raise TypeError("Missing required property 'compartment_id'")
|
401
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
402
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
403
|
+
if display_name is None and not opts.urn:
|
404
|
+
raise TypeError("Missing required property 'display_name'")
|
405
|
+
__props__.__dict__["display_name"] = display_name
|
406
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
407
|
+
if specification is None and not opts.urn:
|
408
|
+
raise TypeError("Missing required property 'specification'")
|
409
|
+
__props__.__dict__["specification"] = specification
|
410
|
+
__props__.__dict__["revision"] = None
|
411
|
+
__props__.__dict__["state"] = None
|
412
|
+
__props__.__dict__["system_tags"] = None
|
413
|
+
__props__.__dict__["time_created"] = None
|
414
|
+
__props__.__dict__["time_updated"] = None
|
415
|
+
super(ProcessSet, __self__).__init__(
|
416
|
+
'oci:StackMonitoring/processSet:ProcessSet',
|
417
|
+
resource_name,
|
418
|
+
__props__,
|
419
|
+
opts)
|
420
|
+
|
421
|
+
@staticmethod
|
422
|
+
def get(resource_name: str,
|
423
|
+
id: pulumi.Input[str],
|
424
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
425
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
426
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
427
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
428
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
429
|
+
revision: Optional[pulumi.Input[str]] = None,
|
430
|
+
specification: Optional[pulumi.Input[pulumi.InputType['ProcessSetSpecificationArgs']]] = None,
|
431
|
+
state: Optional[pulumi.Input[str]] = None,
|
432
|
+
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
433
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
434
|
+
time_updated: Optional[pulumi.Input[str]] = None) -> 'ProcessSet':
|
435
|
+
"""
|
436
|
+
Get an existing ProcessSet resource's state with the given name, id, and optional extra
|
437
|
+
properties used to qualify the lookup.
|
438
|
+
|
439
|
+
:param str resource_name: The unique name of the resulting resource.
|
440
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
441
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
442
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
443
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
444
|
+
:param pulumi.Input[str] display_name: (Updatable) Name of the Process Set.
|
445
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
446
|
+
:param pulumi.Input[str] revision: The current revision of the Process Set.
|
447
|
+
:param pulumi.Input[pulumi.InputType['ProcessSetSpecificationArgs']] specification: (Updatable) Collection of regular expression specifications used to identify the processes to be monitored.
|
448
|
+
:param pulumi.Input[str] state: The current state of the Resource.
|
449
|
+
:param pulumi.Input[Mapping[str, Any]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
450
|
+
:param pulumi.Input[str] time_created: The time the process set was created. An RFC3339 formatted datetime string.
|
451
|
+
:param pulumi.Input[str] time_updated: The time the process set was last updated. An RFC3339 formatted datetime string.
|
452
|
+
"""
|
453
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
454
|
+
|
455
|
+
__props__ = _ProcessSetState.__new__(_ProcessSetState)
|
456
|
+
|
457
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
458
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
459
|
+
__props__.__dict__["display_name"] = display_name
|
460
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
461
|
+
__props__.__dict__["revision"] = revision
|
462
|
+
__props__.__dict__["specification"] = specification
|
463
|
+
__props__.__dict__["state"] = state
|
464
|
+
__props__.__dict__["system_tags"] = system_tags
|
465
|
+
__props__.__dict__["time_created"] = time_created
|
466
|
+
__props__.__dict__["time_updated"] = time_updated
|
467
|
+
return ProcessSet(resource_name, opts=opts, __props__=__props__)
|
468
|
+
|
469
|
+
@property
|
470
|
+
@pulumi.getter(name="compartmentId")
|
471
|
+
def compartment_id(self) -> pulumi.Output[str]:
|
472
|
+
"""
|
473
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
474
|
+
"""
|
475
|
+
return pulumi.get(self, "compartment_id")
|
476
|
+
|
477
|
+
@property
|
478
|
+
@pulumi.getter(name="definedTags")
|
479
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
480
|
+
"""
|
481
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
482
|
+
"""
|
483
|
+
return pulumi.get(self, "defined_tags")
|
484
|
+
|
485
|
+
@property
|
486
|
+
@pulumi.getter(name="displayName")
|
487
|
+
def display_name(self) -> pulumi.Output[str]:
|
488
|
+
"""
|
489
|
+
(Updatable) Name of the Process Set.
|
490
|
+
"""
|
491
|
+
return pulumi.get(self, "display_name")
|
492
|
+
|
493
|
+
@property
|
494
|
+
@pulumi.getter(name="freeformTags")
|
495
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
496
|
+
"""
|
497
|
+
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
498
|
+
"""
|
499
|
+
return pulumi.get(self, "freeform_tags")
|
500
|
+
|
501
|
+
@property
|
502
|
+
@pulumi.getter
|
503
|
+
def revision(self) -> pulumi.Output[str]:
|
504
|
+
"""
|
505
|
+
The current revision of the Process Set.
|
506
|
+
"""
|
507
|
+
return pulumi.get(self, "revision")
|
508
|
+
|
509
|
+
@property
|
510
|
+
@pulumi.getter
|
511
|
+
def specification(self) -> pulumi.Output['outputs.ProcessSetSpecification']:
|
512
|
+
"""
|
513
|
+
(Updatable) Collection of regular expression specifications used to identify the processes to be monitored.
|
514
|
+
"""
|
515
|
+
return pulumi.get(self, "specification")
|
516
|
+
|
517
|
+
@property
|
518
|
+
@pulumi.getter
|
519
|
+
def state(self) -> pulumi.Output[str]:
|
520
|
+
"""
|
521
|
+
The current state of the Resource.
|
522
|
+
"""
|
523
|
+
return pulumi.get(self, "state")
|
524
|
+
|
525
|
+
@property
|
526
|
+
@pulumi.getter(name="systemTags")
|
527
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
528
|
+
"""
|
529
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
530
|
+
"""
|
531
|
+
return pulumi.get(self, "system_tags")
|
532
|
+
|
533
|
+
@property
|
534
|
+
@pulumi.getter(name="timeCreated")
|
535
|
+
def time_created(self) -> pulumi.Output[str]:
|
536
|
+
"""
|
537
|
+
The time the process set was created. An RFC3339 formatted datetime string.
|
538
|
+
"""
|
539
|
+
return pulumi.get(self, "time_created")
|
540
|
+
|
541
|
+
@property
|
542
|
+
@pulumi.getter(name="timeUpdated")
|
543
|
+
def time_updated(self) -> pulumi.Output[str]:
|
544
|
+
"""
|
545
|
+
The time the process set was last updated. An RFC3339 formatted datetime string.
|
546
|
+
"""
|
547
|
+
return pulumi.get(self, "time_updated")
|
548
|
+
|