pulumi-oci 2.10.0a1726208124__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.
- pulumi_oci/__init__.py +62 -0
- pulumi_oci/bigdataservice/__init__.py +3 -0
- pulumi_oci/bigdataservice/_inputs.py +66 -0
- pulumi_oci/bigdataservice/bds_instance_os_patch_action.py +136 -2
- pulumi_oci/bigdataservice/bds_instance_resource_principal_configuration.py +524 -0
- pulumi_oci/bigdataservice/get_bds_instance_resource_principal_configuration.py +236 -0
- pulumi_oci/bigdataservice/get_bds_instance_resource_principal_configurations.py +176 -0
- pulumi_oci/bigdataservice/outputs.py +175 -0
- pulumi_oci/capacitymanagement/__init__.py +8 -0
- pulumi_oci/capacitymanagement/_inputs.py +465 -3
- pulumi_oci/capacitymanagement/get_internal_namespace_occ_overviews.py +221 -0
- pulumi_oci/capacitymanagement/get_internal_occ_availability_catalogs.py +7 -7
- pulumi_oci/capacitymanagement/get_internal_occ_handover_resource_block_details.py +150 -0
- pulumi_oci/capacitymanagement/get_internal_occ_handover_resource_blocks.py +247 -0
- pulumi_oci/capacitymanagement/get_namespace_occ_overviews.py +204 -0
- pulumi_oci/capacitymanagement/get_occ_availability_catalog.py +1 -1
- pulumi_oci/capacitymanagement/get_occ_capacity_request.py +15 -2
- pulumi_oci/capacitymanagement/get_occ_capacity_requests.py +25 -5
- pulumi_oci/capacitymanagement/get_occ_customer_group.py +1 -1
- pulumi_oci/capacitymanagement/get_occ_handover_resource_block_details.py +150 -0
- pulumi_oci/capacitymanagement/get_occ_handover_resource_blocks.py +227 -0
- pulumi_oci/capacitymanagement/occ_availability_catalog.py +4 -4
- pulumi_oci/capacitymanagement/occ_capacity_request.py +78 -32
- pulumi_oci/capacitymanagement/occ_customer_group.py +690 -0
- pulumi_oci/capacitymanagement/occ_customer_group_occ_customer.py +412 -0
- pulumi_oci/capacitymanagement/outputs.py +1668 -166
- pulumi_oci/containerengine/__init__.py +1 -0
- pulumi_oci/containerengine/get_cluster.py +327 -0
- pulumi_oci/containerengine/outputs.py +492 -0
- pulumi_oci/fleetsoftwareupdate/__init__.py +15 -0
- pulumi_oci/fleetsoftwareupdate/_inputs.py +717 -0
- pulumi_oci/fleetsoftwareupdate/fsu_collection.py +804 -0
- pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +1231 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +301 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +196 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +431 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +233 -0
- pulumi_oci/fleetsoftwareupdate/outputs.py +2129 -0
- pulumi_oci/generativeai/dedicated_ai_cluster.py +7 -0
- pulumi_oci/generativeai/get_model.py +3 -0
- pulumi_oci/generativeai/outputs.py +4 -0
- pulumi_oci/globallydistributeddatabase/__init__.py +15 -0
- pulumi_oci/globallydistributeddatabase/_inputs.py +1003 -0
- pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +300 -0
- pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +176 -0
- pulumi_oci/globallydistributeddatabase/get_sharded_database.py +610 -0
- pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +176 -0
- pulumi_oci/globallydistributeddatabase/outputs.py +2058 -0
- pulumi_oci/globallydistributeddatabase/private_endpoint.py +742 -0
- pulumi_oci/globallydistributeddatabase/sharded_database.py +1816 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-2.10.0a1726208124.dist-info → pulumi_oci-2.11.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.10.0a1726208124.dist-info → pulumi_oci-2.11.0.dist-info}/RECORD +55 -25
- {pulumi_oci-2.10.0a1726208124.dist-info → pulumi_oci-2.11.0.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.10.0a1726208124.dist-info → pulumi_oci-2.11.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,221 @@
|
|
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__ = [
|
15
|
+
'GetInternalNamespaceOccOverviewsResult',
|
16
|
+
'AwaitableGetInternalNamespaceOccOverviewsResult',
|
17
|
+
'get_internal_namespace_occ_overviews',
|
18
|
+
'get_internal_namespace_occ_overviews_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetInternalNamespaceOccOverviewsResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getInternalNamespaceOccOverviews.
|
25
|
+
"""
|
26
|
+
def __init__(__self__, compartment_id=None, filters=None, from_=None, id=None, namespace=None, occ_customer_group_id=None, occ_overview_collections=None, to=None, workload_type=None):
|
27
|
+
if compartment_id and not isinstance(compartment_id, str):
|
28
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
29
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
30
|
+
if filters and not isinstance(filters, list):
|
31
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
32
|
+
pulumi.set(__self__, "filters", filters)
|
33
|
+
if from_ and not isinstance(from_, str):
|
34
|
+
raise TypeError("Expected argument 'from_' to be a str")
|
35
|
+
pulumi.set(__self__, "from_", from_)
|
36
|
+
if id and not isinstance(id, str):
|
37
|
+
raise TypeError("Expected argument 'id' to be a str")
|
38
|
+
pulumi.set(__self__, "id", id)
|
39
|
+
if namespace and not isinstance(namespace, str):
|
40
|
+
raise TypeError("Expected argument 'namespace' to be a str")
|
41
|
+
pulumi.set(__self__, "namespace", namespace)
|
42
|
+
if occ_customer_group_id and not isinstance(occ_customer_group_id, str):
|
43
|
+
raise TypeError("Expected argument 'occ_customer_group_id' to be a str")
|
44
|
+
pulumi.set(__self__, "occ_customer_group_id", occ_customer_group_id)
|
45
|
+
if occ_overview_collections and not isinstance(occ_overview_collections, list):
|
46
|
+
raise TypeError("Expected argument 'occ_overview_collections' to be a list")
|
47
|
+
pulumi.set(__self__, "occ_overview_collections", occ_overview_collections)
|
48
|
+
if to and not isinstance(to, str):
|
49
|
+
raise TypeError("Expected argument 'to' to be a str")
|
50
|
+
pulumi.set(__self__, "to", to)
|
51
|
+
if workload_type and not isinstance(workload_type, str):
|
52
|
+
raise TypeError("Expected argument 'workload_type' to be a str")
|
53
|
+
pulumi.set(__self__, "workload_type", workload_type)
|
54
|
+
|
55
|
+
@property
|
56
|
+
@pulumi.getter(name="compartmentId")
|
57
|
+
def compartment_id(self) -> str:
|
58
|
+
"""
|
59
|
+
The OCID of the compartment from which the api call is made. This will be used for authorizing the request.
|
60
|
+
"""
|
61
|
+
return pulumi.get(self, "compartment_id")
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter
|
65
|
+
def filters(self) -> Optional[Sequence['outputs.GetInternalNamespaceOccOverviewsFilterResult']]:
|
66
|
+
return pulumi.get(self, "filters")
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter(name="from")
|
70
|
+
def from_(self) -> Optional[str]:
|
71
|
+
return pulumi.get(self, "from_")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter
|
75
|
+
def id(self) -> str:
|
76
|
+
"""
|
77
|
+
The provider-assigned unique ID for this managed resource.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "id")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter
|
83
|
+
def namespace(self) -> str:
|
84
|
+
return pulumi.get(self, "namespace")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter(name="occCustomerGroupId")
|
88
|
+
def occ_customer_group_id(self) -> str:
|
89
|
+
return pulumi.get(self, "occ_customer_group_id")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="occOverviewCollections")
|
93
|
+
def occ_overview_collections(self) -> Sequence['outputs.GetInternalNamespaceOccOverviewsOccOverviewCollectionResult']:
|
94
|
+
"""
|
95
|
+
The list of occ_overview_collection.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "occ_overview_collections")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter
|
101
|
+
def to(self) -> Optional[str]:
|
102
|
+
return pulumi.get(self, "to")
|
103
|
+
|
104
|
+
@property
|
105
|
+
@pulumi.getter(name="workloadType")
|
106
|
+
def workload_type(self) -> Optional[str]:
|
107
|
+
return pulumi.get(self, "workload_type")
|
108
|
+
|
109
|
+
|
110
|
+
class AwaitableGetInternalNamespaceOccOverviewsResult(GetInternalNamespaceOccOverviewsResult):
|
111
|
+
# pylint: disable=using-constant-test
|
112
|
+
def __await__(self):
|
113
|
+
if False:
|
114
|
+
yield self
|
115
|
+
return GetInternalNamespaceOccOverviewsResult(
|
116
|
+
compartment_id=self.compartment_id,
|
117
|
+
filters=self.filters,
|
118
|
+
from_=self.from_,
|
119
|
+
id=self.id,
|
120
|
+
namespace=self.namespace,
|
121
|
+
occ_customer_group_id=self.occ_customer_group_id,
|
122
|
+
occ_overview_collections=self.occ_overview_collections,
|
123
|
+
to=self.to,
|
124
|
+
workload_type=self.workload_type)
|
125
|
+
|
126
|
+
|
127
|
+
def get_internal_namespace_occ_overviews(compartment_id: Optional[str] = None,
|
128
|
+
filters: Optional[Sequence[Union['GetInternalNamespaceOccOverviewsFilterArgs', 'GetInternalNamespaceOccOverviewsFilterArgsDict']]] = None,
|
129
|
+
from_: Optional[str] = None,
|
130
|
+
namespace: Optional[str] = None,
|
131
|
+
occ_customer_group_id: Optional[str] = None,
|
132
|
+
to: Optional[str] = None,
|
133
|
+
workload_type: Optional[str] = None,
|
134
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInternalNamespaceOccOverviewsResult:
|
135
|
+
"""
|
136
|
+
This data source provides the list of Internal Namespace Occ Overviews in Oracle Cloud Infrastructure Capacity Management service.
|
137
|
+
|
138
|
+
Lists an overview of all resources in that namespace in a given time interval.
|
139
|
+
|
140
|
+
## Example Usage
|
141
|
+
|
142
|
+
```python
|
143
|
+
import pulumi
|
144
|
+
import pulumi_oci as oci
|
145
|
+
|
146
|
+
test_internal_namespace_occ_overviews = oci.CapacityManagement.get_internal_namespace_occ_overviews(compartment_id=compartment_id,
|
147
|
+
namespace=internal_namespace_occ_overview_namespace,
|
148
|
+
occ_customer_group_id=test_occ_customer_group["id"],
|
149
|
+
from_=internal_namespace_occ_overview_from,
|
150
|
+
to=internal_namespace_occ_overview_to,
|
151
|
+
workload_type=internal_namespace_occ_overview_workload_type)
|
152
|
+
```
|
153
|
+
|
154
|
+
|
155
|
+
:param str compartment_id: The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
|
156
|
+
:param str from_: The month corresponding to this date would be considered as the starting point of the time period against which we would like to perform an aggregation.
|
157
|
+
:param str namespace: The namespace by which we would filter the list.
|
158
|
+
:param str occ_customer_group_id: The customer group ocid by which we would filter the list.
|
159
|
+
:param str to: The month corresponding to this date would be considered as the ending point of the time period against which we would like to perform an aggregation.
|
160
|
+
:param str workload_type: Workload type using the resources in an availability catalog can be filtered.
|
161
|
+
"""
|
162
|
+
__args__ = dict()
|
163
|
+
__args__['compartmentId'] = compartment_id
|
164
|
+
__args__['filters'] = filters
|
165
|
+
__args__['from'] = from_
|
166
|
+
__args__['namespace'] = namespace
|
167
|
+
__args__['occCustomerGroupId'] = occ_customer_group_id
|
168
|
+
__args__['to'] = to
|
169
|
+
__args__['workloadType'] = workload_type
|
170
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
171
|
+
__ret__ = pulumi.runtime.invoke('oci:CapacityManagement/getInternalNamespaceOccOverviews:getInternalNamespaceOccOverviews', __args__, opts=opts, typ=GetInternalNamespaceOccOverviewsResult).value
|
172
|
+
|
173
|
+
return AwaitableGetInternalNamespaceOccOverviewsResult(
|
174
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
175
|
+
filters=pulumi.get(__ret__, 'filters'),
|
176
|
+
from_=pulumi.get(__ret__, 'from_'),
|
177
|
+
id=pulumi.get(__ret__, 'id'),
|
178
|
+
namespace=pulumi.get(__ret__, 'namespace'),
|
179
|
+
occ_customer_group_id=pulumi.get(__ret__, 'occ_customer_group_id'),
|
180
|
+
occ_overview_collections=pulumi.get(__ret__, 'occ_overview_collections'),
|
181
|
+
to=pulumi.get(__ret__, 'to'),
|
182
|
+
workload_type=pulumi.get(__ret__, 'workload_type'))
|
183
|
+
|
184
|
+
|
185
|
+
@_utilities.lift_output_func(get_internal_namespace_occ_overviews)
|
186
|
+
def get_internal_namespace_occ_overviews_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
187
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetInternalNamespaceOccOverviewsFilterArgs', 'GetInternalNamespaceOccOverviewsFilterArgsDict']]]]] = None,
|
188
|
+
from_: Optional[pulumi.Input[Optional[str]]] = None,
|
189
|
+
namespace: Optional[pulumi.Input[str]] = None,
|
190
|
+
occ_customer_group_id: Optional[pulumi.Input[str]] = None,
|
191
|
+
to: Optional[pulumi.Input[Optional[str]]] = None,
|
192
|
+
workload_type: Optional[pulumi.Input[Optional[str]]] = None,
|
193
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInternalNamespaceOccOverviewsResult]:
|
194
|
+
"""
|
195
|
+
This data source provides the list of Internal Namespace Occ Overviews in Oracle Cloud Infrastructure Capacity Management service.
|
196
|
+
|
197
|
+
Lists an overview of all resources in that namespace in a given time interval.
|
198
|
+
|
199
|
+
## Example Usage
|
200
|
+
|
201
|
+
```python
|
202
|
+
import pulumi
|
203
|
+
import pulumi_oci as oci
|
204
|
+
|
205
|
+
test_internal_namespace_occ_overviews = oci.CapacityManagement.get_internal_namespace_occ_overviews(compartment_id=compartment_id,
|
206
|
+
namespace=internal_namespace_occ_overview_namespace,
|
207
|
+
occ_customer_group_id=test_occ_customer_group["id"],
|
208
|
+
from_=internal_namespace_occ_overview_from,
|
209
|
+
to=internal_namespace_occ_overview_to,
|
210
|
+
workload_type=internal_namespace_occ_overview_workload_type)
|
211
|
+
```
|
212
|
+
|
213
|
+
|
214
|
+
:param str compartment_id: The ocid of the compartment or tenancy in which resources are to be listed. This will also be used for authorization purposes.
|
215
|
+
:param str from_: The month corresponding to this date would be considered as the starting point of the time period against which we would like to perform an aggregation.
|
216
|
+
:param str namespace: The namespace by which we would filter the list.
|
217
|
+
:param str occ_customer_group_id: The customer group ocid by which we would filter the list.
|
218
|
+
:param str to: The month corresponding to this date would be considered as the ending point of the time period against which we would like to perform an aggregation.
|
219
|
+
:param str workload_type: Workload type using the resources in an availability catalog can be filtered.
|
220
|
+
"""
|
221
|
+
...
|
@@ -69,7 +69,7 @@ class GetInternalOccAvailabilityCatalogsResult:
|
|
69
69
|
@pulumi.getter(name="displayName")
|
70
70
|
def display_name(self) -> Optional[str]:
|
71
71
|
"""
|
72
|
-
An user-friendly name for the availability catalog. Does not have to be unique, and
|
72
|
+
An user-friendly name for the availability catalog. Does not have to be unique, and is changeable. Avoid entering confidential information.
|
73
73
|
"""
|
74
74
|
return pulumi.get(self, "display_name")
|
75
75
|
|
@@ -104,7 +104,7 @@ class GetInternalOccAvailabilityCatalogsResult:
|
|
104
104
|
|
105
105
|
@property
|
106
106
|
@pulumi.getter(name="occCustomerGroupId")
|
107
|
-
def occ_customer_group_id(self) ->
|
107
|
+
def occ_customer_group_id(self) -> str:
|
108
108
|
"""
|
109
109
|
The Customer Group OCID to which the availability catalog belongs.
|
110
110
|
"""
|
@@ -147,11 +147,11 @@ def get_internal_occ_availability_catalogs(catalog_state: Optional[str] = None,
|
|
147
147
|
import pulumi_oci as oci
|
148
148
|
|
149
149
|
test_internal_occ_availability_catalogs = oci.CapacityManagement.get_internal_occ_availability_catalogs(compartment_id=compartment_id,
|
150
|
+
occ_customer_group_id=test_occ_customer_group["id"],
|
150
151
|
catalog_state=internal_occ_availability_catalog_catalog_state,
|
151
152
|
display_name=internal_occ_availability_catalog_display_name,
|
152
153
|
id=internal_occ_availability_catalog_id,
|
153
|
-
namespace=internal_occ_availability_catalog_namespace
|
154
|
-
occ_customer_group_id=test_occ_customer_group["id"])
|
154
|
+
namespace=internal_occ_availability_catalog_namespace)
|
155
155
|
```
|
156
156
|
|
157
157
|
|
@@ -191,7 +191,7 @@ def get_internal_occ_availability_catalogs_output(catalog_state: Optional[pulumi
|
|
191
191
|
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetInternalOccAvailabilityCatalogsFilterArgs', 'GetInternalOccAvailabilityCatalogsFilterArgsDict']]]]] = None,
|
192
192
|
id: Optional[pulumi.Input[Optional[str]]] = None,
|
193
193
|
namespace: Optional[pulumi.Input[Optional[str]]] = None,
|
194
|
-
occ_customer_group_id: Optional[pulumi.Input[
|
194
|
+
occ_customer_group_id: Optional[pulumi.Input[str]] = None,
|
195
195
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInternalOccAvailabilityCatalogsResult]:
|
196
196
|
"""
|
197
197
|
This data source provides the list of Internal Occ Availability Catalogs in Oracle Cloud Infrastructure Capacity Management service.
|
@@ -205,11 +205,11 @@ def get_internal_occ_availability_catalogs_output(catalog_state: Optional[pulumi
|
|
205
205
|
import pulumi_oci as oci
|
206
206
|
|
207
207
|
test_internal_occ_availability_catalogs = oci.CapacityManagement.get_internal_occ_availability_catalogs(compartment_id=compartment_id,
|
208
|
+
occ_customer_group_id=test_occ_customer_group["id"],
|
208
209
|
catalog_state=internal_occ_availability_catalog_catalog_state,
|
209
210
|
display_name=internal_occ_availability_catalog_display_name,
|
210
211
|
id=internal_occ_availability_catalog_id,
|
211
|
-
namespace=internal_occ_availability_catalog_namespace
|
212
|
-
occ_customer_group_id=test_occ_customer_group["id"])
|
212
|
+
namespace=internal_occ_availability_catalog_namespace)
|
213
213
|
```
|
214
214
|
|
215
215
|
|
@@ -0,0 +1,150 @@
|
|
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__ = [
|
15
|
+
'GetInternalOccHandoverResourceBlockDetailsResult',
|
16
|
+
'AwaitableGetInternalOccHandoverResourceBlockDetailsResult',
|
17
|
+
'get_internal_occ_handover_resource_block_details',
|
18
|
+
'get_internal_occ_handover_resource_block_details_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetInternalOccHandoverResourceBlockDetailsResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getInternalOccHandoverResourceBlockDetails.
|
25
|
+
"""
|
26
|
+
def __init__(__self__, filters=None, host_id=None, id=None, occ_handover_resource_block_detail_collections=None, occ_handover_resource_block_id=None):
|
27
|
+
if filters and not isinstance(filters, list):
|
28
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
29
|
+
pulumi.set(__self__, "filters", filters)
|
30
|
+
if host_id and not isinstance(host_id, str):
|
31
|
+
raise TypeError("Expected argument 'host_id' to be a str")
|
32
|
+
pulumi.set(__self__, "host_id", host_id)
|
33
|
+
if id and not isinstance(id, str):
|
34
|
+
raise TypeError("Expected argument 'id' to be a str")
|
35
|
+
pulumi.set(__self__, "id", id)
|
36
|
+
if occ_handover_resource_block_detail_collections and not isinstance(occ_handover_resource_block_detail_collections, list):
|
37
|
+
raise TypeError("Expected argument 'occ_handover_resource_block_detail_collections' to be a list")
|
38
|
+
pulumi.set(__self__, "occ_handover_resource_block_detail_collections", occ_handover_resource_block_detail_collections)
|
39
|
+
if occ_handover_resource_block_id and not isinstance(occ_handover_resource_block_id, str):
|
40
|
+
raise TypeError("Expected argument 'occ_handover_resource_block_id' to be a str")
|
41
|
+
pulumi.set(__self__, "occ_handover_resource_block_id", occ_handover_resource_block_id)
|
42
|
+
|
43
|
+
@property
|
44
|
+
@pulumi.getter
|
45
|
+
def filters(self) -> Optional[Sequence['outputs.GetInternalOccHandoverResourceBlockDetailsFilterResult']]:
|
46
|
+
return pulumi.get(self, "filters")
|
47
|
+
|
48
|
+
@property
|
49
|
+
@pulumi.getter(name="hostId")
|
50
|
+
def host_id(self) -> Optional[str]:
|
51
|
+
return pulumi.get(self, "host_id")
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter
|
55
|
+
def id(self) -> str:
|
56
|
+
"""
|
57
|
+
The provider-assigned unique ID for this managed resource.
|
58
|
+
"""
|
59
|
+
return pulumi.get(self, "id")
|
60
|
+
|
61
|
+
@property
|
62
|
+
@pulumi.getter(name="occHandoverResourceBlockDetailCollections")
|
63
|
+
def occ_handover_resource_block_detail_collections(self) -> Sequence['outputs.GetInternalOccHandoverResourceBlockDetailsOccHandoverResourceBlockDetailCollectionResult']:
|
64
|
+
"""
|
65
|
+
The list of occ_handover_resource_block_detail_collection.
|
66
|
+
"""
|
67
|
+
return pulumi.get(self, "occ_handover_resource_block_detail_collections")
|
68
|
+
|
69
|
+
@property
|
70
|
+
@pulumi.getter(name="occHandoverResourceBlockId")
|
71
|
+
def occ_handover_resource_block_id(self) -> str:
|
72
|
+
return pulumi.get(self, "occ_handover_resource_block_id")
|
73
|
+
|
74
|
+
|
75
|
+
class AwaitableGetInternalOccHandoverResourceBlockDetailsResult(GetInternalOccHandoverResourceBlockDetailsResult):
|
76
|
+
# pylint: disable=using-constant-test
|
77
|
+
def __await__(self):
|
78
|
+
if False:
|
79
|
+
yield self
|
80
|
+
return GetInternalOccHandoverResourceBlockDetailsResult(
|
81
|
+
filters=self.filters,
|
82
|
+
host_id=self.host_id,
|
83
|
+
id=self.id,
|
84
|
+
occ_handover_resource_block_detail_collections=self.occ_handover_resource_block_detail_collections,
|
85
|
+
occ_handover_resource_block_id=self.occ_handover_resource_block_id)
|
86
|
+
|
87
|
+
|
88
|
+
def get_internal_occ_handover_resource_block_details(filters: Optional[Sequence[Union['GetInternalOccHandoverResourceBlockDetailsFilterArgs', 'GetInternalOccHandoverResourceBlockDetailsFilterArgsDict']]] = None,
|
89
|
+
host_id: Optional[str] = None,
|
90
|
+
occ_handover_resource_block_id: Optional[str] = None,
|
91
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInternalOccHandoverResourceBlockDetailsResult:
|
92
|
+
"""
|
93
|
+
This data source provides the list of Internal Occ Handover Resource Block Details in Oracle Cloud Infrastructure Capacity Management service.
|
94
|
+
|
95
|
+
List details about a given occHandoverResourceBlock.
|
96
|
+
|
97
|
+
## Example Usage
|
98
|
+
|
99
|
+
```python
|
100
|
+
import pulumi
|
101
|
+
import pulumi_oci as oci
|
102
|
+
|
103
|
+
test_internal_occ_handover_resource_block_details = oci.CapacityManagement.get_internal_occ_handover_resource_block_details(occ_handover_resource_block_id=test_occ_handover_resource_block["id"],
|
104
|
+
host_id=test_host["id"])
|
105
|
+
```
|
106
|
+
|
107
|
+
|
108
|
+
:param str host_id: This fiter is applicable only for COMPUTE namespace. It helps in fetching of all resource block details for which the hostId is equal to the one provided in this query param.
|
109
|
+
:param str occ_handover_resource_block_id: The OCID of the OccHandoverResource which is a required query parameter for listing OccHandoverResourceDetails.
|
110
|
+
"""
|
111
|
+
__args__ = dict()
|
112
|
+
__args__['filters'] = filters
|
113
|
+
__args__['hostId'] = host_id
|
114
|
+
__args__['occHandoverResourceBlockId'] = occ_handover_resource_block_id
|
115
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
116
|
+
__ret__ = pulumi.runtime.invoke('oci:CapacityManagement/getInternalOccHandoverResourceBlockDetails:getInternalOccHandoverResourceBlockDetails', __args__, opts=opts, typ=GetInternalOccHandoverResourceBlockDetailsResult).value
|
117
|
+
|
118
|
+
return AwaitableGetInternalOccHandoverResourceBlockDetailsResult(
|
119
|
+
filters=pulumi.get(__ret__, 'filters'),
|
120
|
+
host_id=pulumi.get(__ret__, 'host_id'),
|
121
|
+
id=pulumi.get(__ret__, 'id'),
|
122
|
+
occ_handover_resource_block_detail_collections=pulumi.get(__ret__, 'occ_handover_resource_block_detail_collections'),
|
123
|
+
occ_handover_resource_block_id=pulumi.get(__ret__, 'occ_handover_resource_block_id'))
|
124
|
+
|
125
|
+
|
126
|
+
@_utilities.lift_output_func(get_internal_occ_handover_resource_block_details)
|
127
|
+
def get_internal_occ_handover_resource_block_details_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetInternalOccHandoverResourceBlockDetailsFilterArgs', 'GetInternalOccHandoverResourceBlockDetailsFilterArgsDict']]]]] = None,
|
128
|
+
host_id: Optional[pulumi.Input[Optional[str]]] = None,
|
129
|
+
occ_handover_resource_block_id: Optional[pulumi.Input[str]] = None,
|
130
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInternalOccHandoverResourceBlockDetailsResult]:
|
131
|
+
"""
|
132
|
+
This data source provides the list of Internal Occ Handover Resource Block Details in Oracle Cloud Infrastructure Capacity Management service.
|
133
|
+
|
134
|
+
List details about a given occHandoverResourceBlock.
|
135
|
+
|
136
|
+
## Example Usage
|
137
|
+
|
138
|
+
```python
|
139
|
+
import pulumi
|
140
|
+
import pulumi_oci as oci
|
141
|
+
|
142
|
+
test_internal_occ_handover_resource_block_details = oci.CapacityManagement.get_internal_occ_handover_resource_block_details(occ_handover_resource_block_id=test_occ_handover_resource_block["id"],
|
143
|
+
host_id=test_host["id"])
|
144
|
+
```
|
145
|
+
|
146
|
+
|
147
|
+
:param str host_id: This fiter is applicable only for COMPUTE namespace. It helps in fetching of all resource block details for which the hostId is equal to the one provided in this query param.
|
148
|
+
:param str occ_handover_resource_block_id: The OCID of the OccHandoverResource which is a required query parameter for listing OccHandoverResourceDetails.
|
149
|
+
"""
|
150
|
+
...
|