pulumi-oci 2.12.0a1728593306__py3-none-any.whl → 2.13.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +169 -19
- pulumi_oci/analytics/analytics_instance.py +54 -5
- pulumi_oci/analytics/get_analytics_instance.py +18 -4
- pulumi_oci/analytics/outputs.py +12 -1
- pulumi_oci/containerengine/_inputs.py +341 -0
- pulumi_oci/containerengine/cluster.py +64 -0
- pulumi_oci/containerengine/get_cluster.py +12 -1
- pulumi_oci/containerengine/outputs.py +582 -0
- pulumi_oci/core/_inputs.py +947 -196
- pulumi_oci/core/boot_volume.py +90 -5
- pulumi_oci/core/cluster_network.py +7 -7
- pulumi_oci/core/get_block_volume_replica.py +15 -1
- pulumi_oci/core/get_boot_volume.py +15 -4
- pulumi_oci/core/get_boot_volume_replica.py +15 -1
- pulumi_oci/core/get_instance.py +29 -1
- pulumi_oci/core/get_vcn.py +15 -1
- pulumi_oci/core/get_vnic.py +15 -1
- pulumi_oci/core/get_volume.py +18 -4
- pulumi_oci/core/instance.py +87 -0
- pulumi_oci/core/instance_configuration.py +16 -0
- pulumi_oci/core/ipsec.py +183 -23
- pulumi_oci/core/network_security_group_security_rule.py +2 -2
- pulumi_oci/core/outputs.py +1282 -153
- pulumi_oci/core/service_gateway.py +13 -7
- pulumi_oci/core/vcn.py +65 -23
- pulumi_oci/core/virtual_network.py +35 -1
- pulumi_oci/core/vnic_attachment.py +2 -0
- pulumi_oci/core/volume.py +110 -12
- pulumi_oci/core/volume_backup_policy_assignment.py +68 -19
- pulumi_oci/core/volume_group.py +56 -5
- pulumi_oci/database/_inputs.py +905 -27
- pulumi_oci/database/autonomous_database.py +48 -28
- pulumi_oci/database/autonomous_database_backup.py +12 -12
- pulumi_oci/database/autonomous_exadata_infrastructure.py +2 -0
- pulumi_oci/database/autonomous_vm_cluster.py +2 -0
- pulumi_oci/database/backup.py +12 -12
- pulumi_oci/database/cloud_autonomous_vm_cluster.py +2 -0
- pulumi_oci/database/cloud_exadata_infrastructure.py +2 -0
- pulumi_oci/database/cloud_vm_cluster.py +71 -0
- pulumi_oci/database/database.py +15 -15
- pulumi_oci/database/database_upgrade.py +12 -12
- pulumi_oci/database/db_system.py +9 -9
- pulumi_oci/database/exadata_infrastructure.py +2 -0
- pulumi_oci/database/get_autonomous_container_database.py +1 -1
- pulumi_oci/database/get_autonomous_database.py +18 -4
- pulumi_oci/database/get_autonomous_database_backup.py +3 -3
- pulumi_oci/database/get_autonomous_databases.py +88 -5
- pulumi_oci/database/get_cloud_vm_cluster.py +15 -1
- pulumi_oci/database/get_database.py +3 -3
- pulumi_oci/database/get_pluggable_database.py +12 -1
- pulumi_oci/database/get_vm_cluster.py +15 -1
- pulumi_oci/database/outputs.py +1431 -74
- pulumi_oci/database/pluggable_database.py +34 -0
- pulumi_oci/database/vm_cluster.py +71 -0
- pulumi_oci/database/vm_cluster_add_virtual_network.py +28 -0
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +28 -0
- pulumi_oci/datasafe/__init__.py +13 -0
- pulumi_oci/datasafe/_inputs.py +441 -0
- pulumi_oci/datasafe/generate_on_prem_connector_configuration.py +271 -0
- pulumi_oci/datasafe/get_reports.py +23 -1
- pulumi_oci/datasafe/get_sql_collection.py +392 -0
- pulumi_oci/datasafe/get_sql_collection_analytics.py +309 -0
- pulumi_oci/datasafe/get_sql_collection_log_insights.py +207 -0
- pulumi_oci/datasafe/get_sql_collections.py +364 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql.py +337 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +250 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +234 -0
- pulumi_oci/datasafe/get_sql_firewall_policies.py +386 -0
- pulumi_oci/datasafe/get_sql_firewall_policy.py +393 -0
- pulumi_oci/datasafe/get_sql_firewall_policy_analytics.py +305 -0
- pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +306 -0
- pulumi_oci/datasafe/get_sql_firewall_violations.py +208 -0
- pulumi_oci/datasafe/outputs.py +1808 -2
- pulumi_oci/desktops/_inputs.py +395 -17
- pulumi_oci/desktops/desktop_pool.py +253 -21
- pulumi_oci/desktops/get_desktop_pool.py +62 -5
- pulumi_oci/desktops/outputs.py +807 -25
- pulumi_oci/dns/__init__.py +2 -0
- pulumi_oci/dns/_inputs.py +1157 -12
- pulumi_oci/dns/action_create_zone_from_zone_file.py +42 -2
- pulumi_oci/dns/get_records.py +45 -13
- pulumi_oci/dns/get_resolver.py +8 -6
- pulumi_oci/dns/get_resolver_endpoint.py +8 -6
- pulumi_oci/dns/get_resolver_endpoints.py +2 -2
- pulumi_oci/dns/get_resolvers.py +12 -12
- pulumi_oci/dns/get_rrset.py +16 -16
- pulumi_oci/dns/get_rrsets.py +12 -10
- pulumi_oci/dns/get_view.py +8 -4
- pulumi_oci/dns/get_views.py +12 -12
- pulumi_oci/dns/get_zones.py +33 -13
- pulumi_oci/dns/outputs.py +1388 -79
- pulumi_oci/dns/record.py +12 -12
- pulumi_oci/dns/resolver.py +7 -7
- pulumi_oci/dns/resolver_endpoint.py +2 -2
- pulumi_oci/dns/rrset.py +50 -41
- pulumi_oci/dns/zone.py +176 -17
- pulumi_oci/dns/zone_promote_dnssec_key_version.py +328 -0
- pulumi_oci/dns/zone_stage_dnssec_key_version.py +318 -0
- pulumi_oci/fleetappsmanagement/__init__.py +43 -0
- pulumi_oci/fleetappsmanagement/_inputs.py +2057 -0
- pulumi_oci/fleetappsmanagement/fleet.py +955 -0
- pulumi_oci/fleetappsmanagement/fleet_credential.py +615 -0
- pulumi_oci/fleetappsmanagement/fleet_property.py +585 -0
- pulumi_oci/fleetappsmanagement/fleet_resource.py +851 -0
- pulumi_oci/fleetappsmanagement/get_announcements.py +166 -0
- pulumi_oci/fleetappsmanagement/get_fleet.py +394 -0
- pulumi_oci/fleetappsmanagement/get_fleet_compliance_report.py +164 -0
- pulumi_oci/fleetappsmanagement/get_fleet_credential.py +273 -0
- pulumi_oci/fleetappsmanagement/get_fleet_credentials.py +240 -0
- pulumi_oci/fleetappsmanagement/get_fleet_products.py +232 -0
- pulumi_oci/fleetappsmanagement/get_fleet_properties.py +218 -0
- pulumi_oci/fleetappsmanagement/get_fleet_property.py +286 -0
- pulumi_oci/fleetappsmanagement/get_fleet_resource.py +398 -0
- pulumi_oci/fleetappsmanagement/get_fleet_resources.py +237 -0
- pulumi_oci/fleetappsmanagement/get_fleet_targets.py +232 -0
- pulumi_oci/fleetappsmanagement/get_fleets.py +284 -0
- pulumi_oci/fleetappsmanagement/get_inventory_resources.py +311 -0
- pulumi_oci/fleetappsmanagement/get_maintenance_window.py +365 -0
- pulumi_oci/fleetappsmanagement/get_maintenance_windows.py +199 -0
- pulumi_oci/fleetappsmanagement/get_onboarding_policies.py +123 -0
- pulumi_oci/fleetappsmanagement/get_onboardings.py +177 -0
- pulumi_oci/fleetappsmanagement/get_properties.py +221 -0
- pulumi_oci/fleetappsmanagement/get_property.py +323 -0
- pulumi_oci/fleetappsmanagement/get_runbook.py +377 -0
- pulumi_oci/fleetappsmanagement/get_runbooks.py +284 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definition.py +436 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definition_scheduled_fleets.py +185 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definitions.py +262 -0
- pulumi_oci/fleetappsmanagement/get_task_record.py +307 -0
- pulumi_oci/fleetappsmanagement/get_task_records.py +240 -0
- pulumi_oci/fleetappsmanagement/maintenance_window.py +935 -0
- pulumi_oci/fleetappsmanagement/onboarding.py +477 -0
- pulumi_oci/fleetappsmanagement/outputs.py +8128 -0
- pulumi_oci/fleetappsmanagement/property.py +697 -0
- pulumi_oci/fleetappsmanagement/scheduler_definition.py +1035 -0
- pulumi_oci/functions/get_fusion_environment_refresh_activity.py +15 -1
- pulumi_oci/functions/outputs.py +11 -0
- pulumi_oci/fusionapps/_inputs.py +21 -20
- pulumi_oci/fusionapps/fusion_environment.py +2 -2
- pulumi_oci/fusionapps/fusion_environment_admin_user.py +21 -22
- pulumi_oci/fusionapps/fusion_environment_refresh_activity.py +48 -51
- pulumi_oci/fusionapps/outputs.py +11 -10
- pulumi_oci/goldengate/__init__.py +1 -0
- pulumi_oci/goldengate/_inputs.py +165 -0
- pulumi_oci/goldengate/connection.py +49 -35
- pulumi_oci/goldengate/database_registration.py +7 -7
- pulumi_oci/goldengate/deployment.py +79 -4
- pulumi_oci/goldengate/get_deployment.py +30 -2
- pulumi_oci/goldengate/get_deployment_environments.py +144 -0
- pulumi_oci/goldengate/outputs.py +409 -2
- pulumi_oci/integration/__init__.py +1 -0
- pulumi_oci/integration/_inputs.py +289 -2
- pulumi_oci/integration/get_integration_instance.py +65 -1
- pulumi_oci/integration/integration_instance.py +172 -0
- pulumi_oci/integration/oracle_managed_custom_endpoint.py +307 -0
- pulumi_oci/integration/outputs.py +587 -19
- pulumi_oci/loadbalancer/_inputs.py +20 -0
- pulumi_oci/loadbalancer/listener.py +4 -2
- pulumi_oci/loadbalancer/outputs.py +16 -2
- pulumi_oci/monitoring/_inputs.py +137 -16
- pulumi_oci/monitoring/alarm_suppression.py +164 -35
- pulumi_oci/monitoring/get_alarm_statuses.py +5 -3
- pulumi_oci/monitoring/get_alarm_suppression.py +33 -3
- pulumi_oci/monitoring/get_alarm_suppressions.py +137 -14
- pulumi_oci/monitoring/outputs.py +291 -18
- pulumi_oci/mysql/mysql_db_system.py +7 -7
- pulumi_oci/objectstorage/__init__.py +3 -0
- pulumi_oci/objectstorage/_inputs.py +97 -0
- pulumi_oci/objectstorage/get_object_versions.py +6 -6
- pulumi_oci/objectstorage/get_objects.py +6 -6
- pulumi_oci/objectstorage/get_private_endpoint.py +263 -0
- pulumi_oci/objectstorage/get_private_endpoint_summaries.py +128 -0
- pulumi_oci/objectstorage/outputs.py +258 -0
- pulumi_oci/objectstorage/private_endpoint.py +630 -0
- pulumi_oci/objectstorage/storage_object.py +7 -7
- pulumi_oci/opsi/_inputs.py +268 -114
- pulumi_oci/opsi/database_insight.py +162 -21
- pulumi_oci/opsi/exadata_insight.py +44 -0
- pulumi_oci/opsi/get_database_insight.py +40 -1
- pulumi_oci/opsi/get_host_insights.py +2 -2
- pulumi_oci/opsi/host_insight.py +0 -48
- pulumi_oci/opsi/outputs.py +405 -109
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/securityattribute/__init__.py +15 -0
- pulumi_oci/securityattribute/_inputs.py +209 -0
- pulumi_oci/securityattribute/get_security_attribute.py +262 -0
- pulumi_oci/securityattribute/get_security_attribute_namespace.py +253 -0
- pulumi_oci/securityattribute/get_security_attribute_namespaces.py +210 -0
- pulumi_oci/securityattribute/get_security_attributes.py +169 -0
- pulumi_oci/securityattribute/outputs.py +466 -0
- pulumi_oci/securityattribute/security_attribute.py +588 -0
- pulumi_oci/securityattribute/security_attribute_namespace.py +609 -0
- pulumi_oci/stackmonitoring/__init__.py +5 -0
- pulumi_oci/stackmonitoring/_inputs.py +330 -0
- pulumi_oci/stackmonitoring/get_maintenance_window.py +254 -0
- pulumi_oci/stackmonitoring/get_maintenance_windows.py +210 -0
- pulumi_oci/stackmonitoring/maintenance_window.py +551 -0
- pulumi_oci/stackmonitoring/maintenance_windows_retry_failed_operation.py +217 -0
- pulumi_oci/stackmonitoring/maintenance_windows_stop.py +217 -0
- pulumi_oci/stackmonitoring/outputs.py +603 -0
- pulumi_oci/{globallydistributeddatabase → zpr}/__init__.py +5 -6
- pulumi_oci/zpr/_inputs.py +79 -0
- pulumi_oci/zpr/configuration.py +516 -0
- pulumi_oci/zpr/get_configuration.py +230 -0
- pulumi_oci/zpr/get_zpr_policies.py +191 -0
- pulumi_oci/zpr/get_zpr_policy.py +264 -0
- pulumi_oci/zpr/outputs.py +203 -0
- pulumi_oci/zpr/zpr_policy.py +614 -0
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/RECORD +212 -142
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/WHEEL +1 -1
- pulumi_oci/globallydistributeddatabase/_inputs.py +0 -1289
- pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +0 -323
- pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +0 -191
- pulumi_oci/globallydistributeddatabase/get_sharded_database.py +0 -660
- pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +0 -191
- pulumi_oci/globallydistributeddatabase/outputs.py +0 -2063
- pulumi_oci/globallydistributeddatabase/private_endpoint.py +0 -747
- pulumi_oci/globallydistributeddatabase/sharded_database.py +0 -1821
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,365 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = [
|
18
|
+
'GetMaintenanceWindowResult',
|
19
|
+
'AwaitableGetMaintenanceWindowResult',
|
20
|
+
'get_maintenance_window',
|
21
|
+
'get_maintenance_window_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetMaintenanceWindowResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getMaintenanceWindow.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, compartment_id=None, defined_tags=None, description=None, display_name=None, duration=None, freeform_tags=None, id=None, is_outage=None, is_recurring=None, lifecycle_details=None, maintenance_window_id=None, maintenance_window_type=None, recurrences=None, resource_region=None, state=None, system_tags=None, task_initiation_cutoff=None, time_created=None, time_schedule_start=None, time_updated=None):
|
30
|
+
if compartment_id and not isinstance(compartment_id, str):
|
31
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
32
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
33
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
34
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
35
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
36
|
+
if description and not isinstance(description, str):
|
37
|
+
raise TypeError("Expected argument 'description' to be a str")
|
38
|
+
pulumi.set(__self__, "description", description)
|
39
|
+
if display_name and not isinstance(display_name, str):
|
40
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
41
|
+
pulumi.set(__self__, "display_name", display_name)
|
42
|
+
if duration and not isinstance(duration, str):
|
43
|
+
raise TypeError("Expected argument 'duration' to be a str")
|
44
|
+
pulumi.set(__self__, "duration", duration)
|
45
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
46
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
47
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
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 is_outage and not isinstance(is_outage, bool):
|
52
|
+
raise TypeError("Expected argument 'is_outage' to be a bool")
|
53
|
+
pulumi.set(__self__, "is_outage", is_outage)
|
54
|
+
if is_recurring and not isinstance(is_recurring, bool):
|
55
|
+
raise TypeError("Expected argument 'is_recurring' to be a bool")
|
56
|
+
pulumi.set(__self__, "is_recurring", is_recurring)
|
57
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
58
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
59
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
60
|
+
if maintenance_window_id and not isinstance(maintenance_window_id, str):
|
61
|
+
raise TypeError("Expected argument 'maintenance_window_id' to be a str")
|
62
|
+
pulumi.set(__self__, "maintenance_window_id", maintenance_window_id)
|
63
|
+
if maintenance_window_type and not isinstance(maintenance_window_type, str):
|
64
|
+
raise TypeError("Expected argument 'maintenance_window_type' to be a str")
|
65
|
+
pulumi.set(__self__, "maintenance_window_type", maintenance_window_type)
|
66
|
+
if recurrences and not isinstance(recurrences, str):
|
67
|
+
raise TypeError("Expected argument 'recurrences' to be a str")
|
68
|
+
pulumi.set(__self__, "recurrences", recurrences)
|
69
|
+
if resource_region and not isinstance(resource_region, str):
|
70
|
+
raise TypeError("Expected argument 'resource_region' to be a str")
|
71
|
+
pulumi.set(__self__, "resource_region", resource_region)
|
72
|
+
if state and not isinstance(state, str):
|
73
|
+
raise TypeError("Expected argument 'state' to be a str")
|
74
|
+
pulumi.set(__self__, "state", state)
|
75
|
+
if system_tags and not isinstance(system_tags, dict):
|
76
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
77
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
78
|
+
if task_initiation_cutoff and not isinstance(task_initiation_cutoff, int):
|
79
|
+
raise TypeError("Expected argument 'task_initiation_cutoff' to be a int")
|
80
|
+
pulumi.set(__self__, "task_initiation_cutoff", task_initiation_cutoff)
|
81
|
+
if time_created and not isinstance(time_created, str):
|
82
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
83
|
+
pulumi.set(__self__, "time_created", time_created)
|
84
|
+
if time_schedule_start and not isinstance(time_schedule_start, str):
|
85
|
+
raise TypeError("Expected argument 'time_schedule_start' to be a str")
|
86
|
+
pulumi.set(__self__, "time_schedule_start", time_schedule_start)
|
87
|
+
if time_updated and not isinstance(time_updated, str):
|
88
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
89
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="compartmentId")
|
93
|
+
def compartment_id(self) -> str:
|
94
|
+
"""
|
95
|
+
Tenancy OCID
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "compartment_id")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter(name="definedTags")
|
101
|
+
def defined_tags(self) -> Mapping[str, str]:
|
102
|
+
"""
|
103
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "defined_tags")
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter
|
109
|
+
def description(self) -> str:
|
110
|
+
"""
|
111
|
+
A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "description")
|
114
|
+
|
115
|
+
@property
|
116
|
+
@pulumi.getter(name="displayName")
|
117
|
+
def display_name(self) -> str:
|
118
|
+
"""
|
119
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "display_name")
|
122
|
+
|
123
|
+
@property
|
124
|
+
@pulumi.getter
|
125
|
+
def duration(self) -> str:
|
126
|
+
"""
|
127
|
+
Duration if schedule type is Custom
|
128
|
+
"""
|
129
|
+
return pulumi.get(self, "duration")
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter(name="freeformTags")
|
133
|
+
def freeform_tags(self) -> Mapping[str, str]:
|
134
|
+
"""
|
135
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
136
|
+
"""
|
137
|
+
return pulumi.get(self, "freeform_tags")
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter
|
141
|
+
def id(self) -> str:
|
142
|
+
"""
|
143
|
+
The OCID of the resource.
|
144
|
+
"""
|
145
|
+
return pulumi.get(self, "id")
|
146
|
+
|
147
|
+
@property
|
148
|
+
@pulumi.getter(name="isOutage")
|
149
|
+
def is_outage(self) -> bool:
|
150
|
+
"""
|
151
|
+
Does the maintenenace window cause outage?
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "is_outage")
|
154
|
+
|
155
|
+
@property
|
156
|
+
@pulumi.getter(name="isRecurring")
|
157
|
+
def is_recurring(self) -> bool:
|
158
|
+
"""
|
159
|
+
Is this is a recurring maintenance window
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "is_recurring")
|
162
|
+
|
163
|
+
@property
|
164
|
+
@pulumi.getter(name="lifecycleDetails")
|
165
|
+
def lifecycle_details(self) -> str:
|
166
|
+
"""
|
167
|
+
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
168
|
+
"""
|
169
|
+
return pulumi.get(self, "lifecycle_details")
|
170
|
+
|
171
|
+
@property
|
172
|
+
@pulumi.getter(name="maintenanceWindowId")
|
173
|
+
def maintenance_window_id(self) -> str:
|
174
|
+
return pulumi.get(self, "maintenance_window_id")
|
175
|
+
|
176
|
+
@property
|
177
|
+
@pulumi.getter(name="maintenanceWindowType")
|
178
|
+
def maintenance_window_type(self) -> str:
|
179
|
+
"""
|
180
|
+
Type of the MaintenanceWindow.
|
181
|
+
"""
|
182
|
+
return pulumi.get(self, "maintenance_window_type")
|
183
|
+
|
184
|
+
@property
|
185
|
+
@pulumi.getter
|
186
|
+
def recurrences(self) -> str:
|
187
|
+
"""
|
188
|
+
Recurrence rule specification if recurring
|
189
|
+
"""
|
190
|
+
return pulumi.get(self, "recurrences")
|
191
|
+
|
192
|
+
@property
|
193
|
+
@pulumi.getter(name="resourceRegion")
|
194
|
+
def resource_region(self) -> str:
|
195
|
+
"""
|
196
|
+
Associated region
|
197
|
+
"""
|
198
|
+
return pulumi.get(self, "resource_region")
|
199
|
+
|
200
|
+
@property
|
201
|
+
@pulumi.getter
|
202
|
+
def state(self) -> str:
|
203
|
+
"""
|
204
|
+
The current state of the MaintenanceWindow.
|
205
|
+
"""
|
206
|
+
return pulumi.get(self, "state")
|
207
|
+
|
208
|
+
@property
|
209
|
+
@pulumi.getter(name="systemTags")
|
210
|
+
def system_tags(self) -> Mapping[str, str]:
|
211
|
+
"""
|
212
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
213
|
+
"""
|
214
|
+
return pulumi.get(self, "system_tags")
|
215
|
+
|
216
|
+
@property
|
217
|
+
@pulumi.getter(name="taskInitiationCutoff")
|
218
|
+
def task_initiation_cutoff(self) -> int:
|
219
|
+
"""
|
220
|
+
Task initiation cutoff
|
221
|
+
"""
|
222
|
+
return pulumi.get(self, "task_initiation_cutoff")
|
223
|
+
|
224
|
+
@property
|
225
|
+
@pulumi.getter(name="timeCreated")
|
226
|
+
def time_created(self) -> str:
|
227
|
+
"""
|
228
|
+
The time this resource was created. An RFC3339 formatted datetime string.
|
229
|
+
"""
|
230
|
+
return pulumi.get(self, "time_created")
|
231
|
+
|
232
|
+
@property
|
233
|
+
@pulumi.getter(name="timeScheduleStart")
|
234
|
+
def time_schedule_start(self) -> str:
|
235
|
+
"""
|
236
|
+
Start time of schedule
|
237
|
+
"""
|
238
|
+
return pulumi.get(self, "time_schedule_start")
|
239
|
+
|
240
|
+
@property
|
241
|
+
@pulumi.getter(name="timeUpdated")
|
242
|
+
def time_updated(self) -> str:
|
243
|
+
"""
|
244
|
+
The time this resource was last updated. An RFC3339 formatted datetime string.
|
245
|
+
"""
|
246
|
+
return pulumi.get(self, "time_updated")
|
247
|
+
|
248
|
+
|
249
|
+
class AwaitableGetMaintenanceWindowResult(GetMaintenanceWindowResult):
|
250
|
+
# pylint: disable=using-constant-test
|
251
|
+
def __await__(self):
|
252
|
+
if False:
|
253
|
+
yield self
|
254
|
+
return GetMaintenanceWindowResult(
|
255
|
+
compartment_id=self.compartment_id,
|
256
|
+
defined_tags=self.defined_tags,
|
257
|
+
description=self.description,
|
258
|
+
display_name=self.display_name,
|
259
|
+
duration=self.duration,
|
260
|
+
freeform_tags=self.freeform_tags,
|
261
|
+
id=self.id,
|
262
|
+
is_outage=self.is_outage,
|
263
|
+
is_recurring=self.is_recurring,
|
264
|
+
lifecycle_details=self.lifecycle_details,
|
265
|
+
maintenance_window_id=self.maintenance_window_id,
|
266
|
+
maintenance_window_type=self.maintenance_window_type,
|
267
|
+
recurrences=self.recurrences,
|
268
|
+
resource_region=self.resource_region,
|
269
|
+
state=self.state,
|
270
|
+
system_tags=self.system_tags,
|
271
|
+
task_initiation_cutoff=self.task_initiation_cutoff,
|
272
|
+
time_created=self.time_created,
|
273
|
+
time_schedule_start=self.time_schedule_start,
|
274
|
+
time_updated=self.time_updated)
|
275
|
+
|
276
|
+
|
277
|
+
def get_maintenance_window(maintenance_window_id: Optional[str] = None,
|
278
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMaintenanceWindowResult:
|
279
|
+
"""
|
280
|
+
This data source provides details about a specific Maintenance Window resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
281
|
+
|
282
|
+
Gets a MaintenanceWindow by identifier
|
283
|
+
|
284
|
+
## Example Usage
|
285
|
+
|
286
|
+
```python
|
287
|
+
import pulumi
|
288
|
+
import pulumi_oci as oci
|
289
|
+
|
290
|
+
test_maintenance_window = oci.FleetAppsManagement.get_maintenance_window(maintenance_window_id=test_maintenance_window_oci_fleet_apps_management_maintenance_window["id"])
|
291
|
+
```
|
292
|
+
|
293
|
+
|
294
|
+
:param str maintenance_window_id: unique MaintenanceWindow identifier
|
295
|
+
"""
|
296
|
+
__args__ = dict()
|
297
|
+
__args__['maintenanceWindowId'] = maintenance_window_id
|
298
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
299
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getMaintenanceWindow:getMaintenanceWindow', __args__, opts=opts, typ=GetMaintenanceWindowResult).value
|
300
|
+
|
301
|
+
return AwaitableGetMaintenanceWindowResult(
|
302
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
303
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
304
|
+
description=pulumi.get(__ret__, 'description'),
|
305
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
306
|
+
duration=pulumi.get(__ret__, 'duration'),
|
307
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
308
|
+
id=pulumi.get(__ret__, 'id'),
|
309
|
+
is_outage=pulumi.get(__ret__, 'is_outage'),
|
310
|
+
is_recurring=pulumi.get(__ret__, 'is_recurring'),
|
311
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
312
|
+
maintenance_window_id=pulumi.get(__ret__, 'maintenance_window_id'),
|
313
|
+
maintenance_window_type=pulumi.get(__ret__, 'maintenance_window_type'),
|
314
|
+
recurrences=pulumi.get(__ret__, 'recurrences'),
|
315
|
+
resource_region=pulumi.get(__ret__, 'resource_region'),
|
316
|
+
state=pulumi.get(__ret__, 'state'),
|
317
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
318
|
+
task_initiation_cutoff=pulumi.get(__ret__, 'task_initiation_cutoff'),
|
319
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
320
|
+
time_schedule_start=pulumi.get(__ret__, 'time_schedule_start'),
|
321
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
322
|
+
def get_maintenance_window_output(maintenance_window_id: Optional[pulumi.Input[str]] = None,
|
323
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMaintenanceWindowResult]:
|
324
|
+
"""
|
325
|
+
This data source provides details about a specific Maintenance Window resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
326
|
+
|
327
|
+
Gets a MaintenanceWindow by identifier
|
328
|
+
|
329
|
+
## Example Usage
|
330
|
+
|
331
|
+
```python
|
332
|
+
import pulumi
|
333
|
+
import pulumi_oci as oci
|
334
|
+
|
335
|
+
test_maintenance_window = oci.FleetAppsManagement.get_maintenance_window(maintenance_window_id=test_maintenance_window_oci_fleet_apps_management_maintenance_window["id"])
|
336
|
+
```
|
337
|
+
|
338
|
+
|
339
|
+
:param str maintenance_window_id: unique MaintenanceWindow identifier
|
340
|
+
"""
|
341
|
+
__args__ = dict()
|
342
|
+
__args__['maintenanceWindowId'] = maintenance_window_id
|
343
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
344
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getMaintenanceWindow:getMaintenanceWindow', __args__, opts=opts, typ=GetMaintenanceWindowResult)
|
345
|
+
return __ret__.apply(lambda __response__: GetMaintenanceWindowResult(
|
346
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
347
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
348
|
+
description=pulumi.get(__response__, 'description'),
|
349
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
350
|
+
duration=pulumi.get(__response__, 'duration'),
|
351
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
352
|
+
id=pulumi.get(__response__, 'id'),
|
353
|
+
is_outage=pulumi.get(__response__, 'is_outage'),
|
354
|
+
is_recurring=pulumi.get(__response__, 'is_recurring'),
|
355
|
+
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
356
|
+
maintenance_window_id=pulumi.get(__response__, 'maintenance_window_id'),
|
357
|
+
maintenance_window_type=pulumi.get(__response__, 'maintenance_window_type'),
|
358
|
+
recurrences=pulumi.get(__response__, 'recurrences'),
|
359
|
+
resource_region=pulumi.get(__response__, 'resource_region'),
|
360
|
+
state=pulumi.get(__response__, 'state'),
|
361
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
362
|
+
task_initiation_cutoff=pulumi.get(__response__, 'task_initiation_cutoff'),
|
363
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
364
|
+
time_schedule_start=pulumi.get(__response__, 'time_schedule_start'),
|
365
|
+
time_updated=pulumi.get(__response__, 'time_updated')))
|
@@ -0,0 +1,199 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetMaintenanceWindowsResult',
|
21
|
+
'AwaitableGetMaintenanceWindowsResult',
|
22
|
+
'get_maintenance_windows',
|
23
|
+
'get_maintenance_windows_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetMaintenanceWindowsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getMaintenanceWindows.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, maintenance_window_collections=None, state=None):
|
32
|
+
if compartment_id and not isinstance(compartment_id, str):
|
33
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
34
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
35
|
+
if display_name and not isinstance(display_name, str):
|
36
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
37
|
+
pulumi.set(__self__, "display_name", display_name)
|
38
|
+
if filters and not isinstance(filters, list):
|
39
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
40
|
+
pulumi.set(__self__, "filters", filters)
|
41
|
+
if id and not isinstance(id, str):
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
43
|
+
pulumi.set(__self__, "id", id)
|
44
|
+
if maintenance_window_collections and not isinstance(maintenance_window_collections, list):
|
45
|
+
raise TypeError("Expected argument 'maintenance_window_collections' to be a list")
|
46
|
+
pulumi.set(__self__, "maintenance_window_collections", maintenance_window_collections)
|
47
|
+
if state and not isinstance(state, str):
|
48
|
+
raise TypeError("Expected argument 'state' to be a str")
|
49
|
+
pulumi.set(__self__, "state", state)
|
50
|
+
|
51
|
+
@property
|
52
|
+
@pulumi.getter(name="compartmentId")
|
53
|
+
def compartment_id(self) -> Optional[str]:
|
54
|
+
"""
|
55
|
+
Tenancy OCID
|
56
|
+
"""
|
57
|
+
return pulumi.get(self, "compartment_id")
|
58
|
+
|
59
|
+
@property
|
60
|
+
@pulumi.getter(name="displayName")
|
61
|
+
def display_name(self) -> Optional[str]:
|
62
|
+
"""
|
63
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
64
|
+
"""
|
65
|
+
return pulumi.get(self, "display_name")
|
66
|
+
|
67
|
+
@property
|
68
|
+
@pulumi.getter
|
69
|
+
def filters(self) -> Optional[Sequence['outputs.GetMaintenanceWindowsFilterResult']]:
|
70
|
+
return pulumi.get(self, "filters")
|
71
|
+
|
72
|
+
@property
|
73
|
+
@pulumi.getter
|
74
|
+
def id(self) -> Optional[str]:
|
75
|
+
"""
|
76
|
+
The OCID of the resource.
|
77
|
+
"""
|
78
|
+
return pulumi.get(self, "id")
|
79
|
+
|
80
|
+
@property
|
81
|
+
@pulumi.getter(name="maintenanceWindowCollections")
|
82
|
+
def maintenance_window_collections(self) -> Sequence['outputs.GetMaintenanceWindowsMaintenanceWindowCollectionResult']:
|
83
|
+
"""
|
84
|
+
The list of maintenance_window_collection.
|
85
|
+
"""
|
86
|
+
return pulumi.get(self, "maintenance_window_collections")
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter
|
90
|
+
def state(self) -> Optional[str]:
|
91
|
+
"""
|
92
|
+
The current state of the MaintenanceWindow.
|
93
|
+
"""
|
94
|
+
return pulumi.get(self, "state")
|
95
|
+
|
96
|
+
|
97
|
+
class AwaitableGetMaintenanceWindowsResult(GetMaintenanceWindowsResult):
|
98
|
+
# pylint: disable=using-constant-test
|
99
|
+
def __await__(self):
|
100
|
+
if False:
|
101
|
+
yield self
|
102
|
+
return GetMaintenanceWindowsResult(
|
103
|
+
compartment_id=self.compartment_id,
|
104
|
+
display_name=self.display_name,
|
105
|
+
filters=self.filters,
|
106
|
+
id=self.id,
|
107
|
+
maintenance_window_collections=self.maintenance_window_collections,
|
108
|
+
state=self.state)
|
109
|
+
|
110
|
+
|
111
|
+
def get_maintenance_windows(compartment_id: Optional[str] = None,
|
112
|
+
display_name: Optional[str] = None,
|
113
|
+
filters: Optional[Sequence[Union['GetMaintenanceWindowsFilterArgs', 'GetMaintenanceWindowsFilterArgsDict']]] = None,
|
114
|
+
id: Optional[str] = None,
|
115
|
+
state: Optional[str] = None,
|
116
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMaintenanceWindowsResult:
|
117
|
+
"""
|
118
|
+
This data source provides the list of Maintenance Windows in Oracle Cloud Infrastructure Fleet Apps Management service.
|
119
|
+
|
120
|
+
Returns a list of MaintenanceWindows in the specified Tenancy.
|
121
|
+
|
122
|
+
## Example Usage
|
123
|
+
|
124
|
+
```python
|
125
|
+
import pulumi
|
126
|
+
import pulumi_oci as oci
|
127
|
+
|
128
|
+
test_maintenance_windows = oci.FleetAppsManagement.get_maintenance_windows(compartment_id=compartment_id,
|
129
|
+
display_name=maintenance_window_display_name,
|
130
|
+
id=maintenance_window_id,
|
131
|
+
state=maintenance_window_state)
|
132
|
+
```
|
133
|
+
|
134
|
+
|
135
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
136
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
137
|
+
:param str id: unique MaintenanceWindow identifier
|
138
|
+
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
139
|
+
"""
|
140
|
+
__args__ = dict()
|
141
|
+
__args__['compartmentId'] = compartment_id
|
142
|
+
__args__['displayName'] = display_name
|
143
|
+
__args__['filters'] = filters
|
144
|
+
__args__['id'] = id
|
145
|
+
__args__['state'] = state
|
146
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
147
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getMaintenanceWindows:getMaintenanceWindows', __args__, opts=opts, typ=GetMaintenanceWindowsResult).value
|
148
|
+
|
149
|
+
return AwaitableGetMaintenanceWindowsResult(
|
150
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
151
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
152
|
+
filters=pulumi.get(__ret__, 'filters'),
|
153
|
+
id=pulumi.get(__ret__, 'id'),
|
154
|
+
maintenance_window_collections=pulumi.get(__ret__, 'maintenance_window_collections'),
|
155
|
+
state=pulumi.get(__ret__, 'state'))
|
156
|
+
def get_maintenance_windows_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
157
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
158
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetMaintenanceWindowsFilterArgs', 'GetMaintenanceWindowsFilterArgsDict']]]]] = None,
|
159
|
+
id: Optional[pulumi.Input[Optional[str]]] = None,
|
160
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
161
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMaintenanceWindowsResult]:
|
162
|
+
"""
|
163
|
+
This data source provides the list of Maintenance Windows in Oracle Cloud Infrastructure Fleet Apps Management service.
|
164
|
+
|
165
|
+
Returns a list of MaintenanceWindows in the specified Tenancy.
|
166
|
+
|
167
|
+
## Example Usage
|
168
|
+
|
169
|
+
```python
|
170
|
+
import pulumi
|
171
|
+
import pulumi_oci as oci
|
172
|
+
|
173
|
+
test_maintenance_windows = oci.FleetAppsManagement.get_maintenance_windows(compartment_id=compartment_id,
|
174
|
+
display_name=maintenance_window_display_name,
|
175
|
+
id=maintenance_window_id,
|
176
|
+
state=maintenance_window_state)
|
177
|
+
```
|
178
|
+
|
179
|
+
|
180
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
181
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
182
|
+
:param str id: unique MaintenanceWindow identifier
|
183
|
+
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
184
|
+
"""
|
185
|
+
__args__ = dict()
|
186
|
+
__args__['compartmentId'] = compartment_id
|
187
|
+
__args__['displayName'] = display_name
|
188
|
+
__args__['filters'] = filters
|
189
|
+
__args__['id'] = id
|
190
|
+
__args__['state'] = state
|
191
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
192
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getMaintenanceWindows:getMaintenanceWindows', __args__, opts=opts, typ=GetMaintenanceWindowsResult)
|
193
|
+
return __ret__.apply(lambda __response__: GetMaintenanceWindowsResult(
|
194
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
195
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
196
|
+
filters=pulumi.get(__response__, 'filters'),
|
197
|
+
id=pulumi.get(__response__, 'id'),
|
198
|
+
maintenance_window_collections=pulumi.get(__response__, 'maintenance_window_collections'),
|
199
|
+
state=pulumi.get(__response__, 'state')))
|
@@ -0,0 +1,123 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetOnboardingPoliciesResult',
|
21
|
+
'AwaitableGetOnboardingPoliciesResult',
|
22
|
+
'get_onboarding_policies',
|
23
|
+
'get_onboarding_policies_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetOnboardingPoliciesResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getOnboardingPolicies.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, filters=None, id=None, onboarding_policy_collections=None):
|
32
|
+
if filters and not isinstance(filters, list):
|
33
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
34
|
+
pulumi.set(__self__, "filters", filters)
|
35
|
+
if id and not isinstance(id, str):
|
36
|
+
raise TypeError("Expected argument 'id' to be a str")
|
37
|
+
pulumi.set(__self__, "id", id)
|
38
|
+
if onboarding_policy_collections and not isinstance(onboarding_policy_collections, list):
|
39
|
+
raise TypeError("Expected argument 'onboarding_policy_collections' to be a list")
|
40
|
+
pulumi.set(__self__, "onboarding_policy_collections", onboarding_policy_collections)
|
41
|
+
|
42
|
+
@property
|
43
|
+
@pulumi.getter
|
44
|
+
def filters(self) -> Optional[Sequence['outputs.GetOnboardingPoliciesFilterResult']]:
|
45
|
+
return pulumi.get(self, "filters")
|
46
|
+
|
47
|
+
@property
|
48
|
+
@pulumi.getter
|
49
|
+
def id(self) -> str:
|
50
|
+
"""
|
51
|
+
The provider-assigned unique ID for this managed resource.
|
52
|
+
"""
|
53
|
+
return pulumi.get(self, "id")
|
54
|
+
|
55
|
+
@property
|
56
|
+
@pulumi.getter(name="onboardingPolicyCollections")
|
57
|
+
def onboarding_policy_collections(self) -> Sequence['outputs.GetOnboardingPoliciesOnboardingPolicyCollectionResult']:
|
58
|
+
"""
|
59
|
+
The list of onboarding_policy_collection.
|
60
|
+
"""
|
61
|
+
return pulumi.get(self, "onboarding_policy_collections")
|
62
|
+
|
63
|
+
|
64
|
+
class AwaitableGetOnboardingPoliciesResult(GetOnboardingPoliciesResult):
|
65
|
+
# pylint: disable=using-constant-test
|
66
|
+
def __await__(self):
|
67
|
+
if False:
|
68
|
+
yield self
|
69
|
+
return GetOnboardingPoliciesResult(
|
70
|
+
filters=self.filters,
|
71
|
+
id=self.id,
|
72
|
+
onboarding_policy_collections=self.onboarding_policy_collections)
|
73
|
+
|
74
|
+
|
75
|
+
def get_onboarding_policies(filters: Optional[Sequence[Union['GetOnboardingPoliciesFilterArgs', 'GetOnboardingPoliciesFilterArgsDict']]] = None,
|
76
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOnboardingPoliciesResult:
|
77
|
+
"""
|
78
|
+
This data source provides the list of Onboarding Policies in Oracle Cloud Infrastructure Fleet Apps Management service.
|
79
|
+
|
80
|
+
Returns a list of onboarding policy information for FAMS.
|
81
|
+
|
82
|
+
## Example Usage
|
83
|
+
|
84
|
+
```python
|
85
|
+
import pulumi
|
86
|
+
import pulumi_oci as oci
|
87
|
+
|
88
|
+
test_onboarding_policies = oci.FleetAppsManagement.get_onboarding_policies()
|
89
|
+
```
|
90
|
+
"""
|
91
|
+
__args__ = dict()
|
92
|
+
__args__['filters'] = filters
|
93
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
94
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getOnboardingPolicies:getOnboardingPolicies', __args__, opts=opts, typ=GetOnboardingPoliciesResult).value
|
95
|
+
|
96
|
+
return AwaitableGetOnboardingPoliciesResult(
|
97
|
+
filters=pulumi.get(__ret__, 'filters'),
|
98
|
+
id=pulumi.get(__ret__, 'id'),
|
99
|
+
onboarding_policy_collections=pulumi.get(__ret__, 'onboarding_policy_collections'))
|
100
|
+
def get_onboarding_policies_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetOnboardingPoliciesFilterArgs', 'GetOnboardingPoliciesFilterArgsDict']]]]] = None,
|
101
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOnboardingPoliciesResult]:
|
102
|
+
"""
|
103
|
+
This data source provides the list of Onboarding Policies in Oracle Cloud Infrastructure Fleet Apps Management service.
|
104
|
+
|
105
|
+
Returns a list of onboarding policy information for FAMS.
|
106
|
+
|
107
|
+
## Example Usage
|
108
|
+
|
109
|
+
```python
|
110
|
+
import pulumi
|
111
|
+
import pulumi_oci as oci
|
112
|
+
|
113
|
+
test_onboarding_policies = oci.FleetAppsManagement.get_onboarding_policies()
|
114
|
+
```
|
115
|
+
"""
|
116
|
+
__args__ = dict()
|
117
|
+
__args__['filters'] = filters
|
118
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
119
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getOnboardingPolicies:getOnboardingPolicies', __args__, opts=opts, typ=GetOnboardingPoliciesResult)
|
120
|
+
return __ret__.apply(lambda __response__: GetOnboardingPoliciesResult(
|
121
|
+
filters=pulumi.get(__response__, 'filters'),
|
122
|
+
id=pulumi.get(__response__, 'id'),
|
123
|
+
onboarding_policy_collections=pulumi.get(__response__, 'onboarding_policy_collections')))
|