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,308 @@
|
|
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
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetTaskRecordResult',
|
21
|
+
'AwaitableGetTaskRecordResult',
|
22
|
+
'get_task_record',
|
23
|
+
'get_task_record_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetTaskRecordResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getTaskRecord.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, defined_tags=None, description=None, details=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, resource_region=None, state=None, system_tags=None, task_record_id=None, time_created=None, time_updated=None, type=None, version=None):
|
32
|
+
if compartment_id and not isinstance(compartment_id, str):
|
33
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
34
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
35
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
36
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
37
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
38
|
+
if description and not isinstance(description, str):
|
39
|
+
raise TypeError("Expected argument 'description' to be a str")
|
40
|
+
pulumi.set(__self__, "description", description)
|
41
|
+
if details and not isinstance(details, list):
|
42
|
+
raise TypeError("Expected argument 'details' to be a list")
|
43
|
+
pulumi.set(__self__, "details", details)
|
44
|
+
if display_name and not isinstance(display_name, str):
|
45
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
46
|
+
pulumi.set(__self__, "display_name", display_name)
|
47
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
48
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
49
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
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 lifecycle_details and not isinstance(lifecycle_details, str):
|
54
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
55
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
56
|
+
if resource_region and not isinstance(resource_region, str):
|
57
|
+
raise TypeError("Expected argument 'resource_region' to be a str")
|
58
|
+
pulumi.set(__self__, "resource_region", resource_region)
|
59
|
+
if state and not isinstance(state, str):
|
60
|
+
raise TypeError("Expected argument 'state' to be a str")
|
61
|
+
pulumi.set(__self__, "state", state)
|
62
|
+
if system_tags and not isinstance(system_tags, dict):
|
63
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
64
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
65
|
+
if task_record_id and not isinstance(task_record_id, str):
|
66
|
+
raise TypeError("Expected argument 'task_record_id' to be a str")
|
67
|
+
pulumi.set(__self__, "task_record_id", task_record_id)
|
68
|
+
if time_created and not isinstance(time_created, str):
|
69
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
70
|
+
pulumi.set(__self__, "time_created", time_created)
|
71
|
+
if time_updated and not isinstance(time_updated, str):
|
72
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
73
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
74
|
+
if type and not isinstance(type, str):
|
75
|
+
raise TypeError("Expected argument 'type' to be a str")
|
76
|
+
pulumi.set(__self__, "type", type)
|
77
|
+
if version and not isinstance(version, str):
|
78
|
+
raise TypeError("Expected argument 'version' to be a str")
|
79
|
+
pulumi.set(__self__, "version", version)
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="compartmentId")
|
83
|
+
def compartment_id(self) -> builtins.str:
|
84
|
+
return pulumi.get(self, "compartment_id")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter(name="definedTags")
|
88
|
+
def defined_tags(self) -> Mapping[str, builtins.str]:
|
89
|
+
"""
|
90
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "defined_tags")
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter
|
96
|
+
def description(self) -> builtins.str:
|
97
|
+
"""
|
98
|
+
The description of the argument.
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "description")
|
101
|
+
|
102
|
+
@property
|
103
|
+
@pulumi.getter
|
104
|
+
def details(self) -> Sequence['outputs.GetTaskRecordDetailResult']:
|
105
|
+
"""
|
106
|
+
The details of the task.
|
107
|
+
"""
|
108
|
+
return pulumi.get(self, "details")
|
109
|
+
|
110
|
+
@property
|
111
|
+
@pulumi.getter(name="displayName")
|
112
|
+
def display_name(self) -> builtins.str:
|
113
|
+
"""
|
114
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
115
|
+
"""
|
116
|
+
return pulumi.get(self, "display_name")
|
117
|
+
|
118
|
+
@property
|
119
|
+
@pulumi.getter(name="freeformTags")
|
120
|
+
def freeform_tags(self) -> Mapping[str, builtins.str]:
|
121
|
+
"""
|
122
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
123
|
+
"""
|
124
|
+
return pulumi.get(self, "freeform_tags")
|
125
|
+
|
126
|
+
@property
|
127
|
+
@pulumi.getter
|
128
|
+
def id(self) -> builtins.str:
|
129
|
+
"""
|
130
|
+
The OCID of the resource.
|
131
|
+
"""
|
132
|
+
return pulumi.get(self, "id")
|
133
|
+
|
134
|
+
@property
|
135
|
+
@pulumi.getter(name="lifecycleDetails")
|
136
|
+
def lifecycle_details(self) -> builtins.str:
|
137
|
+
"""
|
138
|
+
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
139
|
+
"""
|
140
|
+
return pulumi.get(self, "lifecycle_details")
|
141
|
+
|
142
|
+
@property
|
143
|
+
@pulumi.getter(name="resourceRegion")
|
144
|
+
def resource_region(self) -> builtins.str:
|
145
|
+
"""
|
146
|
+
Associated region
|
147
|
+
"""
|
148
|
+
return pulumi.get(self, "resource_region")
|
149
|
+
|
150
|
+
@property
|
151
|
+
@pulumi.getter
|
152
|
+
def state(self) -> builtins.str:
|
153
|
+
"""
|
154
|
+
The current state of the task record.
|
155
|
+
"""
|
156
|
+
return pulumi.get(self, "state")
|
157
|
+
|
158
|
+
@property
|
159
|
+
@pulumi.getter(name="systemTags")
|
160
|
+
def system_tags(self) -> Mapping[str, builtins.str]:
|
161
|
+
"""
|
162
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
163
|
+
"""
|
164
|
+
return pulumi.get(self, "system_tags")
|
165
|
+
|
166
|
+
@property
|
167
|
+
@pulumi.getter(name="taskRecordId")
|
168
|
+
def task_record_id(self) -> builtins.str:
|
169
|
+
return pulumi.get(self, "task_record_id")
|
170
|
+
|
171
|
+
@property
|
172
|
+
@pulumi.getter(name="timeCreated")
|
173
|
+
def time_created(self) -> builtins.str:
|
174
|
+
"""
|
175
|
+
The time this resource was created. An RFC3339 formatted datetime string.
|
176
|
+
"""
|
177
|
+
return pulumi.get(self, "time_created")
|
178
|
+
|
179
|
+
@property
|
180
|
+
@pulumi.getter(name="timeUpdated")
|
181
|
+
def time_updated(self) -> builtins.str:
|
182
|
+
"""
|
183
|
+
The time this resource was last updated. An RFC3339 formatted datetime string.
|
184
|
+
"""
|
185
|
+
return pulumi.get(self, "time_updated")
|
186
|
+
|
187
|
+
@property
|
188
|
+
@pulumi.getter
|
189
|
+
def type(self) -> builtins.str:
|
190
|
+
"""
|
191
|
+
Task type.
|
192
|
+
"""
|
193
|
+
return pulumi.get(self, "type")
|
194
|
+
|
195
|
+
@property
|
196
|
+
@pulumi.getter
|
197
|
+
def version(self) -> builtins.str:
|
198
|
+
"""
|
199
|
+
The version of the task record.
|
200
|
+
"""
|
201
|
+
return pulumi.get(self, "version")
|
202
|
+
|
203
|
+
|
204
|
+
class AwaitableGetTaskRecordResult(GetTaskRecordResult):
|
205
|
+
# pylint: disable=using-constant-test
|
206
|
+
def __await__(self):
|
207
|
+
if False:
|
208
|
+
yield self
|
209
|
+
return GetTaskRecordResult(
|
210
|
+
compartment_id=self.compartment_id,
|
211
|
+
defined_tags=self.defined_tags,
|
212
|
+
description=self.description,
|
213
|
+
details=self.details,
|
214
|
+
display_name=self.display_name,
|
215
|
+
freeform_tags=self.freeform_tags,
|
216
|
+
id=self.id,
|
217
|
+
lifecycle_details=self.lifecycle_details,
|
218
|
+
resource_region=self.resource_region,
|
219
|
+
state=self.state,
|
220
|
+
system_tags=self.system_tags,
|
221
|
+
task_record_id=self.task_record_id,
|
222
|
+
time_created=self.time_created,
|
223
|
+
time_updated=self.time_updated,
|
224
|
+
type=self.type,
|
225
|
+
version=self.version)
|
226
|
+
|
227
|
+
|
228
|
+
def get_task_record(task_record_id: Optional[builtins.str] = None,
|
229
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTaskRecordResult:
|
230
|
+
"""
|
231
|
+
This data source provides details about a specific Task Record resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
232
|
+
|
233
|
+
Gets information for the specified task record.
|
234
|
+
|
235
|
+
## Example Usage
|
236
|
+
|
237
|
+
```python
|
238
|
+
import pulumi
|
239
|
+
import pulumi_oci as oci
|
240
|
+
|
241
|
+
test_task_record = oci.FleetAppsManagement.get_task_record(task_record_id=test_task_record_oci_fleet_apps_management_task_record["id"])
|
242
|
+
```
|
243
|
+
|
244
|
+
|
245
|
+
:param builtins.str task_record_id: The OCID of the task record.
|
246
|
+
"""
|
247
|
+
__args__ = dict()
|
248
|
+
__args__['taskRecordId'] = task_record_id
|
249
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
250
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getTaskRecord:getTaskRecord', __args__, opts=opts, typ=GetTaskRecordResult).value
|
251
|
+
|
252
|
+
return AwaitableGetTaskRecordResult(
|
253
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
254
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
255
|
+
description=pulumi.get(__ret__, 'description'),
|
256
|
+
details=pulumi.get(__ret__, 'details'),
|
257
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
258
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
259
|
+
id=pulumi.get(__ret__, 'id'),
|
260
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
261
|
+
resource_region=pulumi.get(__ret__, 'resource_region'),
|
262
|
+
state=pulumi.get(__ret__, 'state'),
|
263
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
264
|
+
task_record_id=pulumi.get(__ret__, 'task_record_id'),
|
265
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
266
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
267
|
+
type=pulumi.get(__ret__, 'type'),
|
268
|
+
version=pulumi.get(__ret__, 'version'))
|
269
|
+
def get_task_record_output(task_record_id: Optional[pulumi.Input[builtins.str]] = None,
|
270
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTaskRecordResult]:
|
271
|
+
"""
|
272
|
+
This data source provides details about a specific Task Record resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
273
|
+
|
274
|
+
Gets information for the specified task record.
|
275
|
+
|
276
|
+
## Example Usage
|
277
|
+
|
278
|
+
```python
|
279
|
+
import pulumi
|
280
|
+
import pulumi_oci as oci
|
281
|
+
|
282
|
+
test_task_record = oci.FleetAppsManagement.get_task_record(task_record_id=test_task_record_oci_fleet_apps_management_task_record["id"])
|
283
|
+
```
|
284
|
+
|
285
|
+
|
286
|
+
:param builtins.str task_record_id: The OCID of the task record.
|
287
|
+
"""
|
288
|
+
__args__ = dict()
|
289
|
+
__args__['taskRecordId'] = task_record_id
|
290
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
291
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getTaskRecord:getTaskRecord', __args__, opts=opts, typ=GetTaskRecordResult)
|
292
|
+
return __ret__.apply(lambda __response__: GetTaskRecordResult(
|
293
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
294
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
295
|
+
description=pulumi.get(__response__, 'description'),
|
296
|
+
details=pulumi.get(__response__, 'details'),
|
297
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
298
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
299
|
+
id=pulumi.get(__response__, 'id'),
|
300
|
+
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
301
|
+
resource_region=pulumi.get(__response__, 'resource_region'),
|
302
|
+
state=pulumi.get(__response__, 'state'),
|
303
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
304
|
+
task_record_id=pulumi.get(__response__, 'task_record_id'),
|
305
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
306
|
+
time_updated=pulumi.get(__response__, 'time_updated'),
|
307
|
+
type=pulumi.get(__response__, 'type'),
|
308
|
+
version=pulumi.get(__response__, 'version')))
|
@@ -0,0 +1,265 @@
|
|
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
|
+
'GetTaskRecordsResult',
|
22
|
+
'AwaitableGetTaskRecordsResult',
|
23
|
+
'get_task_records',
|
24
|
+
'get_task_records_output',
|
25
|
+
]
|
26
|
+
|
27
|
+
@pulumi.output_type
|
28
|
+
class GetTaskRecordsResult:
|
29
|
+
"""
|
30
|
+
A collection of values returned by getTaskRecords.
|
31
|
+
"""
|
32
|
+
def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, operation=None, platform=None, state=None, task_record_collections=None, type=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 display_name and not isinstance(display_name, str):
|
37
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
38
|
+
pulumi.set(__self__, "display_name", display_name)
|
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 id and not isinstance(id, str):
|
43
|
+
raise TypeError("Expected argument 'id' to be a str")
|
44
|
+
pulumi.set(__self__, "id", id)
|
45
|
+
if operation and not isinstance(operation, str):
|
46
|
+
raise TypeError("Expected argument 'operation' to be a str")
|
47
|
+
pulumi.set(__self__, "operation", operation)
|
48
|
+
if platform and not isinstance(platform, str):
|
49
|
+
raise TypeError("Expected argument 'platform' to be a str")
|
50
|
+
pulumi.set(__self__, "platform", platform)
|
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
|
+
if task_record_collections and not isinstance(task_record_collections, list):
|
55
|
+
raise TypeError("Expected argument 'task_record_collections' to be a list")
|
56
|
+
pulumi.set(__self__, "task_record_collections", task_record_collections)
|
57
|
+
if type and not isinstance(type, str):
|
58
|
+
raise TypeError("Expected argument 'type' to be a str")
|
59
|
+
pulumi.set(__self__, "type", type)
|
60
|
+
|
61
|
+
@property
|
62
|
+
@pulumi.getter(name="compartmentId")
|
63
|
+
def compartment_id(self) -> Optional[builtins.str]:
|
64
|
+
return pulumi.get(self, "compartment_id")
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="displayName")
|
68
|
+
def display_name(self) -> Optional[builtins.str]:
|
69
|
+
"""
|
70
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "display_name")
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter
|
76
|
+
def filters(self) -> Optional[Sequence['outputs.GetTaskRecordsFilterResult']]:
|
77
|
+
return pulumi.get(self, "filters")
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter
|
81
|
+
def id(self) -> Optional[builtins.str]:
|
82
|
+
"""
|
83
|
+
The OCID of the resource.
|
84
|
+
"""
|
85
|
+
return pulumi.get(self, "id")
|
86
|
+
|
87
|
+
@property
|
88
|
+
@pulumi.getter
|
89
|
+
def operation(self) -> Optional[builtins.str]:
|
90
|
+
"""
|
91
|
+
The lifecycle operation performed by the runbook.
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "operation")
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter
|
97
|
+
def platform(self) -> Optional[builtins.str]:
|
98
|
+
"""
|
99
|
+
The platform of the runbook.
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "platform")
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter
|
105
|
+
def state(self) -> Optional[builtins.str]:
|
106
|
+
"""
|
107
|
+
The current state of the task record.
|
108
|
+
"""
|
109
|
+
return pulumi.get(self, "state")
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter(name="taskRecordCollections")
|
113
|
+
def task_record_collections(self) -> Sequence['outputs.GetTaskRecordsTaskRecordCollectionResult']:
|
114
|
+
"""
|
115
|
+
The list of task_record_collection.
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "task_record_collections")
|
118
|
+
|
119
|
+
@property
|
120
|
+
@pulumi.getter
|
121
|
+
def type(self) -> Optional[builtins.str]:
|
122
|
+
"""
|
123
|
+
Task type.
|
124
|
+
"""
|
125
|
+
return pulumi.get(self, "type")
|
126
|
+
|
127
|
+
|
128
|
+
class AwaitableGetTaskRecordsResult(GetTaskRecordsResult):
|
129
|
+
# pylint: disable=using-constant-test
|
130
|
+
def __await__(self):
|
131
|
+
if False:
|
132
|
+
yield self
|
133
|
+
return GetTaskRecordsResult(
|
134
|
+
compartment_id=self.compartment_id,
|
135
|
+
display_name=self.display_name,
|
136
|
+
filters=self.filters,
|
137
|
+
id=self.id,
|
138
|
+
operation=self.operation,
|
139
|
+
platform=self.platform,
|
140
|
+
state=self.state,
|
141
|
+
task_record_collections=self.task_record_collections,
|
142
|
+
type=self.type)
|
143
|
+
|
144
|
+
|
145
|
+
def get_task_records(compartment_id: Optional[builtins.str] = None,
|
146
|
+
display_name: Optional[builtins.str] = None,
|
147
|
+
filters: Optional[Sequence[Union['GetTaskRecordsFilterArgs', 'GetTaskRecordsFilterArgsDict']]] = None,
|
148
|
+
id: Optional[builtins.str] = None,
|
149
|
+
operation: Optional[builtins.str] = None,
|
150
|
+
platform: Optional[builtins.str] = None,
|
151
|
+
state: Optional[builtins.str] = None,
|
152
|
+
type: Optional[builtins.str] = None,
|
153
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTaskRecordsResult:
|
154
|
+
"""
|
155
|
+
This data source provides the list of Task Records in Oracle Cloud Infrastructure Fleet Apps Management service.
|
156
|
+
|
157
|
+
Returns a list of all the task records in the specified compartment.
|
158
|
+
The query parameter `compartmentId` is required unless the query parameter `id` is specified.
|
159
|
+
|
160
|
+
## Example Usage
|
161
|
+
|
162
|
+
```python
|
163
|
+
import pulumi
|
164
|
+
import pulumi_oci as oci
|
165
|
+
|
166
|
+
test_task_records = oci.FleetAppsManagement.get_task_records(compartment_id=compartment_id,
|
167
|
+
display_name=task_record_display_name,
|
168
|
+
id=task_record_id,
|
169
|
+
operation=task_record_operation,
|
170
|
+
platform=task_record_platform,
|
171
|
+
state=task_record_state,
|
172
|
+
type=task_record_type)
|
173
|
+
```
|
174
|
+
|
175
|
+
|
176
|
+
: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.
|
177
|
+
:param builtins.str display_name: A filter to return only resources that match the entire display name given.
|
178
|
+
:param builtins.str id: Unique identifier or OCID for listing a single task record by id. Either compartmentId or id must be provided.
|
179
|
+
:param builtins.str operation: A filter to return task records whose operation matches the given lifecycle operation.
|
180
|
+
:param builtins.str platform: The platform for the task record.
|
181
|
+
:param builtins.str state: The current state of the task record.
|
182
|
+
:param builtins.str type: The type of the Task.
|
183
|
+
"""
|
184
|
+
__args__ = dict()
|
185
|
+
__args__['compartmentId'] = compartment_id
|
186
|
+
__args__['displayName'] = display_name
|
187
|
+
__args__['filters'] = filters
|
188
|
+
__args__['id'] = id
|
189
|
+
__args__['operation'] = operation
|
190
|
+
__args__['platform'] = platform
|
191
|
+
__args__['state'] = state
|
192
|
+
__args__['type'] = type
|
193
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
194
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getTaskRecords:getTaskRecords', __args__, opts=opts, typ=GetTaskRecordsResult).value
|
195
|
+
|
196
|
+
return AwaitableGetTaskRecordsResult(
|
197
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
198
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
199
|
+
filters=pulumi.get(__ret__, 'filters'),
|
200
|
+
id=pulumi.get(__ret__, 'id'),
|
201
|
+
operation=pulumi.get(__ret__, 'operation'),
|
202
|
+
platform=pulumi.get(__ret__, 'platform'),
|
203
|
+
state=pulumi.get(__ret__, 'state'),
|
204
|
+
task_record_collections=pulumi.get(__ret__, 'task_record_collections'),
|
205
|
+
type=pulumi.get(__ret__, 'type'))
|
206
|
+
def get_task_records_output(compartment_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
207
|
+
display_name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
208
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetTaskRecordsFilterArgs', 'GetTaskRecordsFilterArgsDict']]]]] = None,
|
209
|
+
id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
210
|
+
operation: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
211
|
+
platform: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
212
|
+
state: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
213
|
+
type: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
214
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTaskRecordsResult]:
|
215
|
+
"""
|
216
|
+
This data source provides the list of Task Records in Oracle Cloud Infrastructure Fleet Apps Management service.
|
217
|
+
|
218
|
+
Returns a list of all the task records in the specified compartment.
|
219
|
+
The query parameter `compartmentId` is required unless the query parameter `id` is specified.
|
220
|
+
|
221
|
+
## Example Usage
|
222
|
+
|
223
|
+
```python
|
224
|
+
import pulumi
|
225
|
+
import pulumi_oci as oci
|
226
|
+
|
227
|
+
test_task_records = oci.FleetAppsManagement.get_task_records(compartment_id=compartment_id,
|
228
|
+
display_name=task_record_display_name,
|
229
|
+
id=task_record_id,
|
230
|
+
operation=task_record_operation,
|
231
|
+
platform=task_record_platform,
|
232
|
+
state=task_record_state,
|
233
|
+
type=task_record_type)
|
234
|
+
```
|
235
|
+
|
236
|
+
|
237
|
+
: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.
|
238
|
+
:param builtins.str display_name: A filter to return only resources that match the entire display name given.
|
239
|
+
:param builtins.str id: Unique identifier or OCID for listing a single task record by id. Either compartmentId or id must be provided.
|
240
|
+
:param builtins.str operation: A filter to return task records whose operation matches the given lifecycle operation.
|
241
|
+
:param builtins.str platform: The platform for the task record.
|
242
|
+
:param builtins.str state: The current state of the task record.
|
243
|
+
:param builtins.str type: The type of the Task.
|
244
|
+
"""
|
245
|
+
__args__ = dict()
|
246
|
+
__args__['compartmentId'] = compartment_id
|
247
|
+
__args__['displayName'] = display_name
|
248
|
+
__args__['filters'] = filters
|
249
|
+
__args__['id'] = id
|
250
|
+
__args__['operation'] = operation
|
251
|
+
__args__['platform'] = platform
|
252
|
+
__args__['state'] = state
|
253
|
+
__args__['type'] = type
|
254
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
255
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getTaskRecords:getTaskRecords', __args__, opts=opts, typ=GetTaskRecordsResult)
|
256
|
+
return __ret__.apply(lambda __response__: GetTaskRecordsResult(
|
257
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
258
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
259
|
+
filters=pulumi.get(__response__, 'filters'),
|
260
|
+
id=pulumi.get(__response__, 'id'),
|
261
|
+
operation=pulumi.get(__response__, 'operation'),
|
262
|
+
platform=pulumi.get(__response__, 'platform'),
|
263
|
+
state=pulumi.get(__response__, 'state'),
|
264
|
+
task_record_collections=pulumi.get(__response__, 'task_record_collections'),
|
265
|
+
type=pulumi.get(__response__, 'type')))
|