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.
- 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.0a1726294433.dist-info → pulumi_oci-2.11.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.10.0a1726294433.dist-info → pulumi_oci-2.11.0.dist-info}/RECORD +55 -25
- {pulumi_oci-2.10.0a1726294433.dist-info → pulumi_oci-2.11.0.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.10.0a1726294433.dist-info → pulumi_oci-2.11.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,247 @@
|
|
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
|
+
'GetInternalOccHandoverResourceBlocksResult',
|
16
|
+
'AwaitableGetInternalOccHandoverResourceBlocksResult',
|
17
|
+
'get_internal_occ_handover_resource_blocks',
|
18
|
+
'get_internal_occ_handover_resource_blocks_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetInternalOccHandoverResourceBlocksResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getInternalOccHandoverResourceBlocks.
|
25
|
+
"""
|
26
|
+
def __init__(__self__, compartment_id=None, filters=None, handover_date_greater_than_or_equal_to=None, handover_date_less_than_or_equal_to=None, handover_resource_name=None, id=None, namespace=None, occ_customer_group_id=None, occ_handover_resource_block_collections=None, occ_handover_resource_block_id=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 handover_date_greater_than_or_equal_to and not isinstance(handover_date_greater_than_or_equal_to, str):
|
34
|
+
raise TypeError("Expected argument 'handover_date_greater_than_or_equal_to' to be a str")
|
35
|
+
pulumi.set(__self__, "handover_date_greater_than_or_equal_to", handover_date_greater_than_or_equal_to)
|
36
|
+
if handover_date_less_than_or_equal_to and not isinstance(handover_date_less_than_or_equal_to, str):
|
37
|
+
raise TypeError("Expected argument 'handover_date_less_than_or_equal_to' to be a str")
|
38
|
+
pulumi.set(__self__, "handover_date_less_than_or_equal_to", handover_date_less_than_or_equal_to)
|
39
|
+
if handover_resource_name and not isinstance(handover_resource_name, str):
|
40
|
+
raise TypeError("Expected argument 'handover_resource_name' to be a str")
|
41
|
+
pulumi.set(__self__, "handover_resource_name", handover_resource_name)
|
42
|
+
if id and not isinstance(id, str):
|
43
|
+
raise TypeError("Expected argument 'id' to be a str")
|
44
|
+
pulumi.set(__self__, "id", id)
|
45
|
+
if namespace and not isinstance(namespace, str):
|
46
|
+
raise TypeError("Expected argument 'namespace' to be a str")
|
47
|
+
pulumi.set(__self__, "namespace", namespace)
|
48
|
+
if occ_customer_group_id and not isinstance(occ_customer_group_id, str):
|
49
|
+
raise TypeError("Expected argument 'occ_customer_group_id' to be a str")
|
50
|
+
pulumi.set(__self__, "occ_customer_group_id", occ_customer_group_id)
|
51
|
+
if occ_handover_resource_block_collections and not isinstance(occ_handover_resource_block_collections, list):
|
52
|
+
raise TypeError("Expected argument 'occ_handover_resource_block_collections' to be a list")
|
53
|
+
pulumi.set(__self__, "occ_handover_resource_block_collections", occ_handover_resource_block_collections)
|
54
|
+
if occ_handover_resource_block_id and not isinstance(occ_handover_resource_block_id, str):
|
55
|
+
raise TypeError("Expected argument 'occ_handover_resource_block_id' to be a str")
|
56
|
+
pulumi.set(__self__, "occ_handover_resource_block_id", occ_handover_resource_block_id)
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter(name="compartmentId")
|
60
|
+
def compartment_id(self) -> str:
|
61
|
+
"""
|
62
|
+
The OCID of the compartment where the resource block's are placed.
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "compartment_id")
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter
|
68
|
+
def filters(self) -> Optional[Sequence['outputs.GetInternalOccHandoverResourceBlocksFilterResult']]:
|
69
|
+
return pulumi.get(self, "filters")
|
70
|
+
|
71
|
+
@property
|
72
|
+
@pulumi.getter(name="handoverDateGreaterThanOrEqualTo")
|
73
|
+
def handover_date_greater_than_or_equal_to(self) -> Optional[str]:
|
74
|
+
return pulumi.get(self, "handover_date_greater_than_or_equal_to")
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter(name="handoverDateLessThanOrEqualTo")
|
78
|
+
def handover_date_less_than_or_equal_to(self) -> Optional[str]:
|
79
|
+
return pulumi.get(self, "handover_date_less_than_or_equal_to")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="handoverResourceName")
|
83
|
+
def handover_resource_name(self) -> Optional[str]:
|
84
|
+
"""
|
85
|
+
The name of the resource handed over by oracle. For instance for compute namespace this will be the name of the bare metal hardware resource.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "handover_resource_name")
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter
|
91
|
+
def id(self) -> str:
|
92
|
+
"""
|
93
|
+
The provider-assigned unique ID for this managed resource.
|
94
|
+
"""
|
95
|
+
return pulumi.get(self, "id")
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter
|
99
|
+
def namespace(self) -> str:
|
100
|
+
"""
|
101
|
+
The name of the Oracle Cloud Infrastructure service in consideration. For example Compute, Exadata and so on.
|
102
|
+
"""
|
103
|
+
return pulumi.get(self, "namespace")
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter(name="occCustomerGroupId")
|
107
|
+
def occ_customer_group_id(self) -> str:
|
108
|
+
"""
|
109
|
+
The OCID of the customer group for which the resources were provisioned.
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "occ_customer_group_id")
|
112
|
+
|
113
|
+
@property
|
114
|
+
@pulumi.getter(name="occHandoverResourceBlockCollections")
|
115
|
+
def occ_handover_resource_block_collections(self) -> Sequence['outputs.GetInternalOccHandoverResourceBlocksOccHandoverResourceBlockCollectionResult']:
|
116
|
+
"""
|
117
|
+
The list of occ_handover_resource_block_collection.
|
118
|
+
"""
|
119
|
+
return pulumi.get(self, "occ_handover_resource_block_collections")
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter(name="occHandoverResourceBlockId")
|
123
|
+
def occ_handover_resource_block_id(self) -> Optional[str]:
|
124
|
+
return pulumi.get(self, "occ_handover_resource_block_id")
|
125
|
+
|
126
|
+
|
127
|
+
class AwaitableGetInternalOccHandoverResourceBlocksResult(GetInternalOccHandoverResourceBlocksResult):
|
128
|
+
# pylint: disable=using-constant-test
|
129
|
+
def __await__(self):
|
130
|
+
if False:
|
131
|
+
yield self
|
132
|
+
return GetInternalOccHandoverResourceBlocksResult(
|
133
|
+
compartment_id=self.compartment_id,
|
134
|
+
filters=self.filters,
|
135
|
+
handover_date_greater_than_or_equal_to=self.handover_date_greater_than_or_equal_to,
|
136
|
+
handover_date_less_than_or_equal_to=self.handover_date_less_than_or_equal_to,
|
137
|
+
handover_resource_name=self.handover_resource_name,
|
138
|
+
id=self.id,
|
139
|
+
namespace=self.namespace,
|
140
|
+
occ_customer_group_id=self.occ_customer_group_id,
|
141
|
+
occ_handover_resource_block_collections=self.occ_handover_resource_block_collections,
|
142
|
+
occ_handover_resource_block_id=self.occ_handover_resource_block_id)
|
143
|
+
|
144
|
+
|
145
|
+
def get_internal_occ_handover_resource_blocks(compartment_id: Optional[str] = None,
|
146
|
+
filters: Optional[Sequence[Union['GetInternalOccHandoverResourceBlocksFilterArgs', 'GetInternalOccHandoverResourceBlocksFilterArgsDict']]] = None,
|
147
|
+
handover_date_greater_than_or_equal_to: Optional[str] = None,
|
148
|
+
handover_date_less_than_or_equal_to: Optional[str] = None,
|
149
|
+
handover_resource_name: Optional[str] = None,
|
150
|
+
namespace: Optional[str] = None,
|
151
|
+
occ_customer_group_id: Optional[str] = None,
|
152
|
+
occ_handover_resource_block_id: Optional[str] = None,
|
153
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInternalOccHandoverResourceBlocksResult:
|
154
|
+
"""
|
155
|
+
This data source provides the list of Internal Occ Handover Resource Blocks in Oracle Cloud Infrastructure Capacity Management service.
|
156
|
+
|
157
|
+
List Occ Handover Resource blocks.
|
158
|
+
|
159
|
+
## Example Usage
|
160
|
+
|
161
|
+
```python
|
162
|
+
import pulumi
|
163
|
+
import pulumi_oci as oci
|
164
|
+
|
165
|
+
test_internal_occ_handover_resource_blocks = oci.CapacityManagement.get_internal_occ_handover_resource_blocks(compartment_id=compartment_id,
|
166
|
+
namespace=internal_occ_handover_resource_block_namespace,
|
167
|
+
occ_customer_group_id=test_occ_customer_group["id"],
|
168
|
+
handover_date_greater_than_or_equal_to=internal_occ_handover_resource_block_handover_date_greater_than_or_equal_to,
|
169
|
+
handover_date_less_than_or_equal_to=internal_occ_handover_resource_block_handover_date_less_than_or_equal_to,
|
170
|
+
handover_resource_name=test_resource["name"],
|
171
|
+
occ_handover_resource_block_id=test_occ_handover_resource_block["id"])
|
172
|
+
```
|
173
|
+
|
174
|
+
|
175
|
+
: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.
|
176
|
+
:param str handover_date_greater_than_or_equal_to: This filter helps in fetching all handed over resources for which the recordDate is greater than or equal to the startDate.
|
177
|
+
:param str handover_date_less_than_or_equal_to: This filter helps in fetching all handed over resources for which the recordDate is less than or equal to the endDate.
|
178
|
+
:param str handover_resource_name: A filter to return only the list of resources that match the name provided in this filter.
|
179
|
+
:param str namespace: The namespace enum value that needs to be passed as a required query parameter.
|
180
|
+
:param str occ_customer_group_id: The customer group ocid by which we would filter the list.
|
181
|
+
:param str occ_handover_resource_block_id: This filter helps in fetching the handed over resource for which the occHandoverResourceId is equal to the one provided here.
|
182
|
+
"""
|
183
|
+
__args__ = dict()
|
184
|
+
__args__['compartmentId'] = compartment_id
|
185
|
+
__args__['filters'] = filters
|
186
|
+
__args__['handoverDateGreaterThanOrEqualTo'] = handover_date_greater_than_or_equal_to
|
187
|
+
__args__['handoverDateLessThanOrEqualTo'] = handover_date_less_than_or_equal_to
|
188
|
+
__args__['handoverResourceName'] = handover_resource_name
|
189
|
+
__args__['namespace'] = namespace
|
190
|
+
__args__['occCustomerGroupId'] = occ_customer_group_id
|
191
|
+
__args__['occHandoverResourceBlockId'] = occ_handover_resource_block_id
|
192
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
193
|
+
__ret__ = pulumi.runtime.invoke('oci:CapacityManagement/getInternalOccHandoverResourceBlocks:getInternalOccHandoverResourceBlocks', __args__, opts=opts, typ=GetInternalOccHandoverResourceBlocksResult).value
|
194
|
+
|
195
|
+
return AwaitableGetInternalOccHandoverResourceBlocksResult(
|
196
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
197
|
+
filters=pulumi.get(__ret__, 'filters'),
|
198
|
+
handover_date_greater_than_or_equal_to=pulumi.get(__ret__, 'handover_date_greater_than_or_equal_to'),
|
199
|
+
handover_date_less_than_or_equal_to=pulumi.get(__ret__, 'handover_date_less_than_or_equal_to'),
|
200
|
+
handover_resource_name=pulumi.get(__ret__, 'handover_resource_name'),
|
201
|
+
id=pulumi.get(__ret__, 'id'),
|
202
|
+
namespace=pulumi.get(__ret__, 'namespace'),
|
203
|
+
occ_customer_group_id=pulumi.get(__ret__, 'occ_customer_group_id'),
|
204
|
+
occ_handover_resource_block_collections=pulumi.get(__ret__, 'occ_handover_resource_block_collections'),
|
205
|
+
occ_handover_resource_block_id=pulumi.get(__ret__, 'occ_handover_resource_block_id'))
|
206
|
+
|
207
|
+
|
208
|
+
@_utilities.lift_output_func(get_internal_occ_handover_resource_blocks)
|
209
|
+
def get_internal_occ_handover_resource_blocks_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
210
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetInternalOccHandoverResourceBlocksFilterArgs', 'GetInternalOccHandoverResourceBlocksFilterArgsDict']]]]] = None,
|
211
|
+
handover_date_greater_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None,
|
212
|
+
handover_date_less_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None,
|
213
|
+
handover_resource_name: Optional[pulumi.Input[Optional[str]]] = None,
|
214
|
+
namespace: Optional[pulumi.Input[str]] = None,
|
215
|
+
occ_customer_group_id: Optional[pulumi.Input[str]] = None,
|
216
|
+
occ_handover_resource_block_id: Optional[pulumi.Input[Optional[str]]] = None,
|
217
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInternalOccHandoverResourceBlocksResult]:
|
218
|
+
"""
|
219
|
+
This data source provides the list of Internal Occ Handover Resource Blocks in Oracle Cloud Infrastructure Capacity Management service.
|
220
|
+
|
221
|
+
List Occ Handover Resource blocks.
|
222
|
+
|
223
|
+
## Example Usage
|
224
|
+
|
225
|
+
```python
|
226
|
+
import pulumi
|
227
|
+
import pulumi_oci as oci
|
228
|
+
|
229
|
+
test_internal_occ_handover_resource_blocks = oci.CapacityManagement.get_internal_occ_handover_resource_blocks(compartment_id=compartment_id,
|
230
|
+
namespace=internal_occ_handover_resource_block_namespace,
|
231
|
+
occ_customer_group_id=test_occ_customer_group["id"],
|
232
|
+
handover_date_greater_than_or_equal_to=internal_occ_handover_resource_block_handover_date_greater_than_or_equal_to,
|
233
|
+
handover_date_less_than_or_equal_to=internal_occ_handover_resource_block_handover_date_less_than_or_equal_to,
|
234
|
+
handover_resource_name=test_resource["name"],
|
235
|
+
occ_handover_resource_block_id=test_occ_handover_resource_block["id"])
|
236
|
+
```
|
237
|
+
|
238
|
+
|
239
|
+
: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.
|
240
|
+
:param str handover_date_greater_than_or_equal_to: This filter helps in fetching all handed over resources for which the recordDate is greater than or equal to the startDate.
|
241
|
+
:param str handover_date_less_than_or_equal_to: This filter helps in fetching all handed over resources for which the recordDate is less than or equal to the endDate.
|
242
|
+
:param str handover_resource_name: A filter to return only the list of resources that match the name provided in this filter.
|
243
|
+
:param str namespace: The namespace enum value that needs to be passed as a required query parameter.
|
244
|
+
:param str occ_customer_group_id: The customer group ocid by which we would filter the list.
|
245
|
+
:param str occ_handover_resource_block_id: This filter helps in fetching the handed over resource for which the occHandoverResourceId is equal to the one provided here.
|
246
|
+
"""
|
247
|
+
...
|
@@ -0,0 +1,204 @@
|
|
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
|
+
'GetNamespaceOccOverviewsResult',
|
16
|
+
'AwaitableGetNamespaceOccOverviewsResult',
|
17
|
+
'get_namespace_occ_overviews',
|
18
|
+
'get_namespace_occ_overviews_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetNamespaceOccOverviewsResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getNamespaceOccOverviews.
|
25
|
+
"""
|
26
|
+
def __init__(__self__, compartment_id=None, filters=None, from_=None, id=None, namespace=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_overview_collections and not isinstance(occ_overview_collections, list):
|
43
|
+
raise TypeError("Expected argument 'occ_overview_collections' to be a list")
|
44
|
+
pulumi.set(__self__, "occ_overview_collections", occ_overview_collections)
|
45
|
+
if to and not isinstance(to, str):
|
46
|
+
raise TypeError("Expected argument 'to' to be a str")
|
47
|
+
pulumi.set(__self__, "to", to)
|
48
|
+
if workload_type and not isinstance(workload_type, str):
|
49
|
+
raise TypeError("Expected argument 'workload_type' to be a str")
|
50
|
+
pulumi.set(__self__, "workload_type", workload_type)
|
51
|
+
|
52
|
+
@property
|
53
|
+
@pulumi.getter(name="compartmentId")
|
54
|
+
def compartment_id(self) -> str:
|
55
|
+
"""
|
56
|
+
The OCID of the compartment from which the api call is made. This will be used for authorizing the request.
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "compartment_id")
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter
|
62
|
+
def filters(self) -> Optional[Sequence['outputs.GetNamespaceOccOverviewsFilterResult']]:
|
63
|
+
return pulumi.get(self, "filters")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="from")
|
67
|
+
def from_(self) -> Optional[str]:
|
68
|
+
return pulumi.get(self, "from_")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter
|
72
|
+
def id(self) -> str:
|
73
|
+
"""
|
74
|
+
The provider-assigned unique ID for this managed resource.
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "id")
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter
|
80
|
+
def namespace(self) -> str:
|
81
|
+
return pulumi.get(self, "namespace")
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter(name="occOverviewCollections")
|
85
|
+
def occ_overview_collections(self) -> Sequence['outputs.GetNamespaceOccOverviewsOccOverviewCollectionResult']:
|
86
|
+
"""
|
87
|
+
The list of occ_overview_collection.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "occ_overview_collections")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter
|
93
|
+
def to(self) -> Optional[str]:
|
94
|
+
return pulumi.get(self, "to")
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter(name="workloadType")
|
98
|
+
def workload_type(self) -> Optional[str]:
|
99
|
+
return pulumi.get(self, "workload_type")
|
100
|
+
|
101
|
+
|
102
|
+
class AwaitableGetNamespaceOccOverviewsResult(GetNamespaceOccOverviewsResult):
|
103
|
+
# pylint: disable=using-constant-test
|
104
|
+
def __await__(self):
|
105
|
+
if False:
|
106
|
+
yield self
|
107
|
+
return GetNamespaceOccOverviewsResult(
|
108
|
+
compartment_id=self.compartment_id,
|
109
|
+
filters=self.filters,
|
110
|
+
from_=self.from_,
|
111
|
+
id=self.id,
|
112
|
+
namespace=self.namespace,
|
113
|
+
occ_overview_collections=self.occ_overview_collections,
|
114
|
+
to=self.to,
|
115
|
+
workload_type=self.workload_type)
|
116
|
+
|
117
|
+
|
118
|
+
def get_namespace_occ_overviews(compartment_id: Optional[str] = None,
|
119
|
+
filters: Optional[Sequence[Union['GetNamespaceOccOverviewsFilterArgs', 'GetNamespaceOccOverviewsFilterArgsDict']]] = None,
|
120
|
+
from_: Optional[str] = None,
|
121
|
+
namespace: Optional[str] = None,
|
122
|
+
to: Optional[str] = None,
|
123
|
+
workload_type: Optional[str] = None,
|
124
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNamespaceOccOverviewsResult:
|
125
|
+
"""
|
126
|
+
This data source provides the list of Namespace Occ Overviews in Oracle Cloud Infrastructure Capacity Management service.
|
127
|
+
|
128
|
+
Lists an overview of all resources in that namespace in a given time interval.
|
129
|
+
|
130
|
+
## Example Usage
|
131
|
+
|
132
|
+
```python
|
133
|
+
import pulumi
|
134
|
+
import pulumi_oci as oci
|
135
|
+
|
136
|
+
test_namespace_occ_overviews = oci.CapacityManagement.get_namespace_occ_overviews(compartment_id=compartment_id,
|
137
|
+
namespace=namespace_occ_overview_namespace,
|
138
|
+
from_=namespace_occ_overview_from,
|
139
|
+
to=namespace_occ_overview_to,
|
140
|
+
workload_type=namespace_occ_overview_workload_type)
|
141
|
+
```
|
142
|
+
|
143
|
+
|
144
|
+
: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.
|
145
|
+
: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.
|
146
|
+
:param str namespace: The namespace by which we would filter the list.
|
147
|
+
: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.
|
148
|
+
:param str workload_type: Workload type using the resources in an availability catalog can be filtered.
|
149
|
+
"""
|
150
|
+
__args__ = dict()
|
151
|
+
__args__['compartmentId'] = compartment_id
|
152
|
+
__args__['filters'] = filters
|
153
|
+
__args__['from'] = from_
|
154
|
+
__args__['namespace'] = namespace
|
155
|
+
__args__['to'] = to
|
156
|
+
__args__['workloadType'] = workload_type
|
157
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
158
|
+
__ret__ = pulumi.runtime.invoke('oci:CapacityManagement/getNamespaceOccOverviews:getNamespaceOccOverviews', __args__, opts=opts, typ=GetNamespaceOccOverviewsResult).value
|
159
|
+
|
160
|
+
return AwaitableGetNamespaceOccOverviewsResult(
|
161
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
162
|
+
filters=pulumi.get(__ret__, 'filters'),
|
163
|
+
from_=pulumi.get(__ret__, 'from_'),
|
164
|
+
id=pulumi.get(__ret__, 'id'),
|
165
|
+
namespace=pulumi.get(__ret__, 'namespace'),
|
166
|
+
occ_overview_collections=pulumi.get(__ret__, 'occ_overview_collections'),
|
167
|
+
to=pulumi.get(__ret__, 'to'),
|
168
|
+
workload_type=pulumi.get(__ret__, 'workload_type'))
|
169
|
+
|
170
|
+
|
171
|
+
@_utilities.lift_output_func(get_namespace_occ_overviews)
|
172
|
+
def get_namespace_occ_overviews_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
173
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetNamespaceOccOverviewsFilterArgs', 'GetNamespaceOccOverviewsFilterArgsDict']]]]] = None,
|
174
|
+
from_: Optional[pulumi.Input[Optional[str]]] = None,
|
175
|
+
namespace: Optional[pulumi.Input[str]] = None,
|
176
|
+
to: Optional[pulumi.Input[Optional[str]]] = None,
|
177
|
+
workload_type: Optional[pulumi.Input[Optional[str]]] = None,
|
178
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNamespaceOccOverviewsResult]:
|
179
|
+
"""
|
180
|
+
This data source provides the list of Namespace Occ Overviews in Oracle Cloud Infrastructure Capacity Management service.
|
181
|
+
|
182
|
+
Lists an overview of all resources in that namespace in a given time interval.
|
183
|
+
|
184
|
+
## Example Usage
|
185
|
+
|
186
|
+
```python
|
187
|
+
import pulumi
|
188
|
+
import pulumi_oci as oci
|
189
|
+
|
190
|
+
test_namespace_occ_overviews = oci.CapacityManagement.get_namespace_occ_overviews(compartment_id=compartment_id,
|
191
|
+
namespace=namespace_occ_overview_namespace,
|
192
|
+
from_=namespace_occ_overview_from,
|
193
|
+
to=namespace_occ_overview_to,
|
194
|
+
workload_type=namespace_occ_overview_workload_type)
|
195
|
+
```
|
196
|
+
|
197
|
+
|
198
|
+
: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.
|
199
|
+
: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.
|
200
|
+
:param str namespace: The namespace by which we would filter the list.
|
201
|
+
: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.
|
202
|
+
:param str workload_type: Workload type using the resources in an availability catalog can be filtered.
|
203
|
+
"""
|
204
|
+
...
|
@@ -119,7 +119,7 @@ class GetOccAvailabilityCatalogResult:
|
|
119
119
|
@pulumi.getter
|
120
120
|
def details(self) -> Sequence['outputs.GetOccAvailabilityCatalogDetailResult']:
|
121
121
|
"""
|
122
|
-
Details about capacity available for
|
122
|
+
Details about capacity available for different resources in catalog.
|
123
123
|
"""
|
124
124
|
return pulumi.get(self, "details")
|
125
125
|
|
@@ -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, 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, request_type=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,6 +74,9 @@ 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)
|
77
80
|
if state and not isinstance(state, str):
|
78
81
|
raise TypeError("Expected argument 'state' to be a str")
|
79
82
|
pulumi.set(__self__, "state", state)
|
@@ -91,7 +94,7 @@ class GetOccCapacityRequestResult:
|
|
91
94
|
@pulumi.getter(name="availabilityDomain")
|
92
95
|
def availability_domain(self) -> str:
|
93
96
|
"""
|
94
|
-
The availability domain
|
97
|
+
The availability domain of the resource which is to be transferred. Note that this is only required for Capacity Request Transfer requests.
|
95
98
|
"""
|
96
99
|
return pulumi.get(self, "availability_domain")
|
97
100
|
|
@@ -217,6 +220,14 @@ class GetOccCapacityRequestResult:
|
|
217
220
|
"""
|
218
221
|
return pulumi.get(self, "request_state")
|
219
222
|
|
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
|
+
|
220
231
|
@property
|
221
232
|
@pulumi.getter
|
222
233
|
def state(self) -> str:
|
@@ -273,6 +284,7 @@ class AwaitableGetOccCapacityRequestResult(GetOccCapacityRequestResult):
|
|
273
284
|
patch_operations=self.patch_operations,
|
274
285
|
region=self.region,
|
275
286
|
request_state=self.request_state,
|
287
|
+
request_type=self.request_type,
|
276
288
|
state=self.state,
|
277
289
|
system_tags=self.system_tags,
|
278
290
|
time_created=self.time_created,
|
@@ -321,6 +333,7 @@ def get_occ_capacity_request(occ_capacity_request_id: Optional[str] = None,
|
|
321
333
|
patch_operations=pulumi.get(__ret__, 'patch_operations'),
|
322
334
|
region=pulumi.get(__ret__, 'region'),
|
323
335
|
request_state=pulumi.get(__ret__, 'request_state'),
|
336
|
+
request_type=pulumi.get(__ret__, 'request_type'),
|
324
337
|
state=pulumi.get(__ret__, 'state'),
|
325
338
|
system_tags=pulumi.get(__ret__, 'system_tags'),
|
326
339
|
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):
|
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):
|
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,6 +45,9 @@ 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)
|
48
51
|
|
49
52
|
@property
|
50
53
|
@pulumi.getter(name="compartmentId")
|
@@ -99,6 +102,14 @@ class GetOccCapacityRequestsResult:
|
|
99
102
|
"""
|
100
103
|
return pulumi.get(self, "occ_capacity_request_collections")
|
101
104
|
|
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
|
+
|
102
113
|
|
103
114
|
class AwaitableGetOccCapacityRequestsResult(GetOccCapacityRequestsResult):
|
104
115
|
# pylint: disable=using-constant-test
|
@@ -112,7 +123,8 @@ class AwaitableGetOccCapacityRequestsResult(GetOccCapacityRequestsResult):
|
|
112
123
|
id=self.id,
|
113
124
|
namespace=self.namespace,
|
114
125
|
occ_availability_catalog_id=self.occ_availability_catalog_id,
|
115
|
-
occ_capacity_request_collections=self.occ_capacity_request_collections
|
126
|
+
occ_capacity_request_collections=self.occ_capacity_request_collections,
|
127
|
+
request_type=self.request_type)
|
116
128
|
|
117
129
|
|
118
130
|
def get_occ_capacity_requests(compartment_id: Optional[str] = None,
|
@@ -121,6 +133,7 @@ def get_occ_capacity_requests(compartment_id: Optional[str] = None,
|
|
121
133
|
id: Optional[str] = None,
|
122
134
|
namespace: Optional[str] = None,
|
123
135
|
occ_availability_catalog_id: Optional[str] = None,
|
136
|
+
request_type: Optional[str] = None,
|
124
137
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOccCapacityRequestsResult:
|
125
138
|
"""
|
126
139
|
This data source provides the list of Occ Capacity Requests in Oracle Cloud Infrastructure Capacity Management service.
|
@@ -137,7 +150,8 @@ def get_occ_capacity_requests(compartment_id: Optional[str] = None,
|
|
137
150
|
display_name=occ_capacity_request_display_name,
|
138
151
|
id=occ_capacity_request_id,
|
139
152
|
namespace=occ_capacity_request_namespace,
|
140
|
-
occ_availability_catalog_id=test_occ_availability_catalog["id"]
|
153
|
+
occ_availability_catalog_id=test_occ_availability_catalog["id"],
|
154
|
+
request_type=occ_capacity_request_request_type)
|
141
155
|
```
|
142
156
|
|
143
157
|
|
@@ -146,6 +160,7 @@ def get_occ_capacity_requests(compartment_id: Optional[str] = None,
|
|
146
160
|
: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.
|
147
161
|
:param str namespace: The namespace by which we would filter the list.
|
148
162
|
: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.
|
149
164
|
"""
|
150
165
|
__args__ = dict()
|
151
166
|
__args__['compartmentId'] = compartment_id
|
@@ -154,6 +169,7 @@ def get_occ_capacity_requests(compartment_id: Optional[str] = None,
|
|
154
169
|
__args__['id'] = id
|
155
170
|
__args__['namespace'] = namespace
|
156
171
|
__args__['occAvailabilityCatalogId'] = occ_availability_catalog_id
|
172
|
+
__args__['requestType'] = request_type
|
157
173
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
158
174
|
__ret__ = pulumi.runtime.invoke('oci:CapacityManagement/getOccCapacityRequests:getOccCapacityRequests', __args__, opts=opts, typ=GetOccCapacityRequestsResult).value
|
159
175
|
|
@@ -164,7 +180,8 @@ def get_occ_capacity_requests(compartment_id: Optional[str] = None,
|
|
164
180
|
id=pulumi.get(__ret__, 'id'),
|
165
181
|
namespace=pulumi.get(__ret__, 'namespace'),
|
166
182
|
occ_availability_catalog_id=pulumi.get(__ret__, 'occ_availability_catalog_id'),
|
167
|
-
occ_capacity_request_collections=pulumi.get(__ret__, 'occ_capacity_request_collections')
|
183
|
+
occ_capacity_request_collections=pulumi.get(__ret__, 'occ_capacity_request_collections'),
|
184
|
+
request_type=pulumi.get(__ret__, 'request_type'))
|
168
185
|
|
169
186
|
|
170
187
|
@_utilities.lift_output_func(get_occ_capacity_requests)
|
@@ -174,6 +191,7 @@ def get_occ_capacity_requests_output(compartment_id: Optional[pulumi.Input[str]]
|
|
174
191
|
id: Optional[pulumi.Input[Optional[str]]] = None,
|
175
192
|
namespace: Optional[pulumi.Input[Optional[str]]] = None,
|
176
193
|
occ_availability_catalog_id: Optional[pulumi.Input[Optional[str]]] = None,
|
194
|
+
request_type: Optional[pulumi.Input[Optional[str]]] = None,
|
177
195
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOccCapacityRequestsResult]:
|
178
196
|
"""
|
179
197
|
This data source provides the list of Occ Capacity Requests in Oracle Cloud Infrastructure Capacity Management service.
|
@@ -190,7 +208,8 @@ def get_occ_capacity_requests_output(compartment_id: Optional[pulumi.Input[str]]
|
|
190
208
|
display_name=occ_capacity_request_display_name,
|
191
209
|
id=occ_capacity_request_id,
|
192
210
|
namespace=occ_capacity_request_namespace,
|
193
|
-
occ_availability_catalog_id=test_occ_availability_catalog["id"]
|
211
|
+
occ_availability_catalog_id=test_occ_availability_catalog["id"],
|
212
|
+
request_type=occ_capacity_request_request_type)
|
194
213
|
```
|
195
214
|
|
196
215
|
|
@@ -199,5 +218,6 @@ def get_occ_capacity_requests_output(compartment_id: Optional[pulumi.Input[str]]
|
|
199
218
|
: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.
|
200
219
|
:param str namespace: The namespace by which we would filter the list.
|
201
220
|
: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.
|
202
222
|
"""
|
203
223
|
...
|