pulumi-oci 2.19.0a1733984857__py3-none-any.whl → 2.20.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 +56 -0
- pulumi_oci/bigdataservice/__init__.py +4 -0
- pulumi_oci/bigdataservice/_inputs.py +672 -6
- pulumi_oci/bigdataservice/bds_instance.py +169 -7
- pulumi_oci/bigdataservice/bds_instance_api_key.py +66 -3
- pulumi_oci/bigdataservice/bds_instance_identity_configuration.py +859 -0
- pulumi_oci/bigdataservice/bds_instance_patch_action.py +4 -0
- pulumi_oci/bigdataservice/get_bds_cluster_versions.py +123 -0
- pulumi_oci/bigdataservice/get_bds_instance.py +48 -1
- pulumi_oci/bigdataservice/get_bds_instance_api_key.py +17 -1
- pulumi_oci/bigdataservice/get_bds_instance_api_keys.py +3 -0
- pulumi_oci/bigdataservice/get_bds_instance_identity_configuration.py +322 -0
- pulumi_oci/bigdataservice/get_bds_instance_identity_configurations.py +207 -0
- pulumi_oci/bigdataservice/outputs.py +1466 -98
- pulumi_oci/blockchain/get_blockchain_platform.py +1 -1
- pulumi_oci/blockchain/outputs.py +2 -2
- pulumi_oci/core/outputs.py +4 -0
- pulumi_oci/database/autonomous_container_database.py +47 -0
- pulumi_oci/database/autonomous_database.py +94 -0
- pulumi_oci/database/exadb_vm_cluster.py +104 -0
- pulumi_oci/database/get_autonomous_container_database.py +15 -1
- pulumi_oci/database/get_autonomous_database.py +29 -1
- pulumi_oci/database/outputs.py +36 -0
- pulumi_oci/dataflow/application.py +75 -33
- pulumi_oci/dataflow/get_application.py +15 -1
- pulumi_oci/dataflow/outputs.py +7 -0
- pulumi_oci/datascience/_inputs.py +32 -12
- pulumi_oci/datascience/get_job_run.py +3 -3
- pulumi_oci/datascience/get_job_runs.py +2 -2
- pulumi_oci/datascience/job_run.py +7 -7
- pulumi_oci/datascience/model_deployment.py +2 -0
- pulumi_oci/datascience/outputs.py +62 -26
- pulumi_oci/desktops/_inputs.py +9 -9
- pulumi_oci/desktops/desktop_pool.py +84 -35
- pulumi_oci/desktops/get_desktop_pool.py +12 -1
- pulumi_oci/desktops/outputs.py +13 -6
- pulumi_oci/disasterrecovery/_inputs.py +46 -30
- pulumi_oci/disasterrecovery/dr_plan.py +194 -23
- pulumi_oci/disasterrecovery/get_dr_plan.py +54 -4
- pulumi_oci/disasterrecovery/get_dr_plans.py +23 -1
- pulumi_oci/disasterrecovery/outputs.py +113 -21
- pulumi_oci/fleetappsmanagement/__init__.py +19 -0
- pulumi_oci/fleetappsmanagement/_inputs.py +5334 -378
- pulumi_oci/fleetappsmanagement/compliance_policy_rule.py +830 -0
- pulumi_oci/fleetappsmanagement/fleet.py +112 -67
- pulumi_oci/fleetappsmanagement/fleet_credential.py +44 -36
- pulumi_oci/fleetappsmanagement/fleet_property.py +35 -35
- pulumi_oci/fleetappsmanagement/fleet_resource.py +37 -37
- pulumi_oci/fleetappsmanagement/get_announcements.py +4 -4
- pulumi_oci/fleetappsmanagement/get_compliance_policies.py +199 -0
- pulumi_oci/fleetappsmanagement/get_compliance_policy.py +253 -0
- pulumi_oci/fleetappsmanagement/get_compliance_policy_rule.py +324 -0
- pulumi_oci/fleetappsmanagement/get_compliance_policy_rules.py +243 -0
- pulumi_oci/fleetappsmanagement/get_compliance_record_counts.py +144 -0
- pulumi_oci/fleetappsmanagement/get_compliance_records.py +279 -0
- pulumi_oci/fleetappsmanagement/get_fleet.py +29 -15
- pulumi_oci/fleetappsmanagement/get_fleet_compliance_report.py +8 -8
- pulumi_oci/fleetappsmanagement/get_fleet_credential.py +7 -7
- pulumi_oci/fleetappsmanagement/get_fleet_credentials.py +61 -17
- pulumi_oci/fleetappsmanagement/get_fleet_products.py +6 -6
- pulumi_oci/fleetappsmanagement/get_fleet_properties.py +8 -8
- pulumi_oci/fleetappsmanagement/get_fleet_property.py +11 -11
- pulumi_oci/fleetappsmanagement/get_fleet_resource.py +11 -11
- pulumi_oci/fleetappsmanagement/get_fleet_resources.py +10 -10
- pulumi_oci/fleetappsmanagement/get_fleet_targets.py +8 -8
- pulumi_oci/fleetappsmanagement/get_fleets.py +16 -16
- pulumi_oci/fleetappsmanagement/get_inventory_resources.py +12 -12
- pulumi_oci/fleetappsmanagement/get_maintenance_window.py +8 -8
- pulumi_oci/fleetappsmanagement/get_maintenance_windows.py +31 -12
- pulumi_oci/fleetappsmanagement/get_managed_entity_counts.py +144 -0
- pulumi_oci/fleetappsmanagement/get_onboarding_policies.py +2 -2
- pulumi_oci/fleetappsmanagement/get_onboardings.py +2 -2
- pulumi_oci/fleetappsmanagement/get_patch.py +363 -0
- pulumi_oci/fleetappsmanagement/get_patches.py +335 -0
- pulumi_oci/fleetappsmanagement/get_platform_configuration.py +296 -0
- pulumi_oci/fleetappsmanagement/get_platform_configurations.py +221 -0
- pulumi_oci/fleetappsmanagement/get_properties.py +9 -9
- pulumi_oci/fleetappsmanagement/get_property.py +4 -4
- pulumi_oci/fleetappsmanagement/get_runbook.py +8 -8
- pulumi_oci/fleetappsmanagement/get_runbooks.py +16 -16
- pulumi_oci/fleetappsmanagement/get_scheduler_definition.py +10 -10
- pulumi_oci/fleetappsmanagement/get_scheduler_definition_scheduled_fleets.py +2 -2
- pulumi_oci/fleetappsmanagement/get_scheduler_definitions.py +33 -11
- pulumi_oci/fleetappsmanagement/get_scheduler_job_counts.py +144 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_job_job_activity_resources.py +245 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_job_job_activity_steps.py +245 -0
- pulumi_oci/fleetappsmanagement/get_task_record.py +3 -3
- pulumi_oci/fleetappsmanagement/maintenance_window.py +44 -44
- pulumi_oci/fleetappsmanagement/onboarding.py +108 -20
- pulumi_oci/fleetappsmanagement/outputs.py +11222 -2736
- pulumi_oci/fleetappsmanagement/patch.py +978 -0
- pulumi_oci/fleetappsmanagement/platform_configuration.py +687 -0
- pulumi_oci/fleetappsmanagement/property.py +27 -27
- pulumi_oci/fleetappsmanagement/runbook.py +1173 -0
- pulumi_oci/fleetappsmanagement/scheduler_definition.py +30 -30
- pulumi_oci/fleetappsmanagement/task_record.py +754 -0
- pulumi_oci/fleetsoftwareupdate/fsu_collection.py +28 -0
- pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +56 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +15 -1
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +29 -1
- pulumi_oci/fleetsoftwareupdate/outputs.py +33 -0
- pulumi_oci/generativeai/dedicated_ai_cluster.py +21 -0
- pulumi_oci/goldengate/__init__.py +7 -0
- pulumi_oci/goldengate/_inputs.py +665 -0
- pulumi_oci/goldengate/connection.py +7 -7
- pulumi_oci/goldengate/get_pipeline.py +408 -0
- pulumi_oci/goldengate/get_pipeline_running_processes.py +144 -0
- pulumi_oci/goldengate/get_pipeline_schema_tables.py +207 -0
- pulumi_oci/goldengate/get_pipeline_schemas.py +163 -0
- pulumi_oci/goldengate/get_pipelines.py +213 -0
- pulumi_oci/goldengate/get_recipes.py +188 -0
- pulumi_oci/goldengate/get_trail_files.py +4 -2
- pulumi_oci/goldengate/get_trail_sequences.py +4 -2
- pulumi_oci/goldengate/outputs.py +1500 -0
- pulumi_oci/goldengate/pipeline.py +928 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/stackmonitoring/_inputs.py +94 -14
- pulumi_oci/stackmonitoring/get_metric_extensions.py +22 -3
- pulumi_oci/stackmonitoring/metric_extension.py +8 -0
- pulumi_oci/stackmonitoring/outputs.py +166 -24
- pulumi_oci/visualbuilder/_inputs.py +57 -202
- pulumi_oci/visualbuilder/get_vb_instance.py +15 -29
- pulumi_oci/visualbuilder/outputs.py +114 -400
- pulumi_oci/visualbuilder/vb_instance.py +62 -59
- {pulumi_oci-2.19.0a1733984857.dist-info → pulumi_oci-2.20.0.dist-info}/METADATA +3 -3
- {pulumi_oci-2.19.0a1733984857.dist-info → pulumi_oci-2.20.0.dist-info}/RECORD +128 -98
- {pulumi_oci-2.19.0a1733984857.dist-info → pulumi_oci-2.20.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.19.0a1733984857.dist-info → pulumi_oci-2.20.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,144 @@
|
|
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
|
+
'GetManagedEntityCountsResult',
|
21
|
+
'AwaitableGetManagedEntityCountsResult',
|
22
|
+
'get_managed_entity_counts',
|
23
|
+
'get_managed_entity_counts_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetManagedEntityCountsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getManagedEntityCounts.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, filters=None, id=None, managed_entity_aggregation_collections=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 filters and not isinstance(filters, list):
|
36
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
37
|
+
pulumi.set(__self__, "filters", filters)
|
38
|
+
if id and not isinstance(id, str):
|
39
|
+
raise TypeError("Expected argument 'id' to be a str")
|
40
|
+
pulumi.set(__self__, "id", id)
|
41
|
+
if managed_entity_aggregation_collections and not isinstance(managed_entity_aggregation_collections, list):
|
42
|
+
raise TypeError("Expected argument 'managed_entity_aggregation_collections' to be a list")
|
43
|
+
pulumi.set(__self__, "managed_entity_aggregation_collections", managed_entity_aggregation_collections)
|
44
|
+
|
45
|
+
@property
|
46
|
+
@pulumi.getter(name="compartmentId")
|
47
|
+
def compartment_id(self) -> Optional[str]:
|
48
|
+
return pulumi.get(self, "compartment_id")
|
49
|
+
|
50
|
+
@property
|
51
|
+
@pulumi.getter
|
52
|
+
def filters(self) -> Optional[Sequence['outputs.GetManagedEntityCountsFilterResult']]:
|
53
|
+
return pulumi.get(self, "filters")
|
54
|
+
|
55
|
+
@property
|
56
|
+
@pulumi.getter
|
57
|
+
def id(self) -> str:
|
58
|
+
"""
|
59
|
+
The provider-assigned unique ID for this managed resource.
|
60
|
+
"""
|
61
|
+
return pulumi.get(self, "id")
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter(name="managedEntityAggregationCollections")
|
65
|
+
def managed_entity_aggregation_collections(self) -> Sequence['outputs.GetManagedEntityCountsManagedEntityAggregationCollectionResult']:
|
66
|
+
"""
|
67
|
+
The list of managed_entity_aggregation_collection.
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "managed_entity_aggregation_collections")
|
70
|
+
|
71
|
+
|
72
|
+
class AwaitableGetManagedEntityCountsResult(GetManagedEntityCountsResult):
|
73
|
+
# pylint: disable=using-constant-test
|
74
|
+
def __await__(self):
|
75
|
+
if False:
|
76
|
+
yield self
|
77
|
+
return GetManagedEntityCountsResult(
|
78
|
+
compartment_id=self.compartment_id,
|
79
|
+
filters=self.filters,
|
80
|
+
id=self.id,
|
81
|
+
managed_entity_aggregation_collections=self.managed_entity_aggregation_collections)
|
82
|
+
|
83
|
+
|
84
|
+
def get_managed_entity_counts(compartment_id: Optional[str] = None,
|
85
|
+
filters: Optional[Sequence[Union['GetManagedEntityCountsFilterArgs', 'GetManagedEntityCountsFilterArgsDict']]] = None,
|
86
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManagedEntityCountsResult:
|
87
|
+
"""
|
88
|
+
This data source provides the list of Managed Entity Counts in Oracle Cloud Infrastructure Fleet Apps Management service.
|
89
|
+
|
90
|
+
Retrieve aggregated summary information of Managed Entities within a Tenancy.
|
91
|
+
|
92
|
+
## Example Usage
|
93
|
+
|
94
|
+
```python
|
95
|
+
import pulumi
|
96
|
+
import pulumi_oci as oci
|
97
|
+
|
98
|
+
test_managed_entity_counts = oci.FleetAppsManagement.get_managed_entity_counts(compartment_id=compartment_id)
|
99
|
+
```
|
100
|
+
|
101
|
+
|
102
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
103
|
+
"""
|
104
|
+
__args__ = dict()
|
105
|
+
__args__['compartmentId'] = compartment_id
|
106
|
+
__args__['filters'] = filters
|
107
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
108
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getManagedEntityCounts:getManagedEntityCounts', __args__, opts=opts, typ=GetManagedEntityCountsResult).value
|
109
|
+
|
110
|
+
return AwaitableGetManagedEntityCountsResult(
|
111
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
112
|
+
filters=pulumi.get(__ret__, 'filters'),
|
113
|
+
id=pulumi.get(__ret__, 'id'),
|
114
|
+
managed_entity_aggregation_collections=pulumi.get(__ret__, 'managed_entity_aggregation_collections'))
|
115
|
+
def get_managed_entity_counts_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
116
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetManagedEntityCountsFilterArgs', 'GetManagedEntityCountsFilterArgsDict']]]]] = None,
|
117
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetManagedEntityCountsResult]:
|
118
|
+
"""
|
119
|
+
This data source provides the list of Managed Entity Counts in Oracle Cloud Infrastructure Fleet Apps Management service.
|
120
|
+
|
121
|
+
Retrieve aggregated summary information of Managed Entities within a Tenancy.
|
122
|
+
|
123
|
+
## Example Usage
|
124
|
+
|
125
|
+
```python
|
126
|
+
import pulumi
|
127
|
+
import pulumi_oci as oci
|
128
|
+
|
129
|
+
test_managed_entity_counts = oci.FleetAppsManagement.get_managed_entity_counts(compartment_id=compartment_id)
|
130
|
+
```
|
131
|
+
|
132
|
+
|
133
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
134
|
+
"""
|
135
|
+
__args__ = dict()
|
136
|
+
__args__['compartmentId'] = compartment_id
|
137
|
+
__args__['filters'] = filters
|
138
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
139
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getManagedEntityCounts:getManagedEntityCounts', __args__, opts=opts, typ=GetManagedEntityCountsResult)
|
140
|
+
return __ret__.apply(lambda __response__: GetManagedEntityCountsResult(
|
141
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
142
|
+
filters=pulumi.get(__response__, 'filters'),
|
143
|
+
id=pulumi.get(__response__, 'id'),
|
144
|
+
managed_entity_aggregation_collections=pulumi.get(__response__, 'managed_entity_aggregation_collections')))
|
@@ -77,7 +77,7 @@ def get_onboarding_policies(filters: Optional[Sequence[Union['GetOnboardingPolic
|
|
77
77
|
"""
|
78
78
|
This data source provides the list of Onboarding Policies in Oracle Cloud Infrastructure Fleet Apps Management service.
|
79
79
|
|
80
|
-
Returns a list of onboarding policy information for
|
80
|
+
Returns a list of onboarding policy information for Fleet Application Management.
|
81
81
|
|
82
82
|
## Example Usage
|
83
83
|
|
@@ -102,7 +102,7 @@ def get_onboarding_policies_output(filters: Optional[pulumi.Input[Optional[Seque
|
|
102
102
|
"""
|
103
103
|
This data source provides the list of Onboarding Policies in Oracle Cloud Infrastructure Fleet Apps Management service.
|
104
104
|
|
105
|
-
Returns a list of onboarding policy information for
|
105
|
+
Returns a list of onboarding policy information for Fleet Application Management.
|
106
106
|
|
107
107
|
## Example Usage
|
108
108
|
|
@@ -120,7 +120,7 @@ def get_onboardings(compartment_id: Optional[str] = None,
|
|
120
120
|
|
121
121
|
:param str compartment_id: The ID of the compartment in which to list resources.
|
122
122
|
:param str id: unique onboarding identifier
|
123
|
-
:param str state: A filter to return only resources
|
123
|
+
:param str state: A filter to return only resources whose lifecycleState matches the given lifecycleState.
|
124
124
|
"""
|
125
125
|
__args__ = dict()
|
126
126
|
__args__['compartmentId'] = compartment_id
|
@@ -160,7 +160,7 @@ def get_onboardings_output(compartment_id: Optional[pulumi.Input[Optional[str]]]
|
|
160
160
|
|
161
161
|
:param str compartment_id: The ID of the compartment in which to list resources.
|
162
162
|
:param str id: unique onboarding identifier
|
163
|
-
:param str state: A filter to return only resources
|
163
|
+
:param str state: A filter to return only resources whose lifecycleState matches the given lifecycleState.
|
164
164
|
"""
|
165
165
|
__args__ = dict()
|
166
166
|
__args__['compartmentId'] = compartment_id
|
@@ -0,0 +1,363 @@
|
|
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
|
+
'GetPatchResult',
|
20
|
+
'AwaitableGetPatchResult',
|
21
|
+
'get_patch',
|
22
|
+
'get_patch_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetPatchResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getPatch.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, artifact_details=None, compartment_id=None, defined_tags=None, dependent_patches=None, description=None, freeform_tags=None, id=None, lifecycle_details=None, name=None, patch_id=None, patch_types=None, products=None, resource_region=None, severity=None, state=None, system_tags=None, time_created=None, time_released=None, time_updated=None, type=None):
|
31
|
+
if artifact_details and not isinstance(artifact_details, list):
|
32
|
+
raise TypeError("Expected argument 'artifact_details' to be a list")
|
33
|
+
pulumi.set(__self__, "artifact_details", artifact_details)
|
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 dependent_patches and not isinstance(dependent_patches, list):
|
41
|
+
raise TypeError("Expected argument 'dependent_patches' to be a list")
|
42
|
+
pulumi.set(__self__, "dependent_patches", dependent_patches)
|
43
|
+
if description and not isinstance(description, str):
|
44
|
+
raise TypeError("Expected argument 'description' to be a str")
|
45
|
+
pulumi.set(__self__, "description", description)
|
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 name and not isinstance(name, str):
|
56
|
+
raise TypeError("Expected argument 'name' to be a str")
|
57
|
+
pulumi.set(__self__, "name", name)
|
58
|
+
if patch_id and not isinstance(patch_id, str):
|
59
|
+
raise TypeError("Expected argument 'patch_id' to be a str")
|
60
|
+
pulumi.set(__self__, "patch_id", patch_id)
|
61
|
+
if patch_types and not isinstance(patch_types, list):
|
62
|
+
raise TypeError("Expected argument 'patch_types' to be a list")
|
63
|
+
pulumi.set(__self__, "patch_types", patch_types)
|
64
|
+
if products and not isinstance(products, list):
|
65
|
+
raise TypeError("Expected argument 'products' to be a list")
|
66
|
+
pulumi.set(__self__, "products", products)
|
67
|
+
if resource_region and not isinstance(resource_region, str):
|
68
|
+
raise TypeError("Expected argument 'resource_region' to be a str")
|
69
|
+
pulumi.set(__self__, "resource_region", resource_region)
|
70
|
+
if severity and not isinstance(severity, str):
|
71
|
+
raise TypeError("Expected argument 'severity' to be a str")
|
72
|
+
pulumi.set(__self__, "severity", severity)
|
73
|
+
if state and not isinstance(state, str):
|
74
|
+
raise TypeError("Expected argument 'state' to be a str")
|
75
|
+
pulumi.set(__self__, "state", state)
|
76
|
+
if system_tags and not isinstance(system_tags, dict):
|
77
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
78
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
79
|
+
if time_created and not isinstance(time_created, str):
|
80
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
81
|
+
pulumi.set(__self__, "time_created", time_created)
|
82
|
+
if time_released and not isinstance(time_released, str):
|
83
|
+
raise TypeError("Expected argument 'time_released' to be a str")
|
84
|
+
pulumi.set(__self__, "time_released", time_released)
|
85
|
+
if time_updated and not isinstance(time_updated, str):
|
86
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
87
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
88
|
+
if type and not isinstance(type, str):
|
89
|
+
raise TypeError("Expected argument 'type' to be a str")
|
90
|
+
pulumi.set(__self__, "type", type)
|
91
|
+
|
92
|
+
@property
|
93
|
+
@pulumi.getter(name="artifactDetails")
|
94
|
+
def artifact_details(self) -> Sequence['outputs.GetPatchArtifactDetailResult']:
|
95
|
+
"""
|
96
|
+
Patch artifact description and content details.
|
97
|
+
"""
|
98
|
+
return pulumi.get(self, "artifact_details")
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter(name="compartmentId")
|
102
|
+
def compartment_id(self) -> str:
|
103
|
+
return pulumi.get(self, "compartment_id")
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter(name="definedTags")
|
107
|
+
def defined_tags(self) -> Mapping[str, str]:
|
108
|
+
"""
|
109
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "defined_tags")
|
112
|
+
|
113
|
+
@property
|
114
|
+
@pulumi.getter(name="dependentPatches")
|
115
|
+
def dependent_patches(self) -> Sequence['outputs.GetPatchDependentPatchResult']:
|
116
|
+
"""
|
117
|
+
Dependent Patches for this patch.
|
118
|
+
"""
|
119
|
+
return pulumi.get(self, "dependent_patches")
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter
|
123
|
+
def description(self) -> str:
|
124
|
+
"""
|
125
|
+
A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
|
126
|
+
"""
|
127
|
+
return pulumi.get(self, "description")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="freeformTags")
|
131
|
+
def freeform_tags(self) -> Mapping[str, str]:
|
132
|
+
"""
|
133
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "freeform_tags")
|
136
|
+
|
137
|
+
@property
|
138
|
+
@pulumi.getter
|
139
|
+
def id(self) -> str:
|
140
|
+
"""
|
141
|
+
The OCID of the resource.
|
142
|
+
"""
|
143
|
+
return pulumi.get(self, "id")
|
144
|
+
|
145
|
+
@property
|
146
|
+
@pulumi.getter(name="lifecycleDetails")
|
147
|
+
def lifecycle_details(self) -> str:
|
148
|
+
"""
|
149
|
+
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
150
|
+
"""
|
151
|
+
return pulumi.get(self, "lifecycle_details")
|
152
|
+
|
153
|
+
@property
|
154
|
+
@pulumi.getter
|
155
|
+
def name(self) -> str:
|
156
|
+
"""
|
157
|
+
A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.
|
158
|
+
"""
|
159
|
+
return pulumi.get(self, "name")
|
160
|
+
|
161
|
+
@property
|
162
|
+
@pulumi.getter(name="patchId")
|
163
|
+
def patch_id(self) -> str:
|
164
|
+
return pulumi.get(self, "patch_id")
|
165
|
+
|
166
|
+
@property
|
167
|
+
@pulumi.getter(name="patchTypes")
|
168
|
+
def patch_types(self) -> Sequence['outputs.GetPatchPatchTypeResult']:
|
169
|
+
"""
|
170
|
+
Patch Type
|
171
|
+
"""
|
172
|
+
return pulumi.get(self, "patch_types")
|
173
|
+
|
174
|
+
@property
|
175
|
+
@pulumi.getter
|
176
|
+
def products(self) -> Sequence['outputs.GetPatchProductResult']:
|
177
|
+
"""
|
178
|
+
Product
|
179
|
+
"""
|
180
|
+
return pulumi.get(self, "products")
|
181
|
+
|
182
|
+
@property
|
183
|
+
@pulumi.getter(name="resourceRegion")
|
184
|
+
def resource_region(self) -> str:
|
185
|
+
"""
|
186
|
+
Associated region
|
187
|
+
"""
|
188
|
+
return pulumi.get(self, "resource_region")
|
189
|
+
|
190
|
+
@property
|
191
|
+
@pulumi.getter
|
192
|
+
def severity(self) -> str:
|
193
|
+
"""
|
194
|
+
Patch Severity.
|
195
|
+
"""
|
196
|
+
return pulumi.get(self, "severity")
|
197
|
+
|
198
|
+
@property
|
199
|
+
@pulumi.getter
|
200
|
+
def state(self) -> str:
|
201
|
+
"""
|
202
|
+
The current state of the Patch.
|
203
|
+
"""
|
204
|
+
return pulumi.get(self, "state")
|
205
|
+
|
206
|
+
@property
|
207
|
+
@pulumi.getter(name="systemTags")
|
208
|
+
def system_tags(self) -> Mapping[str, str]:
|
209
|
+
"""
|
210
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
211
|
+
"""
|
212
|
+
return pulumi.get(self, "system_tags")
|
213
|
+
|
214
|
+
@property
|
215
|
+
@pulumi.getter(name="timeCreated")
|
216
|
+
def time_created(self) -> str:
|
217
|
+
"""
|
218
|
+
The time this resource was created. An RFC3339 formatted datetime string.
|
219
|
+
"""
|
220
|
+
return pulumi.get(self, "time_created")
|
221
|
+
|
222
|
+
@property
|
223
|
+
@pulumi.getter(name="timeReleased")
|
224
|
+
def time_released(self) -> str:
|
225
|
+
"""
|
226
|
+
Date when the patch was released.
|
227
|
+
"""
|
228
|
+
return pulumi.get(self, "time_released")
|
229
|
+
|
230
|
+
@property
|
231
|
+
@pulumi.getter(name="timeUpdated")
|
232
|
+
def time_updated(self) -> str:
|
233
|
+
"""
|
234
|
+
The time this resource was last updated. An RFC3339 formatted datetime string.
|
235
|
+
"""
|
236
|
+
return pulumi.get(self, "time_updated")
|
237
|
+
|
238
|
+
@property
|
239
|
+
@pulumi.getter
|
240
|
+
def type(self) -> str:
|
241
|
+
"""
|
242
|
+
Provide information on who defined the patch. Example: For Custom Patches the value will be USER_DEFINED For Oracle Defined Patches the value will be ORACLE_DEFINED
|
243
|
+
"""
|
244
|
+
return pulumi.get(self, "type")
|
245
|
+
|
246
|
+
|
247
|
+
class AwaitableGetPatchResult(GetPatchResult):
|
248
|
+
# pylint: disable=using-constant-test
|
249
|
+
def __await__(self):
|
250
|
+
if False:
|
251
|
+
yield self
|
252
|
+
return GetPatchResult(
|
253
|
+
artifact_details=self.artifact_details,
|
254
|
+
compartment_id=self.compartment_id,
|
255
|
+
defined_tags=self.defined_tags,
|
256
|
+
dependent_patches=self.dependent_patches,
|
257
|
+
description=self.description,
|
258
|
+
freeform_tags=self.freeform_tags,
|
259
|
+
id=self.id,
|
260
|
+
lifecycle_details=self.lifecycle_details,
|
261
|
+
name=self.name,
|
262
|
+
patch_id=self.patch_id,
|
263
|
+
patch_types=self.patch_types,
|
264
|
+
products=self.products,
|
265
|
+
resource_region=self.resource_region,
|
266
|
+
severity=self.severity,
|
267
|
+
state=self.state,
|
268
|
+
system_tags=self.system_tags,
|
269
|
+
time_created=self.time_created,
|
270
|
+
time_released=self.time_released,
|
271
|
+
time_updated=self.time_updated,
|
272
|
+
type=self.type)
|
273
|
+
|
274
|
+
|
275
|
+
def get_patch(patch_id: Optional[str] = None,
|
276
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPatchResult:
|
277
|
+
"""
|
278
|
+
This data source provides details about a specific Patch resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
279
|
+
|
280
|
+
Gets a Patch by identifier
|
281
|
+
|
282
|
+
## Example Usage
|
283
|
+
|
284
|
+
```python
|
285
|
+
import pulumi
|
286
|
+
import pulumi_oci as oci
|
287
|
+
|
288
|
+
test_patch = oci.FleetAppsManagement.get_patch(patch_id=test_patch_oci_fleet_apps_management_patch["id"])
|
289
|
+
```
|
290
|
+
|
291
|
+
|
292
|
+
:param str patch_id: unique Patch identifier
|
293
|
+
"""
|
294
|
+
__args__ = dict()
|
295
|
+
__args__['patchId'] = patch_id
|
296
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
297
|
+
__ret__ = pulumi.runtime.invoke('oci:FleetAppsManagement/getPatch:getPatch', __args__, opts=opts, typ=GetPatchResult).value
|
298
|
+
|
299
|
+
return AwaitableGetPatchResult(
|
300
|
+
artifact_details=pulumi.get(__ret__, 'artifact_details'),
|
301
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
302
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
303
|
+
dependent_patches=pulumi.get(__ret__, 'dependent_patches'),
|
304
|
+
description=pulumi.get(__ret__, 'description'),
|
305
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
306
|
+
id=pulumi.get(__ret__, 'id'),
|
307
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
308
|
+
name=pulumi.get(__ret__, 'name'),
|
309
|
+
patch_id=pulumi.get(__ret__, 'patch_id'),
|
310
|
+
patch_types=pulumi.get(__ret__, 'patch_types'),
|
311
|
+
products=pulumi.get(__ret__, 'products'),
|
312
|
+
resource_region=pulumi.get(__ret__, 'resource_region'),
|
313
|
+
severity=pulumi.get(__ret__, 'severity'),
|
314
|
+
state=pulumi.get(__ret__, 'state'),
|
315
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
316
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
317
|
+
time_released=pulumi.get(__ret__, 'time_released'),
|
318
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
319
|
+
type=pulumi.get(__ret__, 'type'))
|
320
|
+
def get_patch_output(patch_id: Optional[pulumi.Input[str]] = None,
|
321
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPatchResult]:
|
322
|
+
"""
|
323
|
+
This data source provides details about a specific Patch resource in Oracle Cloud Infrastructure Fleet Apps Management service.
|
324
|
+
|
325
|
+
Gets a Patch by identifier
|
326
|
+
|
327
|
+
## Example Usage
|
328
|
+
|
329
|
+
```python
|
330
|
+
import pulumi
|
331
|
+
import pulumi_oci as oci
|
332
|
+
|
333
|
+
test_patch = oci.FleetAppsManagement.get_patch(patch_id=test_patch_oci_fleet_apps_management_patch["id"])
|
334
|
+
```
|
335
|
+
|
336
|
+
|
337
|
+
:param str patch_id: unique Patch identifier
|
338
|
+
"""
|
339
|
+
__args__ = dict()
|
340
|
+
__args__['patchId'] = patch_id
|
341
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
342
|
+
__ret__ = pulumi.runtime.invoke_output('oci:FleetAppsManagement/getPatch:getPatch', __args__, opts=opts, typ=GetPatchResult)
|
343
|
+
return __ret__.apply(lambda __response__: GetPatchResult(
|
344
|
+
artifact_details=pulumi.get(__response__, 'artifact_details'),
|
345
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
346
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
347
|
+
dependent_patches=pulumi.get(__response__, 'dependent_patches'),
|
348
|
+
description=pulumi.get(__response__, 'description'),
|
349
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
350
|
+
id=pulumi.get(__response__, 'id'),
|
351
|
+
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
352
|
+
name=pulumi.get(__response__, 'name'),
|
353
|
+
patch_id=pulumi.get(__response__, 'patch_id'),
|
354
|
+
patch_types=pulumi.get(__response__, 'patch_types'),
|
355
|
+
products=pulumi.get(__response__, 'products'),
|
356
|
+
resource_region=pulumi.get(__response__, 'resource_region'),
|
357
|
+
severity=pulumi.get(__response__, 'severity'),
|
358
|
+
state=pulumi.get(__response__, 'state'),
|
359
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
360
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
361
|
+
time_released=pulumi.get(__response__, 'time_released'),
|
362
|
+
time_updated=pulumi.get(__response__, 'time_updated'),
|
363
|
+
type=pulumi.get(__response__, 'type')))
|