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,377 @@
|
|
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
|
+
'GetRunbookResult',
|
20
|
+
'AwaitableGetRunbookResult',
|
21
|
+
'get_runbook',
|
22
|
+
'get_runbook_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetRunbookResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getRunbook.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, associations=None, compartment_id=None, defined_tags=None, description=None, display_name=None, estimated_time=None, freeform_tags=None, id=None, is_default=None, lifecycle_details=None, operation=None, os_type=None, platform=None, resource_region=None, runbook_id=None, runbook_relevance=None, state=None, system_tags=None, time_created=None, time_updated=None, type=None):
|
31
|
+
if associations and not isinstance(associations, list):
|
32
|
+
raise TypeError("Expected argument 'associations' to be a list")
|
33
|
+
pulumi.set(__self__, "associations", associations)
|
34
|
+
if compartment_id and not isinstance(compartment_id, str):
|
35
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
36
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
37
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
38
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
39
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
40
|
+
if description and not isinstance(description, str):
|
41
|
+
raise TypeError("Expected argument 'description' to be a str")
|
42
|
+
pulumi.set(__self__, "description", description)
|
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 estimated_time and not isinstance(estimated_time, str):
|
47
|
+
raise TypeError("Expected argument 'estimated_time' to be a str")
|
48
|
+
pulumi.set(__self__, "estimated_time", estimated_time)
|
49
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
50
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
51
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
52
|
+
if id and not isinstance(id, str):
|
53
|
+
raise TypeError("Expected argument 'id' to be a str")
|
54
|
+
pulumi.set(__self__, "id", id)
|
55
|
+
if is_default and not isinstance(is_default, bool):
|
56
|
+
raise TypeError("Expected argument 'is_default' to be a bool")
|
57
|
+
pulumi.set(__self__, "is_default", is_default)
|
58
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
59
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
60
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
61
|
+
if operation and not isinstance(operation, str):
|
62
|
+
raise TypeError("Expected argument 'operation' to be a str")
|
63
|
+
pulumi.set(__self__, "operation", operation)
|
64
|
+
if os_type and not isinstance(os_type, str):
|
65
|
+
raise TypeError("Expected argument 'os_type' to be a str")
|
66
|
+
pulumi.set(__self__, "os_type", os_type)
|
67
|
+
if platform and not isinstance(platform, str):
|
68
|
+
raise TypeError("Expected argument 'platform' to be a str")
|
69
|
+
pulumi.set(__self__, "platform", platform)
|
70
|
+
if resource_region and not isinstance(resource_region, str):
|
71
|
+
raise TypeError("Expected argument 'resource_region' to be a str")
|
72
|
+
pulumi.set(__self__, "resource_region", resource_region)
|
73
|
+
if runbook_id and not isinstance(runbook_id, str):
|
74
|
+
raise TypeError("Expected argument 'runbook_id' to be a str")
|
75
|
+
pulumi.set(__self__, "runbook_id", runbook_id)
|
76
|
+
if runbook_relevance and not isinstance(runbook_relevance, str):
|
77
|
+
raise TypeError("Expected argument 'runbook_relevance' to be a str")
|
78
|
+
pulumi.set(__self__, "runbook_relevance", runbook_relevance)
|
79
|
+
if state and not isinstance(state, str):
|
80
|
+
raise TypeError("Expected argument 'state' to be a str")
|
81
|
+
pulumi.set(__self__, "state", state)
|
82
|
+
if system_tags and not isinstance(system_tags, dict):
|
83
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
84
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
85
|
+
if time_created and not isinstance(time_created, str):
|
86
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
87
|
+
pulumi.set(__self__, "time_created", time_created)
|
88
|
+
if time_updated and not isinstance(time_updated, str):
|
89
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
90
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
91
|
+
if type and not isinstance(type, str):
|
92
|
+
raise TypeError("Expected argument 'type' to be a str")
|
93
|
+
pulumi.set(__self__, "type", type)
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter
|
97
|
+
def associations(self) -> Sequence['outputs.GetRunbookAssociationResult']:
|
98
|
+
"""
|
99
|
+
JSON content with required associations
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "associations")
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter(name="compartmentId")
|
105
|
+
def compartment_id(self) -> str:
|
106
|
+
return pulumi.get(self, "compartment_id")
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter(name="definedTags")
|
110
|
+
def defined_tags(self) -> Mapping[str, str]:
|
111
|
+
"""
|
112
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "defined_tags")
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter
|
118
|
+
def description(self) -> str:
|
119
|
+
"""
|
120
|
+
A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "description")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter(name="displayName")
|
126
|
+
def display_name(self) -> str:
|
127
|
+
"""
|
128
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
|
129
|
+
"""
|
130
|
+
return pulumi.get(self, "display_name")
|
131
|
+
|
132
|
+
@property
|
133
|
+
@pulumi.getter(name="estimatedTime")
|
134
|
+
def estimated_time(self) -> str:
|
135
|
+
"""
|
136
|
+
Estimated time to successfully complete the runbook execution
|
137
|
+
"""
|
138
|
+
return pulumi.get(self, "estimated_time")
|
139
|
+
|
140
|
+
@property
|
141
|
+
@pulumi.getter(name="freeformTags")
|
142
|
+
def freeform_tags(self) -> Mapping[str, str]:
|
143
|
+
"""
|
144
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
145
|
+
"""
|
146
|
+
return pulumi.get(self, "freeform_tags")
|
147
|
+
|
148
|
+
@property
|
149
|
+
@pulumi.getter
|
150
|
+
def id(self) -> str:
|
151
|
+
"""
|
152
|
+
The provider-assigned unique ID for this managed resource.
|
153
|
+
"""
|
154
|
+
return pulumi.get(self, "id")
|
155
|
+
|
156
|
+
@property
|
157
|
+
@pulumi.getter(name="isDefault")
|
158
|
+
def is_default(self) -> bool:
|
159
|
+
"""
|
160
|
+
Is the runbook default?
|
161
|
+
"""
|
162
|
+
return pulumi.get(self, "is_default")
|
163
|
+
|
164
|
+
@property
|
165
|
+
@pulumi.getter(name="lifecycleDetails")
|
166
|
+
def lifecycle_details(self) -> str:
|
167
|
+
"""
|
168
|
+
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
169
|
+
"""
|
170
|
+
return pulumi.get(self, "lifecycle_details")
|
171
|
+
|
172
|
+
@property
|
173
|
+
@pulumi.getter
|
174
|
+
def operation(self) -> str:
|
175
|
+
"""
|
176
|
+
The lifecycle operation performed by the task.
|
177
|
+
"""
|
178
|
+
return pulumi.get(self, "operation")
|
179
|
+
|
180
|
+
@property
|
181
|
+
@pulumi.getter(name="osType")
|
182
|
+
def os_type(self) -> str:
|
183
|
+
"""
|
184
|
+
The OS type for the runbook.
|
185
|
+
"""
|
186
|
+
return pulumi.get(self, "os_type")
|
187
|
+
|
188
|
+
@property
|
189
|
+
@pulumi.getter
|
190
|
+
def platform(self) -> str:
|
191
|
+
"""
|
192
|
+
The platform of the runbook.
|
193
|
+
"""
|
194
|
+
return pulumi.get(self, "platform")
|
195
|
+
|
196
|
+
@property
|
197
|
+
@pulumi.getter(name="resourceRegion")
|
198
|
+
def resource_region(self) -> str:
|
199
|
+
"""
|
200
|
+
Associated region
|
201
|
+
"""
|
202
|
+
return pulumi.get(self, "resource_region")
|
203
|
+
|
204
|
+
@property
|
205
|
+
@pulumi.getter(name="runbookId")
|
206
|
+
def runbook_id(self) -> str:
|
207
|
+
return pulumi.get(self, "runbook_id")
|
208
|
+
|
209
|
+
@property
|
210
|
+
@pulumi.getter(name="runbookRelevance")
|
211
|
+
def runbook_relevance(self) -> str:
|
212
|
+
"""
|
213
|
+
Type of runbook structure.
|
214
|
+
"""
|
215
|
+
return pulumi.get(self, "runbook_relevance")
|
216
|
+
|
217
|
+
@property
|
218
|
+
@pulumi.getter
|
219
|
+
def state(self) -> str:
|
220
|
+
"""
|
221
|
+
The current state of the Runbook.
|
222
|
+
"""
|
223
|
+
return pulumi.get(self, "state")
|
224
|
+
|
225
|
+
@property
|
226
|
+
@pulumi.getter(name="systemTags")
|
227
|
+
def system_tags(self) -> Mapping[str, str]:
|
228
|
+
"""
|
229
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
230
|
+
"""
|
231
|
+
return pulumi.get(self, "system_tags")
|
232
|
+
|
233
|
+
@property
|
234
|
+
@pulumi.getter(name="timeCreated")
|
235
|
+
def time_created(self) -> str:
|
236
|
+
"""
|
237
|
+
The time this resource was created. An RFC3339 formatted datetime string.
|
238
|
+
"""
|
239
|
+
return pulumi.get(self, "time_created")
|
240
|
+
|
241
|
+
@property
|
242
|
+
@pulumi.getter(name="timeUpdated")
|
243
|
+
def time_updated(self) -> str:
|
244
|
+
"""
|
245
|
+
The time this resource was last updated. An RFC3339 formatted datetime string.
|
246
|
+
"""
|
247
|
+
return pulumi.get(self, "time_updated")
|
248
|
+
|
249
|
+
@property
|
250
|
+
@pulumi.getter
|
251
|
+
def type(self) -> str:
|
252
|
+
"""
|
253
|
+
The type of the runbook.
|
254
|
+
"""
|
255
|
+
return pulumi.get(self, "type")
|
256
|
+
|
257
|
+
|
258
|
+
class AwaitableGetRunbookResult(GetRunbookResult):
|
259
|
+
# pylint: disable=using-constant-test
|
260
|
+
def __await__(self):
|
261
|
+
if False:
|
262
|
+
yield self
|
263
|
+
return GetRunbookResult(
|
264
|
+
associations=self.associations,
|
265
|
+
compartment_id=self.compartment_id,
|
266
|
+
defined_tags=self.defined_tags,
|
267
|
+
description=self.description,
|
268
|
+
display_name=self.display_name,
|
269
|
+
estimated_time=self.estimated_time,
|
270
|
+
freeform_tags=self.freeform_tags,
|
271
|
+
id=self.id,
|
272
|
+
is_default=self.is_default,
|
273
|
+
lifecycle_details=self.lifecycle_details,
|
274
|
+
operation=self.operation,
|
275
|
+
os_type=self.os_type,
|
276
|
+
platform=self.platform,
|
277
|
+
resource_region=self.resource_region,
|
278
|
+
runbook_id=self.runbook_id,
|
279
|
+
runbook_relevance=self.runbook_relevance,
|
280
|
+
state=self.state,
|
281
|
+
system_tags=self.system_tags,
|
282
|
+
time_created=self.time_created,
|
283
|
+
time_updated=self.time_updated,
|
284
|
+
type=self.type)
|
285
|
+
|
286
|
+
|
287
|
+
def get_runbook(runbook_id: Optional[str] = None,
|
288
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRunbookResult:
|
289
|
+
"""
|
290
|
+
This data source provides details about a specific Runbook resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
291
|
+
|
292
|
+
Gets a Runbook by identifier
|
293
|
+
|
294
|
+
## Example Usage
|
295
|
+
|
296
|
+
```python
|
297
|
+
import pulumi
|
298
|
+
import pulumi_oci as oci
|
299
|
+
|
300
|
+
test_runbook = oci.FleetAppsManagement.get_runbook(runbook_id=test_runbook_oci_fleet_apps_management_runbook["id"])
|
301
|
+
```
|
302
|
+
|
303
|
+
|
304
|
+
:param str runbook_id: Unique Runbook identifier
|
305
|
+
"""
|
306
|
+
__args__ = dict()
|
307
|
+
__args__['runbookId'] = runbook_id
|
308
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
309
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getRunbook:getRunbook', __args__, opts=opts, typ=GetRunbookResult).value
|
310
|
+
|
311
|
+
return AwaitableGetRunbookResult(
|
312
|
+
associations=pulumi.get(__ret__, 'associations'),
|
313
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
314
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
315
|
+
description=pulumi.get(__ret__, 'description'),
|
316
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
317
|
+
estimated_time=pulumi.get(__ret__, 'estimated_time'),
|
318
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
319
|
+
id=pulumi.get(__ret__, 'id'),
|
320
|
+
is_default=pulumi.get(__ret__, 'is_default'),
|
321
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
322
|
+
operation=pulumi.get(__ret__, 'operation'),
|
323
|
+
os_type=pulumi.get(__ret__, 'os_type'),
|
324
|
+
platform=pulumi.get(__ret__, 'platform'),
|
325
|
+
resource_region=pulumi.get(__ret__, 'resource_region'),
|
326
|
+
runbook_id=pulumi.get(__ret__, 'runbook_id'),
|
327
|
+
runbook_relevance=pulumi.get(__ret__, 'runbook_relevance'),
|
328
|
+
state=pulumi.get(__ret__, 'state'),
|
329
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
330
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
331
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
332
|
+
type=pulumi.get(__ret__, 'type'))
|
333
|
+
def get_runbook_output(runbook_id: Optional[pulumi.Input[str]] = None,
|
334
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRunbookResult]:
|
335
|
+
"""
|
336
|
+
This data source provides details about a specific Runbook resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
337
|
+
|
338
|
+
Gets a Runbook by identifier
|
339
|
+
|
340
|
+
## Example Usage
|
341
|
+
|
342
|
+
```python
|
343
|
+
import pulumi
|
344
|
+
import pulumi_oci as oci
|
345
|
+
|
346
|
+
test_runbook = oci.FleetAppsManagement.get_runbook(runbook_id=test_runbook_oci_fleet_apps_management_runbook["id"])
|
347
|
+
```
|
348
|
+
|
349
|
+
|
350
|
+
:param str runbook_id: Unique Runbook identifier
|
351
|
+
"""
|
352
|
+
__args__ = dict()
|
353
|
+
__args__['runbookId'] = runbook_id
|
354
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
355
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getRunbook:getRunbook', __args__, opts=opts, typ=GetRunbookResult)
|
356
|
+
return __ret__.apply(lambda __response__: GetRunbookResult(
|
357
|
+
associations=pulumi.get(__response__, 'associations'),
|
358
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
359
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
360
|
+
description=pulumi.get(__response__, 'description'),
|
361
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
362
|
+
estimated_time=pulumi.get(__response__, 'estimated_time'),
|
363
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
364
|
+
id=pulumi.get(__response__, 'id'),
|
365
|
+
is_default=pulumi.get(__response__, 'is_default'),
|
366
|
+
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
367
|
+
operation=pulumi.get(__response__, 'operation'),
|
368
|
+
os_type=pulumi.get(__response__, 'os_type'),
|
369
|
+
platform=pulumi.get(__response__, 'platform'),
|
370
|
+
resource_region=pulumi.get(__response__, 'resource_region'),
|
371
|
+
runbook_id=pulumi.get(__response__, 'runbook_id'),
|
372
|
+
runbook_relevance=pulumi.get(__response__, 'runbook_relevance'),
|
373
|
+
state=pulumi.get(__response__, 'state'),
|
374
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
375
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
376
|
+
time_updated=pulumi.get(__response__, 'time_updated'),
|
377
|
+
type=pulumi.get(__response__, 'type')))
|
@@ -0,0 +1,284 @@
|
|
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
|
+
'GetRunbooksResult',
|
21
|
+
'AwaitableGetRunbooksResult',
|
22
|
+
'get_runbooks',
|
23
|
+
'get_runbooks_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetRunbooksResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getRunbooks.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, operation=None, platform=None, runbook_collections=None, runbook_relevance=None, state=None, type=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 operation and not isinstance(operation, str):
|
45
|
+
raise TypeError("Expected argument 'operation' to be a str")
|
46
|
+
pulumi.set(__self__, "operation", operation)
|
47
|
+
if platform and not isinstance(platform, str):
|
48
|
+
raise TypeError("Expected argument 'platform' to be a str")
|
49
|
+
pulumi.set(__self__, "platform", platform)
|
50
|
+
if runbook_collections and not isinstance(runbook_collections, list):
|
51
|
+
raise TypeError("Expected argument 'runbook_collections' to be a list")
|
52
|
+
pulumi.set(__self__, "runbook_collections", runbook_collections)
|
53
|
+
if runbook_relevance and not isinstance(runbook_relevance, str):
|
54
|
+
raise TypeError("Expected argument 'runbook_relevance' to be a str")
|
55
|
+
pulumi.set(__self__, "runbook_relevance", runbook_relevance)
|
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
|
+
if type and not isinstance(type, str):
|
60
|
+
raise TypeError("Expected argument 'type' to be a str")
|
61
|
+
pulumi.set(__self__, "type", type)
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter(name="compartmentId")
|
65
|
+
def compartment_id(self) -> Optional[str]:
|
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.GetRunbooksFilterResult']]:
|
79
|
+
return pulumi.get(self, "filters")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter
|
83
|
+
def id(self) -> Optional[str]:
|
84
|
+
"""
|
85
|
+
The OCID of the resource.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "id")
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter
|
91
|
+
def operation(self) -> Optional[str]:
|
92
|
+
"""
|
93
|
+
The lifecycle operation performed by the task.
|
94
|
+
"""
|
95
|
+
return pulumi.get(self, "operation")
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter
|
99
|
+
def platform(self) -> Optional[str]:
|
100
|
+
"""
|
101
|
+
The platform of the runbook.
|
102
|
+
"""
|
103
|
+
return pulumi.get(self, "platform")
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter(name="runbookCollections")
|
107
|
+
def runbook_collections(self) -> Sequence['outputs.GetRunbooksRunbookCollectionResult']:
|
108
|
+
"""
|
109
|
+
The list of runbook_collection.
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "runbook_collections")
|
112
|
+
|
113
|
+
@property
|
114
|
+
@pulumi.getter(name="runbookRelevance")
|
115
|
+
def runbook_relevance(self) -> Optional[str]:
|
116
|
+
"""
|
117
|
+
Type of runbook structure.
|
118
|
+
"""
|
119
|
+
return pulumi.get(self, "runbook_relevance")
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter
|
123
|
+
def state(self) -> Optional[str]:
|
124
|
+
"""
|
125
|
+
The current state of the Runbook.
|
126
|
+
"""
|
127
|
+
return pulumi.get(self, "state")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter
|
131
|
+
def type(self) -> Optional[str]:
|
132
|
+
"""
|
133
|
+
The type of the runbook.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "type")
|
136
|
+
|
137
|
+
|
138
|
+
class AwaitableGetRunbooksResult(GetRunbooksResult):
|
139
|
+
# pylint: disable=using-constant-test
|
140
|
+
def __await__(self):
|
141
|
+
if False:
|
142
|
+
yield self
|
143
|
+
return GetRunbooksResult(
|
144
|
+
compartment_id=self.compartment_id,
|
145
|
+
display_name=self.display_name,
|
146
|
+
filters=self.filters,
|
147
|
+
id=self.id,
|
148
|
+
operation=self.operation,
|
149
|
+
platform=self.platform,
|
150
|
+
runbook_collections=self.runbook_collections,
|
151
|
+
runbook_relevance=self.runbook_relevance,
|
152
|
+
state=self.state,
|
153
|
+
type=self.type)
|
154
|
+
|
155
|
+
|
156
|
+
def get_runbooks(compartment_id: Optional[str] = None,
|
157
|
+
display_name: Optional[str] = None,
|
158
|
+
filters: Optional[Sequence[Union['GetRunbooksFilterArgs', 'GetRunbooksFilterArgsDict']]] = None,
|
159
|
+
id: Optional[str] = None,
|
160
|
+
operation: Optional[str] = None,
|
161
|
+
platform: Optional[str] = None,
|
162
|
+
runbook_relevance: Optional[str] = None,
|
163
|
+
state: Optional[str] = None,
|
164
|
+
type: Optional[str] = None,
|
165
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRunbooksResult:
|
166
|
+
"""
|
167
|
+
This data source provides the list of Runbooks in Oracle Cloud Infrastructure Fleet Apps Management service.
|
168
|
+
|
169
|
+
Returns a list of Runbooks.
|
170
|
+
|
171
|
+
## Example Usage
|
172
|
+
|
173
|
+
```python
|
174
|
+
import pulumi
|
175
|
+
import pulumi_oci as oci
|
176
|
+
|
177
|
+
test_runbooks = oci.FleetAppsManagement.get_runbooks(compartment_id=compartment_id,
|
178
|
+
display_name=runbook_display_name,
|
179
|
+
id=runbook_id,
|
180
|
+
operation=runbook_operation,
|
181
|
+
platform=runbook_platform,
|
182
|
+
runbook_relevance=runbook_runbook_relevance,
|
183
|
+
state=runbook_state,
|
184
|
+
type=runbook_type)
|
185
|
+
```
|
186
|
+
|
187
|
+
|
188
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
189
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
190
|
+
:param str id: unique Runbook identifier
|
191
|
+
:param str operation: The runbook lifecycle.
|
192
|
+
:param str platform: The ID of the runbook platform.
|
193
|
+
:param str runbook_relevance: The runbook relevance of product or full-stack.
|
194
|
+
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
195
|
+
:param str type: The ID of the runbook type.
|
196
|
+
"""
|
197
|
+
__args__ = dict()
|
198
|
+
__args__['compartmentId'] = compartment_id
|
199
|
+
__args__['displayName'] = display_name
|
200
|
+
__args__['filters'] = filters
|
201
|
+
__args__['id'] = id
|
202
|
+
__args__['operation'] = operation
|
203
|
+
__args__['platform'] = platform
|
204
|
+
__args__['runbookRelevance'] = runbook_relevance
|
205
|
+
__args__['state'] = state
|
206
|
+
__args__['type'] = type
|
207
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
208
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getRunbooks:getRunbooks', __args__, opts=opts, typ=GetRunbooksResult).value
|
209
|
+
|
210
|
+
return AwaitableGetRunbooksResult(
|
211
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
212
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
213
|
+
filters=pulumi.get(__ret__, 'filters'),
|
214
|
+
id=pulumi.get(__ret__, 'id'),
|
215
|
+
operation=pulumi.get(__ret__, 'operation'),
|
216
|
+
platform=pulumi.get(__ret__, 'platform'),
|
217
|
+
runbook_collections=pulumi.get(__ret__, 'runbook_collections'),
|
218
|
+
runbook_relevance=pulumi.get(__ret__, 'runbook_relevance'),
|
219
|
+
state=pulumi.get(__ret__, 'state'),
|
220
|
+
type=pulumi.get(__ret__, 'type'))
|
221
|
+
def get_runbooks_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
222
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
223
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetRunbooksFilterArgs', 'GetRunbooksFilterArgsDict']]]]] = None,
|
224
|
+
id: Optional[pulumi.Input[Optional[str]]] = None,
|
225
|
+
operation: Optional[pulumi.Input[Optional[str]]] = None,
|
226
|
+
platform: Optional[pulumi.Input[Optional[str]]] = None,
|
227
|
+
runbook_relevance: Optional[pulumi.Input[Optional[str]]] = None,
|
228
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
229
|
+
type: Optional[pulumi.Input[Optional[str]]] = None,
|
230
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRunbooksResult]:
|
231
|
+
"""
|
232
|
+
This data source provides the list of Runbooks in Oracle Cloud Infrastructure Fleet Apps Management service.
|
233
|
+
|
234
|
+
Returns a list of Runbooks.
|
235
|
+
|
236
|
+
## Example Usage
|
237
|
+
|
238
|
+
```python
|
239
|
+
import pulumi
|
240
|
+
import pulumi_oci as oci
|
241
|
+
|
242
|
+
test_runbooks = oci.FleetAppsManagement.get_runbooks(compartment_id=compartment_id,
|
243
|
+
display_name=runbook_display_name,
|
244
|
+
id=runbook_id,
|
245
|
+
operation=runbook_operation,
|
246
|
+
platform=runbook_platform,
|
247
|
+
runbook_relevance=runbook_runbook_relevance,
|
248
|
+
state=runbook_state,
|
249
|
+
type=runbook_type)
|
250
|
+
```
|
251
|
+
|
252
|
+
|
253
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
254
|
+
:param str display_name: A filter to return only resources that match the entire display name given.
|
255
|
+
:param str id: unique Runbook identifier
|
256
|
+
:param str operation: The runbook lifecycle.
|
257
|
+
:param str platform: The ID of the runbook platform.
|
258
|
+
:param str runbook_relevance: The runbook relevance of product or full-stack.
|
259
|
+
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
260
|
+
:param str type: The ID of the runbook type.
|
261
|
+
"""
|
262
|
+
__args__ = dict()
|
263
|
+
__args__['compartmentId'] = compartment_id
|
264
|
+
__args__['displayName'] = display_name
|
265
|
+
__args__['filters'] = filters
|
266
|
+
__args__['id'] = id
|
267
|
+
__args__['operation'] = operation
|
268
|
+
__args__['platform'] = platform
|
269
|
+
__args__['runbookRelevance'] = runbook_relevance
|
270
|
+
__args__['state'] = state
|
271
|
+
__args__['type'] = type
|
272
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
273
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getRunbooks:getRunbooks', __args__, opts=opts, typ=GetRunbooksResult)
|
274
|
+
return __ret__.apply(lambda __response__: GetRunbooksResult(
|
275
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
276
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
277
|
+
filters=pulumi.get(__response__, 'filters'),
|
278
|
+
id=pulumi.get(__response__, 'id'),
|
279
|
+
operation=pulumi.get(__response__, 'operation'),
|
280
|
+
platform=pulumi.get(__response__, 'platform'),
|
281
|
+
runbook_collections=pulumi.get(__response__, 'runbook_collections'),
|
282
|
+
runbook_relevance=pulumi.get(__response__, 'runbook_relevance'),
|
283
|
+
state=pulumi.get(__response__, 'state'),
|
284
|
+
type=pulumi.get(__response__, 'type')))
|