pulumi-oci 3.1.0a1750230541__py3-none-any.whl → 3.1.0a1751948424__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 +299 -0
- pulumi_oci/capacitymanagement/__init__.py +18 -0
- pulumi_oci/capacitymanagement/_inputs.py +459 -0
- pulumi_oci/capacitymanagement/get_internal_occm_demand_signal.py +268 -0
- pulumi_oci/capacitymanagement/get_internal_occm_demand_signal_catalog.py +254 -0
- pulumi_oci/capacitymanagement/get_internal_occm_demand_signal_catalog_resources.py +233 -0
- pulumi_oci/capacitymanagement/get_internal_occm_demand_signal_catalogs.py +192 -0
- pulumi_oci/capacitymanagement/get_internal_occm_demand_signal_deliveries.py +197 -0
- pulumi_oci/capacitymanagement/get_internal_occm_demand_signal_delivery.py +296 -0
- pulumi_oci/capacitymanagement/get_internal_occm_demand_signal_items.py +233 -0
- pulumi_oci/capacitymanagement/get_internal_occm_demand_signals.py +222 -0
- pulumi_oci/capacitymanagement/get_occm_demand_signal.py +254 -0
- pulumi_oci/capacitymanagement/get_occm_demand_signal_catalog_resources.py +189 -0
- pulumi_oci/capacitymanagement/get_occm_demand_signal_deliveries.py +175 -0
- pulumi_oci/capacitymanagement/get_occm_demand_signal_item.py +352 -0
- pulumi_oci/capacitymanagement/get_occm_demand_signal_items.py +211 -0
- pulumi_oci/capacitymanagement/get_occm_demand_signals.py +200 -0
- pulumi_oci/capacitymanagement/internal_occm_demand_signal.py +564 -0
- pulumi_oci/capacitymanagement/internal_occm_demand_signal_delivery.py +760 -0
- pulumi_oci/capacitymanagement/occm_demand_signal.py +585 -0
- pulumi_oci/capacitymanagement/occm_demand_signal_item.py +950 -0
- pulumi_oci/capacitymanagement/outputs.py +3499 -1230
- pulumi_oci/containerengine/get_cluster.py +7 -7
- pulumi_oci/core/__init__.py +4 -0
- pulumi_oci/core/_inputs.py +477 -0
- pulumi_oci/core/compute_host.py +910 -0
- pulumi_oci/core/compute_host_group.py +648 -0
- pulumi_oci/core/dedicated_vm_host.py +56 -0
- pulumi_oci/core/get_compute_host.py +72 -1
- pulumi_oci/core/get_compute_host_group.py +269 -0
- pulumi_oci/core/get_compute_host_groups.py +148 -0
- pulumi_oci/core/get_compute_hosts.py +37 -1
- pulumi_oci/core/get_dedicated_vm_host.py +29 -1
- pulumi_oci/core/outputs.py +912 -24
- pulumi_oci/database/__init__.py +2 -0
- pulumi_oci/database/_inputs.py +739 -52
- pulumi_oci/database/autonomous_container_database.py +141 -12
- pulumi_oci/database/autonomous_container_database_add_standby.py +8 -10
- pulumi_oci/database/autonomous_container_database_dataguard_association.py +8 -16
- pulumi_oci/database/autonomous_container_database_snapshot_standby.py +4 -6
- pulumi_oci/database/autonomous_database_software_image.py +28 -0
- pulumi_oci/database/autonomous_vm_cluster.py +28 -0
- pulumi_oci/database/backup_destination.py +28 -0
- pulumi_oci/database/cloud_autonomous_vm_cluster.py +126 -0
- pulumi_oci/database/cloud_vm_cluster.py +82 -7
- pulumi_oci/database/database.py +28 -0
- pulumi_oci/database/database_software_image.py +28 -0
- pulumi_oci/database/database_upgrade.py +28 -0
- pulumi_oci/database/db_home.py +28 -0
- pulumi_oci/database/db_node.py +28 -0
- pulumi_oci/database/db_system.py +28 -0
- pulumi_oci/database/exadata_infrastructure.py +28 -0
- pulumi_oci/database/exadata_infrastructure_compute.py +39 -24
- pulumi_oci/database/external_container_database.py +28 -0
- pulumi_oci/database/external_database_connector.py +28 -0
- pulumi_oci/database/external_non_container_database.py +28 -0
- pulumi_oci/database/external_pluggable_database.py +28 -0
- pulumi_oci/database/get_autonomous_container_database.py +52 -2
- pulumi_oci/database/get_autonomous_container_database_backups.py +255 -0
- pulumi_oci/database/get_autonomous_container_database_dataguard_association.py +2 -2
- pulumi_oci/database/get_autonomous_container_database_dataguard_associations.py +2 -2
- pulumi_oci/database/get_autonomous_database_dataguard_associations.py +2 -2
- pulumi_oci/database/get_autonomous_database_resource_pool_members.py +145 -0
- pulumi_oci/database/get_autonomous_database_software_image.py +15 -1
- pulumi_oci/database/get_autonomous_vm_cluster.py +15 -1
- pulumi_oci/database/get_backup_destination.py +15 -1
- pulumi_oci/database/get_cloud_autonomous_vm_cluster.py +40 -1
- pulumi_oci/database/get_cloud_vm_cluster.py +30 -2
- pulumi_oci/database/get_database.py +15 -1
- pulumi_oci/database/get_database_software_image.py +15 -1
- pulumi_oci/database/get_db_home.py +15 -1
- pulumi_oci/database/get_db_node.py +15 -1
- pulumi_oci/database/get_db_nodes.py +2 -2
- pulumi_oci/database/get_db_server.py +15 -1
- pulumi_oci/database/get_exadata_infrastructure.py +15 -1
- pulumi_oci/database/get_external_container_database.py +15 -1
- pulumi_oci/database/get_external_database_connector.py +15 -1
- pulumi_oci/database/get_external_non_container_database.py +15 -1
- pulumi_oci/database/get_external_pluggable_database.py +15 -1
- pulumi_oci/database/get_key_store.py +15 -1
- pulumi_oci/database/get_maintenance_run.py +15 -1
- pulumi_oci/database/get_oneoff_patch.py +15 -1
- pulumi_oci/database/get_pluggable_database.py +15 -1
- pulumi_oci/database/get_vm_cluster.py +15 -1
- pulumi_oci/database/get_vm_cluster_network.py +15 -1
- pulumi_oci/database/key_store.py +28 -0
- pulumi_oci/database/maintenance_run.py +28 -0
- pulumi_oci/database/oneoff_patch.py +28 -0
- pulumi_oci/database/outputs.py +1624 -54
- pulumi_oci/database/pluggable_database.py +28 -0
- pulumi_oci/database/pluggable_databases_local_clone.py +28 -0
- pulumi_oci/database/pluggable_databases_remote_clone.py +28 -0
- pulumi_oci/database/vm_cluster.py +28 -0
- pulumi_oci/database/vm_cluster_network.py +28 -0
- pulumi_oci/databasemanagement/__init__.py +7 -0
- pulumi_oci/databasemanagement/_inputs.py +196 -0
- pulumi_oci/databasemanagement/get_managed_my_sql_database.py +15 -1
- pulumi_oci/databasemanagement/get_managed_my_sql_database_binary_log_information.py +198 -0
- pulumi_oci/databasemanagement/get_managed_my_sql_database_digest_errors.py +164 -0
- pulumi_oci/databasemanagement/get_managed_my_sql_database_general_replication_information.py +352 -0
- pulumi_oci/databasemanagement/get_managed_my_sql_database_high_availability_members.py +145 -0
- pulumi_oci/databasemanagement/get_managed_my_sql_database_inbound_replications.py +145 -0
- pulumi_oci/databasemanagement/get_managed_my_sql_database_outbound_replications.py +145 -0
- pulumi_oci/databasemanagement/get_managed_my_sql_database_query_detail.py +176 -0
- pulumi_oci/databasemanagement/outputs.py +1330 -19
- pulumi_oci/databasemigration/_inputs.py +94 -0
- pulumi_oci/databasemigration/get_migration.py +15 -1
- pulumi_oci/databasemigration/get_migrations.py +15 -1
- pulumi_oci/databasemigration/job.py +28 -0
- pulumi_oci/databasemigration/migration.py +52 -3
- pulumi_oci/databasemigration/outputs.py +73 -0
- pulumi_oci/dataflow/_inputs.py +20 -0
- pulumi_oci/dataflow/outputs.py +36 -0
- pulumi_oci/fleetappsmanagement/__init__.py +48 -0
- pulumi_oci/fleetappsmanagement/_inputs.py +11016 -30
- pulumi_oci/fleetappsmanagement/catalog_item.py +1156 -0
- pulumi_oci/fleetappsmanagement/compliance_policy_rule.py +811 -0
- pulumi_oci/fleetappsmanagement/fleet.py +1003 -0
- pulumi_oci/fleetappsmanagement/fleet_credential.py +623 -0
- pulumi_oci/fleetappsmanagement/fleet_property.py +585 -0
- pulumi_oci/fleetappsmanagement/fleet_resource.py +853 -0
- pulumi_oci/fleetappsmanagement/get_announcements.py +29 -7
- pulumi_oci/fleetappsmanagement/get_catalog_item.py +434 -0
- pulumi_oci/fleetappsmanagement/get_catalog_items.py +274 -0
- pulumi_oci/fleetappsmanagement/get_compliance_policies.py +36 -12
- pulumi_oci/fleetappsmanagement/get_compliance_policy.py +20 -6
- pulumi_oci/fleetappsmanagement/get_compliance_policy_rule.py +325 -0
- pulumi_oci/fleetappsmanagement/get_compliance_policy_rules.py +244 -0
- pulumi_oci/fleetappsmanagement/get_compliance_record_counts.py +26 -7
- pulumi_oci/fleetappsmanagement/get_compliance_records.py +299 -0
- pulumi_oci/fleetappsmanagement/get_fleet.py +409 -0
- pulumi_oci/fleetappsmanagement/get_fleet_compliance_report.py +15 -1
- pulumi_oci/fleetappsmanagement/get_fleet_credential.py +274 -0
- pulumi_oci/fleetappsmanagement/get_fleet_credentials.py +283 -0
- pulumi_oci/fleetappsmanagement/get_fleet_products.py +2 -2
- pulumi_oci/fleetappsmanagement/get_fleet_properties.py +197 -0
- pulumi_oci/fleetappsmanagement/get_fleet_property.py +287 -0
- pulumi_oci/fleetappsmanagement/get_fleet_resource.py +399 -0
- pulumi_oci/fleetappsmanagement/get_fleet_resources.py +216 -0
- pulumi_oci/fleetappsmanagement/get_fleets.py +284 -0
- pulumi_oci/fleetappsmanagement/get_inventory_records.py +205 -0
- pulumi_oci/fleetappsmanagement/get_inventory_resources.py +4 -2
- pulumi_oci/fleetappsmanagement/get_maintenance_window.py +338 -0
- pulumi_oci/fleetappsmanagement/get_maintenance_windows.py +221 -0
- pulumi_oci/fleetappsmanagement/get_managed_entity_counts.py +26 -7
- pulumi_oci/fleetappsmanagement/get_onboarding_policies.py +26 -5
- pulumi_oci/fleetappsmanagement/get_onboardings.py +180 -0
- pulumi_oci/fleetappsmanagement/get_patch.py +364 -0
- pulumi_oci/fleetappsmanagement/get_patches.py +338 -0
- pulumi_oci/fleetappsmanagement/get_platform_configuration.py +297 -0
- pulumi_oci/fleetappsmanagement/get_platform_configurations.py +265 -0
- pulumi_oci/fleetappsmanagement/get_properties.py +37 -13
- pulumi_oci/fleetappsmanagement/get_property.py +1 -1
- pulumi_oci/fleetappsmanagement/get_provision.py +493 -0
- pulumi_oci/fleetappsmanagement/get_provisions.py +224 -0
- pulumi_oci/fleetappsmanagement/get_runbook.py +406 -0
- pulumi_oci/fleetappsmanagement/get_runbook_version.py +319 -0
- pulumi_oci/fleetappsmanagement/get_runbook_versions.py +230 -0
- pulumi_oci/fleetappsmanagement/get_runbooks.py +265 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definition.py +395 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definition_scheduled_fleets.py +167 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definitions.py +347 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_executions.py +334 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_job_counts.py +26 -7
- pulumi_oci/fleetappsmanagement/get_scheduler_job_job_activity_steps.py +2 -2
- pulumi_oci/fleetappsmanagement/get_task_record.py +308 -0
- pulumi_oci/fleetappsmanagement/get_task_records.py +265 -0
- pulumi_oci/fleetappsmanagement/maintenance_window.py +840 -0
- pulumi_oci/fleetappsmanagement/onboarding.py +631 -0
- pulumi_oci/fleetappsmanagement/outputs.py +25528 -1223
- pulumi_oci/fleetappsmanagement/patch.py +980 -0
- pulumi_oci/fleetappsmanagement/platform_configuration.py +694 -0
- pulumi_oci/fleetappsmanagement/property.py +28 -27
- pulumi_oci/fleetappsmanagement/provision.py +1195 -0
- pulumi_oci/fleetappsmanagement/runbook.py +1277 -0
- pulumi_oci/fleetappsmanagement/runbook_version.py +996 -0
- pulumi_oci/fleetappsmanagement/scheduler_definition.py +946 -0
- pulumi_oci/fleetappsmanagement/task_record.py +786 -0
- pulumi_oci/fleetsoftwareupdate/_inputs.py +88 -15
- pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +71 -42
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +21 -7
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +1 -1
- pulumi_oci/fleetsoftwareupdate/outputs.py +172 -15
- pulumi_oci/goldengate/_inputs.py +449 -3
- pulumi_oci/goldengate/connection.py +200 -56
- pulumi_oci/goldengate/get_connection.py +59 -28
- pulumi_oci/goldengate/get_connections.py +0 -3
- pulumi_oci/goldengate/outputs.py +886 -22
- pulumi_oci/loadbalancer/_inputs.py +24 -6
- pulumi_oci/loadbalancer/backend.py +35 -7
- pulumi_oci/loadbalancer/backend_set.py +35 -7
- pulumi_oci/loadbalancer/listener.py +7 -7
- pulumi_oci/loadbalancer/load_balancer.py +81 -0
- pulumi_oci/loadbalancer/outputs.py +29 -10
- pulumi_oci/loganalytics/__init__.py +3 -0
- pulumi_oci/loganalytics/_inputs.py +123 -0
- pulumi_oci/loganalytics/get_log_analytics_entities.py +52 -0
- pulumi_oci/loganalytics/get_log_analytics_entity_type.py +254 -0
- pulumi_oci/loganalytics/get_log_analytics_entity_types.py +230 -0
- pulumi_oci/loganalytics/log_analytics_entity_type.py +508 -0
- pulumi_oci/loganalytics/outputs.py +258 -0
- pulumi_oci/mysql/_inputs.py +274 -0
- pulumi_oci/mysql/get_mysql_backup.py +29 -1
- pulumi_oci/mysql/get_mysql_backups.py +23 -1
- pulumi_oci/mysql/get_mysql_db_system.py +15 -1
- pulumi_oci/mysql/get_replica.py +15 -1
- pulumi_oci/mysql/mysql_backup.py +98 -2
- pulumi_oci/mysql/mysql_db_system.py +57 -0
- pulumi_oci/mysql/outputs.py +594 -0
- pulumi_oci/mysql/replica.py +28 -0
- pulumi_oci/nosql/__init__.py +2 -0
- pulumi_oci/nosql/_inputs.py +129 -3
- pulumi_oci/nosql/configuration.py +383 -0
- pulumi_oci/nosql/get_configuration.py +162 -0
- pulumi_oci/nosql/index.py +7 -7
- pulumi_oci/nosql/outputs.py +164 -2
- pulumi_oci/nosql/table_replica.py +9 -9
- pulumi_oci/oci/__init__.py +56 -0
- pulumi_oci/oci/_inputs.py +1615 -0
- pulumi_oci/oci/apiaccesscontrol_privileged_api_control.py +930 -0
- pulumi_oci/oci/apiaccesscontrol_privileged_api_request.py +1303 -0
- pulumi_oci/oci/dbmulticloud_multi_cloud_resource_discovery.py +675 -0
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_blob_container.py +743 -0
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_blob_mount.py +675 -0
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_connector.py +740 -0
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_vault.py +840 -0
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_vault_association.py +673 -0
- pulumi_oci/oci/get_apiaccesscontrol_api_metadata.py +310 -0
- pulumi_oci/oci/get_apiaccesscontrol_api_metadata_by_entity_types.py +208 -0
- pulumi_oci/oci/get_apiaccesscontrol_api_metadatas.py +208 -0
- pulumi_oci/oci/get_apiaccesscontrol_privileged_api_control.py +367 -0
- pulumi_oci/oci/get_apiaccesscontrol_privileged_api_controls.py +222 -0
- pulumi_oci/oci/get_apiaccesscontrol_privileged_api_request.py +535 -0
- pulumi_oci/oci/get_apiaccesscontrol_privileged_api_requests.py +244 -0
- pulumi_oci/oci/get_dbmulticloud_multi_cloud_resource_discoveries.py +252 -0
- pulumi_oci/oci/get_dbmulticloud_multi_cloud_resource_discovery.py +297 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_container.py +310 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_containers.py +255 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_mount.py +296 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_mounts.py +255 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_connector.py +311 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_connectors.py +233 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_key.py +282 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_keys.py +233 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault.py +338 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault_association.py +296 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault_associations.py +255 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vaults.py +252 -0
- pulumi_oci/oci/get_wlms_managed_instance.py +255 -0
- pulumi_oci/oci/get_wlms_managed_instance_scan_results.py +189 -0
- pulumi_oci/oci/get_wlms_managed_instance_server.py +378 -0
- pulumi_oci/oci/get_wlms_managed_instance_server_installed_patches.py +168 -0
- pulumi_oci/oci/get_wlms_managed_instance_servers.py +170 -0
- pulumi_oci/oci/get_wlms_managed_instances.py +200 -0
- pulumi_oci/oci/get_wlms_wls_domain.py +311 -0
- pulumi_oci/oci/get_wlms_wls_domain_agreement_records.py +145 -0
- pulumi_oci/oci/get_wlms_wls_domain_applicable_patches.py +145 -0
- pulumi_oci/oci/get_wlms_wls_domain_scan_results.py +170 -0
- pulumi_oci/oci/get_wlms_wls_domain_server.py +378 -0
- pulumi_oci/oci/get_wlms_wls_domain_server_backup.py +230 -0
- pulumi_oci/oci/get_wlms_wls_domain_server_backup_content.py +189 -0
- pulumi_oci/oci/get_wlms_wls_domain_server_backups.py +168 -0
- pulumi_oci/oci/get_wlms_wls_domain_server_installed_patches.py +168 -0
- pulumi_oci/oci/get_wlms_wls_domain_servers.py +170 -0
- pulumi_oci/oci/get_wlms_wls_domains.py +266 -0
- pulumi_oci/oci/outputs.py +5617 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/__init__.py +8 -0
- pulumi_oci/redis/_inputs.py +179 -0
- pulumi_oci/redis/get_oci_cache_user.py +283 -0
- pulumi_oci/redis/get_oci_cache_users.py +192 -0
- pulumi_oci/redis/oci_cache_user.py +695 -0
- pulumi_oci/redis/oci_cache_user_get_redis_cluster.py +333 -0
- pulumi_oci/redis/outputs.py +330 -0
- pulumi_oci/redis/redis_cluster_attach_oci_cache_user.py +263 -0
- pulumi_oci/redis/redis_cluster_create_identity_token.py +439 -0
- pulumi_oci/redis/redis_cluster_detach_oci_cache_user.py +263 -0
- pulumi_oci/redis/redis_cluster_get_oci_cache_user.py +333 -0
- {pulumi_oci-3.1.0a1750230541.dist-info → pulumi_oci-3.1.0a1751948424.dist-info}/METADATA +1 -1
- {pulumi_oci-3.1.0a1750230541.dist-info → pulumi_oci-3.1.0a1751948424.dist-info}/RECORD +282 -141
- {pulumi_oci-3.1.0a1750230541.dist-info → pulumi_oci-3.1.0a1751948424.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.1.0a1750230541.dist-info → pulumi_oci-3.1.0a1751948424.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,284 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from .. import _utilities
|
17
|
+
from . import outputs
|
18
|
+
from ._inputs import *
|
19
|
+
|
20
|
+
__all__ = [
|
21
|
+
'GetFleetsResult',
|
22
|
+
'AwaitableGetFleetsResult',
|
23
|
+
'get_fleets',
|
24
|
+
'get_fleets_output',
|
25
|
+
]
|
26
|
+
|
27
|
+
@pulumi.output_type
|
28
|
+
class GetFleetsResult:
|
29
|
+
"""
|
30
|
+
A collection of values returned by getFleets.
|
31
|
+
"""
|
32
|
+
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):
|
33
|
+
if application_type and not isinstance(application_type, str):
|
34
|
+
raise TypeError("Expected argument 'application_type' to be a str")
|
35
|
+
pulumi.set(__self__, "application_type", application_type)
|
36
|
+
if compartment_id and not isinstance(compartment_id, str):
|
37
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
38
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
39
|
+
if display_name and not isinstance(display_name, str):
|
40
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
41
|
+
pulumi.set(__self__, "display_name", display_name)
|
42
|
+
if environment_type and not isinstance(environment_type, str):
|
43
|
+
raise TypeError("Expected argument 'environment_type' to be a str")
|
44
|
+
pulumi.set(__self__, "environment_type", environment_type)
|
45
|
+
if filters and not isinstance(filters, list):
|
46
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
47
|
+
pulumi.set(__self__, "filters", filters)
|
48
|
+
if fleet_collections and not isinstance(fleet_collections, list):
|
49
|
+
raise TypeError("Expected argument 'fleet_collections' to be a list")
|
50
|
+
pulumi.set(__self__, "fleet_collections", fleet_collections)
|
51
|
+
if fleet_type and not isinstance(fleet_type, str):
|
52
|
+
raise TypeError("Expected argument 'fleet_type' to be a str")
|
53
|
+
pulumi.set(__self__, "fleet_type", fleet_type)
|
54
|
+
if id and not isinstance(id, str):
|
55
|
+
raise TypeError("Expected argument 'id' to be a str")
|
56
|
+
pulumi.set(__self__, "id", id)
|
57
|
+
if product and not isinstance(product, str):
|
58
|
+
raise TypeError("Expected argument 'product' to be a str")
|
59
|
+
pulumi.set(__self__, "product", product)
|
60
|
+
if state and not isinstance(state, str):
|
61
|
+
raise TypeError("Expected argument 'state' to be a str")
|
62
|
+
pulumi.set(__self__, "state", state)
|
63
|
+
|
64
|
+
@property
|
65
|
+
@pulumi.getter(name="applicationType")
|
66
|
+
def application_type(self) -> Optional[builtins.str]:
|
67
|
+
return pulumi.get(self, "application_type")
|
68
|
+
|
69
|
+
@property
|
70
|
+
@pulumi.getter(name="compartmentId")
|
71
|
+
def compartment_id(self) -> Optional[builtins.str]:
|
72
|
+
"""
|
73
|
+
Compartment Identifier[OCID].
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "compartment_id")
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter(name="displayName")
|
79
|
+
def display_name(self) -> Optional[builtins.str]:
|
80
|
+
"""
|
81
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
82
|
+
"""
|
83
|
+
return pulumi.get(self, "display_name")
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter(name="environmentType")
|
87
|
+
def environment_type(self) -> Optional[builtins.str]:
|
88
|
+
"""
|
89
|
+
Environment Type associated with the Fleet. Applicable for ENVIRONMENT fleet types.
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "environment_type")
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter
|
95
|
+
def filters(self) -> Optional[Sequence['outputs.GetFleetsFilterResult']]:
|
96
|
+
return pulumi.get(self, "filters")
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter(name="fleetCollections")
|
100
|
+
def fleet_collections(self) -> Sequence['outputs.GetFleetsFleetCollectionResult']:
|
101
|
+
"""
|
102
|
+
The list of fleet_collection.
|
103
|
+
"""
|
104
|
+
return pulumi.get(self, "fleet_collections")
|
105
|
+
|
106
|
+
@property
|
107
|
+
@pulumi.getter(name="fleetType")
|
108
|
+
def fleet_type(self) -> Optional[builtins.str]:
|
109
|
+
"""
|
110
|
+
Type of the Fleet. PRODUCT - A fleet of product-specific resources for a product type. ENVIRONMENT - A fleet of environment-specific resources for a product stack. GROUP - A fleet of a fleet of either environment or product fleets. GENERIC - A fleet of resources selected dynamically or manually for reporting purposes
|
111
|
+
"""
|
112
|
+
return pulumi.get(self, "fleet_type")
|
113
|
+
|
114
|
+
@property
|
115
|
+
@pulumi.getter
|
116
|
+
def id(self) -> Optional[builtins.str]:
|
117
|
+
"""
|
118
|
+
The OCID of the resource.
|
119
|
+
"""
|
120
|
+
return pulumi.get(self, "id")
|
121
|
+
|
122
|
+
@property
|
123
|
+
@pulumi.getter
|
124
|
+
def product(self) -> Optional[builtins.str]:
|
125
|
+
return pulumi.get(self, "product")
|
126
|
+
|
127
|
+
@property
|
128
|
+
@pulumi.getter
|
129
|
+
def state(self) -> Optional[builtins.str]:
|
130
|
+
"""
|
131
|
+
The lifecycle state of the Fleet.
|
132
|
+
"""
|
133
|
+
return pulumi.get(self, "state")
|
134
|
+
|
135
|
+
|
136
|
+
class AwaitableGetFleetsResult(GetFleetsResult):
|
137
|
+
# pylint: disable=using-constant-test
|
138
|
+
def __await__(self):
|
139
|
+
if False:
|
140
|
+
yield self
|
141
|
+
return GetFleetsResult(
|
142
|
+
application_type=self.application_type,
|
143
|
+
compartment_id=self.compartment_id,
|
144
|
+
display_name=self.display_name,
|
145
|
+
environment_type=self.environment_type,
|
146
|
+
filters=self.filters,
|
147
|
+
fleet_collections=self.fleet_collections,
|
148
|
+
fleet_type=self.fleet_type,
|
149
|
+
id=self.id,
|
150
|
+
product=self.product,
|
151
|
+
state=self.state)
|
152
|
+
|
153
|
+
|
154
|
+
def get_fleets(application_type: Optional[builtins.str] = None,
|
155
|
+
compartment_id: Optional[builtins.str] = None,
|
156
|
+
display_name: Optional[builtins.str] = None,
|
157
|
+
environment_type: Optional[builtins.str] = None,
|
158
|
+
filters: Optional[Sequence[Union['GetFleetsFilterArgs', 'GetFleetsFilterArgsDict']]] = None,
|
159
|
+
fleet_type: Optional[builtins.str] = None,
|
160
|
+
id: Optional[builtins.str] = None,
|
161
|
+
product: Optional[builtins.str] = None,
|
162
|
+
state: Optional[builtins.str] = None,
|
163
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFleetsResult:
|
164
|
+
"""
|
165
|
+
This data source provides the list of Fleets in Oracle Cloud Infrastructure Fleet Apps Management service.
|
166
|
+
|
167
|
+
Returns a list of all the Fleets in the specified compartment.
|
168
|
+
The query parameter `compartmentId` is required unless the query parameter `id` is specified.
|
169
|
+
|
170
|
+
## Example Usage
|
171
|
+
|
172
|
+
```python
|
173
|
+
import pulumi
|
174
|
+
import pulumi_oci as oci
|
175
|
+
|
176
|
+
test_fleets = oci.FleetAppsManagement.get_fleets(application_type=fleet_application_type,
|
177
|
+
compartment_id=compartment_id,
|
178
|
+
display_name=fleet_display_name,
|
179
|
+
environment_type=fleet_environment_type,
|
180
|
+
fleet_type=fleet_fleet_type,
|
181
|
+
id=fleet_id,
|
182
|
+
product=fleet_product,
|
183
|
+
state=fleet_state)
|
184
|
+
```
|
185
|
+
|
186
|
+
|
187
|
+
:param builtins.str application_type: A filter to return resources that match the Application Type/Product Stack given..
|
188
|
+
:param builtins.str compartment_id: The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
|
189
|
+
:param builtins.str display_name: A filter to return only resources that match the entire display name given.
|
190
|
+
:param builtins.str environment_type: A filter to return resources that match the Environment Type given.
|
191
|
+
:param builtins.str fleet_type: A filter to return fleets whose fleetType matches the given fleetType.
|
192
|
+
:param builtins.str id: Unique identifier or OCID for listing a single fleet by id. Either compartmentId or id must be provided.
|
193
|
+
:param builtins.str product: A filter to return resources that match the Product/Product Stack given.
|
194
|
+
:param builtins.str state: A filter to return fleets whose lifecycleState matches the given lifecycleState.
|
195
|
+
"""
|
196
|
+
__args__ = dict()
|
197
|
+
__args__['applicationType'] = application_type
|
198
|
+
__args__['compartmentId'] = compartment_id
|
199
|
+
__args__['displayName'] = display_name
|
200
|
+
__args__['environmentType'] = environment_type
|
201
|
+
__args__['filters'] = filters
|
202
|
+
__args__['fleetType'] = fleet_type
|
203
|
+
__args__['id'] = id
|
204
|
+
__args__['product'] = product
|
205
|
+
__args__['state'] = state
|
206
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
207
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getFleets:getFleets', __args__, opts=opts, typ=GetFleetsResult).value
|
208
|
+
|
209
|
+
return AwaitableGetFleetsResult(
|
210
|
+
application_type=pulumi.get(__ret__, 'application_type'),
|
211
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
212
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
213
|
+
environment_type=pulumi.get(__ret__, 'environment_type'),
|
214
|
+
filters=pulumi.get(__ret__, 'filters'),
|
215
|
+
fleet_collections=pulumi.get(__ret__, 'fleet_collections'),
|
216
|
+
fleet_type=pulumi.get(__ret__, 'fleet_type'),
|
217
|
+
id=pulumi.get(__ret__, 'id'),
|
218
|
+
product=pulumi.get(__ret__, 'product'),
|
219
|
+
state=pulumi.get(__ret__, 'state'))
|
220
|
+
def get_fleets_output(application_type: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
221
|
+
compartment_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
222
|
+
display_name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
223
|
+
environment_type: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
224
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetFleetsFilterArgs', 'GetFleetsFilterArgsDict']]]]] = None,
|
225
|
+
fleet_type: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
226
|
+
id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
227
|
+
product: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
228
|
+
state: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
229
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFleetsResult]:
|
230
|
+
"""
|
231
|
+
This data source provides the list of Fleets in Oracle Cloud Infrastructure Fleet Apps Management service.
|
232
|
+
|
233
|
+
Returns a list of all the Fleets in the specified compartment.
|
234
|
+
The query parameter `compartmentId` is required unless the query parameter `id` is specified.
|
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 builtins.str application_type: A filter to return resources that match the Application Type/Product Stack given..
|
254
|
+
:param builtins.str compartment_id: The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.
|
255
|
+
:param builtins.str display_name: A filter to return only resources that match the entire display name given.
|
256
|
+
:param builtins.str environment_type: A filter to return resources that match the Environment Type given.
|
257
|
+
:param builtins.str fleet_type: A filter to return fleets whose fleetType matches the given fleetType.
|
258
|
+
:param builtins.str id: Unique identifier or OCID for listing a single fleet by id. Either compartmentId or id must be provided.
|
259
|
+
:param builtins.str product: A filter to return resources that match the Product/Product Stack given.
|
260
|
+
:param builtins.str state: A filter to return fleets whose 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.InvokeOutputOptions.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,205 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from .. import _utilities
|
17
|
+
from . import outputs
|
18
|
+
from ._inputs import *
|
19
|
+
|
20
|
+
__all__ = [
|
21
|
+
'GetInventoryRecordsResult',
|
22
|
+
'AwaitableGetInventoryRecordsResult',
|
23
|
+
'get_inventory_records',
|
24
|
+
'get_inventory_records_output',
|
25
|
+
]
|
26
|
+
|
27
|
+
@pulumi.output_type
|
28
|
+
class GetInventoryRecordsResult:
|
29
|
+
"""
|
30
|
+
A collection of values returned by getInventoryRecords.
|
31
|
+
"""
|
32
|
+
def __init__(__self__, compartment_id=None, compartment_id_in_subtree=None, filters=None, fleet_id=None, id=None, inventory_record_collections=None, resource_id=None):
|
33
|
+
if compartment_id and not isinstance(compartment_id, str):
|
34
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
35
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
36
|
+
if compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool):
|
37
|
+
raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool")
|
38
|
+
pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree)
|
39
|
+
if filters and not isinstance(filters, list):
|
40
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
41
|
+
pulumi.set(__self__, "filters", filters)
|
42
|
+
if fleet_id and not isinstance(fleet_id, str):
|
43
|
+
raise TypeError("Expected argument 'fleet_id' to be a str")
|
44
|
+
pulumi.set(__self__, "fleet_id", fleet_id)
|
45
|
+
if id and not isinstance(id, str):
|
46
|
+
raise TypeError("Expected argument 'id' to be a str")
|
47
|
+
pulumi.set(__self__, "id", id)
|
48
|
+
if inventory_record_collections and not isinstance(inventory_record_collections, list):
|
49
|
+
raise TypeError("Expected argument 'inventory_record_collections' to be a list")
|
50
|
+
pulumi.set(__self__, "inventory_record_collections", inventory_record_collections)
|
51
|
+
if resource_id and not isinstance(resource_id, str):
|
52
|
+
raise TypeError("Expected argument 'resource_id' to be a str")
|
53
|
+
pulumi.set(__self__, "resource_id", resource_id)
|
54
|
+
|
55
|
+
@property
|
56
|
+
@pulumi.getter(name="compartmentId")
|
57
|
+
def compartment_id(self) -> builtins.str:
|
58
|
+
"""
|
59
|
+
OCID of the compartment to which the resource belongs to.
|
60
|
+
"""
|
61
|
+
return pulumi.get(self, "compartment_id")
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter(name="compartmentIdInSubtree")
|
65
|
+
def compartment_id_in_subtree(self) -> Optional[builtins.bool]:
|
66
|
+
return pulumi.get(self, "compartment_id_in_subtree")
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter
|
70
|
+
def filters(self) -> Optional[Sequence['outputs.GetInventoryRecordsFilterResult']]:
|
71
|
+
return pulumi.get(self, "filters")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter(name="fleetId")
|
75
|
+
def fleet_id(self) -> Optional[builtins.str]:
|
76
|
+
return pulumi.get(self, "fleet_id")
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter
|
80
|
+
def id(self) -> builtins.str:
|
81
|
+
"""
|
82
|
+
The provider-assigned unique ID for this managed resource.
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "id")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter(name="inventoryRecordCollections")
|
88
|
+
def inventory_record_collections(self) -> Sequence['outputs.GetInventoryRecordsInventoryRecordCollectionResult']:
|
89
|
+
"""
|
90
|
+
The list of inventory_record_collection.
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "inventory_record_collections")
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter(name="resourceId")
|
96
|
+
def resource_id(self) -> Optional[builtins.str]:
|
97
|
+
return pulumi.get(self, "resource_id")
|
98
|
+
|
99
|
+
|
100
|
+
class AwaitableGetInventoryRecordsResult(GetInventoryRecordsResult):
|
101
|
+
# pylint: disable=using-constant-test
|
102
|
+
def __await__(self):
|
103
|
+
if False:
|
104
|
+
yield self
|
105
|
+
return GetInventoryRecordsResult(
|
106
|
+
compartment_id=self.compartment_id,
|
107
|
+
compartment_id_in_subtree=self.compartment_id_in_subtree,
|
108
|
+
filters=self.filters,
|
109
|
+
fleet_id=self.fleet_id,
|
110
|
+
id=self.id,
|
111
|
+
inventory_record_collections=self.inventory_record_collections,
|
112
|
+
resource_id=self.resource_id)
|
113
|
+
|
114
|
+
|
115
|
+
def get_inventory_records(compartment_id: Optional[builtins.str] = None,
|
116
|
+
compartment_id_in_subtree: Optional[builtins.bool] = None,
|
117
|
+
filters: Optional[Sequence[Union['GetInventoryRecordsFilterArgs', 'GetInventoryRecordsFilterArgsDict']]] = None,
|
118
|
+
fleet_id: Optional[builtins.str] = None,
|
119
|
+
resource_id: Optional[builtins.str] = None,
|
120
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInventoryRecordsResult:
|
121
|
+
"""
|
122
|
+
This data source provides the list of Inventory Records in Oracle Cloud Infrastructure Fleet Apps Management service.
|
123
|
+
|
124
|
+
Gets a list of inventoryDetails.
|
125
|
+
|
126
|
+
## Example Usage
|
127
|
+
|
128
|
+
```python
|
129
|
+
import pulumi
|
130
|
+
import pulumi_oci as oci
|
131
|
+
|
132
|
+
test_inventory_records = oci.FleetAppsManagement.get_inventory_records(compartment_id=compartment_id,
|
133
|
+
compartment_id_in_subtree=inventory_record_compartment_id_in_subtree,
|
134
|
+
fleet_id=test_fleet["id"],
|
135
|
+
resource_id=test_resource["id"])
|
136
|
+
```
|
137
|
+
|
138
|
+
|
139
|
+
:param builtins.str compartment_id: The ID of the compartment in which to list resources.
|
140
|
+
:param builtins.bool compartment_id_in_subtree: If set to true, resources will be returned for not only the provided compartment, but all compartments which descend from it. Which resources are returned and their field contents depends on the value of accessLevel.
|
141
|
+
:param builtins.str fleet_id: unique Fleet identifier
|
142
|
+
:param builtins.str resource_id: Resource Identifier
|
143
|
+
"""
|
144
|
+
__args__ = dict()
|
145
|
+
__args__['compartmentId'] = compartment_id
|
146
|
+
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
147
|
+
__args__['filters'] = filters
|
148
|
+
__args__['fleetId'] = fleet_id
|
149
|
+
__args__['resourceId'] = resource_id
|
150
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
151
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getInventoryRecords:getInventoryRecords', __args__, opts=opts, typ=GetInventoryRecordsResult).value
|
152
|
+
|
153
|
+
return AwaitableGetInventoryRecordsResult(
|
154
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
155
|
+
compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'),
|
156
|
+
filters=pulumi.get(__ret__, 'filters'),
|
157
|
+
fleet_id=pulumi.get(__ret__, 'fleet_id'),
|
158
|
+
id=pulumi.get(__ret__, 'id'),
|
159
|
+
inventory_record_collections=pulumi.get(__ret__, 'inventory_record_collections'),
|
160
|
+
resource_id=pulumi.get(__ret__, 'resource_id'))
|
161
|
+
def get_inventory_records_output(compartment_id: Optional[pulumi.Input[builtins.str]] = None,
|
162
|
+
compartment_id_in_subtree: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
163
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetInventoryRecordsFilterArgs', 'GetInventoryRecordsFilterArgsDict']]]]] = None,
|
164
|
+
fleet_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
165
|
+
resource_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
166
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInventoryRecordsResult]:
|
167
|
+
"""
|
168
|
+
This data source provides the list of Inventory Records in Oracle Cloud Infrastructure Fleet Apps Management service.
|
169
|
+
|
170
|
+
Gets a list of inventoryDetails.
|
171
|
+
|
172
|
+
## Example Usage
|
173
|
+
|
174
|
+
```python
|
175
|
+
import pulumi
|
176
|
+
import pulumi_oci as oci
|
177
|
+
|
178
|
+
test_inventory_records = oci.FleetAppsManagement.get_inventory_records(compartment_id=compartment_id,
|
179
|
+
compartment_id_in_subtree=inventory_record_compartment_id_in_subtree,
|
180
|
+
fleet_id=test_fleet["id"],
|
181
|
+
resource_id=test_resource["id"])
|
182
|
+
```
|
183
|
+
|
184
|
+
|
185
|
+
:param builtins.str compartment_id: The ID of the compartment in which to list resources.
|
186
|
+
:param builtins.bool compartment_id_in_subtree: If set to true, resources will be returned for not only the provided compartment, but all compartments which descend from it. Which resources are returned and their field contents depends on the value of accessLevel.
|
187
|
+
:param builtins.str fleet_id: unique Fleet identifier
|
188
|
+
:param builtins.str resource_id: Resource Identifier
|
189
|
+
"""
|
190
|
+
__args__ = dict()
|
191
|
+
__args__['compartmentId'] = compartment_id
|
192
|
+
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
193
|
+
__args__['filters'] = filters
|
194
|
+
__args__['fleetId'] = fleet_id
|
195
|
+
__args__['resourceId'] = resource_id
|
196
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
197
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getInventoryRecords:getInventoryRecords', __args__, opts=opts, typ=GetInventoryRecordsResult)
|
198
|
+
return __ret__.apply(lambda __response__: GetInventoryRecordsResult(
|
199
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
200
|
+
compartment_id_in_subtree=pulumi.get(__response__, 'compartment_id_in_subtree'),
|
201
|
+
filters=pulumi.get(__response__, 'filters'),
|
202
|
+
fleet_id=pulumi.get(__response__, 'fleet_id'),
|
203
|
+
id=pulumi.get(__response__, 'id'),
|
204
|
+
inventory_record_collections=pulumi.get(__response__, 'inventory_record_collections'),
|
205
|
+
resource_id=pulumi.get(__response__, 'resource_id')))
|
@@ -183,7 +183,8 @@ def get_inventory_resources(compartment_id: Optional[builtins.str] = None,
|
|
183
183
|
"""
|
184
184
|
This data source provides the list of Inventory Resources in Oracle Cloud Infrastructure Fleet Apps Management service.
|
185
185
|
|
186
|
-
Returns a list of
|
186
|
+
Returns a list of Inventory Resources based on the criteria provided.
|
187
|
+
instance, dbsystem, cloudvmcluster resources are supported.
|
187
188
|
|
188
189
|
## Example Usage
|
189
190
|
|
@@ -254,7 +255,8 @@ def get_inventory_resources_output(compartment_id: Optional[pulumi.Input[builtin
|
|
254
255
|
"""
|
255
256
|
This data source provides the list of Inventory Resources in Oracle Cloud Infrastructure Fleet Apps Management service.
|
256
257
|
|
257
|
-
Returns a list of
|
258
|
+
Returns a list of Inventory Resources based on the criteria provided.
|
259
|
+
instance, dbsystem, cloudvmcluster resources are supported.
|
258
260
|
|
259
261
|
## Example Usage
|
260
262
|
|