pulumi-oci 2.12.0a1728593306__py3-none-any.whl → 2.12.0a1728642710__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 +145 -0
- pulumi_oci/analytics/analytics_instance.py +54 -5
- pulumi_oci/analytics/get_analytics_instance.py +18 -4
- pulumi_oci/analytics/outputs.py +12 -1
- pulumi_oci/core/_inputs.py +648 -159
- pulumi_oci/core/cluster_network.py +7 -7
- pulumi_oci/core/get_instance.py +29 -1
- pulumi_oci/core/get_vcn.py +15 -1
- pulumi_oci/core/get_vnic.py +15 -1
- pulumi_oci/core/instance.py +87 -0
- pulumi_oci/core/instance_configuration.py +12 -0
- pulumi_oci/core/ipsec.py +183 -23
- pulumi_oci/core/network_security_group_security_rule.py +2 -2
- pulumi_oci/core/outputs.py +709 -107
- pulumi_oci/core/service_gateway.py +13 -7
- pulumi_oci/core/vcn.py +65 -23
- pulumi_oci/core/virtual_network.py +35 -1
- pulumi_oci/core/vnic_attachment.py +2 -0
- pulumi_oci/database/_inputs.py +905 -27
- pulumi_oci/database/autonomous_database.py +48 -28
- pulumi_oci/database/autonomous_database_backup.py +12 -12
- pulumi_oci/database/autonomous_exadata_infrastructure.py +2 -0
- pulumi_oci/database/autonomous_vm_cluster.py +2 -0
- pulumi_oci/database/backup.py +12 -12
- pulumi_oci/database/cloud_autonomous_vm_cluster.py +2 -0
- pulumi_oci/database/cloud_exadata_infrastructure.py +2 -0
- pulumi_oci/database/cloud_vm_cluster.py +71 -0
- pulumi_oci/database/database.py +15 -15
- pulumi_oci/database/database_upgrade.py +12 -12
- pulumi_oci/database/db_system.py +9 -9
- pulumi_oci/database/exadata_infrastructure.py +2 -0
- pulumi_oci/database/get_autonomous_container_database.py +1 -1
- pulumi_oci/database/get_autonomous_database.py +18 -4
- pulumi_oci/database/get_autonomous_database_backup.py +3 -3
- pulumi_oci/database/get_autonomous_databases.py +88 -5
- pulumi_oci/database/get_cloud_vm_cluster.py +15 -1
- pulumi_oci/database/get_database.py +3 -3
- pulumi_oci/database/get_pluggable_database.py +12 -1
- pulumi_oci/database/get_vm_cluster.py +15 -1
- pulumi_oci/database/outputs.py +1431 -74
- pulumi_oci/database/pluggable_database.py +34 -0
- pulumi_oci/database/vm_cluster.py +71 -0
- pulumi_oci/database/vm_cluster_add_virtual_network.py +28 -0
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +28 -0
- pulumi_oci/datasafe/__init__.py +12 -0
- pulumi_oci/datasafe/_inputs.py +441 -0
- pulumi_oci/datasafe/get_reports.py +23 -1
- pulumi_oci/datasafe/get_sql_collection.py +392 -0
- pulumi_oci/datasafe/get_sql_collection_analytics.py +309 -0
- pulumi_oci/datasafe/get_sql_collection_log_insights.py +207 -0
- pulumi_oci/datasafe/get_sql_collections.py +364 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql.py +337 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +250 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +234 -0
- pulumi_oci/datasafe/get_sql_firewall_policies.py +386 -0
- pulumi_oci/datasafe/get_sql_firewall_policy.py +393 -0
- pulumi_oci/datasafe/get_sql_firewall_policy_analytics.py +305 -0
- pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +306 -0
- pulumi_oci/datasafe/get_sql_firewall_violations.py +208 -0
- pulumi_oci/datasafe/outputs.py +1808 -2
- pulumi_oci/desktops/_inputs.py +223 -7
- pulumi_oci/desktops/desktop_pool.py +186 -21
- pulumi_oci/desktops/get_desktop_pool.py +47 -5
- pulumi_oci/desktops/outputs.py +480 -19
- pulumi_oci/fleetappsmanagement/__init__.py +43 -0
- pulumi_oci/fleetappsmanagement/_inputs.py +2057 -0
- pulumi_oci/fleetappsmanagement/fleet.py +955 -0
- pulumi_oci/fleetappsmanagement/fleet_credential.py +615 -0
- pulumi_oci/fleetappsmanagement/fleet_property.py +585 -0
- pulumi_oci/fleetappsmanagement/fleet_resource.py +851 -0
- pulumi_oci/fleetappsmanagement/get_announcements.py +166 -0
- pulumi_oci/fleetappsmanagement/get_fleet.py +394 -0
- pulumi_oci/fleetappsmanagement/get_fleet_compliance_report.py +164 -0
- pulumi_oci/fleetappsmanagement/get_fleet_credential.py +273 -0
- pulumi_oci/fleetappsmanagement/get_fleet_credentials.py +240 -0
- pulumi_oci/fleetappsmanagement/get_fleet_products.py +232 -0
- pulumi_oci/fleetappsmanagement/get_fleet_properties.py +218 -0
- pulumi_oci/fleetappsmanagement/get_fleet_property.py +286 -0
- pulumi_oci/fleetappsmanagement/get_fleet_resource.py +398 -0
- pulumi_oci/fleetappsmanagement/get_fleet_resources.py +237 -0
- pulumi_oci/fleetappsmanagement/get_fleet_targets.py +232 -0
- pulumi_oci/fleetappsmanagement/get_fleets.py +284 -0
- pulumi_oci/fleetappsmanagement/get_inventory_resources.py +311 -0
- pulumi_oci/fleetappsmanagement/get_maintenance_window.py +365 -0
- pulumi_oci/fleetappsmanagement/get_maintenance_windows.py +199 -0
- pulumi_oci/fleetappsmanagement/get_onboarding_policies.py +123 -0
- pulumi_oci/fleetappsmanagement/get_onboardings.py +177 -0
- pulumi_oci/fleetappsmanagement/get_properties.py +221 -0
- pulumi_oci/fleetappsmanagement/get_property.py +323 -0
- pulumi_oci/fleetappsmanagement/get_runbook.py +377 -0
- pulumi_oci/fleetappsmanagement/get_runbooks.py +284 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definition.py +436 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definition_scheduled_fleets.py +185 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definitions.py +262 -0
- pulumi_oci/fleetappsmanagement/get_task_record.py +307 -0
- pulumi_oci/fleetappsmanagement/get_task_records.py +240 -0
- pulumi_oci/fleetappsmanagement/maintenance_window.py +935 -0
- pulumi_oci/fleetappsmanagement/onboarding.py +477 -0
- pulumi_oci/fleetappsmanagement/outputs.py +8128 -0
- pulumi_oci/fleetappsmanagement/property.py +697 -0
- pulumi_oci/fleetappsmanagement/scheduler_definition.py +1035 -0
- pulumi_oci/functions/get_fusion_environment_refresh_activity.py +15 -1
- pulumi_oci/functions/outputs.py +11 -0
- pulumi_oci/fusionapps/_inputs.py +21 -20
- pulumi_oci/fusionapps/fusion_environment.py +2 -2
- pulumi_oci/fusionapps/fusion_environment_admin_user.py +21 -22
- pulumi_oci/fusionapps/fusion_environment_refresh_activity.py +48 -51
- pulumi_oci/fusionapps/outputs.py +11 -10
- pulumi_oci/integration/__init__.py +1 -0
- pulumi_oci/integration/_inputs.py +289 -2
- pulumi_oci/integration/get_integration_instance.py +65 -1
- pulumi_oci/integration/integration_instance.py +172 -0
- pulumi_oci/integration/oracle_managed_custom_endpoint.py +307 -0
- pulumi_oci/integration/outputs.py +587 -19
- pulumi_oci/loadbalancer/_inputs.py +20 -0
- pulumi_oci/loadbalancer/listener.py +4 -2
- pulumi_oci/loadbalancer/outputs.py +16 -2
- pulumi_oci/monitoring/_inputs.py +137 -16
- pulumi_oci/monitoring/alarm_suppression.py +164 -35
- pulumi_oci/monitoring/get_alarm_statuses.py +5 -3
- pulumi_oci/monitoring/get_alarm_suppression.py +33 -3
- pulumi_oci/monitoring/get_alarm_suppressions.py +137 -14
- pulumi_oci/monitoring/outputs.py +291 -18
- pulumi_oci/mysql/mysql_db_system.py +7 -7
- pulumi_oci/objectstorage/__init__.py +3 -0
- pulumi_oci/objectstorage/_inputs.py +97 -0
- pulumi_oci/objectstorage/get_object_versions.py +6 -6
- pulumi_oci/objectstorage/get_objects.py +6 -6
- pulumi_oci/objectstorage/get_private_endpoint.py +263 -0
- pulumi_oci/objectstorage/get_private_endpoint_summaries.py +128 -0
- pulumi_oci/objectstorage/outputs.py +258 -0
- pulumi_oci/objectstorage/private_endpoint.py +630 -0
- pulumi_oci/objectstorage/storage_object.py +7 -7
- pulumi_oci/opsi/_inputs.py +268 -114
- pulumi_oci/opsi/database_insight.py +162 -21
- pulumi_oci/opsi/exadata_insight.py +44 -0
- pulumi_oci/opsi/get_database_insight.py +40 -1
- pulumi_oci/opsi/get_host_insights.py +2 -2
- pulumi_oci/opsi/host_insight.py +0 -48
- pulumi_oci/opsi/outputs.py +405 -109
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/securityattribute/__init__.py +15 -0
- pulumi_oci/securityattribute/_inputs.py +209 -0
- pulumi_oci/securityattribute/get_security_attribute.py +262 -0
- pulumi_oci/securityattribute/get_security_attribute_namespace.py +253 -0
- pulumi_oci/securityattribute/get_security_attribute_namespaces.py +210 -0
- pulumi_oci/securityattribute/get_security_attributes.py +169 -0
- pulumi_oci/securityattribute/outputs.py +466 -0
- pulumi_oci/securityattribute/security_attribute.py +588 -0
- pulumi_oci/securityattribute/security_attribute_namespace.py +609 -0
- pulumi_oci/stackmonitoring/__init__.py +5 -0
- pulumi_oci/stackmonitoring/_inputs.py +330 -0
- pulumi_oci/stackmonitoring/get_maintenance_window.py +254 -0
- pulumi_oci/stackmonitoring/get_maintenance_windows.py +210 -0
- pulumi_oci/stackmonitoring/maintenance_window.py +551 -0
- pulumi_oci/stackmonitoring/maintenance_windows_retry_failed_operation.py +217 -0
- pulumi_oci/stackmonitoring/maintenance_windows_stop.py +217 -0
- pulumi_oci/stackmonitoring/outputs.py +603 -0
- pulumi_oci/zpr/__init__.py +14 -0
- pulumi_oci/zpr/_inputs.py +79 -0
- pulumi_oci/zpr/configuration.py +516 -0
- pulumi_oci/zpr/get_configuration.py +230 -0
- pulumi_oci/zpr/get_zpr_policies.py +191 -0
- pulumi_oci/zpr/get_zpr_policy.py +264 -0
- pulumi_oci/zpr/outputs.py +203 -0
- pulumi_oci/zpr/zpr_policy.py +614 -0
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/METADATA +1 -1
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/RECORD +170 -95
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,237 @@
|
|
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 sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetFleetResourcesResult',
|
21
|
+
'AwaitableGetFleetResourcesResult',
|
22
|
+
'get_fleet_resources',
|
23
|
+
'get_fleet_resources_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetFleetResourcesResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getFleetResources.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, display_name=None, filters=None, fleet_id=None, fleet_resource_collections=None, fleet_resource_type=None, id=None, state=None, tenancy_id=None):
|
32
|
+
if display_name and not isinstance(display_name, str):
|
33
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
34
|
+
pulumi.set(__self__, "display_name", display_name)
|
35
|
+
if filters and not isinstance(filters, list):
|
36
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
37
|
+
pulumi.set(__self__, "filters", filters)
|
38
|
+
if fleet_id and not isinstance(fleet_id, str):
|
39
|
+
raise TypeError("Expected argument 'fleet_id' to be a str")
|
40
|
+
pulumi.set(__self__, "fleet_id", fleet_id)
|
41
|
+
if fleet_resource_collections and not isinstance(fleet_resource_collections, list):
|
42
|
+
raise TypeError("Expected argument 'fleet_resource_collections' to be a list")
|
43
|
+
pulumi.set(__self__, "fleet_resource_collections", fleet_resource_collections)
|
44
|
+
if fleet_resource_type and not isinstance(fleet_resource_type, str):
|
45
|
+
raise TypeError("Expected argument 'fleet_resource_type' to be a str")
|
46
|
+
pulumi.set(__self__, "fleet_resource_type", fleet_resource_type)
|
47
|
+
if id and not isinstance(id, str):
|
48
|
+
raise TypeError("Expected argument 'id' to be a str")
|
49
|
+
pulumi.set(__self__, "id", id)
|
50
|
+
if state and not isinstance(state, str):
|
51
|
+
raise TypeError("Expected argument 'state' to be a str")
|
52
|
+
pulumi.set(__self__, "state", state)
|
53
|
+
if tenancy_id and not isinstance(tenancy_id, str):
|
54
|
+
raise TypeError("Expected argument 'tenancy_id' to be a str")
|
55
|
+
pulumi.set(__self__, "tenancy_id", tenancy_id)
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter(name="displayName")
|
59
|
+
def display_name(self) -> Optional[str]:
|
60
|
+
"""
|
61
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "display_name")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter
|
67
|
+
def filters(self) -> Optional[Sequence['outputs.GetFleetResourcesFilterResult']]:
|
68
|
+
return pulumi.get(self, "filters")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="fleetId")
|
72
|
+
def fleet_id(self) -> str:
|
73
|
+
return pulumi.get(self, "fleet_id")
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter(name="fleetResourceCollections")
|
77
|
+
def fleet_resource_collections(self) -> Sequence['outputs.GetFleetResourcesFleetResourceCollectionResult']:
|
78
|
+
"""
|
79
|
+
The list of fleet_resource_collection.
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "fleet_resource_collections")
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter(name="fleetResourceType")
|
85
|
+
def fleet_resource_type(self) -> Optional[str]:
|
86
|
+
return pulumi.get(self, "fleet_resource_type")
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter
|
90
|
+
def id(self) -> Optional[str]:
|
91
|
+
"""
|
92
|
+
The unique id of the resource.
|
93
|
+
"""
|
94
|
+
return pulumi.get(self, "id")
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter
|
98
|
+
def state(self) -> Optional[str]:
|
99
|
+
"""
|
100
|
+
The current state of the FleetResource.
|
101
|
+
"""
|
102
|
+
return pulumi.get(self, "state")
|
103
|
+
|
104
|
+
@property
|
105
|
+
@pulumi.getter(name="tenancyId")
|
106
|
+
def tenancy_id(self) -> Optional[str]:
|
107
|
+
"""
|
108
|
+
OCID of the tenancy to which the resource belongs to.
|
109
|
+
"""
|
110
|
+
return pulumi.get(self, "tenancy_id")
|
111
|
+
|
112
|
+
|
113
|
+
class AwaitableGetFleetResourcesResult(GetFleetResourcesResult):
|
114
|
+
# pylint: disable=using-constant-test
|
115
|
+
def __await__(self):
|
116
|
+
if False:
|
117
|
+
yield self
|
118
|
+
return GetFleetResourcesResult(
|
119
|
+
display_name=self.display_name,
|
120
|
+
filters=self.filters,
|
121
|
+
fleet_id=self.fleet_id,
|
122
|
+
fleet_resource_collections=self.fleet_resource_collections,
|
123
|
+
fleet_resource_type=self.fleet_resource_type,
|
124
|
+
id=self.id,
|
125
|
+
state=self.state,
|
126
|
+
tenancy_id=self.tenancy_id)
|
127
|
+
|
128
|
+
|
129
|
+
def get_fleet_resources(display_name: Optional[str] = None,
|
130
|
+
filters: Optional[Sequence[Union['GetFleetResourcesFilterArgs', 'GetFleetResourcesFilterArgsDict']]] = None,
|
131
|
+
fleet_id: Optional[str] = None,
|
132
|
+
fleet_resource_type: Optional[str] = None,
|
133
|
+
id: Optional[str] = None,
|
134
|
+
state: Optional[str] = None,
|
135
|
+
tenancy_id: Optional[str] = None,
|
136
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFleetResourcesResult:
|
137
|
+
"""
|
138
|
+
This data source provides the list of Fleet Resources in Oracle Cloud Infrastructure Fleet Apps Management service.
|
139
|
+
|
140
|
+
Returns a list of FleetResources.
|
141
|
+
|
142
|
+
## Example Usage
|
143
|
+
|
144
|
+
```python
|
145
|
+
import pulumi
|
146
|
+
import pulumi_oci as oci
|
147
|
+
|
148
|
+
test_fleet_resources = oci.FleetAppsManagement.get_fleet_resources(fleet_id=test_fleet["id"],
|
149
|
+
display_name=fleet_resource_display_name,
|
150
|
+
fleet_resource_type=fleet_resource_fleet_resource_type,
|
151
|
+
id=fleet_resource_id,
|
152
|
+
state=fleet_resource_state,
|
153
|
+
tenancy_id=test_tenancy["id"])
|
154
|
+
```
|
155
|
+
|
156
|
+
|
157
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
158
|
+
:param str fleet_id: unique Fleet identifier
|
159
|
+
:param str fleet_resource_type: A filter to return resources that match the Type
|
160
|
+
:param str id: unique FleetResource identifier
|
161
|
+
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
162
|
+
:param str tenancy_id: Resource Tenancy Id
|
163
|
+
"""
|
164
|
+
__args__ = dict()
|
165
|
+
__args__['displayName'] = display_name
|
166
|
+
__args__['filters'] = filters
|
167
|
+
__args__['fleetId'] = fleet_id
|
168
|
+
__args__['fleetResourceType'] = fleet_resource_type
|
169
|
+
__args__['id'] = id
|
170
|
+
__args__['state'] = state
|
171
|
+
__args__['tenancyId'] = tenancy_id
|
172
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
173
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getFleetResources:getFleetResources', __args__, opts=opts, typ=GetFleetResourcesResult).value
|
174
|
+
|
175
|
+
return AwaitableGetFleetResourcesResult(
|
176
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
177
|
+
filters=pulumi.get(__ret__, 'filters'),
|
178
|
+
fleet_id=pulumi.get(__ret__, 'fleet_id'),
|
179
|
+
fleet_resource_collections=pulumi.get(__ret__, 'fleet_resource_collections'),
|
180
|
+
fleet_resource_type=pulumi.get(__ret__, 'fleet_resource_type'),
|
181
|
+
id=pulumi.get(__ret__, 'id'),
|
182
|
+
state=pulumi.get(__ret__, 'state'),
|
183
|
+
tenancy_id=pulumi.get(__ret__, 'tenancy_id'))
|
184
|
+
def get_fleet_resources_output(display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
185
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetFleetResourcesFilterArgs', 'GetFleetResourcesFilterArgsDict']]]]] = None,
|
186
|
+
fleet_id: Optional[pulumi.Input[str]] = None,
|
187
|
+
fleet_resource_type: Optional[pulumi.Input[Optional[str]]] = None,
|
188
|
+
id: Optional[pulumi.Input[Optional[str]]] = None,
|
189
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
190
|
+
tenancy_id: Optional[pulumi.Input[Optional[str]]] = None,
|
191
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFleetResourcesResult]:
|
192
|
+
"""
|
193
|
+
This data source provides the list of Fleet Resources in Oracle Cloud Infrastructure Fleet Apps Management service.
|
194
|
+
|
195
|
+
Returns a list of FleetResources.
|
196
|
+
|
197
|
+
## Example Usage
|
198
|
+
|
199
|
+
```python
|
200
|
+
import pulumi
|
201
|
+
import pulumi_oci as oci
|
202
|
+
|
203
|
+
test_fleet_resources = oci.FleetAppsManagement.get_fleet_resources(fleet_id=test_fleet["id"],
|
204
|
+
display_name=fleet_resource_display_name,
|
205
|
+
fleet_resource_type=fleet_resource_fleet_resource_type,
|
206
|
+
id=fleet_resource_id,
|
207
|
+
state=fleet_resource_state,
|
208
|
+
tenancy_id=test_tenancy["id"])
|
209
|
+
```
|
210
|
+
|
211
|
+
|
212
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
213
|
+
:param str fleet_id: unique Fleet identifier
|
214
|
+
:param str fleet_resource_type: A filter to return resources that match the Type
|
215
|
+
:param str id: unique FleetResource identifier
|
216
|
+
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
217
|
+
:param str tenancy_id: Resource Tenancy Id
|
218
|
+
"""
|
219
|
+
__args__ = dict()
|
220
|
+
__args__['displayName'] = display_name
|
221
|
+
__args__['filters'] = filters
|
222
|
+
__args__['fleetId'] = fleet_id
|
223
|
+
__args__['fleetResourceType'] = fleet_resource_type
|
224
|
+
__args__['id'] = id
|
225
|
+
__args__['state'] = state
|
226
|
+
__args__['tenancyId'] = tenancy_id
|
227
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
228
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getFleetResources:getFleetResources', __args__, opts=opts, typ=GetFleetResourcesResult)
|
229
|
+
return __ret__.apply(lambda __response__: GetFleetResourcesResult(
|
230
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
231
|
+
filters=pulumi.get(__response__, 'filters'),
|
232
|
+
fleet_id=pulumi.get(__response__, 'fleet_id'),
|
233
|
+
fleet_resource_collections=pulumi.get(__response__, 'fleet_resource_collections'),
|
234
|
+
fleet_resource_type=pulumi.get(__response__, 'fleet_resource_type'),
|
235
|
+
id=pulumi.get(__response__, 'id'),
|
236
|
+
state=pulumi.get(__response__, 'state'),
|
237
|
+
tenancy_id=pulumi.get(__response__, 'tenancy_id')))
|
@@ -0,0 +1,232 @@
|
|
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 sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetFleetTargetsResult',
|
21
|
+
'AwaitableGetFleetTargetsResult',
|
22
|
+
'get_fleet_targets',
|
23
|
+
'get_fleet_targets_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetFleetTargetsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getFleetTargets.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, display_name=None, filters=None, fleet_id=None, fleet_target_collections=None, id=None, product=None, resource_display_name=None, resource_id=None):
|
32
|
+
if display_name and not isinstance(display_name, str):
|
33
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
34
|
+
pulumi.set(__self__, "display_name", display_name)
|
35
|
+
if filters and not isinstance(filters, list):
|
36
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
37
|
+
pulumi.set(__self__, "filters", filters)
|
38
|
+
if fleet_id and not isinstance(fleet_id, str):
|
39
|
+
raise TypeError("Expected argument 'fleet_id' to be a str")
|
40
|
+
pulumi.set(__self__, "fleet_id", fleet_id)
|
41
|
+
if fleet_target_collections and not isinstance(fleet_target_collections, list):
|
42
|
+
raise TypeError("Expected argument 'fleet_target_collections' to be a list")
|
43
|
+
pulumi.set(__self__, "fleet_target_collections", fleet_target_collections)
|
44
|
+
if id and not isinstance(id, str):
|
45
|
+
raise TypeError("Expected argument 'id' to be a str")
|
46
|
+
pulumi.set(__self__, "id", id)
|
47
|
+
if product and not isinstance(product, str):
|
48
|
+
raise TypeError("Expected argument 'product' to be a str")
|
49
|
+
pulumi.set(__self__, "product", product)
|
50
|
+
if resource_display_name and not isinstance(resource_display_name, str):
|
51
|
+
raise TypeError("Expected argument 'resource_display_name' to be a str")
|
52
|
+
pulumi.set(__self__, "resource_display_name", resource_display_name)
|
53
|
+
if resource_id and not isinstance(resource_id, str):
|
54
|
+
raise TypeError("Expected argument 'resource_id' to be a str")
|
55
|
+
pulumi.set(__self__, "resource_id", resource_id)
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter(name="displayName")
|
59
|
+
def display_name(self) -> Optional[str]:
|
60
|
+
"""
|
61
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "display_name")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter
|
67
|
+
def filters(self) -> Optional[Sequence['outputs.GetFleetTargetsFilterResult']]:
|
68
|
+
return pulumi.get(self, "filters")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="fleetId")
|
72
|
+
def fleet_id(self) -> str:
|
73
|
+
return pulumi.get(self, "fleet_id")
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter(name="fleetTargetCollections")
|
77
|
+
def fleet_target_collections(self) -> Sequence['outputs.GetFleetTargetsFleetTargetCollectionResult']:
|
78
|
+
"""
|
79
|
+
The list of fleet_target_collection.
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "fleet_target_collections")
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter
|
85
|
+
def id(self) -> str:
|
86
|
+
"""
|
87
|
+
The provider-assigned unique ID for this managed resource.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "id")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter
|
93
|
+
def product(self) -> Optional[str]:
|
94
|
+
"""
|
95
|
+
Product to which the target belongs to.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "product")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter(name="resourceDisplayName")
|
101
|
+
def resource_display_name(self) -> Optional[str]:
|
102
|
+
"""
|
103
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "resource_display_name")
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter(name="resourceId")
|
109
|
+
def resource_id(self) -> Optional[str]:
|
110
|
+
"""
|
111
|
+
The OCID of the resource.
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "resource_id")
|
114
|
+
|
115
|
+
|
116
|
+
class AwaitableGetFleetTargetsResult(GetFleetTargetsResult):
|
117
|
+
# pylint: disable=using-constant-test
|
118
|
+
def __await__(self):
|
119
|
+
if False:
|
120
|
+
yield self
|
121
|
+
return GetFleetTargetsResult(
|
122
|
+
display_name=self.display_name,
|
123
|
+
filters=self.filters,
|
124
|
+
fleet_id=self.fleet_id,
|
125
|
+
fleet_target_collections=self.fleet_target_collections,
|
126
|
+
id=self.id,
|
127
|
+
product=self.product,
|
128
|
+
resource_display_name=self.resource_display_name,
|
129
|
+
resource_id=self.resource_id)
|
130
|
+
|
131
|
+
|
132
|
+
def get_fleet_targets(display_name: Optional[str] = None,
|
133
|
+
filters: Optional[Sequence[Union['GetFleetTargetsFilterArgs', 'GetFleetTargetsFilterArgsDict']]] = None,
|
134
|
+
fleet_id: Optional[str] = None,
|
135
|
+
product: Optional[str] = None,
|
136
|
+
resource_display_name: Optional[str] = None,
|
137
|
+
resource_id: Optional[str] = None,
|
138
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFleetTargetsResult:
|
139
|
+
"""
|
140
|
+
This data source provides the list of Fleet Targets in Oracle Cloud Infrastructure Fleet Apps Management service.
|
141
|
+
|
142
|
+
Returns a list of FleetTargets.
|
143
|
+
|
144
|
+
## Example Usage
|
145
|
+
|
146
|
+
```python
|
147
|
+
import pulumi
|
148
|
+
import pulumi_oci as oci
|
149
|
+
|
150
|
+
test_fleet_targets = oci.FleetAppsManagement.get_fleet_targets(fleet_id=test_fleet["id"],
|
151
|
+
display_name=fleet_target_display_name,
|
152
|
+
product=fleet_target_product,
|
153
|
+
resource_display_name=fleet_target_resource_display_name,
|
154
|
+
resource_id=test_resource["id"])
|
155
|
+
```
|
156
|
+
|
157
|
+
|
158
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
159
|
+
:param str fleet_id: unique Fleet identifier
|
160
|
+
:param str product: Product Name
|
161
|
+
:param str resource_display_name: Resource Display Name
|
162
|
+
:param str resource_id: Resource Identifier
|
163
|
+
"""
|
164
|
+
__args__ = dict()
|
165
|
+
__args__['displayName'] = display_name
|
166
|
+
__args__['filters'] = filters
|
167
|
+
__args__['fleetId'] = fleet_id
|
168
|
+
__args__['product'] = product
|
169
|
+
__args__['resourceDisplayName'] = resource_display_name
|
170
|
+
__args__['resourceId'] = resource_id
|
171
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
172
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getFleetTargets:getFleetTargets', __args__, opts=opts, typ=GetFleetTargetsResult).value
|
173
|
+
|
174
|
+
return AwaitableGetFleetTargetsResult(
|
175
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
176
|
+
filters=pulumi.get(__ret__, 'filters'),
|
177
|
+
fleet_id=pulumi.get(__ret__, 'fleet_id'),
|
178
|
+
fleet_target_collections=pulumi.get(__ret__, 'fleet_target_collections'),
|
179
|
+
id=pulumi.get(__ret__, 'id'),
|
180
|
+
product=pulumi.get(__ret__, 'product'),
|
181
|
+
resource_display_name=pulumi.get(__ret__, 'resource_display_name'),
|
182
|
+
resource_id=pulumi.get(__ret__, 'resource_id'))
|
183
|
+
def get_fleet_targets_output(display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
184
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetFleetTargetsFilterArgs', 'GetFleetTargetsFilterArgsDict']]]]] = None,
|
185
|
+
fleet_id: Optional[pulumi.Input[str]] = None,
|
186
|
+
product: Optional[pulumi.Input[Optional[str]]] = None,
|
187
|
+
resource_display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
188
|
+
resource_id: Optional[pulumi.Input[Optional[str]]] = None,
|
189
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFleetTargetsResult]:
|
190
|
+
"""
|
191
|
+
This data source provides the list of Fleet Targets in Oracle Cloud Infrastructure Fleet Apps Management service.
|
192
|
+
|
193
|
+
Returns a list of FleetTargets.
|
194
|
+
|
195
|
+
## Example Usage
|
196
|
+
|
197
|
+
```python
|
198
|
+
import pulumi
|
199
|
+
import pulumi_oci as oci
|
200
|
+
|
201
|
+
test_fleet_targets = oci.FleetAppsManagement.get_fleet_targets(fleet_id=test_fleet["id"],
|
202
|
+
display_name=fleet_target_display_name,
|
203
|
+
product=fleet_target_product,
|
204
|
+
resource_display_name=fleet_target_resource_display_name,
|
205
|
+
resource_id=test_resource["id"])
|
206
|
+
```
|
207
|
+
|
208
|
+
|
209
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
210
|
+
:param str fleet_id: unique Fleet identifier
|
211
|
+
:param str product: Product Name
|
212
|
+
:param str resource_display_name: Resource Display Name
|
213
|
+
:param str resource_id: Resource Identifier
|
214
|
+
"""
|
215
|
+
__args__ = dict()
|
216
|
+
__args__['displayName'] = display_name
|
217
|
+
__args__['filters'] = filters
|
218
|
+
__args__['fleetId'] = fleet_id
|
219
|
+
__args__['product'] = product
|
220
|
+
__args__['resourceDisplayName'] = resource_display_name
|
221
|
+
__args__['resourceId'] = resource_id
|
222
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
223
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getFleetTargets:getFleetTargets', __args__, opts=opts, typ=GetFleetTargetsResult)
|
224
|
+
return __ret__.apply(lambda __response__: GetFleetTargetsResult(
|
225
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
226
|
+
filters=pulumi.get(__response__, 'filters'),
|
227
|
+
fleet_id=pulumi.get(__response__, 'fleet_id'),
|
228
|
+
fleet_target_collections=pulumi.get(__response__, 'fleet_target_collections'),
|
229
|
+
id=pulumi.get(__response__, 'id'),
|
230
|
+
product=pulumi.get(__response__, 'product'),
|
231
|
+
resource_display_name=pulumi.get(__response__, 'resource_display_name'),
|
232
|
+
resource_id=pulumi.get(__response__, 'resource_id')))
|