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,325 @@
|
|
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
|
+
'GetCompliancePolicyRuleResult',
|
21
|
+
'AwaitableGetCompliancePolicyRuleResult',
|
22
|
+
'get_compliance_policy_rule',
|
23
|
+
'get_compliance_policy_rule_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetCompliancePolicyRuleResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getCompliancePolicyRule.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, compliance_policy_id=None, compliance_policy_rule_id=None, defined_tags=None, display_name=None, freeform_tags=None, grace_period=None, id=None, lifecycle_details=None, patch_selections=None, patch_type_ids=None, product_versions=None, severities=None, state=None, system_tags=None, time_created=None, time_updated=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 compliance_policy_id and not isinstance(compliance_policy_id, str):
|
36
|
+
raise TypeError("Expected argument 'compliance_policy_id' to be a str")
|
37
|
+
pulumi.set(__self__, "compliance_policy_id", compliance_policy_id)
|
38
|
+
if compliance_policy_rule_id and not isinstance(compliance_policy_rule_id, str):
|
39
|
+
raise TypeError("Expected argument 'compliance_policy_rule_id' to be a str")
|
40
|
+
pulumi.set(__self__, "compliance_policy_rule_id", compliance_policy_rule_id)
|
41
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
42
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
43
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
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 grace_period and not isinstance(grace_period, str):
|
51
|
+
raise TypeError("Expected argument 'grace_period' to be a str")
|
52
|
+
pulumi.set(__self__, "grace_period", grace_period)
|
53
|
+
if id and not isinstance(id, str):
|
54
|
+
raise TypeError("Expected argument 'id' to be a str")
|
55
|
+
pulumi.set(__self__, "id", id)
|
56
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
57
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
58
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
59
|
+
if patch_selections and not isinstance(patch_selections, list):
|
60
|
+
raise TypeError("Expected argument 'patch_selections' to be a list")
|
61
|
+
pulumi.set(__self__, "patch_selections", patch_selections)
|
62
|
+
if patch_type_ids and not isinstance(patch_type_ids, list):
|
63
|
+
raise TypeError("Expected argument 'patch_type_ids' to be a list")
|
64
|
+
pulumi.set(__self__, "patch_type_ids", patch_type_ids)
|
65
|
+
if product_versions and not isinstance(product_versions, list):
|
66
|
+
raise TypeError("Expected argument 'product_versions' to be a list")
|
67
|
+
pulumi.set(__self__, "product_versions", product_versions)
|
68
|
+
if severities and not isinstance(severities, list):
|
69
|
+
raise TypeError("Expected argument 'severities' to be a list")
|
70
|
+
pulumi.set(__self__, "severities", severities)
|
71
|
+
if state and not isinstance(state, str):
|
72
|
+
raise TypeError("Expected argument 'state' to be a str")
|
73
|
+
pulumi.set(__self__, "state", state)
|
74
|
+
if system_tags and not isinstance(system_tags, dict):
|
75
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
76
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
77
|
+
if time_created and not isinstance(time_created, str):
|
78
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
79
|
+
pulumi.set(__self__, "time_created", time_created)
|
80
|
+
if time_updated and not isinstance(time_updated, str):
|
81
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
82
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter(name="compartmentId")
|
86
|
+
def compartment_id(self) -> builtins.str:
|
87
|
+
"""
|
88
|
+
The OCID of the compartment the CompliancePolicyRule belongs to.
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "compartment_id")
|
91
|
+
|
92
|
+
@property
|
93
|
+
@pulumi.getter(name="compliancePolicyId")
|
94
|
+
def compliance_policy_id(self) -> builtins.str:
|
95
|
+
"""
|
96
|
+
Unique OCID of the CompliancePolicy.
|
97
|
+
"""
|
98
|
+
return pulumi.get(self, "compliance_policy_id")
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter(name="compliancePolicyRuleId")
|
102
|
+
def compliance_policy_rule_id(self) -> builtins.str:
|
103
|
+
return pulumi.get(self, "compliance_policy_rule_id")
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter(name="definedTags")
|
107
|
+
def defined_tags(self) -> Mapping[str, builtins.str]:
|
108
|
+
"""
|
109
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "defined_tags")
|
112
|
+
|
113
|
+
@property
|
114
|
+
@pulumi.getter(name="displayName")
|
115
|
+
def display_name(self) -> builtins.str:
|
116
|
+
"""
|
117
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
118
|
+
"""
|
119
|
+
return pulumi.get(self, "display_name")
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter(name="freeformTags")
|
123
|
+
def freeform_tags(self) -> Mapping[str, builtins.str]:
|
124
|
+
"""
|
125
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
126
|
+
"""
|
127
|
+
return pulumi.get(self, "freeform_tags")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="gracePeriod")
|
131
|
+
def grace_period(self) -> builtins.str:
|
132
|
+
"""
|
133
|
+
Grace period in days,weeks,months or years the exemption is applicable for the rule. This enables a grace period when Fleet Application Management doesn't report the product as noncompliant when patch is not applied.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "grace_period")
|
136
|
+
|
137
|
+
@property
|
138
|
+
@pulumi.getter
|
139
|
+
def id(self) -> builtins.str:
|
140
|
+
"""
|
141
|
+
Unique OCID of the CompliancePolicyRule.
|
142
|
+
"""
|
143
|
+
return pulumi.get(self, "id")
|
144
|
+
|
145
|
+
@property
|
146
|
+
@pulumi.getter(name="lifecycleDetails")
|
147
|
+
def lifecycle_details(self) -> builtins.str:
|
148
|
+
"""
|
149
|
+
A message that describes the current state of the CompliancePolicyRule in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
|
150
|
+
"""
|
151
|
+
return pulumi.get(self, "lifecycle_details")
|
152
|
+
|
153
|
+
@property
|
154
|
+
@pulumi.getter(name="patchSelections")
|
155
|
+
def patch_selections(self) -> Sequence['outputs.GetCompliancePolicyRulePatchSelectionResult']:
|
156
|
+
"""
|
157
|
+
Patch Selection Details
|
158
|
+
"""
|
159
|
+
return pulumi.get(self, "patch_selections")
|
160
|
+
|
161
|
+
@property
|
162
|
+
@pulumi.getter(name="patchTypeIds")
|
163
|
+
def patch_type_ids(self) -> Sequence[builtins.str]:
|
164
|
+
"""
|
165
|
+
PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
|
166
|
+
"""
|
167
|
+
return pulumi.get(self, "patch_type_ids")
|
168
|
+
|
169
|
+
@property
|
170
|
+
@pulumi.getter(name="productVersions")
|
171
|
+
def product_versions(self) -> Sequence['outputs.GetCompliancePolicyRuleProductVersionResult']:
|
172
|
+
"""
|
173
|
+
A specific product version or a specific version and succeeding. Example: 12.1 or 12.1 and above for Oracle WebLogic Application server. The policy applies to the next version only, and not to other versions such as, 12.1.x.
|
174
|
+
"""
|
175
|
+
return pulumi.get(self, "product_versions")
|
176
|
+
|
177
|
+
@property
|
178
|
+
@pulumi.getter
|
179
|
+
def severities(self) -> Sequence[builtins.str]:
|
180
|
+
"""
|
181
|
+
Severity to which this CompliancePolicyRule applies.
|
182
|
+
"""
|
183
|
+
return pulumi.get(self, "severities")
|
184
|
+
|
185
|
+
@property
|
186
|
+
@pulumi.getter
|
187
|
+
def state(self) -> builtins.str:
|
188
|
+
"""
|
189
|
+
The current state of the CompliancePolicyRule.
|
190
|
+
"""
|
191
|
+
return pulumi.get(self, "state")
|
192
|
+
|
193
|
+
@property
|
194
|
+
@pulumi.getter(name="systemTags")
|
195
|
+
def system_tags(self) -> Mapping[str, builtins.str]:
|
196
|
+
"""
|
197
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
198
|
+
"""
|
199
|
+
return pulumi.get(self, "system_tags")
|
200
|
+
|
201
|
+
@property
|
202
|
+
@pulumi.getter(name="timeCreated")
|
203
|
+
def time_created(self) -> builtins.str:
|
204
|
+
"""
|
205
|
+
The date and time the CompliancePolicyRule was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
206
|
+
"""
|
207
|
+
return pulumi.get(self, "time_created")
|
208
|
+
|
209
|
+
@property
|
210
|
+
@pulumi.getter(name="timeUpdated")
|
211
|
+
def time_updated(self) -> builtins.str:
|
212
|
+
"""
|
213
|
+
The date and time the CompliancePolicyRule was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
214
|
+
"""
|
215
|
+
return pulumi.get(self, "time_updated")
|
216
|
+
|
217
|
+
|
218
|
+
class AwaitableGetCompliancePolicyRuleResult(GetCompliancePolicyRuleResult):
|
219
|
+
# pylint: disable=using-constant-test
|
220
|
+
def __await__(self):
|
221
|
+
if False:
|
222
|
+
yield self
|
223
|
+
return GetCompliancePolicyRuleResult(
|
224
|
+
compartment_id=self.compartment_id,
|
225
|
+
compliance_policy_id=self.compliance_policy_id,
|
226
|
+
compliance_policy_rule_id=self.compliance_policy_rule_id,
|
227
|
+
defined_tags=self.defined_tags,
|
228
|
+
display_name=self.display_name,
|
229
|
+
freeform_tags=self.freeform_tags,
|
230
|
+
grace_period=self.grace_period,
|
231
|
+
id=self.id,
|
232
|
+
lifecycle_details=self.lifecycle_details,
|
233
|
+
patch_selections=self.patch_selections,
|
234
|
+
patch_type_ids=self.patch_type_ids,
|
235
|
+
product_versions=self.product_versions,
|
236
|
+
severities=self.severities,
|
237
|
+
state=self.state,
|
238
|
+
system_tags=self.system_tags,
|
239
|
+
time_created=self.time_created,
|
240
|
+
time_updated=self.time_updated)
|
241
|
+
|
242
|
+
|
243
|
+
def get_compliance_policy_rule(compliance_policy_rule_id: Optional[builtins.str] = None,
|
244
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCompliancePolicyRuleResult:
|
245
|
+
"""
|
246
|
+
This data source provides details about a specific Compliance Policy Rule resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
247
|
+
|
248
|
+
Gets information about a compliance policy rule.
|
249
|
+
|
250
|
+
## Example Usage
|
251
|
+
|
252
|
+
```python
|
253
|
+
import pulumi
|
254
|
+
import pulumi_oci as oci
|
255
|
+
|
256
|
+
test_compliance_policy_rule = oci.FleetAppsManagement.get_compliance_policy_rule(compliance_policy_rule_id=test_compliance_policy_rule_oci_fleet_apps_management_compliance_policy_rule["id"])
|
257
|
+
```
|
258
|
+
|
259
|
+
|
260
|
+
:param builtins.str compliance_policy_rule_id: unique CompliancePolicyRule identifier.
|
261
|
+
"""
|
262
|
+
__args__ = dict()
|
263
|
+
__args__['compliancePolicyRuleId'] = compliance_policy_rule_id
|
264
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
265
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getCompliancePolicyRule:getCompliancePolicyRule', __args__, opts=opts, typ=GetCompliancePolicyRuleResult).value
|
266
|
+
|
267
|
+
return AwaitableGetCompliancePolicyRuleResult(
|
268
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
269
|
+
compliance_policy_id=pulumi.get(__ret__, 'compliance_policy_id'),
|
270
|
+
compliance_policy_rule_id=pulumi.get(__ret__, 'compliance_policy_rule_id'),
|
271
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
272
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
273
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
274
|
+
grace_period=pulumi.get(__ret__, 'grace_period'),
|
275
|
+
id=pulumi.get(__ret__, 'id'),
|
276
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
277
|
+
patch_selections=pulumi.get(__ret__, 'patch_selections'),
|
278
|
+
patch_type_ids=pulumi.get(__ret__, 'patch_type_ids'),
|
279
|
+
product_versions=pulumi.get(__ret__, 'product_versions'),
|
280
|
+
severities=pulumi.get(__ret__, 'severities'),
|
281
|
+
state=pulumi.get(__ret__, 'state'),
|
282
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
283
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
284
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
285
|
+
def get_compliance_policy_rule_output(compliance_policy_rule_id: Optional[pulumi.Input[builtins.str]] = None,
|
286
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCompliancePolicyRuleResult]:
|
287
|
+
"""
|
288
|
+
This data source provides details about a specific Compliance Policy Rule resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
289
|
+
|
290
|
+
Gets information about a compliance policy rule.
|
291
|
+
|
292
|
+
## Example Usage
|
293
|
+
|
294
|
+
```python
|
295
|
+
import pulumi
|
296
|
+
import pulumi_oci as oci
|
297
|
+
|
298
|
+
test_compliance_policy_rule = oci.FleetAppsManagement.get_compliance_policy_rule(compliance_policy_rule_id=test_compliance_policy_rule_oci_fleet_apps_management_compliance_policy_rule["id"])
|
299
|
+
```
|
300
|
+
|
301
|
+
|
302
|
+
:param builtins.str compliance_policy_rule_id: unique CompliancePolicyRule identifier.
|
303
|
+
"""
|
304
|
+
__args__ = dict()
|
305
|
+
__args__['compliancePolicyRuleId'] = compliance_policy_rule_id
|
306
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
307
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getCompliancePolicyRule:getCompliancePolicyRule', __args__, opts=opts, typ=GetCompliancePolicyRuleResult)
|
308
|
+
return __ret__.apply(lambda __response__: GetCompliancePolicyRuleResult(
|
309
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
310
|
+
compliance_policy_id=pulumi.get(__response__, 'compliance_policy_id'),
|
311
|
+
compliance_policy_rule_id=pulumi.get(__response__, 'compliance_policy_rule_id'),
|
312
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
313
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
314
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
315
|
+
grace_period=pulumi.get(__response__, 'grace_period'),
|
316
|
+
id=pulumi.get(__response__, 'id'),
|
317
|
+
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
318
|
+
patch_selections=pulumi.get(__response__, 'patch_selections'),
|
319
|
+
patch_type_ids=pulumi.get(__response__, 'patch_type_ids'),
|
320
|
+
product_versions=pulumi.get(__response__, 'product_versions'),
|
321
|
+
severities=pulumi.get(__response__, 'severities'),
|
322
|
+
state=pulumi.get(__response__, 'state'),
|
323
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
324
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
325
|
+
time_updated=pulumi.get(__response__, 'time_updated')))
|
@@ -0,0 +1,244 @@
|
|
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
|
+
'GetCompliancePolicyRulesResult',
|
22
|
+
'AwaitableGetCompliancePolicyRulesResult',
|
23
|
+
'get_compliance_policy_rules',
|
24
|
+
'get_compliance_policy_rules_output',
|
25
|
+
]
|
26
|
+
|
27
|
+
@pulumi.output_type
|
28
|
+
class GetCompliancePolicyRulesResult:
|
29
|
+
"""
|
30
|
+
A collection of values returned by getCompliancePolicyRules.
|
31
|
+
"""
|
32
|
+
def __init__(__self__, compartment_id=None, compliance_policy_id=None, compliance_policy_rule_collections=None, display_name=None, filters=None, id=None, patch_name=None, state=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 compliance_policy_id and not isinstance(compliance_policy_id, str):
|
37
|
+
raise TypeError("Expected argument 'compliance_policy_id' to be a str")
|
38
|
+
pulumi.set(__self__, "compliance_policy_id", compliance_policy_id)
|
39
|
+
if compliance_policy_rule_collections and not isinstance(compliance_policy_rule_collections, list):
|
40
|
+
raise TypeError("Expected argument 'compliance_policy_rule_collections' to be a list")
|
41
|
+
pulumi.set(__self__, "compliance_policy_rule_collections", compliance_policy_rule_collections)
|
42
|
+
if display_name and not isinstance(display_name, str):
|
43
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
44
|
+
pulumi.set(__self__, "display_name", display_name)
|
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 id and not isinstance(id, str):
|
49
|
+
raise TypeError("Expected argument 'id' to be a str")
|
50
|
+
pulumi.set(__self__, "id", id)
|
51
|
+
if patch_name and not isinstance(patch_name, str):
|
52
|
+
raise TypeError("Expected argument 'patch_name' to be a str")
|
53
|
+
pulumi.set(__self__, "patch_name", patch_name)
|
54
|
+
if state and not isinstance(state, str):
|
55
|
+
raise TypeError("Expected argument 'state' to be a str")
|
56
|
+
pulumi.set(__self__, "state", state)
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter(name="compartmentId")
|
60
|
+
def compartment_id(self) -> Optional[builtins.str]:
|
61
|
+
"""
|
62
|
+
The OCID of the compartment the CompliancePolicyRule belongs to.
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "compartment_id")
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="compliancePolicyId")
|
68
|
+
def compliance_policy_id(self) -> Optional[builtins.str]:
|
69
|
+
"""
|
70
|
+
Unique OCID of the CompliancePolicy.
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "compliance_policy_id")
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter(name="compliancePolicyRuleCollections")
|
76
|
+
def compliance_policy_rule_collections(self) -> Sequence['outputs.GetCompliancePolicyRulesCompliancePolicyRuleCollectionResult']:
|
77
|
+
"""
|
78
|
+
The list of compliance_policy_rule_collection.
|
79
|
+
"""
|
80
|
+
return pulumi.get(self, "compliance_policy_rule_collections")
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter(name="displayName")
|
84
|
+
def display_name(self) -> Optional[builtins.str]:
|
85
|
+
"""
|
86
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
87
|
+
"""
|
88
|
+
return pulumi.get(self, "display_name")
|
89
|
+
|
90
|
+
@property
|
91
|
+
@pulumi.getter
|
92
|
+
def filters(self) -> Optional[Sequence['outputs.GetCompliancePolicyRulesFilterResult']]:
|
93
|
+
return pulumi.get(self, "filters")
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter
|
97
|
+
def id(self) -> Optional[builtins.str]:
|
98
|
+
"""
|
99
|
+
Unique OCID of the CompliancePolicyRule.
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "id")
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter(name="patchName")
|
105
|
+
def patch_name(self) -> Optional[builtins.str]:
|
106
|
+
"""
|
107
|
+
Patch Name.
|
108
|
+
"""
|
109
|
+
return pulumi.get(self, "patch_name")
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter
|
113
|
+
def state(self) -> Optional[builtins.str]:
|
114
|
+
"""
|
115
|
+
The current state of the CompliancePolicyRule.
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "state")
|
118
|
+
|
119
|
+
|
120
|
+
class AwaitableGetCompliancePolicyRulesResult(GetCompliancePolicyRulesResult):
|
121
|
+
# pylint: disable=using-constant-test
|
122
|
+
def __await__(self):
|
123
|
+
if False:
|
124
|
+
yield self
|
125
|
+
return GetCompliancePolicyRulesResult(
|
126
|
+
compartment_id=self.compartment_id,
|
127
|
+
compliance_policy_id=self.compliance_policy_id,
|
128
|
+
compliance_policy_rule_collections=self.compliance_policy_rule_collections,
|
129
|
+
display_name=self.display_name,
|
130
|
+
filters=self.filters,
|
131
|
+
id=self.id,
|
132
|
+
patch_name=self.patch_name,
|
133
|
+
state=self.state)
|
134
|
+
|
135
|
+
|
136
|
+
def get_compliance_policy_rules(compartment_id: Optional[builtins.str] = None,
|
137
|
+
compliance_policy_id: Optional[builtins.str] = None,
|
138
|
+
display_name: Optional[builtins.str] = None,
|
139
|
+
filters: Optional[Sequence[Union['GetCompliancePolicyRulesFilterArgs', 'GetCompliancePolicyRulesFilterArgsDict']]] = None,
|
140
|
+
id: Optional[builtins.str] = None,
|
141
|
+
patch_name: Optional[builtins.str] = None,
|
142
|
+
state: Optional[builtins.str] = None,
|
143
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCompliancePolicyRulesResult:
|
144
|
+
"""
|
145
|
+
This data source provides the list of Compliance Policy Rules in Oracle Cloud Infrastructure Fleet Apps Management service.
|
146
|
+
|
147
|
+
Gets a list of Compliance policy rules in a compartment.
|
148
|
+
|
149
|
+
## Example Usage
|
150
|
+
|
151
|
+
```python
|
152
|
+
import pulumi
|
153
|
+
import pulumi_oci as oci
|
154
|
+
|
155
|
+
test_compliance_policy_rules = oci.FleetAppsManagement.get_compliance_policy_rules(compartment_id=compartment_id,
|
156
|
+
compliance_policy_id=test_compliance_policy["id"],
|
157
|
+
display_name=compliance_policy_rule_display_name,
|
158
|
+
id=compliance_policy_rule_id,
|
159
|
+
patch_name=test_patch["name"],
|
160
|
+
state=compliance_policy_rule_state)
|
161
|
+
```
|
162
|
+
|
163
|
+
|
164
|
+
: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.
|
165
|
+
:param builtins.str compliance_policy_id: unique CompliancePolicy identifier.
|
166
|
+
:param builtins.str display_name: A filter to return only resources that match the entire display name given.
|
167
|
+
:param builtins.str id: Unique identifier or OCID for listing a single Compliance Policy Rule by id. Either compartmentId or id must be provided.
|
168
|
+
:param builtins.str patch_name: A filter to return only resources that match the patch selection against the given patch name.
|
169
|
+
:param builtins.str state: A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
|
170
|
+
"""
|
171
|
+
__args__ = dict()
|
172
|
+
__args__['compartmentId'] = compartment_id
|
173
|
+
__args__['compliancePolicyId'] = compliance_policy_id
|
174
|
+
__args__['displayName'] = display_name
|
175
|
+
__args__['filters'] = filters
|
176
|
+
__args__['id'] = id
|
177
|
+
__args__['patchName'] = patch_name
|
178
|
+
__args__['state'] = state
|
179
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
180
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getCompliancePolicyRules:getCompliancePolicyRules', __args__, opts=opts, typ=GetCompliancePolicyRulesResult).value
|
181
|
+
|
182
|
+
return AwaitableGetCompliancePolicyRulesResult(
|
183
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
184
|
+
compliance_policy_id=pulumi.get(__ret__, 'compliance_policy_id'),
|
185
|
+
compliance_policy_rule_collections=pulumi.get(__ret__, 'compliance_policy_rule_collections'),
|
186
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
187
|
+
filters=pulumi.get(__ret__, 'filters'),
|
188
|
+
id=pulumi.get(__ret__, 'id'),
|
189
|
+
patch_name=pulumi.get(__ret__, 'patch_name'),
|
190
|
+
state=pulumi.get(__ret__, 'state'))
|
191
|
+
def get_compliance_policy_rules_output(compartment_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
192
|
+
compliance_policy_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
193
|
+
display_name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
194
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetCompliancePolicyRulesFilterArgs', 'GetCompliancePolicyRulesFilterArgsDict']]]]] = None,
|
195
|
+
id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
196
|
+
patch_name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
197
|
+
state: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
198
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCompliancePolicyRulesResult]:
|
199
|
+
"""
|
200
|
+
This data source provides the list of Compliance Policy Rules in Oracle Cloud Infrastructure Fleet Apps Management service.
|
201
|
+
|
202
|
+
Gets a list of Compliance policy rules in a compartment.
|
203
|
+
|
204
|
+
## Example Usage
|
205
|
+
|
206
|
+
```python
|
207
|
+
import pulumi
|
208
|
+
import pulumi_oci as oci
|
209
|
+
|
210
|
+
test_compliance_policy_rules = oci.FleetAppsManagement.get_compliance_policy_rules(compartment_id=compartment_id,
|
211
|
+
compliance_policy_id=test_compliance_policy["id"],
|
212
|
+
display_name=compliance_policy_rule_display_name,
|
213
|
+
id=compliance_policy_rule_id,
|
214
|
+
patch_name=test_patch["name"],
|
215
|
+
state=compliance_policy_rule_state)
|
216
|
+
```
|
217
|
+
|
218
|
+
|
219
|
+
: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.
|
220
|
+
:param builtins.str compliance_policy_id: unique CompliancePolicy identifier.
|
221
|
+
:param builtins.str display_name: A filter to return only resources that match the entire display name given.
|
222
|
+
:param builtins.str id: Unique identifier or OCID for listing a single Compliance Policy Rule by id. Either compartmentId or id must be provided.
|
223
|
+
:param builtins.str patch_name: A filter to return only resources that match the patch selection against the given patch name.
|
224
|
+
:param builtins.str state: A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
|
225
|
+
"""
|
226
|
+
__args__ = dict()
|
227
|
+
__args__['compartmentId'] = compartment_id
|
228
|
+
__args__['compliancePolicyId'] = compliance_policy_id
|
229
|
+
__args__['displayName'] = display_name
|
230
|
+
__args__['filters'] = filters
|
231
|
+
__args__['id'] = id
|
232
|
+
__args__['patchName'] = patch_name
|
233
|
+
__args__['state'] = state
|
234
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
235
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getCompliancePolicyRules:getCompliancePolicyRules', __args__, opts=opts, typ=GetCompliancePolicyRulesResult)
|
236
|
+
return __ret__.apply(lambda __response__: GetCompliancePolicyRulesResult(
|
237
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
238
|
+
compliance_policy_id=pulumi.get(__response__, 'compliance_policy_id'),
|
239
|
+
compliance_policy_rule_collections=pulumi.get(__response__, 'compliance_policy_rule_collections'),
|
240
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
241
|
+
filters=pulumi.get(__response__, 'filters'),
|
242
|
+
id=pulumi.get(__response__, 'id'),
|
243
|
+
patch_name=pulumi.get(__response__, 'patch_name'),
|
244
|
+
state=pulumi.get(__response__, 'state')))
|