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