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,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
|
+
'GetOccHandoverResourceBlockDetailsResult',
|
16
|
+
'AwaitableGetOccHandoverResourceBlockDetailsResult',
|
17
|
+
'get_occ_handover_resource_block_details',
|
18
|
+
'get_occ_handover_resource_block_details_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetOccHandoverResourceBlockDetailsResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getOccHandoverResourceBlockDetails.
|
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.GetOccHandoverResourceBlockDetailsFilterResult']]:
|
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.GetOccHandoverResourceBlockDetailsOccHandoverResourceBlockDetailCollectionResult']:
|
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 AwaitableGetOccHandoverResourceBlockDetailsResult(GetOccHandoverResourceBlockDetailsResult):
|
76
|
+
# pylint: disable=using-constant-test
|
77
|
+
def __await__(self):
|
78
|
+
if False:
|
79
|
+
yield self
|
80
|
+
return GetOccHandoverResourceBlockDetailsResult(
|
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_occ_handover_resource_block_details(filters: Optional[Sequence[Union['GetOccHandoverResourceBlockDetailsFilterArgs', 'GetOccHandoverResourceBlockDetailsFilterArgsDict']]] = None,
|
89
|
+
host_id: Optional[str] = None,
|
90
|
+
occ_handover_resource_block_id: Optional[str] = None,
|
91
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOccHandoverResourceBlockDetailsResult:
|
92
|
+
"""
|
93
|
+
This data source provides the list of 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_occ_handover_resource_block_details = oci.CapacityManagement.get_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/getOccHandoverResourceBlockDetails:getOccHandoverResourceBlockDetails', __args__, opts=opts, typ=GetOccHandoverResourceBlockDetailsResult).value
|
117
|
+
|
118
|
+
return AwaitableGetOccHandoverResourceBlockDetailsResult(
|
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_occ_handover_resource_block_details)
|
127
|
+
def get_occ_handover_resource_block_details_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetOccHandoverResourceBlockDetailsFilterArgs', 'GetOccHandoverResourceBlockDetailsFilterArgsDict']]]]] = 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[GetOccHandoverResourceBlockDetailsResult]:
|
131
|
+
"""
|
132
|
+
This data source provides the list of 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_occ_handover_resource_block_details = oci.CapacityManagement.get_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
|
+
...
|
@@ -0,0 +1,227 @@
|
|
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
|
+
'GetOccHandoverResourceBlocksResult',
|
16
|
+
'AwaitableGetOccHandoverResourceBlocksResult',
|
17
|
+
'get_occ_handover_resource_blocks',
|
18
|
+
'get_occ_handover_resource_blocks_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetOccHandoverResourceBlocksResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getOccHandoverResourceBlocks.
|
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_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_handover_resource_block_collections and not isinstance(occ_handover_resource_block_collections, list):
|
49
|
+
raise TypeError("Expected argument 'occ_handover_resource_block_collections' to be a list")
|
50
|
+
pulumi.set(__self__, "occ_handover_resource_block_collections", occ_handover_resource_block_collections)
|
51
|
+
if occ_handover_resource_block_id and not isinstance(occ_handover_resource_block_id, str):
|
52
|
+
raise TypeError("Expected argument 'occ_handover_resource_block_id' to be a str")
|
53
|
+
pulumi.set(__self__, "occ_handover_resource_block_id", occ_handover_resource_block_id)
|
54
|
+
|
55
|
+
@property
|
56
|
+
@pulumi.getter(name="compartmentId")
|
57
|
+
def compartment_id(self) -> Optional[str]:
|
58
|
+
"""
|
59
|
+
The OCID of the compartment where the resource block's are placed.
|
60
|
+
"""
|
61
|
+
return pulumi.get(self, "compartment_id")
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter
|
65
|
+
def filters(self) -> Optional[Sequence['outputs.GetOccHandoverResourceBlocksFilterResult']]:
|
66
|
+
return pulumi.get(self, "filters")
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter(name="handoverDateGreaterThanOrEqualTo")
|
70
|
+
def handover_date_greater_than_or_equal_to(self) -> Optional[str]:
|
71
|
+
return pulumi.get(self, "handover_date_greater_than_or_equal_to")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter(name="handoverDateLessThanOrEqualTo")
|
75
|
+
def handover_date_less_than_or_equal_to(self) -> Optional[str]:
|
76
|
+
return pulumi.get(self, "handover_date_less_than_or_equal_to")
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter(name="handoverResourceName")
|
80
|
+
def handover_resource_name(self) -> Optional[str]:
|
81
|
+
"""
|
82
|
+
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.
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "handover_resource_name")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter
|
88
|
+
def id(self) -> str:
|
89
|
+
"""
|
90
|
+
The provider-assigned unique ID for this managed resource.
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "id")
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter
|
96
|
+
def namespace(self) -> Optional[str]:
|
97
|
+
"""
|
98
|
+
The name of the Oracle Cloud Infrastructure service in consideration. For example Compute, Exadata and so on.
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "namespace")
|
101
|
+
|
102
|
+
@property
|
103
|
+
@pulumi.getter(name="occHandoverResourceBlockCollections")
|
104
|
+
def occ_handover_resource_block_collections(self) -> Sequence['outputs.GetOccHandoverResourceBlocksOccHandoverResourceBlockCollectionResult']:
|
105
|
+
"""
|
106
|
+
The list of occ_handover_resource_block_collection.
|
107
|
+
"""
|
108
|
+
return pulumi.get(self, "occ_handover_resource_block_collections")
|
109
|
+
|
110
|
+
@property
|
111
|
+
@pulumi.getter(name="occHandoverResourceBlockId")
|
112
|
+
def occ_handover_resource_block_id(self) -> Optional[str]:
|
113
|
+
return pulumi.get(self, "occ_handover_resource_block_id")
|
114
|
+
|
115
|
+
|
116
|
+
class AwaitableGetOccHandoverResourceBlocksResult(GetOccHandoverResourceBlocksResult):
|
117
|
+
# pylint: disable=using-constant-test
|
118
|
+
def __await__(self):
|
119
|
+
if False:
|
120
|
+
yield self
|
121
|
+
return GetOccHandoverResourceBlocksResult(
|
122
|
+
compartment_id=self.compartment_id,
|
123
|
+
filters=self.filters,
|
124
|
+
handover_date_greater_than_or_equal_to=self.handover_date_greater_than_or_equal_to,
|
125
|
+
handover_date_less_than_or_equal_to=self.handover_date_less_than_or_equal_to,
|
126
|
+
handover_resource_name=self.handover_resource_name,
|
127
|
+
id=self.id,
|
128
|
+
namespace=self.namespace,
|
129
|
+
occ_handover_resource_block_collections=self.occ_handover_resource_block_collections,
|
130
|
+
occ_handover_resource_block_id=self.occ_handover_resource_block_id)
|
131
|
+
|
132
|
+
|
133
|
+
def get_occ_handover_resource_blocks(compartment_id: Optional[str] = None,
|
134
|
+
filters: Optional[Sequence[Union['GetOccHandoverResourceBlocksFilterArgs', 'GetOccHandoverResourceBlocksFilterArgsDict']]] = None,
|
135
|
+
handover_date_greater_than_or_equal_to: Optional[str] = None,
|
136
|
+
handover_date_less_than_or_equal_to: Optional[str] = None,
|
137
|
+
handover_resource_name: Optional[str] = None,
|
138
|
+
namespace: Optional[str] = None,
|
139
|
+
occ_handover_resource_block_id: Optional[str] = None,
|
140
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOccHandoverResourceBlocksResult:
|
141
|
+
"""
|
142
|
+
This data source provides the list of Occ Handover Resource Blocks in Oracle Cloud Infrastructure Capacity Management service.
|
143
|
+
|
144
|
+
List Occ Handover Resource blocks.
|
145
|
+
|
146
|
+
## Example Usage
|
147
|
+
|
148
|
+
```python
|
149
|
+
import pulumi
|
150
|
+
import pulumi_oci as oci
|
151
|
+
|
152
|
+
test_occ_handover_resource_blocks = oci.CapacityManagement.get_occ_handover_resource_blocks(compartment_id=compartment_id,
|
153
|
+
handover_date_greater_than_or_equal_to=occ_handover_resource_block_handover_date_greater_than_or_equal_to,
|
154
|
+
handover_date_less_than_or_equal_to=occ_handover_resource_block_handover_date_less_than_or_equal_to,
|
155
|
+
handover_resource_name=test_resource["name"],
|
156
|
+
namespace=occ_handover_resource_block_namespace,
|
157
|
+
occ_handover_resource_block_id=test_occ_handover_resource_block["id"])
|
158
|
+
```
|
159
|
+
|
160
|
+
|
161
|
+
:param str compartment_id: The OCID of the compartment or tenancy in which resources are to be listed.
|
162
|
+
: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.
|
163
|
+
: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.
|
164
|
+
:param str handover_resource_name: A filter to return only the list of resources that match the name provided in this filter.
|
165
|
+
:param str namespace: The namespace by which we would filter the list.
|
166
|
+
: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.
|
167
|
+
"""
|
168
|
+
__args__ = dict()
|
169
|
+
__args__['compartmentId'] = compartment_id
|
170
|
+
__args__['filters'] = filters
|
171
|
+
__args__['handoverDateGreaterThanOrEqualTo'] = handover_date_greater_than_or_equal_to
|
172
|
+
__args__['handoverDateLessThanOrEqualTo'] = handover_date_less_than_or_equal_to
|
173
|
+
__args__['handoverResourceName'] = handover_resource_name
|
174
|
+
__args__['namespace'] = namespace
|
175
|
+
__args__['occHandoverResourceBlockId'] = occ_handover_resource_block_id
|
176
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
177
|
+
__ret__ = pulumi.runtime.invoke('oci:CapacityManagement/getOccHandoverResourceBlocks:getOccHandoverResourceBlocks', __args__, opts=opts, typ=GetOccHandoverResourceBlocksResult).value
|
178
|
+
|
179
|
+
return AwaitableGetOccHandoverResourceBlocksResult(
|
180
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
181
|
+
filters=pulumi.get(__ret__, 'filters'),
|
182
|
+
handover_date_greater_than_or_equal_to=pulumi.get(__ret__, 'handover_date_greater_than_or_equal_to'),
|
183
|
+
handover_date_less_than_or_equal_to=pulumi.get(__ret__, 'handover_date_less_than_or_equal_to'),
|
184
|
+
handover_resource_name=pulumi.get(__ret__, 'handover_resource_name'),
|
185
|
+
id=pulumi.get(__ret__, 'id'),
|
186
|
+
namespace=pulumi.get(__ret__, 'namespace'),
|
187
|
+
occ_handover_resource_block_collections=pulumi.get(__ret__, 'occ_handover_resource_block_collections'),
|
188
|
+
occ_handover_resource_block_id=pulumi.get(__ret__, 'occ_handover_resource_block_id'))
|
189
|
+
|
190
|
+
|
191
|
+
@_utilities.lift_output_func(get_occ_handover_resource_blocks)
|
192
|
+
def get_occ_handover_resource_blocks_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
193
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetOccHandoverResourceBlocksFilterArgs', 'GetOccHandoverResourceBlocksFilterArgsDict']]]]] = None,
|
194
|
+
handover_date_greater_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None,
|
195
|
+
handover_date_less_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None,
|
196
|
+
handover_resource_name: Optional[pulumi.Input[Optional[str]]] = None,
|
197
|
+
namespace: Optional[pulumi.Input[Optional[str]]] = None,
|
198
|
+
occ_handover_resource_block_id: Optional[pulumi.Input[Optional[str]]] = None,
|
199
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOccHandoverResourceBlocksResult]:
|
200
|
+
"""
|
201
|
+
This data source provides the list of Occ Handover Resource Blocks in Oracle Cloud Infrastructure Capacity Management service.
|
202
|
+
|
203
|
+
List Occ Handover Resource blocks.
|
204
|
+
|
205
|
+
## Example Usage
|
206
|
+
|
207
|
+
```python
|
208
|
+
import pulumi
|
209
|
+
import pulumi_oci as oci
|
210
|
+
|
211
|
+
test_occ_handover_resource_blocks = oci.CapacityManagement.get_occ_handover_resource_blocks(compartment_id=compartment_id,
|
212
|
+
handover_date_greater_than_or_equal_to=occ_handover_resource_block_handover_date_greater_than_or_equal_to,
|
213
|
+
handover_date_less_than_or_equal_to=occ_handover_resource_block_handover_date_less_than_or_equal_to,
|
214
|
+
handover_resource_name=test_resource["name"],
|
215
|
+
namespace=occ_handover_resource_block_namespace,
|
216
|
+
occ_handover_resource_block_id=test_occ_handover_resource_block["id"])
|
217
|
+
```
|
218
|
+
|
219
|
+
|
220
|
+
:param str compartment_id: The OCID of the compartment or tenancy in which resources are to be listed.
|
221
|
+
: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.
|
222
|
+
: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.
|
223
|
+
:param str handover_resource_name: A filter to return only the list of resources that match the name provided in this filter.
|
224
|
+
:param str namespace: The namespace by which we would filter the list.
|
225
|
+
: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.
|
226
|
+
"""
|
227
|
+
...
|
@@ -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
|
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
|
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
|
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
|
733
|
+
Details about capacity available for different resources in catalog.
|
734
734
|
"""
|
735
735
|
return pulumi.get(self, "details")
|
736
736
|
|