pulumi-oci 2.12.0a1728593306__py3-none-any.whl → 2.13.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 +169 -19
- 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/containerengine/_inputs.py +341 -0
- pulumi_oci/containerengine/cluster.py +64 -0
- pulumi_oci/containerengine/get_cluster.py +12 -1
- pulumi_oci/containerengine/outputs.py +582 -0
- pulumi_oci/core/_inputs.py +947 -196
- pulumi_oci/core/boot_volume.py +90 -5
- pulumi_oci/core/cluster_network.py +7 -7
- pulumi_oci/core/get_block_volume_replica.py +15 -1
- pulumi_oci/core/get_boot_volume.py +15 -4
- pulumi_oci/core/get_boot_volume_replica.py +15 -1
- 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/get_volume.py +18 -4
- pulumi_oci/core/instance.py +87 -0
- pulumi_oci/core/instance_configuration.py +16 -0
- pulumi_oci/core/ipsec.py +183 -23
- pulumi_oci/core/network_security_group_security_rule.py +2 -2
- pulumi_oci/core/outputs.py +1282 -153
- 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/core/volume.py +110 -12
- pulumi_oci/core/volume_backup_policy_assignment.py +68 -19
- pulumi_oci/core/volume_group.py +56 -5
- 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 +13 -0
- pulumi_oci/datasafe/_inputs.py +441 -0
- pulumi_oci/datasafe/generate_on_prem_connector_configuration.py +271 -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 +395 -17
- pulumi_oci/desktops/desktop_pool.py +253 -21
- pulumi_oci/desktops/get_desktop_pool.py +62 -5
- pulumi_oci/desktops/outputs.py +807 -25
- pulumi_oci/dns/__init__.py +2 -0
- pulumi_oci/dns/_inputs.py +1157 -12
- pulumi_oci/dns/action_create_zone_from_zone_file.py +42 -2
- pulumi_oci/dns/get_records.py +45 -13
- pulumi_oci/dns/get_resolver.py +8 -6
- pulumi_oci/dns/get_resolver_endpoint.py +8 -6
- pulumi_oci/dns/get_resolver_endpoints.py +2 -2
- pulumi_oci/dns/get_resolvers.py +12 -12
- pulumi_oci/dns/get_rrset.py +16 -16
- pulumi_oci/dns/get_rrsets.py +12 -10
- pulumi_oci/dns/get_view.py +8 -4
- pulumi_oci/dns/get_views.py +12 -12
- pulumi_oci/dns/get_zones.py +33 -13
- pulumi_oci/dns/outputs.py +1388 -79
- pulumi_oci/dns/record.py +12 -12
- pulumi_oci/dns/resolver.py +7 -7
- pulumi_oci/dns/resolver_endpoint.py +2 -2
- pulumi_oci/dns/rrset.py +50 -41
- pulumi_oci/dns/zone.py +176 -17
- pulumi_oci/dns/zone_promote_dnssec_key_version.py +328 -0
- pulumi_oci/dns/zone_stage_dnssec_key_version.py +318 -0
- 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/goldengate/__init__.py +1 -0
- pulumi_oci/goldengate/_inputs.py +165 -0
- pulumi_oci/goldengate/connection.py +49 -35
- pulumi_oci/goldengate/database_registration.py +7 -7
- pulumi_oci/goldengate/deployment.py +79 -4
- pulumi_oci/goldengate/get_deployment.py +30 -2
- pulumi_oci/goldengate/get_deployment_environments.py +144 -0
- pulumi_oci/goldengate/outputs.py +409 -2
- 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/{globallydistributeddatabase → zpr}/__init__.py +5 -6
- 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.13.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/RECORD +212 -142
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/WHEEL +1 -1
- pulumi_oci/globallydistributeddatabase/_inputs.py +0 -1289
- pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +0 -323
- pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +0 -191
- pulumi_oci/globallydistributeddatabase/get_sharded_database.py +0 -660
- pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +0 -191
- pulumi_oci/globallydistributeddatabase/outputs.py +0 -2063
- pulumi_oci/globallydistributeddatabase/private_endpoint.py +0 -747
- pulumi_oci/globallydistributeddatabase/sharded_database.py +0 -1821
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,284 @@
|
|
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
|
+
'GetFleetsResult',
|
21
|
+
'AwaitableGetFleetsResult',
|
22
|
+
'get_fleets',
|
23
|
+
'get_fleets_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetFleetsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getFleets.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, application_type=None, compartment_id=None, display_name=None, environment_type=None, filters=None, fleet_collections=None, fleet_type=None, id=None, product=None, state=None):
|
32
|
+
if application_type and not isinstance(application_type, str):
|
33
|
+
raise TypeError("Expected argument 'application_type' to be a str")
|
34
|
+
pulumi.set(__self__, "application_type", application_type)
|
35
|
+
if compartment_id and not isinstance(compartment_id, str):
|
36
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
37
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
38
|
+
if display_name and not isinstance(display_name, str):
|
39
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
40
|
+
pulumi.set(__self__, "display_name", display_name)
|
41
|
+
if environment_type and not isinstance(environment_type, str):
|
42
|
+
raise TypeError("Expected argument 'environment_type' to be a str")
|
43
|
+
pulumi.set(__self__, "environment_type", environment_type)
|
44
|
+
if filters and not isinstance(filters, list):
|
45
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
46
|
+
pulumi.set(__self__, "filters", filters)
|
47
|
+
if fleet_collections and not isinstance(fleet_collections, list):
|
48
|
+
raise TypeError("Expected argument 'fleet_collections' to be a list")
|
49
|
+
pulumi.set(__self__, "fleet_collections", fleet_collections)
|
50
|
+
if fleet_type and not isinstance(fleet_type, str):
|
51
|
+
raise TypeError("Expected argument 'fleet_type' to be a str")
|
52
|
+
pulumi.set(__self__, "fleet_type", fleet_type)
|
53
|
+
if id and not isinstance(id, str):
|
54
|
+
raise TypeError("Expected argument 'id' to be a str")
|
55
|
+
pulumi.set(__self__, "id", id)
|
56
|
+
if product and not isinstance(product, str):
|
57
|
+
raise TypeError("Expected argument 'product' to be a str")
|
58
|
+
pulumi.set(__self__, "product", product)
|
59
|
+
if state and not isinstance(state, str):
|
60
|
+
raise TypeError("Expected argument 'state' to be a str")
|
61
|
+
pulumi.set(__self__, "state", state)
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter(name="applicationType")
|
65
|
+
def application_type(self) -> Optional[str]:
|
66
|
+
"""
|
67
|
+
Application Type associated with the Fleet.Applicable for ENVIRONMENT fleet types.
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "application_type")
|
70
|
+
|
71
|
+
@property
|
72
|
+
@pulumi.getter(name="compartmentId")
|
73
|
+
def compartment_id(self) -> Optional[str]:
|
74
|
+
"""
|
75
|
+
Please provide the root compartmentId (TenancyId).
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "compartment_id")
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter(name="displayName")
|
81
|
+
def display_name(self) -> Optional[str]:
|
82
|
+
"""
|
83
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
84
|
+
"""
|
85
|
+
return pulumi.get(self, "display_name")
|
86
|
+
|
87
|
+
@property
|
88
|
+
@pulumi.getter(name="environmentType")
|
89
|
+
def environment_type(self) -> Optional[str]:
|
90
|
+
"""
|
91
|
+
Environment Type associated with the Fleet.Applicable for ENVIRONMENT fleet types.
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "environment_type")
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter
|
97
|
+
def filters(self) -> Optional[Sequence['outputs.GetFleetsFilterResult']]:
|
98
|
+
return pulumi.get(self, "filters")
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter(name="fleetCollections")
|
102
|
+
def fleet_collections(self) -> Sequence['outputs.GetFleetsFleetCollectionResult']:
|
103
|
+
"""
|
104
|
+
The list of fleet_collection.
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "fleet_collections")
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter(name="fleetType")
|
110
|
+
def fleet_type(self) -> Optional[str]:
|
111
|
+
"""
|
112
|
+
Type of the Fleet.
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "fleet_type")
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter
|
118
|
+
def id(self) -> Optional[str]:
|
119
|
+
"""
|
120
|
+
The OCID of the resource.
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "id")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter
|
126
|
+
def product(self) -> Optional[str]:
|
127
|
+
return pulumi.get(self, "product")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter
|
131
|
+
def state(self) -> Optional[str]:
|
132
|
+
"""
|
133
|
+
The lifecycle state of the Fleet.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "state")
|
136
|
+
|
137
|
+
|
138
|
+
class AwaitableGetFleetsResult(GetFleetsResult):
|
139
|
+
# pylint: disable=using-constant-test
|
140
|
+
def __await__(self):
|
141
|
+
if False:
|
142
|
+
yield self
|
143
|
+
return GetFleetsResult(
|
144
|
+
application_type=self.application_type,
|
145
|
+
compartment_id=self.compartment_id,
|
146
|
+
display_name=self.display_name,
|
147
|
+
environment_type=self.environment_type,
|
148
|
+
filters=self.filters,
|
149
|
+
fleet_collections=self.fleet_collections,
|
150
|
+
fleet_type=self.fleet_type,
|
151
|
+
id=self.id,
|
152
|
+
product=self.product,
|
153
|
+
state=self.state)
|
154
|
+
|
155
|
+
|
156
|
+
def get_fleets(application_type: Optional[str] = None,
|
157
|
+
compartment_id: Optional[str] = None,
|
158
|
+
display_name: Optional[str] = None,
|
159
|
+
environment_type: Optional[str] = None,
|
160
|
+
filters: Optional[Sequence[Union['GetFleetsFilterArgs', 'GetFleetsFilterArgsDict']]] = None,
|
161
|
+
fleet_type: Optional[str] = None,
|
162
|
+
id: Optional[str] = None,
|
163
|
+
product: Optional[str] = None,
|
164
|
+
state: Optional[str] = None,
|
165
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFleetsResult:
|
166
|
+
"""
|
167
|
+
This data source provides the list of Fleets in Oracle Cloud Infrastructure Fleet Apps Management service.
|
168
|
+
|
169
|
+
Returns a list of Fleets in the specified Tenancy.
|
170
|
+
|
171
|
+
## Example Usage
|
172
|
+
|
173
|
+
```python
|
174
|
+
import pulumi
|
175
|
+
import pulumi_oci as oci
|
176
|
+
|
177
|
+
test_fleets = oci.FleetAppsManagement.get_fleets(application_type=fleet_application_type,
|
178
|
+
compartment_id=compartment_id,
|
179
|
+
display_name=fleet_display_name,
|
180
|
+
environment_type=fleet_environment_type,
|
181
|
+
fleet_type=fleet_fleet_type,
|
182
|
+
id=fleet_id,
|
183
|
+
product=fleet_product,
|
184
|
+
state=fleet_state)
|
185
|
+
```
|
186
|
+
|
187
|
+
|
188
|
+
:param str application_type: A filter to return only resources that match the Application Type given.
|
189
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
190
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
191
|
+
:param str environment_type: A filter to return only resources that match the Environment Type given.
|
192
|
+
:param str fleet_type: A filter to return only resources their fleetType matches the given fleetType.
|
193
|
+
:param str id: unique Fleet identifier
|
194
|
+
:param str product: A filter to return only resources that match the Product Type given.
|
195
|
+
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
196
|
+
"""
|
197
|
+
__args__ = dict()
|
198
|
+
__args__['applicationType'] = application_type
|
199
|
+
__args__['compartmentId'] = compartment_id
|
200
|
+
__args__['displayName'] = display_name
|
201
|
+
__args__['environmentType'] = environment_type
|
202
|
+
__args__['filters'] = filters
|
203
|
+
__args__['fleetType'] = fleet_type
|
204
|
+
__args__['id'] = id
|
205
|
+
__args__['product'] = product
|
206
|
+
__args__['state'] = state
|
207
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
208
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getFleets:getFleets', __args__, opts=opts, typ=GetFleetsResult).value
|
209
|
+
|
210
|
+
return AwaitableGetFleetsResult(
|
211
|
+
application_type=pulumi.get(__ret__, 'application_type'),
|
212
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
213
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
214
|
+
environment_type=pulumi.get(__ret__, 'environment_type'),
|
215
|
+
filters=pulumi.get(__ret__, 'filters'),
|
216
|
+
fleet_collections=pulumi.get(__ret__, 'fleet_collections'),
|
217
|
+
fleet_type=pulumi.get(__ret__, 'fleet_type'),
|
218
|
+
id=pulumi.get(__ret__, 'id'),
|
219
|
+
product=pulumi.get(__ret__, 'product'),
|
220
|
+
state=pulumi.get(__ret__, 'state'))
|
221
|
+
def get_fleets_output(application_type: Optional[pulumi.Input[Optional[str]]] = None,
|
222
|
+
compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
223
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
224
|
+
environment_type: Optional[pulumi.Input[Optional[str]]] = None,
|
225
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetFleetsFilterArgs', 'GetFleetsFilterArgsDict']]]]] = None,
|
226
|
+
fleet_type: Optional[pulumi.Input[Optional[str]]] = None,
|
227
|
+
id: Optional[pulumi.Input[Optional[str]]] = None,
|
228
|
+
product: Optional[pulumi.Input[Optional[str]]] = None,
|
229
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
230
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFleetsResult]:
|
231
|
+
"""
|
232
|
+
This data source provides the list of Fleets in Oracle Cloud Infrastructure Fleet Apps Management service.
|
233
|
+
|
234
|
+
Returns a list of Fleets in the specified Tenancy.
|
235
|
+
|
236
|
+
## Example Usage
|
237
|
+
|
238
|
+
```python
|
239
|
+
import pulumi
|
240
|
+
import pulumi_oci as oci
|
241
|
+
|
242
|
+
test_fleets = oci.FleetAppsManagement.get_fleets(application_type=fleet_application_type,
|
243
|
+
compartment_id=compartment_id,
|
244
|
+
display_name=fleet_display_name,
|
245
|
+
environment_type=fleet_environment_type,
|
246
|
+
fleet_type=fleet_fleet_type,
|
247
|
+
id=fleet_id,
|
248
|
+
product=fleet_product,
|
249
|
+
state=fleet_state)
|
250
|
+
```
|
251
|
+
|
252
|
+
|
253
|
+
:param str application_type: A filter to return only resources that match the Application Type given.
|
254
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
255
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
256
|
+
:param str environment_type: A filter to return only resources that match the Environment Type given.
|
257
|
+
:param str fleet_type: A filter to return only resources their fleetType matches the given fleetType.
|
258
|
+
:param str id: unique Fleet identifier
|
259
|
+
:param str product: A filter to return only resources that match the Product Type given.
|
260
|
+
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
261
|
+
"""
|
262
|
+
__args__ = dict()
|
263
|
+
__args__['applicationType'] = application_type
|
264
|
+
__args__['compartmentId'] = compartment_id
|
265
|
+
__args__['displayName'] = display_name
|
266
|
+
__args__['environmentType'] = environment_type
|
267
|
+
__args__['filters'] = filters
|
268
|
+
__args__['fleetType'] = fleet_type
|
269
|
+
__args__['id'] = id
|
270
|
+
__args__['product'] = product
|
271
|
+
__args__['state'] = state
|
272
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
273
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getFleets:getFleets', __args__, opts=opts, typ=GetFleetsResult)
|
274
|
+
return __ret__.apply(lambda __response__: GetFleetsResult(
|
275
|
+
application_type=pulumi.get(__response__, 'application_type'),
|
276
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
277
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
278
|
+
environment_type=pulumi.get(__response__, 'environment_type'),
|
279
|
+
filters=pulumi.get(__response__, 'filters'),
|
280
|
+
fleet_collections=pulumi.get(__response__, 'fleet_collections'),
|
281
|
+
fleet_type=pulumi.get(__response__, 'fleet_type'),
|
282
|
+
id=pulumi.get(__response__, 'id'),
|
283
|
+
product=pulumi.get(__response__, 'product'),
|
284
|
+
state=pulumi.get(__response__, 'state')))
|
@@ -0,0 +1,311 @@
|
|
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
|
+
'GetInventoryResourcesResult',
|
21
|
+
'AwaitableGetInventoryResourcesResult',
|
22
|
+
'get_inventory_resources',
|
23
|
+
'get_inventory_resources_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetInventoryResourcesResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getInventoryResources.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, defined_tag_equals=None, display_name=None, filters=None, freeform_tag_equals=None, id=None, inventory_properties=None, inventory_resource_collections=None, matching_criteria=None, resource_compartment_id=None, resource_region=None, state=None):
|
32
|
+
if compartment_id and not isinstance(compartment_id, str):
|
33
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
34
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
35
|
+
if defined_tag_equals and not isinstance(defined_tag_equals, list):
|
36
|
+
raise TypeError("Expected argument 'defined_tag_equals' to be a list")
|
37
|
+
pulumi.set(__self__, "defined_tag_equals", defined_tag_equals)
|
38
|
+
if display_name and not isinstance(display_name, str):
|
39
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
40
|
+
pulumi.set(__self__, "display_name", display_name)
|
41
|
+
if filters and not isinstance(filters, list):
|
42
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
43
|
+
pulumi.set(__self__, "filters", filters)
|
44
|
+
if freeform_tag_equals and not isinstance(freeform_tag_equals, list):
|
45
|
+
raise TypeError("Expected argument 'freeform_tag_equals' to be a list")
|
46
|
+
pulumi.set(__self__, "freeform_tag_equals", freeform_tag_equals)
|
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 inventory_properties and not isinstance(inventory_properties, list):
|
51
|
+
raise TypeError("Expected argument 'inventory_properties' to be a list")
|
52
|
+
pulumi.set(__self__, "inventory_properties", inventory_properties)
|
53
|
+
if inventory_resource_collections and not isinstance(inventory_resource_collections, list):
|
54
|
+
raise TypeError("Expected argument 'inventory_resource_collections' to be a list")
|
55
|
+
pulumi.set(__self__, "inventory_resource_collections", inventory_resource_collections)
|
56
|
+
if matching_criteria and not isinstance(matching_criteria, str):
|
57
|
+
raise TypeError("Expected argument 'matching_criteria' to be a str")
|
58
|
+
pulumi.set(__self__, "matching_criteria", matching_criteria)
|
59
|
+
if resource_compartment_id and not isinstance(resource_compartment_id, str):
|
60
|
+
raise TypeError("Expected argument 'resource_compartment_id' to be a str")
|
61
|
+
pulumi.set(__self__, "resource_compartment_id", resource_compartment_id)
|
62
|
+
if resource_region and not isinstance(resource_region, str):
|
63
|
+
raise TypeError("Expected argument 'resource_region' to be a str")
|
64
|
+
pulumi.set(__self__, "resource_region", resource_region)
|
65
|
+
if state and not isinstance(state, str):
|
66
|
+
raise TypeError("Expected argument 'state' to be a str")
|
67
|
+
pulumi.set(__self__, "state", state)
|
68
|
+
|
69
|
+
@property
|
70
|
+
@pulumi.getter(name="compartmentId")
|
71
|
+
def compartment_id(self) -> str:
|
72
|
+
"""
|
73
|
+
OCID of the compartment to which the resource belongs to.
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "compartment_id")
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter(name="definedTagEquals")
|
79
|
+
def defined_tag_equals(self) -> Optional[Sequence[str]]:
|
80
|
+
return pulumi.get(self, "defined_tag_equals")
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter(name="displayName")
|
84
|
+
def display_name(self) -> Optional[str]:
|
85
|
+
"""
|
86
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
87
|
+
"""
|
88
|
+
return pulumi.get(self, "display_name")
|
89
|
+
|
90
|
+
@property
|
91
|
+
@pulumi.getter
|
92
|
+
def filters(self) -> Optional[Sequence['outputs.GetInventoryResourcesFilterResult']]:
|
93
|
+
return pulumi.get(self, "filters")
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter(name="freeformTagEquals")
|
97
|
+
def freeform_tag_equals(self) -> Optional[Sequence[str]]:
|
98
|
+
return pulumi.get(self, "freeform_tag_equals")
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter
|
102
|
+
def id(self) -> str:
|
103
|
+
"""
|
104
|
+
The provider-assigned unique ID for this managed resource.
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "id")
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter(name="inventoryProperties")
|
110
|
+
def inventory_properties(self) -> Optional[Sequence[str]]:
|
111
|
+
return pulumi.get(self, "inventory_properties")
|
112
|
+
|
113
|
+
@property
|
114
|
+
@pulumi.getter(name="inventoryResourceCollections")
|
115
|
+
def inventory_resource_collections(self) -> Sequence['outputs.GetInventoryResourcesInventoryResourceCollectionResult']:
|
116
|
+
"""
|
117
|
+
The list of inventory_resource_collection.
|
118
|
+
"""
|
119
|
+
return pulumi.get(self, "inventory_resource_collections")
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter(name="matchingCriteria")
|
123
|
+
def matching_criteria(self) -> Optional[str]:
|
124
|
+
return pulumi.get(self, "matching_criteria")
|
125
|
+
|
126
|
+
@property
|
127
|
+
@pulumi.getter(name="resourceCompartmentId")
|
128
|
+
def resource_compartment_id(self) -> str:
|
129
|
+
"""
|
130
|
+
Compartment Id of the resource
|
131
|
+
"""
|
132
|
+
return pulumi.get(self, "resource_compartment_id")
|
133
|
+
|
134
|
+
@property
|
135
|
+
@pulumi.getter(name="resourceRegion")
|
136
|
+
def resource_region(self) -> Optional[str]:
|
137
|
+
"""
|
138
|
+
Region the resource belongs to
|
139
|
+
"""
|
140
|
+
return pulumi.get(self, "resource_region")
|
141
|
+
|
142
|
+
@property
|
143
|
+
@pulumi.getter
|
144
|
+
def state(self) -> Optional[str]:
|
145
|
+
"""
|
146
|
+
The current state of the Resource.
|
147
|
+
"""
|
148
|
+
return pulumi.get(self, "state")
|
149
|
+
|
150
|
+
|
151
|
+
class AwaitableGetInventoryResourcesResult(GetInventoryResourcesResult):
|
152
|
+
# pylint: disable=using-constant-test
|
153
|
+
def __await__(self):
|
154
|
+
if False:
|
155
|
+
yield self
|
156
|
+
return GetInventoryResourcesResult(
|
157
|
+
compartment_id=self.compartment_id,
|
158
|
+
defined_tag_equals=self.defined_tag_equals,
|
159
|
+
display_name=self.display_name,
|
160
|
+
filters=self.filters,
|
161
|
+
freeform_tag_equals=self.freeform_tag_equals,
|
162
|
+
id=self.id,
|
163
|
+
inventory_properties=self.inventory_properties,
|
164
|
+
inventory_resource_collections=self.inventory_resource_collections,
|
165
|
+
matching_criteria=self.matching_criteria,
|
166
|
+
resource_compartment_id=self.resource_compartment_id,
|
167
|
+
resource_region=self.resource_region,
|
168
|
+
state=self.state)
|
169
|
+
|
170
|
+
|
171
|
+
def get_inventory_resources(compartment_id: Optional[str] = None,
|
172
|
+
defined_tag_equals: Optional[Sequence[str]] = None,
|
173
|
+
display_name: Optional[str] = None,
|
174
|
+
filters: Optional[Sequence[Union['GetInventoryResourcesFilterArgs', 'GetInventoryResourcesFilterArgsDict']]] = None,
|
175
|
+
freeform_tag_equals: Optional[Sequence[str]] = None,
|
176
|
+
inventory_properties: Optional[Sequence[str]] = None,
|
177
|
+
matching_criteria: Optional[str] = None,
|
178
|
+
resource_compartment_id: Optional[str] = None,
|
179
|
+
resource_region: Optional[str] = None,
|
180
|
+
state: Optional[str] = None,
|
181
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInventoryResourcesResult:
|
182
|
+
"""
|
183
|
+
This data source provides the list of Inventory Resources in Oracle Cloud Infrastructure Fleet Apps Management service.
|
184
|
+
|
185
|
+
Returns a list of InventoryResources.
|
186
|
+
|
187
|
+
## Example Usage
|
188
|
+
|
189
|
+
```python
|
190
|
+
import pulumi
|
191
|
+
import pulumi_oci as oci
|
192
|
+
|
193
|
+
test_inventory_resources = oci.FleetAppsManagement.get_inventory_resources(compartment_id=compartment_id,
|
194
|
+
resource_compartment_id=test_compartment["id"],
|
195
|
+
defined_tag_equals=inventory_resource_defined_tag_equals,
|
196
|
+
display_name=inventory_resource_display_name,
|
197
|
+
freeform_tag_equals=inventory_resource_freeform_tag_equals,
|
198
|
+
inventory_properties=inventory_resource_inventory_properties,
|
199
|
+
matching_criteria=inventory_resource_matching_criteria,
|
200
|
+
resource_region=inventory_resource_resource_region,
|
201
|
+
state=inventory_resource_state)
|
202
|
+
```
|
203
|
+
|
204
|
+
|
205
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
206
|
+
:param Sequence[str] defined_tag_equals: A list of tag filters to apply. Only resources with a defined tag matching the value will be returned. Each item in the list has the format "{namespace}.{tagName}={value}". All inputs are case-insensitive. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
|
207
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
208
|
+
:param Sequence[str] freeform_tag_equals: A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
|
209
|
+
:param Sequence[str] inventory_properties: A list of inventory properties filters to apply. The key for each inventory property and value for each resource type is "{resourceType}.{inventoryProperty}={value}".
|
210
|
+
:param str matching_criteria: Fetch resources matching matching ANY or ALL criteria passed as params in "tags" and "inventoryProperties"
|
211
|
+
:param str resource_compartment_id: Resource Compartment ID
|
212
|
+
:param str resource_region: Resource Region
|
213
|
+
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
214
|
+
"""
|
215
|
+
__args__ = dict()
|
216
|
+
__args__['compartmentId'] = compartment_id
|
217
|
+
__args__['definedTagEquals'] = defined_tag_equals
|
218
|
+
__args__['displayName'] = display_name
|
219
|
+
__args__['filters'] = filters
|
220
|
+
__args__['freeformTagEquals'] = freeform_tag_equals
|
221
|
+
__args__['inventoryProperties'] = inventory_properties
|
222
|
+
__args__['matchingCriteria'] = matching_criteria
|
223
|
+
__args__['resourceCompartmentId'] = resource_compartment_id
|
224
|
+
__args__['resourceRegion'] = resource_region
|
225
|
+
__args__['state'] = state
|
226
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
227
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getInventoryResources:getInventoryResources', __args__, opts=opts, typ=GetInventoryResourcesResult).value
|
228
|
+
|
229
|
+
return AwaitableGetInventoryResourcesResult(
|
230
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
231
|
+
defined_tag_equals=pulumi.get(__ret__, 'defined_tag_equals'),
|
232
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
233
|
+
filters=pulumi.get(__ret__, 'filters'),
|
234
|
+
freeform_tag_equals=pulumi.get(__ret__, 'freeform_tag_equals'),
|
235
|
+
id=pulumi.get(__ret__, 'id'),
|
236
|
+
inventory_properties=pulumi.get(__ret__, 'inventory_properties'),
|
237
|
+
inventory_resource_collections=pulumi.get(__ret__, 'inventory_resource_collections'),
|
238
|
+
matching_criteria=pulumi.get(__ret__, 'matching_criteria'),
|
239
|
+
resource_compartment_id=pulumi.get(__ret__, 'resource_compartment_id'),
|
240
|
+
resource_region=pulumi.get(__ret__, 'resource_region'),
|
241
|
+
state=pulumi.get(__ret__, 'state'))
|
242
|
+
def get_inventory_resources_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
243
|
+
defined_tag_equals: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
244
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
245
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetInventoryResourcesFilterArgs', 'GetInventoryResourcesFilterArgsDict']]]]] = None,
|
246
|
+
freeform_tag_equals: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
247
|
+
inventory_properties: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
248
|
+
matching_criteria: Optional[pulumi.Input[Optional[str]]] = None,
|
249
|
+
resource_compartment_id: Optional[pulumi.Input[str]] = None,
|
250
|
+
resource_region: Optional[pulumi.Input[Optional[str]]] = None,
|
251
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
252
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInventoryResourcesResult]:
|
253
|
+
"""
|
254
|
+
This data source provides the list of Inventory Resources in Oracle Cloud Infrastructure Fleet Apps Management service.
|
255
|
+
|
256
|
+
Returns a list of InventoryResources.
|
257
|
+
|
258
|
+
## Example Usage
|
259
|
+
|
260
|
+
```python
|
261
|
+
import pulumi
|
262
|
+
import pulumi_oci as oci
|
263
|
+
|
264
|
+
test_inventory_resources = oci.FleetAppsManagement.get_inventory_resources(compartment_id=compartment_id,
|
265
|
+
resource_compartment_id=test_compartment["id"],
|
266
|
+
defined_tag_equals=inventory_resource_defined_tag_equals,
|
267
|
+
display_name=inventory_resource_display_name,
|
268
|
+
freeform_tag_equals=inventory_resource_freeform_tag_equals,
|
269
|
+
inventory_properties=inventory_resource_inventory_properties,
|
270
|
+
matching_criteria=inventory_resource_matching_criteria,
|
271
|
+
resource_region=inventory_resource_resource_region,
|
272
|
+
state=inventory_resource_state)
|
273
|
+
```
|
274
|
+
|
275
|
+
|
276
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
277
|
+
:param Sequence[str] defined_tag_equals: A list of tag filters to apply. Only resources with a defined tag matching the value will be returned. Each item in the list has the format "{namespace}.{tagName}={value}". All inputs are case-insensitive. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR". Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
|
278
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
279
|
+
:param Sequence[str] freeform_tag_equals: A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned. The key for each tag is "{tagName}.{value}". All inputs are case-insensitive. Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
|
280
|
+
:param Sequence[str] inventory_properties: A list of inventory properties filters to apply. The key for each inventory property and value for each resource type is "{resourceType}.{inventoryProperty}={value}".
|
281
|
+
:param str matching_criteria: Fetch resources matching matching ANY or ALL criteria passed as params in "tags" and "inventoryProperties"
|
282
|
+
:param str resource_compartment_id: Resource Compartment ID
|
283
|
+
:param str resource_region: Resource Region
|
284
|
+
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
285
|
+
"""
|
286
|
+
__args__ = dict()
|
287
|
+
__args__['compartmentId'] = compartment_id
|
288
|
+
__args__['definedTagEquals'] = defined_tag_equals
|
289
|
+
__args__['displayName'] = display_name
|
290
|
+
__args__['filters'] = filters
|
291
|
+
__args__['freeformTagEquals'] = freeform_tag_equals
|
292
|
+
__args__['inventoryProperties'] = inventory_properties
|
293
|
+
__args__['matchingCriteria'] = matching_criteria
|
294
|
+
__args__['resourceCompartmentId'] = resource_compartment_id
|
295
|
+
__args__['resourceRegion'] = resource_region
|
296
|
+
__args__['state'] = state
|
297
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
298
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getInventoryResources:getInventoryResources', __args__, opts=opts, typ=GetInventoryResourcesResult)
|
299
|
+
return __ret__.apply(lambda __response__: GetInventoryResourcesResult(
|
300
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
301
|
+
defined_tag_equals=pulumi.get(__response__, 'defined_tag_equals'),
|
302
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
303
|
+
filters=pulumi.get(__response__, 'filters'),
|
304
|
+
freeform_tag_equals=pulumi.get(__response__, 'freeform_tag_equals'),
|
305
|
+
id=pulumi.get(__response__, 'id'),
|
306
|
+
inventory_properties=pulumi.get(__response__, 'inventory_properties'),
|
307
|
+
inventory_resource_collections=pulumi.get(__response__, 'inventory_resource_collections'),
|
308
|
+
matching_criteria=pulumi.get(__response__, 'matching_criteria'),
|
309
|
+
resource_compartment_id=pulumi.get(__response__, 'resource_compartment_id'),
|
310
|
+
resource_region=pulumi.get(__response__, 'resource_region'),
|
311
|
+
state=pulumi.get(__response__, 'state')))
|