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,399 @@
|
|
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
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetFleetResourceResult',
|
20
|
+
'AwaitableGetFleetResourceResult',
|
21
|
+
'get_fleet_resource',
|
22
|
+
'get_fleet_resource_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetFleetResourceResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getFleetResource.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, compartment=None, compartment_id=None, compliance_state=None, display_name=None, environment_type=None, fleet_id=None, fleet_resource_id=None, id=None, lifecycle_details=None, percent_compliant=None, product=None, product_count=None, resource_id=None, resource_region=None, resource_type=None, state=None, system_tags=None, target_count=None, tenancy_id=None, tenancy_name=None, time_created=None, time_updated=None):
|
31
|
+
if compartment and not isinstance(compartment, str):
|
32
|
+
raise TypeError("Expected argument 'compartment' to be a str")
|
33
|
+
pulumi.set(__self__, "compartment", compartment)
|
34
|
+
if compartment_id and not isinstance(compartment_id, str):
|
35
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
36
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
37
|
+
if compliance_state and not isinstance(compliance_state, str):
|
38
|
+
raise TypeError("Expected argument 'compliance_state' to be a str")
|
39
|
+
pulumi.set(__self__, "compliance_state", compliance_state)
|
40
|
+
if display_name and not isinstance(display_name, str):
|
41
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
42
|
+
pulumi.set(__self__, "display_name", display_name)
|
43
|
+
if environment_type and not isinstance(environment_type, str):
|
44
|
+
raise TypeError("Expected argument 'environment_type' to be a str")
|
45
|
+
pulumi.set(__self__, "environment_type", environment_type)
|
46
|
+
if fleet_id and not isinstance(fleet_id, str):
|
47
|
+
raise TypeError("Expected argument 'fleet_id' to be a str")
|
48
|
+
pulumi.set(__self__, "fleet_id", fleet_id)
|
49
|
+
if fleet_resource_id and not isinstance(fleet_resource_id, str):
|
50
|
+
raise TypeError("Expected argument 'fleet_resource_id' to be a str")
|
51
|
+
pulumi.set(__self__, "fleet_resource_id", fleet_resource_id)
|
52
|
+
if id and not isinstance(id, str):
|
53
|
+
raise TypeError("Expected argument 'id' to be a str")
|
54
|
+
pulumi.set(__self__, "id", id)
|
55
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
56
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
57
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
58
|
+
if percent_compliant and not isinstance(percent_compliant, float):
|
59
|
+
raise TypeError("Expected argument 'percent_compliant' to be a float")
|
60
|
+
pulumi.set(__self__, "percent_compliant", percent_compliant)
|
61
|
+
if product and not isinstance(product, str):
|
62
|
+
raise TypeError("Expected argument 'product' to be a str")
|
63
|
+
pulumi.set(__self__, "product", product)
|
64
|
+
if product_count and not isinstance(product_count, int):
|
65
|
+
raise TypeError("Expected argument 'product_count' to be a int")
|
66
|
+
pulumi.set(__self__, "product_count", product_count)
|
67
|
+
if resource_id and not isinstance(resource_id, str):
|
68
|
+
raise TypeError("Expected argument 'resource_id' to be a str")
|
69
|
+
pulumi.set(__self__, "resource_id", resource_id)
|
70
|
+
if resource_region and not isinstance(resource_region, str):
|
71
|
+
raise TypeError("Expected argument 'resource_region' to be a str")
|
72
|
+
pulumi.set(__self__, "resource_region", resource_region)
|
73
|
+
if resource_type and not isinstance(resource_type, str):
|
74
|
+
raise TypeError("Expected argument 'resource_type' to be a str")
|
75
|
+
pulumi.set(__self__, "resource_type", resource_type)
|
76
|
+
if state and not isinstance(state, str):
|
77
|
+
raise TypeError("Expected argument 'state' to be a str")
|
78
|
+
pulumi.set(__self__, "state", state)
|
79
|
+
if system_tags and not isinstance(system_tags, dict):
|
80
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
81
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
82
|
+
if target_count and not isinstance(target_count, int):
|
83
|
+
raise TypeError("Expected argument 'target_count' to be a int")
|
84
|
+
pulumi.set(__self__, "target_count", target_count)
|
85
|
+
if tenancy_id and not isinstance(tenancy_id, str):
|
86
|
+
raise TypeError("Expected argument 'tenancy_id' to be a str")
|
87
|
+
pulumi.set(__self__, "tenancy_id", tenancy_id)
|
88
|
+
if tenancy_name and not isinstance(tenancy_name, str):
|
89
|
+
raise TypeError("Expected argument 'tenancy_name' to be a str")
|
90
|
+
pulumi.set(__self__, "tenancy_name", tenancy_name)
|
91
|
+
if time_created and not isinstance(time_created, str):
|
92
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
93
|
+
pulumi.set(__self__, "time_created", time_created)
|
94
|
+
if time_updated and not isinstance(time_updated, str):
|
95
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
96
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter
|
100
|
+
def compartment(self) -> builtins.str:
|
101
|
+
"""
|
102
|
+
Resource Compartment name.
|
103
|
+
"""
|
104
|
+
return pulumi.get(self, "compartment")
|
105
|
+
|
106
|
+
@property
|
107
|
+
@pulumi.getter(name="compartmentId")
|
108
|
+
def compartment_id(self) -> builtins.str:
|
109
|
+
"""
|
110
|
+
OCID of the compartment to which the resource belongs to.
|
111
|
+
"""
|
112
|
+
return pulumi.get(self, "compartment_id")
|
113
|
+
|
114
|
+
@property
|
115
|
+
@pulumi.getter(name="complianceState")
|
116
|
+
def compliance_state(self) -> builtins.str:
|
117
|
+
"""
|
118
|
+
Compliance State of the Resource.
|
119
|
+
"""
|
120
|
+
return pulumi.get(self, "compliance_state")
|
121
|
+
|
122
|
+
@property
|
123
|
+
@pulumi.getter(name="displayName")
|
124
|
+
def display_name(self) -> builtins.str:
|
125
|
+
"""
|
126
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
127
|
+
"""
|
128
|
+
return pulumi.get(self, "display_name")
|
129
|
+
|
130
|
+
@property
|
131
|
+
@pulumi.getter(name="environmentType")
|
132
|
+
def environment_type(self) -> builtins.str:
|
133
|
+
"""
|
134
|
+
Environment Type associated with the Fleet when the resource type is fleet. Will only be returned for ENVIRONMENT fleets that are part of a GROUP Fleet.
|
135
|
+
"""
|
136
|
+
return pulumi.get(self, "environment_type")
|
137
|
+
|
138
|
+
@property
|
139
|
+
@pulumi.getter(name="fleetId")
|
140
|
+
def fleet_id(self) -> builtins.str:
|
141
|
+
return pulumi.get(self, "fleet_id")
|
142
|
+
|
143
|
+
@property
|
144
|
+
@pulumi.getter(name="fleetResourceId")
|
145
|
+
def fleet_resource_id(self) -> builtins.str:
|
146
|
+
return pulumi.get(self, "fleet_resource_id")
|
147
|
+
|
148
|
+
@property
|
149
|
+
@pulumi.getter
|
150
|
+
def id(self) -> builtins.str:
|
151
|
+
"""
|
152
|
+
The unique id of the resource.
|
153
|
+
"""
|
154
|
+
return pulumi.get(self, "id")
|
155
|
+
|
156
|
+
@property
|
157
|
+
@pulumi.getter(name="lifecycleDetails")
|
158
|
+
def lifecycle_details(self) -> builtins.str:
|
159
|
+
"""
|
160
|
+
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
161
|
+
"""
|
162
|
+
return pulumi.get(self, "lifecycle_details")
|
163
|
+
|
164
|
+
@property
|
165
|
+
@pulumi.getter(name="percentCompliant")
|
166
|
+
def percent_compliant(self) -> builtins.float:
|
167
|
+
"""
|
168
|
+
The compliance percentage.
|
169
|
+
"""
|
170
|
+
return pulumi.get(self, "percent_compliant")
|
171
|
+
|
172
|
+
@property
|
173
|
+
@pulumi.getter
|
174
|
+
def product(self) -> builtins.str:
|
175
|
+
"""
|
176
|
+
Product associated with the resource when the resource type is fleet. Will only be returned for PRODUCT fleets that are part of a GROUP Fleet.
|
177
|
+
"""
|
178
|
+
return pulumi.get(self, "product")
|
179
|
+
|
180
|
+
@property
|
181
|
+
@pulumi.getter(name="productCount")
|
182
|
+
def product_count(self) -> builtins.int:
|
183
|
+
"""
|
184
|
+
Count of products within the resource.
|
185
|
+
"""
|
186
|
+
return pulumi.get(self, "product_count")
|
187
|
+
|
188
|
+
@property
|
189
|
+
@pulumi.getter(name="resourceId")
|
190
|
+
def resource_id(self) -> builtins.str:
|
191
|
+
"""
|
192
|
+
The OCID of the resource.
|
193
|
+
"""
|
194
|
+
return pulumi.get(self, "resource_id")
|
195
|
+
|
196
|
+
@property
|
197
|
+
@pulumi.getter(name="resourceRegion")
|
198
|
+
def resource_region(self) -> builtins.str:
|
199
|
+
"""
|
200
|
+
Associated region
|
201
|
+
"""
|
202
|
+
return pulumi.get(self, "resource_region")
|
203
|
+
|
204
|
+
@property
|
205
|
+
@pulumi.getter(name="resourceType")
|
206
|
+
def resource_type(self) -> builtins.str:
|
207
|
+
"""
|
208
|
+
Type of the Resource.
|
209
|
+
"""
|
210
|
+
return pulumi.get(self, "resource_type")
|
211
|
+
|
212
|
+
@property
|
213
|
+
@pulumi.getter
|
214
|
+
def state(self) -> builtins.str:
|
215
|
+
"""
|
216
|
+
The current state of the FleetResource.
|
217
|
+
"""
|
218
|
+
return pulumi.get(self, "state")
|
219
|
+
|
220
|
+
@property
|
221
|
+
@pulumi.getter(name="systemTags")
|
222
|
+
def system_tags(self) -> Mapping[str, builtins.str]:
|
223
|
+
"""
|
224
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
225
|
+
"""
|
226
|
+
return pulumi.get(self, "system_tags")
|
227
|
+
|
228
|
+
@property
|
229
|
+
@pulumi.getter(name="targetCount")
|
230
|
+
def target_count(self) -> builtins.int:
|
231
|
+
"""
|
232
|
+
Count of targets within the resource.
|
233
|
+
"""
|
234
|
+
return pulumi.get(self, "target_count")
|
235
|
+
|
236
|
+
@property
|
237
|
+
@pulumi.getter(name="tenancyId")
|
238
|
+
def tenancy_id(self) -> builtins.str:
|
239
|
+
"""
|
240
|
+
OCID of the tenancy to which the resource belongs to.
|
241
|
+
"""
|
242
|
+
return pulumi.get(self, "tenancy_id")
|
243
|
+
|
244
|
+
@property
|
245
|
+
@pulumi.getter(name="tenancyName")
|
246
|
+
def tenancy_name(self) -> builtins.str:
|
247
|
+
"""
|
248
|
+
Resource Tenancy Name.
|
249
|
+
"""
|
250
|
+
return pulumi.get(self, "tenancy_name")
|
251
|
+
|
252
|
+
@property
|
253
|
+
@pulumi.getter(name="timeCreated")
|
254
|
+
def time_created(self) -> builtins.str:
|
255
|
+
"""
|
256
|
+
The time this resource was created. An RFC3339 formatted datetime string.
|
257
|
+
"""
|
258
|
+
return pulumi.get(self, "time_created")
|
259
|
+
|
260
|
+
@property
|
261
|
+
@pulumi.getter(name="timeUpdated")
|
262
|
+
def time_updated(self) -> builtins.str:
|
263
|
+
"""
|
264
|
+
The time this resource was last updated. An RFC3339 formatted datetime string.
|
265
|
+
"""
|
266
|
+
return pulumi.get(self, "time_updated")
|
267
|
+
|
268
|
+
|
269
|
+
class AwaitableGetFleetResourceResult(GetFleetResourceResult):
|
270
|
+
# pylint: disable=using-constant-test
|
271
|
+
def __await__(self):
|
272
|
+
if False:
|
273
|
+
yield self
|
274
|
+
return GetFleetResourceResult(
|
275
|
+
compartment=self.compartment,
|
276
|
+
compartment_id=self.compartment_id,
|
277
|
+
compliance_state=self.compliance_state,
|
278
|
+
display_name=self.display_name,
|
279
|
+
environment_type=self.environment_type,
|
280
|
+
fleet_id=self.fleet_id,
|
281
|
+
fleet_resource_id=self.fleet_resource_id,
|
282
|
+
id=self.id,
|
283
|
+
lifecycle_details=self.lifecycle_details,
|
284
|
+
percent_compliant=self.percent_compliant,
|
285
|
+
product=self.product,
|
286
|
+
product_count=self.product_count,
|
287
|
+
resource_id=self.resource_id,
|
288
|
+
resource_region=self.resource_region,
|
289
|
+
resource_type=self.resource_type,
|
290
|
+
state=self.state,
|
291
|
+
system_tags=self.system_tags,
|
292
|
+
target_count=self.target_count,
|
293
|
+
tenancy_id=self.tenancy_id,
|
294
|
+
tenancy_name=self.tenancy_name,
|
295
|
+
time_created=self.time_created,
|
296
|
+
time_updated=self.time_updated)
|
297
|
+
|
298
|
+
|
299
|
+
def get_fleet_resource(fleet_id: Optional[builtins.str] = None,
|
300
|
+
fleet_resource_id: Optional[builtins.str] = None,
|
301
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFleetResourceResult:
|
302
|
+
"""
|
303
|
+
This data source provides details about a specific Fleet Resource resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
304
|
+
|
305
|
+
Gets a fleet resource by identifier.
|
306
|
+
|
307
|
+
## Example Usage
|
308
|
+
|
309
|
+
```python
|
310
|
+
import pulumi
|
311
|
+
import pulumi_oci as oci
|
312
|
+
|
313
|
+
test_fleet_resource = oci.FleetAppsManagement.get_fleet_resource(fleet_id=test_fleet["id"],
|
314
|
+
fleet_resource_id=test_resource["id"])
|
315
|
+
```
|
316
|
+
|
317
|
+
|
318
|
+
:param builtins.str fleet_id: Unique Fleet identifier.
|
319
|
+
:param builtins.str fleet_resource_id: unique FleetResource identifier
|
320
|
+
"""
|
321
|
+
__args__ = dict()
|
322
|
+
__args__['fleetId'] = fleet_id
|
323
|
+
__args__['fleetResourceId'] = fleet_resource_id
|
324
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
325
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getFleetResource:getFleetResource', __args__, opts=opts, typ=GetFleetResourceResult).value
|
326
|
+
|
327
|
+
return AwaitableGetFleetResourceResult(
|
328
|
+
compartment=pulumi.get(__ret__, 'compartment'),
|
329
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
330
|
+
compliance_state=pulumi.get(__ret__, 'compliance_state'),
|
331
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
332
|
+
environment_type=pulumi.get(__ret__, 'environment_type'),
|
333
|
+
fleet_id=pulumi.get(__ret__, 'fleet_id'),
|
334
|
+
fleet_resource_id=pulumi.get(__ret__, 'fleet_resource_id'),
|
335
|
+
id=pulumi.get(__ret__, 'id'),
|
336
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
337
|
+
percent_compliant=pulumi.get(__ret__, 'percent_compliant'),
|
338
|
+
product=pulumi.get(__ret__, 'product'),
|
339
|
+
product_count=pulumi.get(__ret__, 'product_count'),
|
340
|
+
resource_id=pulumi.get(__ret__, 'resource_id'),
|
341
|
+
resource_region=pulumi.get(__ret__, 'resource_region'),
|
342
|
+
resource_type=pulumi.get(__ret__, 'resource_type'),
|
343
|
+
state=pulumi.get(__ret__, 'state'),
|
344
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
345
|
+
target_count=pulumi.get(__ret__, 'target_count'),
|
346
|
+
tenancy_id=pulumi.get(__ret__, 'tenancy_id'),
|
347
|
+
tenancy_name=pulumi.get(__ret__, 'tenancy_name'),
|
348
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
349
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
350
|
+
def get_fleet_resource_output(fleet_id: Optional[pulumi.Input[builtins.str]] = None,
|
351
|
+
fleet_resource_id: Optional[pulumi.Input[builtins.str]] = None,
|
352
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFleetResourceResult]:
|
353
|
+
"""
|
354
|
+
This data source provides details about a specific Fleet Resource resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
355
|
+
|
356
|
+
Gets a fleet resource by identifier.
|
357
|
+
|
358
|
+
## Example Usage
|
359
|
+
|
360
|
+
```python
|
361
|
+
import pulumi
|
362
|
+
import pulumi_oci as oci
|
363
|
+
|
364
|
+
test_fleet_resource = oci.FleetAppsManagement.get_fleet_resource(fleet_id=test_fleet["id"],
|
365
|
+
fleet_resource_id=test_resource["id"])
|
366
|
+
```
|
367
|
+
|
368
|
+
|
369
|
+
:param builtins.str fleet_id: Unique Fleet identifier.
|
370
|
+
:param builtins.str fleet_resource_id: unique FleetResource identifier
|
371
|
+
"""
|
372
|
+
__args__ = dict()
|
373
|
+
__args__['fleetId'] = fleet_id
|
374
|
+
__args__['fleetResourceId'] = fleet_resource_id
|
375
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
376
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getFleetResource:getFleetResource', __args__, opts=opts, typ=GetFleetResourceResult)
|
377
|
+
return __ret__.apply(lambda __response__: GetFleetResourceResult(
|
378
|
+
compartment=pulumi.get(__response__, 'compartment'),
|
379
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
380
|
+
compliance_state=pulumi.get(__response__, 'compliance_state'),
|
381
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
382
|
+
environment_type=pulumi.get(__response__, 'environment_type'),
|
383
|
+
fleet_id=pulumi.get(__response__, 'fleet_id'),
|
384
|
+
fleet_resource_id=pulumi.get(__response__, 'fleet_resource_id'),
|
385
|
+
id=pulumi.get(__response__, 'id'),
|
386
|
+
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
387
|
+
percent_compliant=pulumi.get(__response__, 'percent_compliant'),
|
388
|
+
product=pulumi.get(__response__, 'product'),
|
389
|
+
product_count=pulumi.get(__response__, 'product_count'),
|
390
|
+
resource_id=pulumi.get(__response__, 'resource_id'),
|
391
|
+
resource_region=pulumi.get(__response__, 'resource_region'),
|
392
|
+
resource_type=pulumi.get(__response__, 'resource_type'),
|
393
|
+
state=pulumi.get(__response__, 'state'),
|
394
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
395
|
+
target_count=pulumi.get(__response__, 'target_count'),
|
396
|
+
tenancy_id=pulumi.get(__response__, 'tenancy_id'),
|
397
|
+
tenancy_name=pulumi.get(__response__, 'tenancy_name'),
|
398
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
399
|
+
time_updated=pulumi.get(__response__, 'time_updated')))
|
@@ -0,0 +1,216 @@
|
|
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
|
+
'GetFleetResourcesResult',
|
22
|
+
'AwaitableGetFleetResourcesResult',
|
23
|
+
'get_fleet_resources',
|
24
|
+
'get_fleet_resources_output',
|
25
|
+
]
|
26
|
+
|
27
|
+
@pulumi.output_type
|
28
|
+
class GetFleetResourcesResult:
|
29
|
+
"""
|
30
|
+
A collection of values returned by getFleetResources.
|
31
|
+
"""
|
32
|
+
def __init__(__self__, display_name=None, filters=None, fleet_id=None, fleet_resource_collections=None, fleet_resource_type=None, id=None, state=None):
|
33
|
+
if display_name and not isinstance(display_name, str):
|
34
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
35
|
+
pulumi.set(__self__, "display_name", display_name)
|
36
|
+
if filters and not isinstance(filters, list):
|
37
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
38
|
+
pulumi.set(__self__, "filters", filters)
|
39
|
+
if fleet_id and not isinstance(fleet_id, str):
|
40
|
+
raise TypeError("Expected argument 'fleet_id' to be a str")
|
41
|
+
pulumi.set(__self__, "fleet_id", fleet_id)
|
42
|
+
if fleet_resource_collections and not isinstance(fleet_resource_collections, list):
|
43
|
+
raise TypeError("Expected argument 'fleet_resource_collections' to be a list")
|
44
|
+
pulumi.set(__self__, "fleet_resource_collections", fleet_resource_collections)
|
45
|
+
if fleet_resource_type and not isinstance(fleet_resource_type, str):
|
46
|
+
raise TypeError("Expected argument 'fleet_resource_type' to be a str")
|
47
|
+
pulumi.set(__self__, "fleet_resource_type", fleet_resource_type)
|
48
|
+
if id and not isinstance(id, str):
|
49
|
+
raise TypeError("Expected argument 'id' to be a str")
|
50
|
+
pulumi.set(__self__, "id", id)
|
51
|
+
if state and not isinstance(state, str):
|
52
|
+
raise TypeError("Expected argument 'state' to be a str")
|
53
|
+
pulumi.set(__self__, "state", state)
|
54
|
+
|
55
|
+
@property
|
56
|
+
@pulumi.getter(name="displayName")
|
57
|
+
def display_name(self) -> Optional[builtins.str]:
|
58
|
+
"""
|
59
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
60
|
+
"""
|
61
|
+
return pulumi.get(self, "display_name")
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter
|
65
|
+
def filters(self) -> Optional[Sequence['outputs.GetFleetResourcesFilterResult']]:
|
66
|
+
return pulumi.get(self, "filters")
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter(name="fleetId")
|
70
|
+
def fleet_id(self) -> builtins.str:
|
71
|
+
return pulumi.get(self, "fleet_id")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter(name="fleetResourceCollections")
|
75
|
+
def fleet_resource_collections(self) -> Sequence['outputs.GetFleetResourcesFleetResourceCollectionResult']:
|
76
|
+
"""
|
77
|
+
The list of fleet_resource_collection.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "fleet_resource_collections")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="fleetResourceType")
|
83
|
+
def fleet_resource_type(self) -> Optional[builtins.str]:
|
84
|
+
return pulumi.get(self, "fleet_resource_type")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter
|
88
|
+
def id(self) -> Optional[builtins.str]:
|
89
|
+
"""
|
90
|
+
The unique id of the resource.
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "id")
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter
|
96
|
+
def state(self) -> Optional[builtins.str]:
|
97
|
+
"""
|
98
|
+
The current state of the FleetResource.
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "state")
|
101
|
+
|
102
|
+
|
103
|
+
class AwaitableGetFleetResourcesResult(GetFleetResourcesResult):
|
104
|
+
# pylint: disable=using-constant-test
|
105
|
+
def __await__(self):
|
106
|
+
if False:
|
107
|
+
yield self
|
108
|
+
return GetFleetResourcesResult(
|
109
|
+
display_name=self.display_name,
|
110
|
+
filters=self.filters,
|
111
|
+
fleet_id=self.fleet_id,
|
112
|
+
fleet_resource_collections=self.fleet_resource_collections,
|
113
|
+
fleet_resource_type=self.fleet_resource_type,
|
114
|
+
id=self.id,
|
115
|
+
state=self.state)
|
116
|
+
|
117
|
+
|
118
|
+
def get_fleet_resources(display_name: Optional[builtins.str] = None,
|
119
|
+
filters: Optional[Sequence[Union['GetFleetResourcesFilterArgs', 'GetFleetResourcesFilterArgsDict']]] = None,
|
120
|
+
fleet_id: Optional[builtins.str] = None,
|
121
|
+
fleet_resource_type: Optional[builtins.str] = None,
|
122
|
+
id: Optional[builtins.str] = None,
|
123
|
+
state: Optional[builtins.str] = None,
|
124
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFleetResourcesResult:
|
125
|
+
"""
|
126
|
+
This data source provides the list of Fleet Resources in Oracle Cloud Infrastructure Fleet Apps Management service.
|
127
|
+
|
128
|
+
List resources for a fleet in Fleet Application Management.
|
129
|
+
|
130
|
+
## Example Usage
|
131
|
+
|
132
|
+
```python
|
133
|
+
import pulumi
|
134
|
+
import pulumi_oci as oci
|
135
|
+
|
136
|
+
test_fleet_resources = oci.FleetAppsManagement.get_fleet_resources(fleet_id=test_fleet["id"],
|
137
|
+
display_name=fleet_resource_display_name,
|
138
|
+
fleet_resource_type=fleet_resource_fleet_resource_type,
|
139
|
+
id=fleet_resource_id,
|
140
|
+
state=fleet_resource_state)
|
141
|
+
```
|
142
|
+
|
143
|
+
|
144
|
+
:param builtins.str display_name: A filter to return only resources that match the entire display name given.
|
145
|
+
:param builtins.str fleet_id: Unique Fleet identifier.
|
146
|
+
:param builtins.str fleet_resource_type: A filter to return only resources whose resourceType matches the given resourceType.
|
147
|
+
:param builtins.str id: A filter to return only resources whose identifier matches the given identifier.
|
148
|
+
:param builtins.str state: A filter to return only resources whose lifecycleState matches the given lifecycleState.
|
149
|
+
"""
|
150
|
+
__args__ = dict()
|
151
|
+
__args__['displayName'] = display_name
|
152
|
+
__args__['filters'] = filters
|
153
|
+
__args__['fleetId'] = fleet_id
|
154
|
+
__args__['fleetResourceType'] = fleet_resource_type
|
155
|
+
__args__['id'] = id
|
156
|
+
__args__['state'] = state
|
157
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
158
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getFleetResources:getFleetResources', __args__, opts=opts, typ=GetFleetResourcesResult).value
|
159
|
+
|
160
|
+
return AwaitableGetFleetResourcesResult(
|
161
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
162
|
+
filters=pulumi.get(__ret__, 'filters'),
|
163
|
+
fleet_id=pulumi.get(__ret__, 'fleet_id'),
|
164
|
+
fleet_resource_collections=pulumi.get(__ret__, 'fleet_resource_collections'),
|
165
|
+
fleet_resource_type=pulumi.get(__ret__, 'fleet_resource_type'),
|
166
|
+
id=pulumi.get(__ret__, 'id'),
|
167
|
+
state=pulumi.get(__ret__, 'state'))
|
168
|
+
def get_fleet_resources_output(display_name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
169
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetFleetResourcesFilterArgs', 'GetFleetResourcesFilterArgsDict']]]]] = None,
|
170
|
+
fleet_id: Optional[pulumi.Input[builtins.str]] = None,
|
171
|
+
fleet_resource_type: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
172
|
+
id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
173
|
+
state: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
174
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFleetResourcesResult]:
|
175
|
+
"""
|
176
|
+
This data source provides the list of Fleet Resources in Oracle Cloud Infrastructure Fleet Apps Management service.
|
177
|
+
|
178
|
+
List resources for a fleet in Fleet Application Management.
|
179
|
+
|
180
|
+
## Example Usage
|
181
|
+
|
182
|
+
```python
|
183
|
+
import pulumi
|
184
|
+
import pulumi_oci as oci
|
185
|
+
|
186
|
+
test_fleet_resources = oci.FleetAppsManagement.get_fleet_resources(fleet_id=test_fleet["id"],
|
187
|
+
display_name=fleet_resource_display_name,
|
188
|
+
fleet_resource_type=fleet_resource_fleet_resource_type,
|
189
|
+
id=fleet_resource_id,
|
190
|
+
state=fleet_resource_state)
|
191
|
+
```
|
192
|
+
|
193
|
+
|
194
|
+
:param builtins.str display_name: A filter to return only resources that match the entire display name given.
|
195
|
+
:param builtins.str fleet_id: Unique Fleet identifier.
|
196
|
+
:param builtins.str fleet_resource_type: A filter to return only resources whose resourceType matches the given resourceType.
|
197
|
+
:param builtins.str id: A filter to return only resources whose identifier matches the given identifier.
|
198
|
+
:param builtins.str state: A filter to return only resources whose lifecycleState matches the given lifecycleState.
|
199
|
+
"""
|
200
|
+
__args__ = dict()
|
201
|
+
__args__['displayName'] = display_name
|
202
|
+
__args__['filters'] = filters
|
203
|
+
__args__['fleetId'] = fleet_id
|
204
|
+
__args__['fleetResourceType'] = fleet_resource_type
|
205
|
+
__args__['id'] = id
|
206
|
+
__args__['state'] = state
|
207
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
208
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getFleetResources:getFleetResources', __args__, opts=opts, typ=GetFleetResourcesResult)
|
209
|
+
return __ret__.apply(lambda __response__: GetFleetResourcesResult(
|
210
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
211
|
+
filters=pulumi.get(__response__, 'filters'),
|
212
|
+
fleet_id=pulumi.get(__response__, 'fleet_id'),
|
213
|
+
fleet_resource_collections=pulumi.get(__response__, 'fleet_resource_collections'),
|
214
|
+
fleet_resource_type=pulumi.get(__response__, 'fleet_resource_type'),
|
215
|
+
id=pulumi.get(__response__, 'id'),
|
216
|
+
state=pulumi.get(__response__, 'state')))
|