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,164 @@
|
|
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
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetFleetComplianceReportResult',
|
20
|
+
'AwaitableGetFleetComplianceReportResult',
|
21
|
+
'get_fleet_compliance_report',
|
22
|
+
'get_fleet_compliance_report_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetFleetComplianceReportResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getFleetComplianceReport.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, compliance_report_id=None, compliance_state=None, fleet_id=None, id=None, resources=None):
|
31
|
+
if compliance_report_id and not isinstance(compliance_report_id, str):
|
32
|
+
raise TypeError("Expected argument 'compliance_report_id' to be a str")
|
33
|
+
pulumi.set(__self__, "compliance_report_id", compliance_report_id)
|
34
|
+
if compliance_state and not isinstance(compliance_state, str):
|
35
|
+
raise TypeError("Expected argument 'compliance_state' to be a str")
|
36
|
+
pulumi.set(__self__, "compliance_state", compliance_state)
|
37
|
+
if fleet_id and not isinstance(fleet_id, str):
|
38
|
+
raise TypeError("Expected argument 'fleet_id' to be a str")
|
39
|
+
pulumi.set(__self__, "fleet_id", fleet_id)
|
40
|
+
if id and not isinstance(id, str):
|
41
|
+
raise TypeError("Expected argument 'id' to be a str")
|
42
|
+
pulumi.set(__self__, "id", id)
|
43
|
+
if resources and not isinstance(resources, list):
|
44
|
+
raise TypeError("Expected argument 'resources' to be a list")
|
45
|
+
pulumi.set(__self__, "resources", resources)
|
46
|
+
|
47
|
+
@property
|
48
|
+
@pulumi.getter(name="complianceReportId")
|
49
|
+
def compliance_report_id(self) -> str:
|
50
|
+
return pulumi.get(self, "compliance_report_id")
|
51
|
+
|
52
|
+
@property
|
53
|
+
@pulumi.getter(name="complianceState")
|
54
|
+
def compliance_state(self) -> str:
|
55
|
+
"""
|
56
|
+
Last known compliance state of target.
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "compliance_state")
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter(name="fleetId")
|
62
|
+
def fleet_id(self) -> str:
|
63
|
+
"""
|
64
|
+
The fleet OCID.
|
65
|
+
"""
|
66
|
+
return pulumi.get(self, "fleet_id")
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter
|
70
|
+
def id(self) -> str:
|
71
|
+
"""
|
72
|
+
The provider-assigned unique ID for this managed resource.
|
73
|
+
"""
|
74
|
+
return pulumi.get(self, "id")
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter
|
78
|
+
def resources(self) -> Sequence['outputs.GetFleetComplianceReportResourceResult']:
|
79
|
+
"""
|
80
|
+
Resources assocaited with the Fleet.
|
81
|
+
"""
|
82
|
+
return pulumi.get(self, "resources")
|
83
|
+
|
84
|
+
|
85
|
+
class AwaitableGetFleetComplianceReportResult(GetFleetComplianceReportResult):
|
86
|
+
# pylint: disable=using-constant-test
|
87
|
+
def __await__(self):
|
88
|
+
if False:
|
89
|
+
yield self
|
90
|
+
return GetFleetComplianceReportResult(
|
91
|
+
compliance_report_id=self.compliance_report_id,
|
92
|
+
compliance_state=self.compliance_state,
|
93
|
+
fleet_id=self.fleet_id,
|
94
|
+
id=self.id,
|
95
|
+
resources=self.resources)
|
96
|
+
|
97
|
+
|
98
|
+
def get_fleet_compliance_report(compliance_report_id: Optional[str] = None,
|
99
|
+
fleet_id: Optional[str] = None,
|
100
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFleetComplianceReportResult:
|
101
|
+
"""
|
102
|
+
This data source provides details about a specific Fleet Compliance Report resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
103
|
+
|
104
|
+
Retrieve compiane report for a Fleet
|
105
|
+
|
106
|
+
## Example Usage
|
107
|
+
|
108
|
+
```python
|
109
|
+
import pulumi
|
110
|
+
import pulumi_oci as oci
|
111
|
+
|
112
|
+
test_fleet_compliance_report = oci.FleetAppsManagement.get_fleet_compliance_report(compliance_report_id=test_report["id"],
|
113
|
+
fleet_id=test_fleet["id"])
|
114
|
+
```
|
115
|
+
|
116
|
+
|
117
|
+
:param str compliance_report_id: compliance report identifier
|
118
|
+
:param str fleet_id: unique Fleet identifier
|
119
|
+
"""
|
120
|
+
__args__ = dict()
|
121
|
+
__args__['complianceReportId'] = compliance_report_id
|
122
|
+
__args__['fleetId'] = fleet_id
|
123
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
124
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getFleetComplianceReport:getFleetComplianceReport', __args__, opts=opts, typ=GetFleetComplianceReportResult).value
|
125
|
+
|
126
|
+
return AwaitableGetFleetComplianceReportResult(
|
127
|
+
compliance_report_id=pulumi.get(__ret__, 'compliance_report_id'),
|
128
|
+
compliance_state=pulumi.get(__ret__, 'compliance_state'),
|
129
|
+
fleet_id=pulumi.get(__ret__, 'fleet_id'),
|
130
|
+
id=pulumi.get(__ret__, 'id'),
|
131
|
+
resources=pulumi.get(__ret__, 'resources'))
|
132
|
+
def get_fleet_compliance_report_output(compliance_report_id: Optional[pulumi.Input[str]] = None,
|
133
|
+
fleet_id: Optional[pulumi.Input[str]] = None,
|
134
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFleetComplianceReportResult]:
|
135
|
+
"""
|
136
|
+
This data source provides details about a specific Fleet Compliance Report resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
137
|
+
|
138
|
+
Retrieve compiane report for a Fleet
|
139
|
+
|
140
|
+
## Example Usage
|
141
|
+
|
142
|
+
```python
|
143
|
+
import pulumi
|
144
|
+
import pulumi_oci as oci
|
145
|
+
|
146
|
+
test_fleet_compliance_report = oci.FleetAppsManagement.get_fleet_compliance_report(compliance_report_id=test_report["id"],
|
147
|
+
fleet_id=test_fleet["id"])
|
148
|
+
```
|
149
|
+
|
150
|
+
|
151
|
+
:param str compliance_report_id: compliance report identifier
|
152
|
+
:param str fleet_id: unique Fleet identifier
|
153
|
+
"""
|
154
|
+
__args__ = dict()
|
155
|
+
__args__['complianceReportId'] = compliance_report_id
|
156
|
+
__args__['fleetId'] = fleet_id
|
157
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
158
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getFleetComplianceReport:getFleetComplianceReport', __args__, opts=opts, typ=GetFleetComplianceReportResult)
|
159
|
+
return __ret__.apply(lambda __response__: GetFleetComplianceReportResult(
|
160
|
+
compliance_report_id=pulumi.get(__response__, 'compliance_report_id'),
|
161
|
+
compliance_state=pulumi.get(__response__, 'compliance_state'),
|
162
|
+
fleet_id=pulumi.get(__response__, 'fleet_id'),
|
163
|
+
id=pulumi.get(__response__, 'id'),
|
164
|
+
resources=pulumi.get(__response__, 'resources')))
|
@@ -0,0 +1,273 @@
|
|
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
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetFleetCredentialResult',
|
20
|
+
'AwaitableGetFleetCredentialResult',
|
21
|
+
'get_fleet_credential',
|
22
|
+
'get_fleet_credential_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetFleetCredentialResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getFleetCredential.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, compartment_id=None, display_name=None, entity_specifics=None, fleet_credential_id=None, fleet_id=None, id=None, lifecycle_details=None, passwords=None, state=None, system_tags=None, time_created=None, time_updated=None, users=None):
|
31
|
+
if compartment_id and not isinstance(compartment_id, str):
|
32
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
33
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
34
|
+
if display_name and not isinstance(display_name, str):
|
35
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
36
|
+
pulumi.set(__self__, "display_name", display_name)
|
37
|
+
if entity_specifics and not isinstance(entity_specifics, list):
|
38
|
+
raise TypeError("Expected argument 'entity_specifics' to be a list")
|
39
|
+
pulumi.set(__self__, "entity_specifics", entity_specifics)
|
40
|
+
if fleet_credential_id and not isinstance(fleet_credential_id, str):
|
41
|
+
raise TypeError("Expected argument 'fleet_credential_id' to be a str")
|
42
|
+
pulumi.set(__self__, "fleet_credential_id", fleet_credential_id)
|
43
|
+
if fleet_id and not isinstance(fleet_id, str):
|
44
|
+
raise TypeError("Expected argument 'fleet_id' to be a str")
|
45
|
+
pulumi.set(__self__, "fleet_id", fleet_id)
|
46
|
+
if id and not isinstance(id, str):
|
47
|
+
raise TypeError("Expected argument 'id' to be a str")
|
48
|
+
pulumi.set(__self__, "id", id)
|
49
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
50
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
51
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
52
|
+
if passwords and not isinstance(passwords, list):
|
53
|
+
raise TypeError("Expected argument 'passwords' to be a list")
|
54
|
+
pulumi.set(__self__, "passwords", passwords)
|
55
|
+
if state and not isinstance(state, str):
|
56
|
+
raise TypeError("Expected argument 'state' to be a str")
|
57
|
+
pulumi.set(__self__, "state", state)
|
58
|
+
if system_tags and not isinstance(system_tags, dict):
|
59
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
60
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
61
|
+
if time_created and not isinstance(time_created, str):
|
62
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
63
|
+
pulumi.set(__self__, "time_created", time_created)
|
64
|
+
if time_updated and not isinstance(time_updated, str):
|
65
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
66
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
67
|
+
if users and not isinstance(users, list):
|
68
|
+
raise TypeError("Expected argument 'users' to be a list")
|
69
|
+
pulumi.set(__self__, "users", users)
|
70
|
+
|
71
|
+
@property
|
72
|
+
@pulumi.getter(name="compartmentId")
|
73
|
+
def compartment_id(self) -> str:
|
74
|
+
"""
|
75
|
+
Tenancy OCID
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "compartment_id")
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter(name="displayName")
|
81
|
+
def display_name(self) -> 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="entitySpecifics")
|
89
|
+
def entity_specifics(self) -> Sequence['outputs.GetFleetCredentialEntitySpecificResult']:
|
90
|
+
"""
|
91
|
+
Credential Details
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "entity_specifics")
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter(name="fleetCredentialId")
|
97
|
+
def fleet_credential_id(self) -> str:
|
98
|
+
return pulumi.get(self, "fleet_credential_id")
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter(name="fleetId")
|
102
|
+
def fleet_id(self) -> str:
|
103
|
+
return pulumi.get(self, "fleet_id")
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter
|
107
|
+
def id(self) -> str:
|
108
|
+
"""
|
109
|
+
The unique id of the resource.
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "id")
|
112
|
+
|
113
|
+
@property
|
114
|
+
@pulumi.getter(name="lifecycleDetails")
|
115
|
+
def lifecycle_details(self) -> str:
|
116
|
+
"""
|
117
|
+
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
118
|
+
"""
|
119
|
+
return pulumi.get(self, "lifecycle_details")
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter
|
123
|
+
def passwords(self) -> Sequence['outputs.GetFleetCredentialPasswordResult']:
|
124
|
+
"""
|
125
|
+
Credential Details
|
126
|
+
"""
|
127
|
+
return pulumi.get(self, "passwords")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter
|
131
|
+
def state(self) -> str:
|
132
|
+
"""
|
133
|
+
The current state of the FleetCredential.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "state")
|
136
|
+
|
137
|
+
@property
|
138
|
+
@pulumi.getter(name="systemTags")
|
139
|
+
def system_tags(self) -> Mapping[str, str]:
|
140
|
+
"""
|
141
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
142
|
+
"""
|
143
|
+
return pulumi.get(self, "system_tags")
|
144
|
+
|
145
|
+
@property
|
146
|
+
@pulumi.getter(name="timeCreated")
|
147
|
+
def time_created(self) -> str:
|
148
|
+
"""
|
149
|
+
The time this resource was created. An RFC3339 formatted datetime string.
|
150
|
+
"""
|
151
|
+
return pulumi.get(self, "time_created")
|
152
|
+
|
153
|
+
@property
|
154
|
+
@pulumi.getter(name="timeUpdated")
|
155
|
+
def time_updated(self) -> str:
|
156
|
+
"""
|
157
|
+
The time this resource was last updated. An RFC3339 formatted datetime string.
|
158
|
+
"""
|
159
|
+
return pulumi.get(self, "time_updated")
|
160
|
+
|
161
|
+
@property
|
162
|
+
@pulumi.getter
|
163
|
+
def users(self) -> Sequence['outputs.GetFleetCredentialUserResult']:
|
164
|
+
"""
|
165
|
+
Credential Details
|
166
|
+
"""
|
167
|
+
return pulumi.get(self, "users")
|
168
|
+
|
169
|
+
|
170
|
+
class AwaitableGetFleetCredentialResult(GetFleetCredentialResult):
|
171
|
+
# pylint: disable=using-constant-test
|
172
|
+
def __await__(self):
|
173
|
+
if False:
|
174
|
+
yield self
|
175
|
+
return GetFleetCredentialResult(
|
176
|
+
compartment_id=self.compartment_id,
|
177
|
+
display_name=self.display_name,
|
178
|
+
entity_specifics=self.entity_specifics,
|
179
|
+
fleet_credential_id=self.fleet_credential_id,
|
180
|
+
fleet_id=self.fleet_id,
|
181
|
+
id=self.id,
|
182
|
+
lifecycle_details=self.lifecycle_details,
|
183
|
+
passwords=self.passwords,
|
184
|
+
state=self.state,
|
185
|
+
system_tags=self.system_tags,
|
186
|
+
time_created=self.time_created,
|
187
|
+
time_updated=self.time_updated,
|
188
|
+
users=self.users)
|
189
|
+
|
190
|
+
|
191
|
+
def get_fleet_credential(fleet_credential_id: Optional[str] = None,
|
192
|
+
fleet_id: Optional[str] = None,
|
193
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFleetCredentialResult:
|
194
|
+
"""
|
195
|
+
This data source provides details about a specific Fleet Credential resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
196
|
+
|
197
|
+
Gets a FleetCredential by identifier
|
198
|
+
|
199
|
+
## Example Usage
|
200
|
+
|
201
|
+
```python
|
202
|
+
import pulumi
|
203
|
+
import pulumi_oci as oci
|
204
|
+
|
205
|
+
test_fleet_credential = oci.FleetAppsManagement.get_fleet_credential(fleet_credential_id=test_fleet_credential_oci_fleet_apps_management_fleet_credential["id"],
|
206
|
+
fleet_id=test_fleet["id"])
|
207
|
+
```
|
208
|
+
|
209
|
+
|
210
|
+
:param str fleet_credential_id: unique FleetCredential identifier
|
211
|
+
:param str fleet_id: unique Fleet identifier
|
212
|
+
"""
|
213
|
+
__args__ = dict()
|
214
|
+
__args__['fleetCredentialId'] = fleet_credential_id
|
215
|
+
__args__['fleetId'] = fleet_id
|
216
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
217
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getFleetCredential:getFleetCredential', __args__, opts=opts, typ=GetFleetCredentialResult).value
|
218
|
+
|
219
|
+
return AwaitableGetFleetCredentialResult(
|
220
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
221
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
222
|
+
entity_specifics=pulumi.get(__ret__, 'entity_specifics'),
|
223
|
+
fleet_credential_id=pulumi.get(__ret__, 'fleet_credential_id'),
|
224
|
+
fleet_id=pulumi.get(__ret__, 'fleet_id'),
|
225
|
+
id=pulumi.get(__ret__, 'id'),
|
226
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
227
|
+
passwords=pulumi.get(__ret__, 'passwords'),
|
228
|
+
state=pulumi.get(__ret__, 'state'),
|
229
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
230
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
231
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
232
|
+
users=pulumi.get(__ret__, 'users'))
|
233
|
+
def get_fleet_credential_output(fleet_credential_id: Optional[pulumi.Input[str]] = None,
|
234
|
+
fleet_id: Optional[pulumi.Input[str]] = None,
|
235
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFleetCredentialResult]:
|
236
|
+
"""
|
237
|
+
This data source provides details about a specific Fleet Credential resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
238
|
+
|
239
|
+
Gets a FleetCredential by identifier
|
240
|
+
|
241
|
+
## Example Usage
|
242
|
+
|
243
|
+
```python
|
244
|
+
import pulumi
|
245
|
+
import pulumi_oci as oci
|
246
|
+
|
247
|
+
test_fleet_credential = oci.FleetAppsManagement.get_fleet_credential(fleet_credential_id=test_fleet_credential_oci_fleet_apps_management_fleet_credential["id"],
|
248
|
+
fleet_id=test_fleet["id"])
|
249
|
+
```
|
250
|
+
|
251
|
+
|
252
|
+
:param str fleet_credential_id: unique FleetCredential identifier
|
253
|
+
:param str fleet_id: unique Fleet identifier
|
254
|
+
"""
|
255
|
+
__args__ = dict()
|
256
|
+
__args__['fleetCredentialId'] = fleet_credential_id
|
257
|
+
__args__['fleetId'] = fleet_id
|
258
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
259
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getFleetCredential:getFleetCredential', __args__, opts=opts, typ=GetFleetCredentialResult)
|
260
|
+
return __ret__.apply(lambda __response__: GetFleetCredentialResult(
|
261
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
262
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
263
|
+
entity_specifics=pulumi.get(__response__, 'entity_specifics'),
|
264
|
+
fleet_credential_id=pulumi.get(__response__, 'fleet_credential_id'),
|
265
|
+
fleet_id=pulumi.get(__response__, 'fleet_id'),
|
266
|
+
id=pulumi.get(__response__, 'id'),
|
267
|
+
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
268
|
+
passwords=pulumi.get(__response__, 'passwords'),
|
269
|
+
state=pulumi.get(__response__, 'state'),
|
270
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
271
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
272
|
+
time_updated=pulumi.get(__response__, 'time_updated'),
|
273
|
+
users=pulumi.get(__response__, 'users')))
|
@@ -0,0 +1,240 @@
|
|
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
|
+
'GetFleetCredentialsResult',
|
21
|
+
'AwaitableGetFleetCredentialsResult',
|
22
|
+
'get_fleet_credentials',
|
23
|
+
'get_fleet_credentials_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetFleetCredentialsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getFleetCredentials.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, credential_level=None, display_name=None, filters=None, fleet_credential_collections=None, fleet_id=None, id=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 credential_level and not isinstance(credential_level, str):
|
36
|
+
raise TypeError("Expected argument 'credential_level' to be a str")
|
37
|
+
pulumi.set(__self__, "credential_level", credential_level)
|
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 fleet_credential_collections and not isinstance(fleet_credential_collections, list):
|
45
|
+
raise TypeError("Expected argument 'fleet_credential_collections' to be a list")
|
46
|
+
pulumi.set(__self__, "fleet_credential_collections", fleet_credential_collections)
|
47
|
+
if fleet_id and not isinstance(fleet_id, str):
|
48
|
+
raise TypeError("Expected argument 'fleet_id' to be a str")
|
49
|
+
pulumi.set(__self__, "fleet_id", fleet_id)
|
50
|
+
if id and not isinstance(id, str):
|
51
|
+
raise TypeError("Expected argument 'id' to be a str")
|
52
|
+
pulumi.set(__self__, "id", id)
|
53
|
+
if state and not isinstance(state, str):
|
54
|
+
raise TypeError("Expected argument 'state' to be a str")
|
55
|
+
pulumi.set(__self__, "state", state)
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter(name="compartmentId")
|
59
|
+
def compartment_id(self) -> Optional[str]:
|
60
|
+
"""
|
61
|
+
Tenancy OCID
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "compartment_id")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="credentialLevel")
|
67
|
+
def credential_level(self) -> Optional[str]:
|
68
|
+
"""
|
69
|
+
Credential Level.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "credential_level")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter(name="displayName")
|
75
|
+
def display_name(self) -> Optional[str]:
|
76
|
+
"""
|
77
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "display_name")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter
|
83
|
+
def filters(self) -> Optional[Sequence['outputs.GetFleetCredentialsFilterResult']]:
|
84
|
+
return pulumi.get(self, "filters")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter(name="fleetCredentialCollections")
|
88
|
+
def fleet_credential_collections(self) -> Sequence['outputs.GetFleetCredentialsFleetCredentialCollectionResult']:
|
89
|
+
"""
|
90
|
+
The list of fleet_credential_collection.
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "fleet_credential_collections")
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter(name="fleetId")
|
96
|
+
def fleet_id(self) -> str:
|
97
|
+
return pulumi.get(self, "fleet_id")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter
|
101
|
+
def id(self) -> Optional[str]:
|
102
|
+
"""
|
103
|
+
The unique id of the resource.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "id")
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter
|
109
|
+
def state(self) -> Optional[str]:
|
110
|
+
"""
|
111
|
+
The current state of the FleetCredential.
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "state")
|
114
|
+
|
115
|
+
|
116
|
+
class AwaitableGetFleetCredentialsResult(GetFleetCredentialsResult):
|
117
|
+
# pylint: disable=using-constant-test
|
118
|
+
def __await__(self):
|
119
|
+
if False:
|
120
|
+
yield self
|
121
|
+
return GetFleetCredentialsResult(
|
122
|
+
compartment_id=self.compartment_id,
|
123
|
+
credential_level=self.credential_level,
|
124
|
+
display_name=self.display_name,
|
125
|
+
filters=self.filters,
|
126
|
+
fleet_credential_collections=self.fleet_credential_collections,
|
127
|
+
fleet_id=self.fleet_id,
|
128
|
+
id=self.id,
|
129
|
+
state=self.state)
|
130
|
+
|
131
|
+
|
132
|
+
def get_fleet_credentials(compartment_id: Optional[str] = None,
|
133
|
+
credential_level: Optional[str] = None,
|
134
|
+
display_name: Optional[str] = None,
|
135
|
+
filters: Optional[Sequence[Union['GetFleetCredentialsFilterArgs', 'GetFleetCredentialsFilterArgsDict']]] = None,
|
136
|
+
fleet_id: Optional[str] = None,
|
137
|
+
id: Optional[str] = None,
|
138
|
+
state: Optional[str] = None,
|
139
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFleetCredentialsResult:
|
140
|
+
"""
|
141
|
+
This data source provides the list of Fleet Credentials in Oracle Cloud Infrastructure Fleet Apps Management service.
|
142
|
+
|
143
|
+
Returns a list of FleetCredentials.
|
144
|
+
|
145
|
+
## Example Usage
|
146
|
+
|
147
|
+
```python
|
148
|
+
import pulumi
|
149
|
+
import pulumi_oci as oci
|
150
|
+
|
151
|
+
test_fleet_credentials = oci.FleetAppsManagement.get_fleet_credentials(fleet_id=test_fleet["id"],
|
152
|
+
compartment_id=compartment_id,
|
153
|
+
credential_level=fleet_credential_credential_level,
|
154
|
+
display_name=fleet_credential_display_name,
|
155
|
+
id=fleet_credential_id,
|
156
|
+
state=fleet_credential_state)
|
157
|
+
```
|
158
|
+
|
159
|
+
|
160
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
161
|
+
:param str credential_level: Credential Level.
|
162
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
163
|
+
:param str fleet_id: unique Fleet identifier
|
164
|
+
:param str id: unique FleetCredential identifier
|
165
|
+
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
166
|
+
"""
|
167
|
+
__args__ = dict()
|
168
|
+
__args__['compartmentId'] = compartment_id
|
169
|
+
__args__['credentialLevel'] = credential_level
|
170
|
+
__args__['displayName'] = display_name
|
171
|
+
__args__['filters'] = filters
|
172
|
+
__args__['fleetId'] = fleet_id
|
173
|
+
__args__['id'] = id
|
174
|
+
__args__['state'] = state
|
175
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
176
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getFleetCredentials:getFleetCredentials', __args__, opts=opts, typ=GetFleetCredentialsResult).value
|
177
|
+
|
178
|
+
return AwaitableGetFleetCredentialsResult(
|
179
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
180
|
+
credential_level=pulumi.get(__ret__, 'credential_level'),
|
181
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
182
|
+
filters=pulumi.get(__ret__, 'filters'),
|
183
|
+
fleet_credential_collections=pulumi.get(__ret__, 'fleet_credential_collections'),
|
184
|
+
fleet_id=pulumi.get(__ret__, 'fleet_id'),
|
185
|
+
id=pulumi.get(__ret__, 'id'),
|
186
|
+
state=pulumi.get(__ret__, 'state'))
|
187
|
+
def get_fleet_credentials_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
188
|
+
credential_level: Optional[pulumi.Input[Optional[str]]] = None,
|
189
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
190
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetFleetCredentialsFilterArgs', 'GetFleetCredentialsFilterArgsDict']]]]] = None,
|
191
|
+
fleet_id: Optional[pulumi.Input[str]] = None,
|
192
|
+
id: Optional[pulumi.Input[Optional[str]]] = None,
|
193
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
194
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFleetCredentialsResult]:
|
195
|
+
"""
|
196
|
+
This data source provides the list of Fleet Credentials in Oracle Cloud Infrastructure Fleet Apps Management service.
|
197
|
+
|
198
|
+
Returns a list of FleetCredentials.
|
199
|
+
|
200
|
+
## Example Usage
|
201
|
+
|
202
|
+
```python
|
203
|
+
import pulumi
|
204
|
+
import pulumi_oci as oci
|
205
|
+
|
206
|
+
test_fleet_credentials = oci.FleetAppsManagement.get_fleet_credentials(fleet_id=test_fleet["id"],
|
207
|
+
compartment_id=compartment_id,
|
208
|
+
credential_level=fleet_credential_credential_level,
|
209
|
+
display_name=fleet_credential_display_name,
|
210
|
+
id=fleet_credential_id,
|
211
|
+
state=fleet_credential_state)
|
212
|
+
```
|
213
|
+
|
214
|
+
|
215
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
216
|
+
:param str credential_level: Credential Level.
|
217
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
218
|
+
:param str fleet_id: unique Fleet identifier
|
219
|
+
:param str id: unique FleetCredential identifier
|
220
|
+
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
221
|
+
"""
|
222
|
+
__args__ = dict()
|
223
|
+
__args__['compartmentId'] = compartment_id
|
224
|
+
__args__['credentialLevel'] = credential_level
|
225
|
+
__args__['displayName'] = display_name
|
226
|
+
__args__['filters'] = filters
|
227
|
+
__args__['fleetId'] = fleet_id
|
228
|
+
__args__['id'] = id
|
229
|
+
__args__['state'] = state
|
230
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
231
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getFleetCredentials:getFleetCredentials', __args__, opts=opts, typ=GetFleetCredentialsResult)
|
232
|
+
return __ret__.apply(lambda __response__: GetFleetCredentialsResult(
|
233
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
234
|
+
credential_level=pulumi.get(__response__, 'credential_level'),
|
235
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
236
|
+
filters=pulumi.get(__response__, 'filters'),
|
237
|
+
fleet_credential_collections=pulumi.get(__response__, 'fleet_credential_collections'),
|
238
|
+
fleet_id=pulumi.get(__response__, 'fleet_id'),
|
239
|
+
id=pulumi.get(__response__, 'id'),
|
240
|
+
state=pulumi.get(__response__, 'state')))
|