pulumi-oci 2.11.0__py3-none-any.whl → 2.11.0a1726726622__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 +0 -62
  2. pulumi_oci/bigdataservice/__init__.py +0 -3
  3. pulumi_oci/bigdataservice/_inputs.py +0 -66
  4. pulumi_oci/bigdataservice/bds_instance_os_patch_action.py +2 -136
  5. pulumi_oci/bigdataservice/outputs.py +0 -175
  6. pulumi_oci/capacitymanagement/__init__.py +0 -8
  7. pulumi_oci/capacitymanagement/_inputs.py +3 -465
  8. pulumi_oci/capacitymanagement/get_internal_occ_availability_catalogs.py +7 -7
  9. pulumi_oci/capacitymanagement/get_occ_availability_catalog.py +1 -1
  10. pulumi_oci/capacitymanagement/get_occ_capacity_request.py +2 -15
  11. pulumi_oci/capacitymanagement/get_occ_capacity_requests.py +5 -25
  12. pulumi_oci/capacitymanagement/get_occ_customer_group.py +1 -1
  13. pulumi_oci/capacitymanagement/occ_availability_catalog.py +4 -4
  14. pulumi_oci/capacitymanagement/occ_capacity_request.py +32 -78
  15. pulumi_oci/capacitymanagement/outputs.py +166 -1668
  16. pulumi_oci/containerengine/__init__.py +0 -1
  17. pulumi_oci/containerengine/outputs.py +0 -492
  18. pulumi_oci/generativeai/dedicated_ai_cluster.py +0 -7
  19. pulumi_oci/generativeai/get_model.py +0 -3
  20. pulumi_oci/generativeai/outputs.py +0 -4
  21. pulumi_oci/pulumi-plugin.json +1 -1
  22. {pulumi_oci-2.11.0.dist-info → pulumi_oci-2.11.0a1726726622.dist-info}/METADATA +1 -1
  23. {pulumi_oci-2.11.0.dist-info → pulumi_oci-2.11.0a1726726622.dist-info}/RECORD +25 -55
  24. pulumi_oci/bigdataservice/bds_instance_resource_principal_configuration.py +0 -524
  25. pulumi_oci/bigdataservice/get_bds_instance_resource_principal_configuration.py +0 -236
  26. pulumi_oci/bigdataservice/get_bds_instance_resource_principal_configurations.py +0 -176
  27. pulumi_oci/capacitymanagement/get_internal_namespace_occ_overviews.py +0 -221
  28. pulumi_oci/capacitymanagement/get_internal_occ_handover_resource_block_details.py +0 -150
  29. pulumi_oci/capacitymanagement/get_internal_occ_handover_resource_blocks.py +0 -247
  30. pulumi_oci/capacitymanagement/get_namespace_occ_overviews.py +0 -204
  31. pulumi_oci/capacitymanagement/get_occ_handover_resource_block_details.py +0 -150
  32. pulumi_oci/capacitymanagement/get_occ_handover_resource_blocks.py +0 -227
  33. pulumi_oci/capacitymanagement/occ_customer_group.py +0 -690
  34. pulumi_oci/capacitymanagement/occ_customer_group_occ_customer.py +0 -412
  35. pulumi_oci/containerengine/get_cluster.py +0 -327
  36. pulumi_oci/fleetsoftwareupdate/__init__.py +0 -15
  37. pulumi_oci/fleetsoftwareupdate/_inputs.py +0 -717
  38. pulumi_oci/fleetsoftwareupdate/fsu_collection.py +0 -804
  39. pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +0 -1231
  40. pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +0 -301
  41. pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +0 -196
  42. pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +0 -431
  43. pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +0 -233
  44. pulumi_oci/fleetsoftwareupdate/outputs.py +0 -2129
  45. pulumi_oci/globallydistributeddatabase/__init__.py +0 -15
  46. pulumi_oci/globallydistributeddatabase/_inputs.py +0 -1003
  47. pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +0 -300
  48. pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +0 -176
  49. pulumi_oci/globallydistributeddatabase/get_sharded_database.py +0 -610
  50. pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +0 -176
  51. pulumi_oci/globallydistributeddatabase/outputs.py +0 -2058
  52. pulumi_oci/globallydistributeddatabase/private_endpoint.py +0 -742
  53. pulumi_oci/globallydistributeddatabase/sharded_database.py +0 -1816
  54. {pulumi_oci-2.11.0.dist-info → pulumi_oci-2.11.0a1726726622.dist-info}/WHEEL +0 -0
  55. {pulumi_oci-2.11.0.dist-info → pulumi_oci-2.11.0a1726726622.dist-info}/top_level.txt +0 -0
@@ -22,7 +22,7 @@ class GetOccCapacityRequestResult:
22
22
  """
23
23
  A collection of values returned by getOccCapacityRequest.
24
24
  """
25
- def __init__(__self__, availability_domain=None, compartment_id=None, date_expected_capacity_handover=None, defined_tags=None, description=None, details=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, namespace=None, occ_availability_catalog_id=None, occ_capacity_request_id=None, occ_customer_group_id=None, patch_operations=None, region=None, request_state=None, request_type=None, state=None, system_tags=None, time_created=None, time_updated=None):
25
+ def __init__(__self__, availability_domain=None, compartment_id=None, date_expected_capacity_handover=None, defined_tags=None, description=None, details=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, namespace=None, occ_availability_catalog_id=None, occ_capacity_request_id=None, occ_customer_group_id=None, patch_operations=None, region=None, request_state=None, state=None, system_tags=None, time_created=None, time_updated=None):
26
26
  if availability_domain and not isinstance(availability_domain, str):
27
27
  raise TypeError("Expected argument 'availability_domain' to be a str")
28
28
  pulumi.set(__self__, "availability_domain", availability_domain)
@@ -74,9 +74,6 @@ class GetOccCapacityRequestResult:
74
74
  if request_state and not isinstance(request_state, str):
75
75
  raise TypeError("Expected argument 'request_state' to be a str")
76
76
  pulumi.set(__self__, "request_state", request_state)
77
- if request_type and not isinstance(request_type, str):
78
- raise TypeError("Expected argument 'request_type' to be a str")
79
- pulumi.set(__self__, "request_type", request_type)
80
77
  if state and not isinstance(state, str):
81
78
  raise TypeError("Expected argument 'state' to be a str")
82
79
  pulumi.set(__self__, "state", state)
@@ -94,7 +91,7 @@ class GetOccCapacityRequestResult:
94
91
  @pulumi.getter(name="availabilityDomain")
95
92
  def availability_domain(self) -> str:
96
93
  """
97
- The availability domain of the resource which is to be transferred. Note that this is only required for Capacity Request Transfer requests.
94
+ The availability domain (AD) for which the capacity request was made.
98
95
  """
99
96
  return pulumi.get(self, "availability_domain")
100
97
 
@@ -220,14 +217,6 @@ class GetOccCapacityRequestResult:
220
217
  """
221
218
  return pulumi.get(self, "request_state")
222
219
 
223
- @property
224
- @pulumi.getter(name="requestType")
225
- def request_type(self) -> str:
226
- """
227
- Type of Capacity Request(New or Transfer)
228
- """
229
- return pulumi.get(self, "request_type")
230
-
231
220
  @property
232
221
  @pulumi.getter
233
222
  def state(self) -> str:
@@ -284,7 +273,6 @@ class AwaitableGetOccCapacityRequestResult(GetOccCapacityRequestResult):
284
273
  patch_operations=self.patch_operations,
285
274
  region=self.region,
286
275
  request_state=self.request_state,
287
- request_type=self.request_type,
288
276
  state=self.state,
289
277
  system_tags=self.system_tags,
290
278
  time_created=self.time_created,
@@ -333,7 +321,6 @@ def get_occ_capacity_request(occ_capacity_request_id: Optional[str] = None,
333
321
  patch_operations=pulumi.get(__ret__, 'patch_operations'),
334
322
  region=pulumi.get(__ret__, 'region'),
335
323
  request_state=pulumi.get(__ret__, 'request_state'),
336
- request_type=pulumi.get(__ret__, 'request_type'),
337
324
  state=pulumi.get(__ret__, 'state'),
338
325
  system_tags=pulumi.get(__ret__, 'system_tags'),
339
326
  time_created=pulumi.get(__ret__, 'time_created'),
@@ -23,7 +23,7 @@ class GetOccCapacityRequestsResult:
23
23
  """
24
24
  A collection of values returned by getOccCapacityRequests.
25
25
  """
26
- def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, namespace=None, occ_availability_catalog_id=None, occ_capacity_request_collections=None, request_type=None):
26
+ def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, namespace=None, occ_availability_catalog_id=None, occ_capacity_request_collections=None):
27
27
  if compartment_id and not isinstance(compartment_id, str):
28
28
  raise TypeError("Expected argument 'compartment_id' to be a str")
29
29
  pulumi.set(__self__, "compartment_id", compartment_id)
@@ -45,9 +45,6 @@ class GetOccCapacityRequestsResult:
45
45
  if occ_capacity_request_collections and not isinstance(occ_capacity_request_collections, list):
46
46
  raise TypeError("Expected argument 'occ_capacity_request_collections' to be a list")
47
47
  pulumi.set(__self__, "occ_capacity_request_collections", occ_capacity_request_collections)
48
- if request_type and not isinstance(request_type, str):
49
- raise TypeError("Expected argument 'request_type' to be a str")
50
- pulumi.set(__self__, "request_type", request_type)
51
48
 
52
49
  @property
53
50
  @pulumi.getter(name="compartmentId")
@@ -102,14 +99,6 @@ class GetOccCapacityRequestsResult:
102
99
  """
103
100
  return pulumi.get(self, "occ_capacity_request_collections")
104
101
 
105
- @property
106
- @pulumi.getter(name="requestType")
107
- def request_type(self) -> Optional[str]:
108
- """
109
- Type of Capacity Request(New or Transfer)
110
- """
111
- return pulumi.get(self, "request_type")
112
-
113
102
 
114
103
  class AwaitableGetOccCapacityRequestsResult(GetOccCapacityRequestsResult):
115
104
  # pylint: disable=using-constant-test
@@ -123,8 +112,7 @@ class AwaitableGetOccCapacityRequestsResult(GetOccCapacityRequestsResult):
123
112
  id=self.id,
124
113
  namespace=self.namespace,
125
114
  occ_availability_catalog_id=self.occ_availability_catalog_id,
126
- occ_capacity_request_collections=self.occ_capacity_request_collections,
127
- request_type=self.request_type)
115
+ occ_capacity_request_collections=self.occ_capacity_request_collections)
128
116
 
129
117
 
130
118
  def get_occ_capacity_requests(compartment_id: Optional[str] = None,
@@ -133,7 +121,6 @@ def get_occ_capacity_requests(compartment_id: Optional[str] = None,
133
121
  id: Optional[str] = None,
134
122
  namespace: Optional[str] = None,
135
123
  occ_availability_catalog_id: Optional[str] = None,
136
- request_type: Optional[str] = None,
137
124
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOccCapacityRequestsResult:
138
125
  """
139
126
  This data source provides the list of Occ Capacity Requests in Oracle Cloud Infrastructure Capacity Management service.
@@ -150,8 +137,7 @@ def get_occ_capacity_requests(compartment_id: Optional[str] = None,
150
137
  display_name=occ_capacity_request_display_name,
151
138
  id=occ_capacity_request_id,
152
139
  namespace=occ_capacity_request_namespace,
153
- occ_availability_catalog_id=test_occ_availability_catalog["id"],
154
- request_type=occ_capacity_request_request_type)
140
+ occ_availability_catalog_id=test_occ_availability_catalog["id"])
155
141
  ```
156
142
 
157
143
 
@@ -160,7 +146,6 @@ def get_occ_capacity_requests(compartment_id: Optional[str] = None,
160
146
  :param str id: A filter to return the list of capacity requests based on the OCID of the capacity request. This is done for the users who have INSPECT permission on the resource but do not have READ permission.
161
147
  :param str namespace: The namespace by which we would filter the list.
162
148
  :param str occ_availability_catalog_id: A filter to return the list of capacity requests based on the OCID of the availability catalog against which they were created.
163
- :param str request_type: A filter to return only the resources that match the request type. The match is not case sensitive.
164
149
  """
165
150
  __args__ = dict()
166
151
  __args__['compartmentId'] = compartment_id
@@ -169,7 +154,6 @@ def get_occ_capacity_requests(compartment_id: Optional[str] = None,
169
154
  __args__['id'] = id
170
155
  __args__['namespace'] = namespace
171
156
  __args__['occAvailabilityCatalogId'] = occ_availability_catalog_id
172
- __args__['requestType'] = request_type
173
157
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
174
158
  __ret__ = pulumi.runtime.invoke('oci:CapacityManagement/getOccCapacityRequests:getOccCapacityRequests', __args__, opts=opts, typ=GetOccCapacityRequestsResult).value
175
159
 
@@ -180,8 +164,7 @@ def get_occ_capacity_requests(compartment_id: Optional[str] = None,
180
164
  id=pulumi.get(__ret__, 'id'),
181
165
  namespace=pulumi.get(__ret__, 'namespace'),
182
166
  occ_availability_catalog_id=pulumi.get(__ret__, 'occ_availability_catalog_id'),
183
- occ_capacity_request_collections=pulumi.get(__ret__, 'occ_capacity_request_collections'),
184
- request_type=pulumi.get(__ret__, 'request_type'))
167
+ occ_capacity_request_collections=pulumi.get(__ret__, 'occ_capacity_request_collections'))
185
168
 
186
169
 
187
170
  @_utilities.lift_output_func(get_occ_capacity_requests)
@@ -191,7 +174,6 @@ def get_occ_capacity_requests_output(compartment_id: Optional[pulumi.Input[str]]
191
174
  id: Optional[pulumi.Input[Optional[str]]] = None,
192
175
  namespace: Optional[pulumi.Input[Optional[str]]] = None,
193
176
  occ_availability_catalog_id: Optional[pulumi.Input[Optional[str]]] = None,
194
- request_type: Optional[pulumi.Input[Optional[str]]] = None,
195
177
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOccCapacityRequestsResult]:
196
178
  """
197
179
  This data source provides the list of Occ Capacity Requests in Oracle Cloud Infrastructure Capacity Management service.
@@ -208,8 +190,7 @@ def get_occ_capacity_requests_output(compartment_id: Optional[pulumi.Input[str]]
208
190
  display_name=occ_capacity_request_display_name,
209
191
  id=occ_capacity_request_id,
210
192
  namespace=occ_capacity_request_namespace,
211
- occ_availability_catalog_id=test_occ_availability_catalog["id"],
212
- request_type=occ_capacity_request_request_type)
193
+ occ_availability_catalog_id=test_occ_availability_catalog["id"])
213
194
  ```
214
195
 
215
196
 
@@ -218,6 +199,5 @@ def get_occ_capacity_requests_output(compartment_id: Optional[pulumi.Input[str]]
218
199
  :param str id: A filter to return the list of capacity requests based on the OCID of the capacity request. This is done for the users who have INSPECT permission on the resource but do not have READ permission.
219
200
  :param str namespace: The namespace by which we would filter the list.
220
201
  :param str occ_availability_catalog_id: A filter to return the list of capacity requests based on the OCID of the availability catalog against which they were created.
221
- :param str request_type: A filter to return only the resources that match the request type. The match is not case sensitive.
222
202
  """
223
203
  ...
@@ -118,7 +118,7 @@ class GetOccCustomerGroupResult:
118
118
  @pulumi.getter
119
119
  def id(self) -> str:
120
120
  """
121
- The OCID of the customer group.
121
+ The provider-assigned unique ID for this managed resource.
122
122
  """
123
123
  return pulumi.get(self, "id")
124
124
 
@@ -194,7 +194,7 @@ class _OccAvailabilityCatalogState:
194
194
  :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.
195
195
  :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"}`
196
196
  :param pulumi.Input[str] description: (Updatable) Additional information about the availability catalog.
197
- :param pulumi.Input[Sequence[pulumi.Input['OccAvailabilityCatalogDetailArgs']]] details: Details about capacity available for different resources in catalog.
197
+ :param pulumi.Input[Sequence[pulumi.Input['OccAvailabilityCatalogDetailArgs']]] details: Details about capacity available for different resources in catalog.
198
198
  :param pulumi.Input[str] display_name: (Updatable) The display name of the availability catalog.
199
199
  :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"}`
200
200
  :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.
@@ -307,7 +307,7 @@ class _OccAvailabilityCatalogState:
307
307
  @pulumi.getter
308
308
  def details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OccAvailabilityCatalogDetailArgs']]]]:
309
309
  """
310
- Details about capacity available for different resources in catalog.
310
+ Details about capacity available for different resources in catalog.
311
311
  """
312
312
  return pulumi.get(self, "details")
313
313
 
@@ -648,7 +648,7 @@ class OccAvailabilityCatalog(pulumi.CustomResource):
648
648
  :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.
649
649
  :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"}`
650
650
  :param pulumi.Input[str] description: (Updatable) Additional information about the availability catalog.
651
- :param pulumi.Input[Sequence[pulumi.Input[Union['OccAvailabilityCatalogDetailArgs', 'OccAvailabilityCatalogDetailArgsDict']]]] details: Details about capacity available for different resources in catalog.
651
+ :param pulumi.Input[Sequence[pulumi.Input[Union['OccAvailabilityCatalogDetailArgs', 'OccAvailabilityCatalogDetailArgsDict']]]] details: Details about capacity available for different resources in catalog.
652
652
  :param pulumi.Input[str] display_name: (Updatable) The display name of the availability catalog.
653
653
  :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"}`
654
654
  :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.
@@ -730,7 +730,7 @@ class OccAvailabilityCatalog(pulumi.CustomResource):
730
730
  @pulumi.getter
731
731
  def details(self) -> pulumi.Output[Sequence['outputs.OccAvailabilityCatalogDetail']]:
732
732
  """
733
- Details about capacity available for different resources in catalog.
733
+ Details about capacity available for different resources in catalog.
734
734
  """
735
735
  return pulumi.get(self, "details")
736
736
 
@@ -16,6 +16,7 @@ __all__ = ['OccCapacityRequestArgs', 'OccCapacityRequest']
16
16
  @pulumi.input_type
17
17
  class OccCapacityRequestArgs:
18
18
  def __init__(__self__, *,
19
+ availability_domain: pulumi.Input[str],
19
20
  compartment_id: pulumi.Input[str],
20
21
  date_expected_capacity_handover: pulumi.Input[str],
21
22
  details: pulumi.Input[Sequence[pulumi.Input['OccCapacityRequestDetailArgs']]],
@@ -23,16 +24,15 @@ class OccCapacityRequestArgs:
23
24
  namespace: pulumi.Input[str],
24
25
  occ_availability_catalog_id: pulumi.Input[str],
25
26
  region: pulumi.Input[str],
26
- availability_domain: Optional[pulumi.Input[str]] = None,
27
27
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
28
28
  description: Optional[pulumi.Input[str]] = None,
29
29
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
30
30
  lifecycle_details: Optional[pulumi.Input[str]] = None,
31
31
  patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input['OccCapacityRequestPatchOperationArgs']]]] = None,
32
- request_state: Optional[pulumi.Input[str]] = None,
33
- request_type: Optional[pulumi.Input[str]] = None):
32
+ request_state: Optional[pulumi.Input[str]] = None):
34
33
  """
35
34
  The set of arguments for constructing a OccCapacityRequest resource.
35
+ :param pulumi.Input[str] availability_domain: The availability domain (AD) for which the capacity request is made. If this is specified then the capacity will be validated and fulfilled within the scope of this AD.
36
36
  :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.
37
37
  :param pulumi.Input[str] date_expected_capacity_handover: The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
38
38
  :param pulumi.Input[Sequence[pulumi.Input['OccCapacityRequestDetailArgs']]] details: A list of different resources requested by the user.
@@ -40,19 +40,18 @@ class OccCapacityRequestArgs:
40
40
  :param pulumi.Input[str] namespace: The name of the Oracle Cloud Infrastructure service in consideration. For example, Compute, Exadata, and so on.
41
41
  :param pulumi.Input[str] occ_availability_catalog_id: The OCID of the availability catalog against which capacity request is made.
42
42
  :param pulumi.Input[str] region: The name of the region for which the capacity request is made.
43
- :param pulumi.Input[str] availability_domain: The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests.
44
43
  :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"}`
45
44
  :param pulumi.Input[str] description: Meaningful text about the capacity request.
46
45
  :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"}`
47
46
  :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.
48
47
  :param pulumi.Input[Sequence[pulumi.Input['OccCapacityRequestPatchOperationArgs']]] patch_operations: (Updatable)
49
48
  :param pulumi.Input[str] request_state: (Updatable) The subset of request states available for creating the capacity request.
50
- :param pulumi.Input[str] request_type: Type of Capacity Request(New or Transfer)
51
49
 
52
50
 
53
51
  ** IMPORTANT **
54
52
  Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
55
53
  """
54
+ pulumi.set(__self__, "availability_domain", availability_domain)
56
55
  pulumi.set(__self__, "compartment_id", compartment_id)
57
56
  pulumi.set(__self__, "date_expected_capacity_handover", date_expected_capacity_handover)
58
57
  pulumi.set(__self__, "details", details)
@@ -60,8 +59,6 @@ class OccCapacityRequestArgs:
60
59
  pulumi.set(__self__, "namespace", namespace)
61
60
  pulumi.set(__self__, "occ_availability_catalog_id", occ_availability_catalog_id)
62
61
  pulumi.set(__self__, "region", region)
63
- if availability_domain is not None:
64
- pulumi.set(__self__, "availability_domain", availability_domain)
65
62
  if defined_tags is not None:
66
63
  pulumi.set(__self__, "defined_tags", defined_tags)
67
64
  if description is not None:
@@ -74,8 +71,18 @@ class OccCapacityRequestArgs:
74
71
  pulumi.set(__self__, "patch_operations", patch_operations)
75
72
  if request_state is not None:
76
73
  pulumi.set(__self__, "request_state", request_state)
77
- if request_type is not None:
78
- pulumi.set(__self__, "request_type", request_type)
74
+
75
+ @property
76
+ @pulumi.getter(name="availabilityDomain")
77
+ def availability_domain(self) -> pulumi.Input[str]:
78
+ """
79
+ The availability domain (AD) for which the capacity request is made. If this is specified then the capacity will be validated and fulfilled within the scope of this AD.
80
+ """
81
+ return pulumi.get(self, "availability_domain")
82
+
83
+ @availability_domain.setter
84
+ def availability_domain(self, value: pulumi.Input[str]):
85
+ pulumi.set(self, "availability_domain", value)
79
86
 
80
87
  @property
81
88
  @pulumi.getter(name="compartmentId")
@@ -161,18 +168,6 @@ class OccCapacityRequestArgs:
161
168
  def region(self, value: pulumi.Input[str]):
162
169
  pulumi.set(self, "region", value)
163
170
 
164
- @property
165
- @pulumi.getter(name="availabilityDomain")
166
- def availability_domain(self) -> Optional[pulumi.Input[str]]:
167
- """
168
- The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests.
169
- """
170
- return pulumi.get(self, "availability_domain")
171
-
172
- @availability_domain.setter
173
- def availability_domain(self, value: Optional[pulumi.Input[str]]):
174
- pulumi.set(self, "availability_domain", value)
175
-
176
171
  @property
177
172
  @pulumi.getter(name="definedTags")
178
173
  def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
@@ -238,28 +233,16 @@ class OccCapacityRequestArgs:
238
233
  def request_state(self) -> Optional[pulumi.Input[str]]:
239
234
  """
240
235
  (Updatable) The subset of request states available for creating the capacity request.
241
- """
242
- return pulumi.get(self, "request_state")
243
-
244
- @request_state.setter
245
- def request_state(self, value: Optional[pulumi.Input[str]]):
246
- pulumi.set(self, "request_state", value)
247
-
248
- @property
249
- @pulumi.getter(name="requestType")
250
- def request_type(self) -> Optional[pulumi.Input[str]]:
251
- """
252
- Type of Capacity Request(New or Transfer)
253
236
 
254
237
 
255
238
  ** IMPORTANT **
256
239
  Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
257
240
  """
258
- return pulumi.get(self, "request_type")
241
+ return pulumi.get(self, "request_state")
259
242
 
260
- @request_type.setter
261
- def request_type(self, value: Optional[pulumi.Input[str]]):
262
- pulumi.set(self, "request_type", value)
243
+ @request_state.setter
244
+ def request_state(self, value: Optional[pulumi.Input[str]]):
245
+ pulumi.set(self, "request_state", value)
263
246
 
264
247
 
265
248
  @pulumi.input_type
@@ -280,14 +263,13 @@ class _OccCapacityRequestState:
280
263
  patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input['OccCapacityRequestPatchOperationArgs']]]] = None,
281
264
  region: Optional[pulumi.Input[str]] = None,
282
265
  request_state: Optional[pulumi.Input[str]] = None,
283
- request_type: Optional[pulumi.Input[str]] = None,
284
266
  state: Optional[pulumi.Input[str]] = None,
285
267
  system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
286
268
  time_created: Optional[pulumi.Input[str]] = None,
287
269
  time_updated: Optional[pulumi.Input[str]] = None):
288
270
  """
289
271
  Input properties used for looking up and filtering OccCapacityRequest resources.
290
- :param pulumi.Input[str] availability_domain: The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests.
272
+ :param pulumi.Input[str] availability_domain: The availability domain (AD) for which the capacity request is made. If this is specified then the capacity will be validated and fulfilled within the scope of this AD.
291
273
  :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.
292
274
  :param pulumi.Input[str] date_expected_capacity_handover: The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
293
275
  :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"}`
@@ -302,7 +284,6 @@ class _OccCapacityRequestState:
302
284
  :param pulumi.Input[Sequence[pulumi.Input['OccCapacityRequestPatchOperationArgs']]] patch_operations: (Updatable)
303
285
  :param pulumi.Input[str] region: The name of the region for which the capacity request is made.
304
286
  :param pulumi.Input[str] request_state: (Updatable) The subset of request states available for creating the capacity request.
305
- :param pulumi.Input[str] request_type: Type of Capacity Request(New or Transfer)
306
287
 
307
288
 
308
289
  ** IMPORTANT **
@@ -342,8 +323,6 @@ class _OccCapacityRequestState:
342
323
  pulumi.set(__self__, "region", region)
343
324
  if request_state is not None:
344
325
  pulumi.set(__self__, "request_state", request_state)
345
- if request_type is not None:
346
- pulumi.set(__self__, "request_type", request_type)
347
326
  if state is not None:
348
327
  pulumi.set(__self__, "state", state)
349
328
  if system_tags is not None:
@@ -357,7 +336,7 @@ class _OccCapacityRequestState:
357
336
  @pulumi.getter(name="availabilityDomain")
358
337
  def availability_domain(self) -> Optional[pulumi.Input[str]]:
359
338
  """
360
- The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests.
339
+ The availability domain (AD) for which the capacity request is made. If this is specified then the capacity will be validated and fulfilled within the scope of this AD.
361
340
  """
362
341
  return pulumi.get(self, "availability_domain")
363
342
 
@@ -526,28 +505,16 @@ class _OccCapacityRequestState:
526
505
  def request_state(self) -> Optional[pulumi.Input[str]]:
527
506
  """
528
507
  (Updatable) The subset of request states available for creating the capacity request.
529
- """
530
- return pulumi.get(self, "request_state")
531
-
532
- @request_state.setter
533
- def request_state(self, value: Optional[pulumi.Input[str]]):
534
- pulumi.set(self, "request_state", value)
535
-
536
- @property
537
- @pulumi.getter(name="requestType")
538
- def request_type(self) -> Optional[pulumi.Input[str]]:
539
- """
540
- Type of Capacity Request(New or Transfer)
541
508
 
542
509
 
543
510
  ** IMPORTANT **
544
511
  Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
545
512
  """
546
- return pulumi.get(self, "request_type")
513
+ return pulumi.get(self, "request_state")
547
514
 
548
- @request_type.setter
549
- def request_type(self, value: Optional[pulumi.Input[str]]):
550
- pulumi.set(self, "request_type", value)
515
+ @request_state.setter
516
+ def request_state(self, value: Optional[pulumi.Input[str]]):
517
+ pulumi.set(self, "request_state", value)
551
518
 
552
519
  @property
553
520
  @pulumi.getter
@@ -617,7 +584,6 @@ class OccCapacityRequest(pulumi.CustomResource):
617
584
  patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OccCapacityRequestPatchOperationArgs', 'OccCapacityRequestPatchOperationArgsDict']]]]] = None,
618
585
  region: Optional[pulumi.Input[str]] = None,
619
586
  request_state: Optional[pulumi.Input[str]] = None,
620
- request_type: Optional[pulumi.Input[str]] = None,
621
587
  __props__=None):
622
588
  """
623
589
  This resource provides the Occ Capacity Request resource in Oracle Cloud Infrastructure Capacity Management service.
@@ -635,7 +601,7 @@ class OccCapacityRequest(pulumi.CustomResource):
635
601
 
636
602
  :param str resource_name: The name of the resource.
637
603
  :param pulumi.ResourceOptions opts: Options for the resource.
638
- :param pulumi.Input[str] availability_domain: The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests.
604
+ :param pulumi.Input[str] availability_domain: The availability domain (AD) for which the capacity request is made. If this is specified then the capacity will be validated and fulfilled within the scope of this AD.
639
605
  :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.
640
606
  :param pulumi.Input[str] date_expected_capacity_handover: The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
641
607
  :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"}`
@@ -649,7 +615,6 @@ class OccCapacityRequest(pulumi.CustomResource):
649
615
  :param pulumi.Input[Sequence[pulumi.Input[Union['OccCapacityRequestPatchOperationArgs', 'OccCapacityRequestPatchOperationArgsDict']]]] patch_operations: (Updatable)
650
616
  :param pulumi.Input[str] region: The name of the region for which the capacity request is made.
651
617
  :param pulumi.Input[str] request_state: (Updatable) The subset of request states available for creating the capacity request.
652
- :param pulumi.Input[str] request_type: Type of Capacity Request(New or Transfer)
653
618
 
654
619
 
655
620
  ** IMPORTANT **
@@ -704,7 +669,6 @@ class OccCapacityRequest(pulumi.CustomResource):
704
669
  patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OccCapacityRequestPatchOperationArgs', 'OccCapacityRequestPatchOperationArgsDict']]]]] = None,
705
670
  region: Optional[pulumi.Input[str]] = None,
706
671
  request_state: Optional[pulumi.Input[str]] = None,
707
- request_type: Optional[pulumi.Input[str]] = None,
708
672
  __props__=None):
709
673
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
710
674
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -714,6 +678,8 @@ class OccCapacityRequest(pulumi.CustomResource):
714
678
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
715
679
  __props__ = OccCapacityRequestArgs.__new__(OccCapacityRequestArgs)
716
680
 
681
+ if availability_domain is None and not opts.urn:
682
+ raise TypeError("Missing required property 'availability_domain'")
717
683
  __props__.__dict__["availability_domain"] = availability_domain
718
684
  if compartment_id is None and not opts.urn:
719
685
  raise TypeError("Missing required property 'compartment_id'")
@@ -742,7 +708,6 @@ class OccCapacityRequest(pulumi.CustomResource):
742
708
  raise TypeError("Missing required property 'region'")
743
709
  __props__.__dict__["region"] = region
744
710
  __props__.__dict__["request_state"] = request_state
745
- __props__.__dict__["request_type"] = request_type
746
711
  __props__.__dict__["occ_customer_group_id"] = None
747
712
  __props__.__dict__["state"] = None
748
713
  __props__.__dict__["system_tags"] = None
@@ -773,7 +738,6 @@ class OccCapacityRequest(pulumi.CustomResource):
773
738
  patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OccCapacityRequestPatchOperationArgs', 'OccCapacityRequestPatchOperationArgsDict']]]]] = None,
774
739
  region: Optional[pulumi.Input[str]] = None,
775
740
  request_state: Optional[pulumi.Input[str]] = None,
776
- request_type: Optional[pulumi.Input[str]] = None,
777
741
  state: Optional[pulumi.Input[str]] = None,
778
742
  system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
779
743
  time_created: Optional[pulumi.Input[str]] = None,
@@ -785,7 +749,7 @@ class OccCapacityRequest(pulumi.CustomResource):
785
749
  :param str resource_name: The unique name of the resulting resource.
786
750
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
787
751
  :param pulumi.ResourceOptions opts: Options for the resource.
788
- :param pulumi.Input[str] availability_domain: The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests.
752
+ :param pulumi.Input[str] availability_domain: The availability domain (AD) for which the capacity request is made. If this is specified then the capacity will be validated and fulfilled within the scope of this AD.
789
753
  :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.
790
754
  :param pulumi.Input[str] date_expected_capacity_handover: The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
791
755
  :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"}`
@@ -800,7 +764,6 @@ class OccCapacityRequest(pulumi.CustomResource):
800
764
  :param pulumi.Input[Sequence[pulumi.Input[Union['OccCapacityRequestPatchOperationArgs', 'OccCapacityRequestPatchOperationArgsDict']]]] patch_operations: (Updatable)
801
765
  :param pulumi.Input[str] region: The name of the region for which the capacity request is made.
802
766
  :param pulumi.Input[str] request_state: (Updatable) The subset of request states available for creating the capacity request.
803
- :param pulumi.Input[str] request_type: Type of Capacity Request(New or Transfer)
804
767
 
805
768
 
806
769
  ** IMPORTANT **
@@ -829,7 +792,6 @@ class OccCapacityRequest(pulumi.CustomResource):
829
792
  __props__.__dict__["patch_operations"] = patch_operations
830
793
  __props__.__dict__["region"] = region
831
794
  __props__.__dict__["request_state"] = request_state
832
- __props__.__dict__["request_type"] = request_type
833
795
  __props__.__dict__["state"] = state
834
796
  __props__.__dict__["system_tags"] = system_tags
835
797
  __props__.__dict__["time_created"] = time_created
@@ -840,7 +802,7 @@ class OccCapacityRequest(pulumi.CustomResource):
840
802
  @pulumi.getter(name="availabilityDomain")
841
803
  def availability_domain(self) -> pulumi.Output[str]:
842
804
  """
843
- The availability domain (AD) in which the new resource is to be placed. If this is specified then the capacity will be validated and fulfilled within the scope of this AD. Note that this field is NOT required for Capacity request Transfer requests.
805
+ The availability domain (AD) for which the capacity request is made. If this is specified then the capacity will be validated and fulfilled within the scope of this AD.
844
806
  """
845
807
  return pulumi.get(self, "availability_domain")
846
808
 
@@ -953,20 +915,12 @@ class OccCapacityRequest(pulumi.CustomResource):
953
915
  def request_state(self) -> pulumi.Output[str]:
954
916
  """
955
917
  (Updatable) The subset of request states available for creating the capacity request.
956
- """
957
- return pulumi.get(self, "request_state")
958
-
959
- @property
960
- @pulumi.getter(name="requestType")
961
- def request_type(self) -> pulumi.Output[str]:
962
- """
963
- Type of Capacity Request(New or Transfer)
964
918
 
965
919
 
966
920
  ** IMPORTANT **
967
921
  Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
968
922
  """
969
- return pulumi.get(self, "request_type")
923
+ return pulumi.get(self, "request_state")
970
924
 
971
925
  @property
972
926
  @pulumi.getter