pulumi-oci 2.11.0__py3-none-any.whl → 2.11.0a1726726622__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. pulumi_oci/__init__.py +0 -62
  2. pulumi_oci/bigdataservice/__init__.py +0 -3
  3. pulumi_oci/bigdataservice/_inputs.py +0 -66
  4. pulumi_oci/bigdataservice/bds_instance_os_patch_action.py +2 -136
  5. pulumi_oci/bigdataservice/outputs.py +0 -175
  6. pulumi_oci/capacitymanagement/__init__.py +0 -8
  7. pulumi_oci/capacitymanagement/_inputs.py +3 -465
  8. pulumi_oci/capacitymanagement/get_internal_occ_availability_catalogs.py +7 -7
  9. pulumi_oci/capacitymanagement/get_occ_availability_catalog.py +1 -1
  10. pulumi_oci/capacitymanagement/get_occ_capacity_request.py +2 -15
  11. pulumi_oci/capacitymanagement/get_occ_capacity_requests.py +5 -25
  12. pulumi_oci/capacitymanagement/get_occ_customer_group.py +1 -1
  13. pulumi_oci/capacitymanagement/occ_availability_catalog.py +4 -4
  14. pulumi_oci/capacitymanagement/occ_capacity_request.py +32 -78
  15. pulumi_oci/capacitymanagement/outputs.py +166 -1668
  16. pulumi_oci/containerengine/__init__.py +0 -1
  17. pulumi_oci/containerengine/outputs.py +0 -492
  18. pulumi_oci/generativeai/dedicated_ai_cluster.py +0 -7
  19. pulumi_oci/generativeai/get_model.py +0 -3
  20. pulumi_oci/generativeai/outputs.py +0 -4
  21. pulumi_oci/pulumi-plugin.json +1 -1
  22. {pulumi_oci-2.11.0.dist-info → pulumi_oci-2.11.0a1726726622.dist-info}/METADATA +1 -1
  23. {pulumi_oci-2.11.0.dist-info → pulumi_oci-2.11.0a1726726622.dist-info}/RECORD +25 -55
  24. pulumi_oci/bigdataservice/bds_instance_resource_principal_configuration.py +0 -524
  25. pulumi_oci/bigdataservice/get_bds_instance_resource_principal_configuration.py +0 -236
  26. pulumi_oci/bigdataservice/get_bds_instance_resource_principal_configurations.py +0 -176
  27. pulumi_oci/capacitymanagement/get_internal_namespace_occ_overviews.py +0 -221
  28. pulumi_oci/capacitymanagement/get_internal_occ_handover_resource_block_details.py +0 -150
  29. pulumi_oci/capacitymanagement/get_internal_occ_handover_resource_blocks.py +0 -247
  30. pulumi_oci/capacitymanagement/get_namespace_occ_overviews.py +0 -204
  31. pulumi_oci/capacitymanagement/get_occ_handover_resource_block_details.py +0 -150
  32. pulumi_oci/capacitymanagement/get_occ_handover_resource_blocks.py +0 -227
  33. pulumi_oci/capacitymanagement/occ_customer_group.py +0 -690
  34. pulumi_oci/capacitymanagement/occ_customer_group_occ_customer.py +0 -412
  35. pulumi_oci/containerengine/get_cluster.py +0 -327
  36. pulumi_oci/fleetsoftwareupdate/__init__.py +0 -15
  37. pulumi_oci/fleetsoftwareupdate/_inputs.py +0 -717
  38. pulumi_oci/fleetsoftwareupdate/fsu_collection.py +0 -804
  39. pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +0 -1231
  40. pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +0 -301
  41. pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +0 -196
  42. pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +0 -431
  43. pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +0 -233
  44. pulumi_oci/fleetsoftwareupdate/outputs.py +0 -2129
  45. pulumi_oci/globallydistributeddatabase/__init__.py +0 -15
  46. pulumi_oci/globallydistributeddatabase/_inputs.py +0 -1003
  47. pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +0 -300
  48. pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +0 -176
  49. pulumi_oci/globallydistributeddatabase/get_sharded_database.py +0 -610
  50. pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +0 -176
  51. pulumi_oci/globallydistributeddatabase/outputs.py +0 -2058
  52. pulumi_oci/globallydistributeddatabase/private_endpoint.py +0 -742
  53. pulumi_oci/globallydistributeddatabase/sharded_database.py +0 -1816
  54. {pulumi_oci-2.11.0.dist-info → pulumi_oci-2.11.0a1726726622.dist-info}/WHEEL +0 -0
  55. {pulumi_oci-2.11.0.dist-info → pulumi_oci-2.11.0a1726726622.dist-info}/top_level.txt +0 -0
@@ -1,150 +0,0 @@
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
- ...
@@ -1,247 +0,0 @@
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
- ...
@@ -1,204 +0,0 @@
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
- ...