pulumi-oci 2.10.0a1726294433__py3-none-any.whl → 2.11.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. pulumi_oci/__init__.py +62 -0
  2. pulumi_oci/bigdataservice/__init__.py +3 -0
  3. pulumi_oci/bigdataservice/_inputs.py +66 -0
  4. pulumi_oci/bigdataservice/bds_instance_os_patch_action.py +136 -2
  5. pulumi_oci/bigdataservice/bds_instance_resource_principal_configuration.py +524 -0
  6. pulumi_oci/bigdataservice/get_bds_instance_resource_principal_configuration.py +236 -0
  7. pulumi_oci/bigdataservice/get_bds_instance_resource_principal_configurations.py +176 -0
  8. pulumi_oci/bigdataservice/outputs.py +175 -0
  9. pulumi_oci/capacitymanagement/__init__.py +8 -0
  10. pulumi_oci/capacitymanagement/_inputs.py +465 -3
  11. pulumi_oci/capacitymanagement/get_internal_namespace_occ_overviews.py +221 -0
  12. pulumi_oci/capacitymanagement/get_internal_occ_availability_catalogs.py +7 -7
  13. pulumi_oci/capacitymanagement/get_internal_occ_handover_resource_block_details.py +150 -0
  14. pulumi_oci/capacitymanagement/get_internal_occ_handover_resource_blocks.py +247 -0
  15. pulumi_oci/capacitymanagement/get_namespace_occ_overviews.py +204 -0
  16. pulumi_oci/capacitymanagement/get_occ_availability_catalog.py +1 -1
  17. pulumi_oci/capacitymanagement/get_occ_capacity_request.py +15 -2
  18. pulumi_oci/capacitymanagement/get_occ_capacity_requests.py +25 -5
  19. pulumi_oci/capacitymanagement/get_occ_customer_group.py +1 -1
  20. pulumi_oci/capacitymanagement/get_occ_handover_resource_block_details.py +150 -0
  21. pulumi_oci/capacitymanagement/get_occ_handover_resource_blocks.py +227 -0
  22. pulumi_oci/capacitymanagement/occ_availability_catalog.py +4 -4
  23. pulumi_oci/capacitymanagement/occ_capacity_request.py +78 -32
  24. pulumi_oci/capacitymanagement/occ_customer_group.py +690 -0
  25. pulumi_oci/capacitymanagement/occ_customer_group_occ_customer.py +412 -0
  26. pulumi_oci/capacitymanagement/outputs.py +1668 -166
  27. pulumi_oci/containerengine/__init__.py +1 -0
  28. pulumi_oci/containerengine/get_cluster.py +327 -0
  29. pulumi_oci/containerengine/outputs.py +492 -0
  30. pulumi_oci/fleetsoftwareupdate/__init__.py +15 -0
  31. pulumi_oci/fleetsoftwareupdate/_inputs.py +717 -0
  32. pulumi_oci/fleetsoftwareupdate/fsu_collection.py +804 -0
  33. pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +1231 -0
  34. pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +301 -0
  35. pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +196 -0
  36. pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +431 -0
  37. pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +233 -0
  38. pulumi_oci/fleetsoftwareupdate/outputs.py +2129 -0
  39. pulumi_oci/generativeai/dedicated_ai_cluster.py +7 -0
  40. pulumi_oci/generativeai/get_model.py +3 -0
  41. pulumi_oci/generativeai/outputs.py +4 -0
  42. pulumi_oci/globallydistributeddatabase/__init__.py +15 -0
  43. pulumi_oci/globallydistributeddatabase/_inputs.py +1003 -0
  44. pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +300 -0
  45. pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +176 -0
  46. pulumi_oci/globallydistributeddatabase/get_sharded_database.py +610 -0
  47. pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +176 -0
  48. pulumi_oci/globallydistributeddatabase/outputs.py +2058 -0
  49. pulumi_oci/globallydistributeddatabase/private_endpoint.py +742 -0
  50. pulumi_oci/globallydistributeddatabase/sharded_database.py +1816 -0
  51. pulumi_oci/pulumi-plugin.json +1 -1
  52. {pulumi_oci-2.10.0a1726294433.dist-info → pulumi_oci-2.11.0.dist-info}/METADATA +1 -1
  53. {pulumi_oci-2.10.0a1726294433.dist-info → pulumi_oci-2.11.0.dist-info}/RECORD +55 -25
  54. {pulumi_oci-2.10.0a1726294433.dist-info → pulumi_oci-2.11.0.dist-info}/WHEEL +1 -1
  55. {pulumi_oci-2.10.0a1726294433.dist-info → pulumi_oci-2.11.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,690 @@
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__ = ['OccCustomerGroupArgs', 'OccCustomerGroup']
15
+
16
+ @pulumi.input_type
17
+ class OccCustomerGroupArgs:
18
+ def __init__(__self__, *,
19
+ compartment_id: pulumi.Input[str],
20
+ display_name: pulumi.Input[str],
21
+ customers_lists: Optional[pulumi.Input[Sequence[pulumi.Input['OccCustomerGroupCustomersListArgs']]]] = None,
22
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
23
+ description: Optional[pulumi.Input[str]] = None,
24
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
25
+ lifecycle_details: Optional[pulumi.Input[str]] = None,
26
+ status: Optional[pulumi.Input[str]] = None):
27
+ """
28
+ The set of arguments for constructing a OccCustomerGroup resource.
29
+ :param pulumi.Input[str] compartment_id: Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
30
+ :param pulumi.Input[str] display_name: (Updatable) The name of the customer group.
31
+ :param pulumi.Input[Sequence[pulumi.Input['OccCustomerGroupCustomersListArgs']]] customers_lists: A list containing all the customers that belong to this customer group.
32
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
33
+ :param pulumi.Input[str] description: (Updatable) A description about the customer group.
34
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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"}`
35
+ :param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.
36
+ :param pulumi.Input[str] status: (Updatable) To determine whether the customer group is enabled/disabled.
37
+
38
+
39
+ ** IMPORTANT **
40
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
41
+ """
42
+ pulumi.set(__self__, "compartment_id", compartment_id)
43
+ pulumi.set(__self__, "display_name", display_name)
44
+ if customers_lists is not None:
45
+ pulumi.set(__self__, "customers_lists", customers_lists)
46
+ if defined_tags is not None:
47
+ pulumi.set(__self__, "defined_tags", defined_tags)
48
+ if description is not None:
49
+ pulumi.set(__self__, "description", description)
50
+ if freeform_tags is not None:
51
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
52
+ if lifecycle_details is not None:
53
+ pulumi.set(__self__, "lifecycle_details", lifecycle_details)
54
+ if status is not None:
55
+ pulumi.set(__self__, "status", status)
56
+
57
+ @property
58
+ @pulumi.getter(name="compartmentId")
59
+ def compartment_id(self) -> pulumi.Input[str]:
60
+ """
61
+ Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
62
+ """
63
+ return pulumi.get(self, "compartment_id")
64
+
65
+ @compartment_id.setter
66
+ def compartment_id(self, value: pulumi.Input[str]):
67
+ pulumi.set(self, "compartment_id", value)
68
+
69
+ @property
70
+ @pulumi.getter(name="displayName")
71
+ def display_name(self) -> pulumi.Input[str]:
72
+ """
73
+ (Updatable) The name of the customer group.
74
+ """
75
+ return pulumi.get(self, "display_name")
76
+
77
+ @display_name.setter
78
+ def display_name(self, value: pulumi.Input[str]):
79
+ pulumi.set(self, "display_name", value)
80
+
81
+ @property
82
+ @pulumi.getter(name="customersLists")
83
+ def customers_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OccCustomerGroupCustomersListArgs']]]]:
84
+ """
85
+ A list containing all the customers that belong to this customer group.
86
+ """
87
+ return pulumi.get(self, "customers_lists")
88
+
89
+ @customers_lists.setter
90
+ def customers_lists(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OccCustomerGroupCustomersListArgs']]]]):
91
+ pulumi.set(self, "customers_lists", value)
92
+
93
+ @property
94
+ @pulumi.getter(name="definedTags")
95
+ def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
96
+ """
97
+ (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
98
+ """
99
+ return pulumi.get(self, "defined_tags")
100
+
101
+ @defined_tags.setter
102
+ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
103
+ pulumi.set(self, "defined_tags", value)
104
+
105
+ @property
106
+ @pulumi.getter
107
+ def description(self) -> Optional[pulumi.Input[str]]:
108
+ """
109
+ (Updatable) A description about the customer group.
110
+ """
111
+ return pulumi.get(self, "description")
112
+
113
+ @description.setter
114
+ def description(self, value: Optional[pulumi.Input[str]]):
115
+ pulumi.set(self, "description", value)
116
+
117
+ @property
118
+ @pulumi.getter(name="freeformTags")
119
+ def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
120
+ """
121
+ (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
122
+ """
123
+ return pulumi.get(self, "freeform_tags")
124
+
125
+ @freeform_tags.setter
126
+ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
127
+ pulumi.set(self, "freeform_tags", value)
128
+
129
+ @property
130
+ @pulumi.getter(name="lifecycleDetails")
131
+ def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
132
+ """
133
+ A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.
134
+ """
135
+ return pulumi.get(self, "lifecycle_details")
136
+
137
+ @lifecycle_details.setter
138
+ def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
139
+ pulumi.set(self, "lifecycle_details", value)
140
+
141
+ @property
142
+ @pulumi.getter
143
+ def status(self) -> Optional[pulumi.Input[str]]:
144
+ """
145
+ (Updatable) To determine whether the customer group is enabled/disabled.
146
+
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
+ """
151
+ return pulumi.get(self, "status")
152
+
153
+ @status.setter
154
+ def status(self, value: Optional[pulumi.Input[str]]):
155
+ pulumi.set(self, "status", value)
156
+
157
+
158
+ @pulumi.input_type
159
+ class _OccCustomerGroupState:
160
+ def __init__(__self__, *,
161
+ compartment_id: Optional[pulumi.Input[str]] = None,
162
+ customers_lists: Optional[pulumi.Input[Sequence[pulumi.Input['OccCustomerGroupCustomersListArgs']]]] = None,
163
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
164
+ description: Optional[pulumi.Input[str]] = None,
165
+ display_name: Optional[pulumi.Input[str]] = None,
166
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
167
+ lifecycle_details: Optional[pulumi.Input[str]] = None,
168
+ state: Optional[pulumi.Input[str]] = None,
169
+ status: Optional[pulumi.Input[str]] = None,
170
+ system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
171
+ time_created: Optional[pulumi.Input[str]] = None,
172
+ time_updated: Optional[pulumi.Input[str]] = None):
173
+ """
174
+ Input properties used for looking up and filtering OccCustomerGroup resources.
175
+ :param pulumi.Input[str] compartment_id: Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
176
+ :param pulumi.Input[Sequence[pulumi.Input['OccCustomerGroupCustomersListArgs']]] customers_lists: A list containing all the customers that belong to this customer group.
177
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
178
+ :param pulumi.Input[str] description: (Updatable) A description about the customer group.
179
+ :param pulumi.Input[str] display_name: (Updatable) The name of the customer group.
180
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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"}`
181
+ :param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.
182
+ :param pulumi.Input[str] state: The current lifecycle state of the resource.
183
+ :param pulumi.Input[str] status: (Updatable) To determine whether the customer group is enabled/disabled.
184
+
185
+
186
+ ** IMPORTANT **
187
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
188
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
189
+ :param pulumi.Input[str] time_created: The time when the customer group was created.
190
+ :param pulumi.Input[str] time_updated: The time when the customer group was last updated.
191
+ """
192
+ if compartment_id is not None:
193
+ pulumi.set(__self__, "compartment_id", compartment_id)
194
+ if customers_lists is not None:
195
+ pulumi.set(__self__, "customers_lists", customers_lists)
196
+ if defined_tags is not None:
197
+ pulumi.set(__self__, "defined_tags", defined_tags)
198
+ if description is not None:
199
+ pulumi.set(__self__, "description", description)
200
+ if display_name is not None:
201
+ pulumi.set(__self__, "display_name", display_name)
202
+ if freeform_tags is not None:
203
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
204
+ if lifecycle_details is not None:
205
+ pulumi.set(__self__, "lifecycle_details", lifecycle_details)
206
+ if state is not None:
207
+ pulumi.set(__self__, "state", state)
208
+ if status is not None:
209
+ pulumi.set(__self__, "status", status)
210
+ if system_tags is not None:
211
+ pulumi.set(__self__, "system_tags", system_tags)
212
+ if time_created is not None:
213
+ pulumi.set(__self__, "time_created", time_created)
214
+ if time_updated is not None:
215
+ pulumi.set(__self__, "time_updated", time_updated)
216
+
217
+ @property
218
+ @pulumi.getter(name="compartmentId")
219
+ def compartment_id(self) -> Optional[pulumi.Input[str]]:
220
+ """
221
+ Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
222
+ """
223
+ return pulumi.get(self, "compartment_id")
224
+
225
+ @compartment_id.setter
226
+ def compartment_id(self, value: Optional[pulumi.Input[str]]):
227
+ pulumi.set(self, "compartment_id", value)
228
+
229
+ @property
230
+ @pulumi.getter(name="customersLists")
231
+ def customers_lists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OccCustomerGroupCustomersListArgs']]]]:
232
+ """
233
+ A list containing all the customers that belong to this customer group.
234
+ """
235
+ return pulumi.get(self, "customers_lists")
236
+
237
+ @customers_lists.setter
238
+ def customers_lists(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OccCustomerGroupCustomersListArgs']]]]):
239
+ pulumi.set(self, "customers_lists", value)
240
+
241
+ @property
242
+ @pulumi.getter(name="definedTags")
243
+ def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
244
+ """
245
+ (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
246
+ """
247
+ return pulumi.get(self, "defined_tags")
248
+
249
+ @defined_tags.setter
250
+ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
251
+ pulumi.set(self, "defined_tags", value)
252
+
253
+ @property
254
+ @pulumi.getter
255
+ def description(self) -> Optional[pulumi.Input[str]]:
256
+ """
257
+ (Updatable) A description about the customer group.
258
+ """
259
+ return pulumi.get(self, "description")
260
+
261
+ @description.setter
262
+ def description(self, value: Optional[pulumi.Input[str]]):
263
+ pulumi.set(self, "description", value)
264
+
265
+ @property
266
+ @pulumi.getter(name="displayName")
267
+ def display_name(self) -> Optional[pulumi.Input[str]]:
268
+ """
269
+ (Updatable) The name of the customer group.
270
+ """
271
+ return pulumi.get(self, "display_name")
272
+
273
+ @display_name.setter
274
+ def display_name(self, value: Optional[pulumi.Input[str]]):
275
+ pulumi.set(self, "display_name", value)
276
+
277
+ @property
278
+ @pulumi.getter(name="freeformTags")
279
+ def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
280
+ """
281
+ (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
282
+ """
283
+ return pulumi.get(self, "freeform_tags")
284
+
285
+ @freeform_tags.setter
286
+ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
287
+ pulumi.set(self, "freeform_tags", value)
288
+
289
+ @property
290
+ @pulumi.getter(name="lifecycleDetails")
291
+ def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
292
+ """
293
+ A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.
294
+ """
295
+ return pulumi.get(self, "lifecycle_details")
296
+
297
+ @lifecycle_details.setter
298
+ def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
299
+ pulumi.set(self, "lifecycle_details", value)
300
+
301
+ @property
302
+ @pulumi.getter
303
+ def state(self) -> Optional[pulumi.Input[str]]:
304
+ """
305
+ The current lifecycle state of the resource.
306
+ """
307
+ return pulumi.get(self, "state")
308
+
309
+ @state.setter
310
+ def state(self, value: Optional[pulumi.Input[str]]):
311
+ pulumi.set(self, "state", value)
312
+
313
+ @property
314
+ @pulumi.getter
315
+ def status(self) -> Optional[pulumi.Input[str]]:
316
+ """
317
+ (Updatable) To determine whether the customer group is enabled/disabled.
318
+
319
+
320
+ ** IMPORTANT **
321
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
322
+ """
323
+ return pulumi.get(self, "status")
324
+
325
+ @status.setter
326
+ def status(self, value: Optional[pulumi.Input[str]]):
327
+ pulumi.set(self, "status", value)
328
+
329
+ @property
330
+ @pulumi.getter(name="systemTags")
331
+ def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
332
+ """
333
+ System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
334
+ """
335
+ return pulumi.get(self, "system_tags")
336
+
337
+ @system_tags.setter
338
+ def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
339
+ pulumi.set(self, "system_tags", value)
340
+
341
+ @property
342
+ @pulumi.getter(name="timeCreated")
343
+ def time_created(self) -> Optional[pulumi.Input[str]]:
344
+ """
345
+ The time when the customer group was created.
346
+ """
347
+ return pulumi.get(self, "time_created")
348
+
349
+ @time_created.setter
350
+ def time_created(self, value: Optional[pulumi.Input[str]]):
351
+ pulumi.set(self, "time_created", value)
352
+
353
+ @property
354
+ @pulumi.getter(name="timeUpdated")
355
+ def time_updated(self) -> Optional[pulumi.Input[str]]:
356
+ """
357
+ The time when the customer group was last updated.
358
+ """
359
+ return pulumi.get(self, "time_updated")
360
+
361
+ @time_updated.setter
362
+ def time_updated(self, value: Optional[pulumi.Input[str]]):
363
+ pulumi.set(self, "time_updated", value)
364
+
365
+
366
+ class OccCustomerGroup(pulumi.CustomResource):
367
+ @overload
368
+ def __init__(__self__,
369
+ resource_name: str,
370
+ opts: Optional[pulumi.ResourceOptions] = None,
371
+ compartment_id: Optional[pulumi.Input[str]] = None,
372
+ customers_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OccCustomerGroupCustomersListArgs', 'OccCustomerGroupCustomersListArgsDict']]]]] = None,
373
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
374
+ description: Optional[pulumi.Input[str]] = None,
375
+ display_name: Optional[pulumi.Input[str]] = None,
376
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
377
+ lifecycle_details: Optional[pulumi.Input[str]] = None,
378
+ status: Optional[pulumi.Input[str]] = None,
379
+ __props__=None):
380
+ """
381
+ This resource provides the Occ Customer Group resource in Oracle Cloud Infrastructure Capacity Management service.
382
+
383
+ Create customer group.
384
+
385
+ ## Example Usage
386
+
387
+ ```python
388
+ import pulumi
389
+ import pulumi_oci as oci
390
+
391
+ test_occ_customer_group = oci.capacity_management.OccCustomerGroup("test_occ_customer_group",
392
+ compartment_id=compartment_id,
393
+ display_name=occ_customer_group_display_name,
394
+ customers_lists=[{
395
+ "display_name": occ_customer_group_customers_list_display_name,
396
+ "tenancy_id": test_tenancy["id"],
397
+ "description": occ_customer_group_customers_list_description,
398
+ "status": occ_customer_group_customers_list_status,
399
+ }],
400
+ defined_tags={
401
+ "foo-namespace.bar-key": "value",
402
+ },
403
+ description=occ_customer_group_description,
404
+ freeform_tags={
405
+ "bar-key": "value",
406
+ },
407
+ lifecycle_details=occ_customer_group_lifecycle_details,
408
+ status=occ_customer_group_status)
409
+ ```
410
+
411
+ ## Import
412
+
413
+ OccCustomerGroups can be imported using the `id`, e.g.
414
+
415
+ ```sh
416
+ $ pulumi import oci:CapacityManagement/occCustomerGroup:OccCustomerGroup test_occ_customer_group "id"
417
+ ```
418
+
419
+ :param str resource_name: The name of the resource.
420
+ :param pulumi.ResourceOptions opts: Options for the resource.
421
+ :param pulumi.Input[str] compartment_id: Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
422
+ :param pulumi.Input[Sequence[pulumi.Input[Union['OccCustomerGroupCustomersListArgs', 'OccCustomerGroupCustomersListArgsDict']]]] customers_lists: A list containing all the customers that belong to this customer group.
423
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
424
+ :param pulumi.Input[str] description: (Updatable) A description about the customer group.
425
+ :param pulumi.Input[str] display_name: (Updatable) The name of the customer group.
426
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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"}`
427
+ :param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.
428
+ :param pulumi.Input[str] status: (Updatable) To determine whether the customer group is enabled/disabled.
429
+
430
+
431
+ ** IMPORTANT **
432
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
433
+ """
434
+ ...
435
+ @overload
436
+ def __init__(__self__,
437
+ resource_name: str,
438
+ args: OccCustomerGroupArgs,
439
+ opts: Optional[pulumi.ResourceOptions] = None):
440
+ """
441
+ This resource provides the Occ Customer Group resource in Oracle Cloud Infrastructure Capacity Management service.
442
+
443
+ Create customer group.
444
+
445
+ ## Example Usage
446
+
447
+ ```python
448
+ import pulumi
449
+ import pulumi_oci as oci
450
+
451
+ test_occ_customer_group = oci.capacity_management.OccCustomerGroup("test_occ_customer_group",
452
+ compartment_id=compartment_id,
453
+ display_name=occ_customer_group_display_name,
454
+ customers_lists=[{
455
+ "display_name": occ_customer_group_customers_list_display_name,
456
+ "tenancy_id": test_tenancy["id"],
457
+ "description": occ_customer_group_customers_list_description,
458
+ "status": occ_customer_group_customers_list_status,
459
+ }],
460
+ defined_tags={
461
+ "foo-namespace.bar-key": "value",
462
+ },
463
+ description=occ_customer_group_description,
464
+ freeform_tags={
465
+ "bar-key": "value",
466
+ },
467
+ lifecycle_details=occ_customer_group_lifecycle_details,
468
+ status=occ_customer_group_status)
469
+ ```
470
+
471
+ ## Import
472
+
473
+ OccCustomerGroups can be imported using the `id`, e.g.
474
+
475
+ ```sh
476
+ $ pulumi import oci:CapacityManagement/occCustomerGroup:OccCustomerGroup test_occ_customer_group "id"
477
+ ```
478
+
479
+ :param str resource_name: The name of the resource.
480
+ :param OccCustomerGroupArgs args: The arguments to use to populate this resource's properties.
481
+ :param pulumi.ResourceOptions opts: Options for the resource.
482
+ """
483
+ ...
484
+ def __init__(__self__, resource_name: str, *args, **kwargs):
485
+ resource_args, opts = _utilities.get_resource_args_opts(OccCustomerGroupArgs, pulumi.ResourceOptions, *args, **kwargs)
486
+ if resource_args is not None:
487
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
488
+ else:
489
+ __self__._internal_init(resource_name, *args, **kwargs)
490
+
491
+ def _internal_init(__self__,
492
+ resource_name: str,
493
+ opts: Optional[pulumi.ResourceOptions] = None,
494
+ compartment_id: Optional[pulumi.Input[str]] = None,
495
+ customers_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OccCustomerGroupCustomersListArgs', 'OccCustomerGroupCustomersListArgsDict']]]]] = None,
496
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
497
+ description: Optional[pulumi.Input[str]] = None,
498
+ display_name: Optional[pulumi.Input[str]] = None,
499
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
500
+ lifecycle_details: Optional[pulumi.Input[str]] = None,
501
+ status: Optional[pulumi.Input[str]] = None,
502
+ __props__=None):
503
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
504
+ if not isinstance(opts, pulumi.ResourceOptions):
505
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
506
+ if opts.id is None:
507
+ if __props__ is not None:
508
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
509
+ __props__ = OccCustomerGroupArgs.__new__(OccCustomerGroupArgs)
510
+
511
+ if compartment_id is None and not opts.urn:
512
+ raise TypeError("Missing required property 'compartment_id'")
513
+ __props__.__dict__["compartment_id"] = compartment_id
514
+ __props__.__dict__["customers_lists"] = customers_lists
515
+ __props__.__dict__["defined_tags"] = defined_tags
516
+ __props__.__dict__["description"] = description
517
+ if display_name is None and not opts.urn:
518
+ raise TypeError("Missing required property 'display_name'")
519
+ __props__.__dict__["display_name"] = display_name
520
+ __props__.__dict__["freeform_tags"] = freeform_tags
521
+ __props__.__dict__["lifecycle_details"] = lifecycle_details
522
+ __props__.__dict__["status"] = status
523
+ __props__.__dict__["state"] = None
524
+ __props__.__dict__["system_tags"] = None
525
+ __props__.__dict__["time_created"] = None
526
+ __props__.__dict__["time_updated"] = None
527
+ super(OccCustomerGroup, __self__).__init__(
528
+ 'oci:CapacityManagement/occCustomerGroup:OccCustomerGroup',
529
+ resource_name,
530
+ __props__,
531
+ opts)
532
+
533
+ @staticmethod
534
+ def get(resource_name: str,
535
+ id: pulumi.Input[str],
536
+ opts: Optional[pulumi.ResourceOptions] = None,
537
+ compartment_id: Optional[pulumi.Input[str]] = None,
538
+ customers_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OccCustomerGroupCustomersListArgs', 'OccCustomerGroupCustomersListArgsDict']]]]] = None,
539
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
540
+ description: Optional[pulumi.Input[str]] = None,
541
+ display_name: Optional[pulumi.Input[str]] = None,
542
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
543
+ lifecycle_details: Optional[pulumi.Input[str]] = None,
544
+ state: Optional[pulumi.Input[str]] = None,
545
+ status: Optional[pulumi.Input[str]] = None,
546
+ system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
547
+ time_created: Optional[pulumi.Input[str]] = None,
548
+ time_updated: Optional[pulumi.Input[str]] = None) -> 'OccCustomerGroup':
549
+ """
550
+ Get an existing OccCustomerGroup resource's state with the given name, id, and optional extra
551
+ properties used to qualify the lookup.
552
+
553
+ :param str resource_name: The unique name of the resulting resource.
554
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
555
+ :param pulumi.ResourceOptions opts: Options for the resource.
556
+ :param pulumi.Input[str] compartment_id: Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
557
+ :param pulumi.Input[Sequence[pulumi.Input[Union['OccCustomerGroupCustomersListArgs', 'OccCustomerGroupCustomersListArgsDict']]]] customers_lists: A list containing all the customers that belong to this customer group.
558
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
559
+ :param pulumi.Input[str] description: (Updatable) A description about the customer group.
560
+ :param pulumi.Input[str] display_name: (Updatable) The name of the customer group.
561
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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"}`
562
+ :param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.
563
+ :param pulumi.Input[str] state: The current lifecycle state of the resource.
564
+ :param pulumi.Input[str] status: (Updatable) To determine whether the customer group is enabled/disabled.
565
+
566
+
567
+ ** IMPORTANT **
568
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
569
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
570
+ :param pulumi.Input[str] time_created: The time when the customer group was created.
571
+ :param pulumi.Input[str] time_updated: The time when the customer group was last updated.
572
+ """
573
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
574
+
575
+ __props__ = _OccCustomerGroupState.__new__(_OccCustomerGroupState)
576
+
577
+ __props__.__dict__["compartment_id"] = compartment_id
578
+ __props__.__dict__["customers_lists"] = customers_lists
579
+ __props__.__dict__["defined_tags"] = defined_tags
580
+ __props__.__dict__["description"] = description
581
+ __props__.__dict__["display_name"] = display_name
582
+ __props__.__dict__["freeform_tags"] = freeform_tags
583
+ __props__.__dict__["lifecycle_details"] = lifecycle_details
584
+ __props__.__dict__["state"] = state
585
+ __props__.__dict__["status"] = status
586
+ __props__.__dict__["system_tags"] = system_tags
587
+ __props__.__dict__["time_created"] = time_created
588
+ __props__.__dict__["time_updated"] = time_updated
589
+ return OccCustomerGroup(resource_name, opts=opts, __props__=__props__)
590
+
591
+ @property
592
+ @pulumi.getter(name="compartmentId")
593
+ def compartment_id(self) -> pulumi.Output[str]:
594
+ """
595
+ Since all resources are at tenancy level hence this will be the ocid of the tenancy where operation is to be performed.
596
+ """
597
+ return pulumi.get(self, "compartment_id")
598
+
599
+ @property
600
+ @pulumi.getter(name="customersLists")
601
+ def customers_lists(self) -> pulumi.Output[Sequence['outputs.OccCustomerGroupCustomersList']]:
602
+ """
603
+ A list containing all the customers that belong to this customer group.
604
+ """
605
+ return pulumi.get(self, "customers_lists")
606
+
607
+ @property
608
+ @pulumi.getter(name="definedTags")
609
+ def defined_tags(self) -> pulumi.Output[Mapping[str, str]]:
610
+ """
611
+ (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
612
+ """
613
+ return pulumi.get(self, "defined_tags")
614
+
615
+ @property
616
+ @pulumi.getter
617
+ def description(self) -> pulumi.Output[str]:
618
+ """
619
+ (Updatable) A description about the customer group.
620
+ """
621
+ return pulumi.get(self, "description")
622
+
623
+ @property
624
+ @pulumi.getter(name="displayName")
625
+ def display_name(self) -> pulumi.Output[str]:
626
+ """
627
+ (Updatable) The name of the customer group.
628
+ """
629
+ return pulumi.get(self, "display_name")
630
+
631
+ @property
632
+ @pulumi.getter(name="freeformTags")
633
+ def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]:
634
+ """
635
+ (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
636
+ """
637
+ return pulumi.get(self, "freeform_tags")
638
+
639
+ @property
640
+ @pulumi.getter(name="lifecycleDetails")
641
+ def lifecycle_details(self) -> pulumi.Output[str]:
642
+ """
643
+ A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed State.
644
+ """
645
+ return pulumi.get(self, "lifecycle_details")
646
+
647
+ @property
648
+ @pulumi.getter
649
+ def state(self) -> pulumi.Output[str]:
650
+ """
651
+ The current lifecycle state of the resource.
652
+ """
653
+ return pulumi.get(self, "state")
654
+
655
+ @property
656
+ @pulumi.getter
657
+ def status(self) -> pulumi.Output[str]:
658
+ """
659
+ (Updatable) To determine whether the customer group is enabled/disabled.
660
+
661
+
662
+ ** IMPORTANT **
663
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
664
+ """
665
+ return pulumi.get(self, "status")
666
+
667
+ @property
668
+ @pulumi.getter(name="systemTags")
669
+ def system_tags(self) -> pulumi.Output[Mapping[str, str]]:
670
+ """
671
+ System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
672
+ """
673
+ return pulumi.get(self, "system_tags")
674
+
675
+ @property
676
+ @pulumi.getter(name="timeCreated")
677
+ def time_created(self) -> pulumi.Output[str]:
678
+ """
679
+ The time when the customer group was created.
680
+ """
681
+ return pulumi.get(self, "time_created")
682
+
683
+ @property
684
+ @pulumi.getter(name="timeUpdated")
685
+ def time_updated(self) -> pulumi.Output[str]:
686
+ """
687
+ The time when the customer group was last updated.
688
+ """
689
+ return pulumi.get(self, "time_updated")
690
+