pulumi-oci 2.26.0a1741847591__py3-none-any.whl → 2.27.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 +211 -0
- pulumi_oci/containerengine/_inputs.py +43 -44
- pulumi_oci/containerengine/cluster.py +2 -0
- pulumi_oci/containerengine/container_instance.py +2 -4
- pulumi_oci/containerengine/outputs.py +128 -43
- pulumi_oci/containerinstances/outputs.py +0 -14
- pulumi_oci/core/__init__.py +7 -0
- pulumi_oci/core/_inputs.py +168 -33
- pulumi_oci/core/compute_gpu_memory_cluster.py +706 -0
- pulumi_oci/core/compute_gpu_memory_fabric.py +667 -0
- pulumi_oci/core/get_compute_gpu_memory_cluster.py +281 -0
- pulumi_oci/core/get_compute_gpu_memory_cluster_instances.py +144 -0
- pulumi_oci/core/get_compute_gpu_memory_clusters.py +232 -0
- pulumi_oci/core/get_compute_gpu_memory_fabric.py +309 -0
- pulumi_oci/core/get_compute_gpu_memory_fabrics.py +289 -0
- pulumi_oci/core/outputs.py +595 -21
- pulumi_oci/database/__init__.py +3 -0
- pulumi_oci/database/_inputs.py +4116 -1225
- pulumi_oci/database/application_vip.py +59 -10
- pulumi_oci/database/autonomous_container_database.py +305 -52
- pulumi_oci/database/autonomous_container_database_add_standby.py +2183 -0
- pulumi_oci/database/autonomous_container_database_dataguard_association.py +80 -40
- pulumi_oci/database/autonomous_container_database_snapshot_standby.py +322 -0
- pulumi_oci/database/autonomous_database.py +7 -28
- pulumi_oci/database/backup.py +153 -5
- pulumi_oci/database/cloud_exadata_infrastructure.py +126 -0
- pulumi_oci/database/cloud_vm_cluster.py +163 -30
- pulumi_oci/database/db_node.py +64 -8
- pulumi_oci/database/exadata_infrastructure.py +157 -3
- pulumi_oci/database/exadata_infrastructure_configure_exascale_management.py +1615 -0
- pulumi_oci/database/exadb_vm_cluster.py +84 -7
- pulumi_oci/database/exascale_db_storage_vault.py +147 -0
- pulumi_oci/database/external_container_database.py +4 -4
- pulumi_oci/database/external_non_container_database.py +4 -4
- pulumi_oci/database/external_pluggable_database.py +4 -4
- pulumi_oci/database/get_application_vip.py +16 -2
- pulumi_oci/database/get_autonomous_container_database.py +103 -2
- pulumi_oci/database/get_autonomous_container_database_dataguard_association.py +12 -1
- pulumi_oci/database/get_autonomous_container_databases.py +1 -1
- pulumi_oci/database/get_autonomous_database.py +0 -3
- pulumi_oci/database/get_backups.py +136 -10
- pulumi_oci/database/get_cloud_exadata_infrastructure.py +43 -1
- pulumi_oci/database/get_cloud_vm_cluster.py +59 -3
- pulumi_oci/database/get_cloud_vm_clusters.py +28 -6
- pulumi_oci/database/get_database_software_images.py +20 -1
- pulumi_oci/database/get_db_node.py +31 -4
- pulumi_oci/database/get_db_server.py +15 -1
- pulumi_oci/database/get_exadata_infrastructure.py +57 -1
- pulumi_oci/database/get_exadb_vm_cluster.py +29 -1
- pulumi_oci/database/get_exadb_vm_clusters.py +25 -3
- pulumi_oci/database/get_exascale_db_storage_vault.py +43 -1
- pulumi_oci/database/get_exascale_db_storage_vaults.py +47 -3
- pulumi_oci/database/get_external_container_database.py +1 -1
- pulumi_oci/database/get_external_non_container_database.py +1 -1
- pulumi_oci/database/get_external_pluggable_database.py +1 -1
- pulumi_oci/database/get_flex_components.py +28 -6
- pulumi_oci/database/get_maintenance_run.py +15 -1
- pulumi_oci/database/get_vm_cluster.py +60 -4
- pulumi_oci/database/get_vm_clusters.py +25 -3
- pulumi_oci/database/maintenance_run.py +28 -0
- pulumi_oci/database/outputs.py +3831 -267
- pulumi_oci/database/pluggable_database.py +13 -13
- pulumi_oci/database/vm_cluster.py +172 -18
- pulumi_oci/database/vm_cluster_add_virtual_network.py +114 -2
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +114 -2
- pulumi_oci/datasafe/__init__.py +7 -0
- pulumi_oci/datasafe/_inputs.py +301 -0
- pulumi_oci/datasafe/discovery_mod.py +49 -0
- pulumi_oci/datasafe/get_discovery_job.py +15 -1
- pulumi_oci/datasafe/get_masking_report.py +46 -4
- pulumi_oci/datasafe/get_masking_report_masking_errors.py +166 -0
- pulumi_oci/datasafe/get_security_assessment_finding.py +31 -1
- pulumi_oci/datasafe/get_security_assessment_findings.py +43 -3
- pulumi_oci/datasafe/get_sensitive_column_analytics.py +370 -0
- pulumi_oci/datasafe/get_sensitive_data_model.py +15 -1
- pulumi_oci/datasafe/get_sensitive_type_group.py +253 -0
- pulumi_oci/datasafe/get_sensitive_type_group_grouped_sensitive_types.py +166 -0
- pulumi_oci/datasafe/get_sensitive_type_groups.py +294 -0
- pulumi_oci/datasafe/outputs.py +676 -3
- pulumi_oci/datasafe/sensitive_data_model.py +49 -0
- pulumi_oci/datasafe/sensitive_type_group.py +563 -0
- pulumi_oci/datasafe/sensitive_type_group_grouped_sensitive_type.py +287 -0
- pulumi_oci/datascience/__init__.py +4 -0
- pulumi_oci/datascience/_inputs.py +1160 -41
- pulumi_oci/datascience/get_model.py +29 -1
- pulumi_oci/datascience/get_model_custom_metadata_artifact_content.py +151 -0
- pulumi_oci/datascience/get_model_defined_metadata_artifact_content.py +151 -0
- pulumi_oci/datascience/get_model_version_set.py +15 -1
- pulumi_oci/datascience/get_model_version_sets.py +25 -3
- pulumi_oci/datascience/get_models.py +25 -3
- pulumi_oci/datascience/get_pipeline.py +15 -1
- pulumi_oci/datascience/model.py +64 -0
- pulumi_oci/datascience/model_custom_metadata_artifact.py +418 -0
- pulumi_oci/datascience/model_defined_metadata_artifact.py +418 -0
- pulumi_oci/datascience/model_version_set.py +28 -0
- pulumi_oci/datascience/outputs.py +4343 -2164
- pulumi_oci/datascience/pipeline.py +48 -141
- pulumi_oci/datascience/pipeline_run.py +32 -0
- pulumi_oci/dblm/__init__.py +17 -0
- pulumi_oci/dblm/_inputs.py +275 -0
- pulumi_oci/dblm/get_vulnerability.py +242 -0
- pulumi_oci/dblm/get_vulnerability_aggregated_vulnerability_data.py +220 -0
- pulumi_oci/dblm/get_vulnerability_notifications.py +144 -0
- pulumi_oci/dblm/get_vulnerability_resources.py +258 -0
- pulumi_oci/dblm/get_vulnerability_scan.py +267 -0
- pulumi_oci/dblm/get_vulnerability_scans.py +270 -0
- pulumi_oci/dblm/get_vulnerability_vulnerabilities.py +258 -0
- pulumi_oci/dblm/outputs.py +1294 -0
- pulumi_oci/dblm/vulnerability_scan.py +521 -0
- pulumi_oci/email/dkim.py +120 -20
- pulumi_oci/email/get_dkim.py +40 -1
- pulumi_oci/email/outputs.py +29 -0
- pulumi_oci/filestorage/__init__.py +3 -0
- pulumi_oci/filestorage/_inputs.py +49 -0
- pulumi_oci/filestorage/file_system.py +105 -0
- pulumi_oci/filestorage/file_system_quota_rule.py +593 -0
- pulumi_oci/filestorage/get_file_system_quota_rule.py +248 -0
- pulumi_oci/filestorage/get_file_system_quota_rules.py +210 -0
- pulumi_oci/filestorage/outputs.py +186 -0
- pulumi_oci/goldengate/_inputs.py +128 -0
- pulumi_oci/goldengate/deployment.py +103 -0
- pulumi_oci/goldengate/deployment_backup.py +28 -0
- pulumi_oci/goldengate/get_deployment.py +43 -1
- pulumi_oci/goldengate/get_deployment_backup.py +15 -1
- pulumi_oci/goldengate/outputs.py +289 -0
- pulumi_oci/mysql/_inputs.py +1239 -10
- pulumi_oci/mysql/channel.py +28 -0
- pulumi_oci/mysql/get_channel.py +15 -1
- pulumi_oci/mysql/get_mysql_backup.py +15 -1
- pulumi_oci/mysql/get_mysql_configuration.py +15 -1
- pulumi_oci/mysql/get_mysql_db_system.py +15 -1
- pulumi_oci/mysql/mysql_backup.py +28 -0
- pulumi_oci/mysql/mysql_configuration.py +106 -0
- pulumi_oci/mysql/mysql_db_system.py +36 -0
- pulumi_oci/mysql/outputs.py +2008 -35
- pulumi_oci/opensearch/__init__.py +3 -0
- pulumi_oci/opensearch/_inputs.py +101 -0
- pulumi_oci/opensearch/cluster.py +76 -29
- pulumi_oci/opensearch/get_opensearch_cluster.py +12 -1
- pulumi_oci/opensearch/get_opensearch_cluster_pipeline.py +433 -0
- pulumi_oci/opensearch/get_opensearch_cluster_pipelines.py +218 -0
- pulumi_oci/opensearch/opensearch_cluster_pipeline.py +1172 -0
- pulumi_oci/opensearch/outputs.py +425 -0
- pulumi_oci/osmanagementhub/__init__.py +18 -0
- pulumi_oci/osmanagementhub/_inputs.py +677 -12
- pulumi_oci/osmanagementhub/event.py +8 -0
- pulumi_oci/osmanagementhub/get_entitlements.py +2 -2
- pulumi_oci/osmanagementhub/get_event.py +2 -0
- pulumi_oci/osmanagementhub/get_events.py +2 -0
- pulumi_oci/osmanagementhub/get_managed_instance.py +30 -2
- pulumi_oci/osmanagementhub/get_managed_instances.py +75 -63
- pulumi_oci/osmanagementhub/get_management_station.py +116 -4
- pulumi_oci/osmanagementhub/get_management_station_mirrors.py +1 -1
- pulumi_oci/osmanagementhub/get_management_stations.py +47 -4
- pulumi_oci/osmanagementhub/get_profile.py +32 -4
- pulumi_oci/osmanagementhub/get_profile_available_software_sources.py +207 -0
- pulumi_oci/osmanagementhub/get_profile_version.py +388 -0
- pulumi_oci/osmanagementhub/get_profiles.py +63 -3
- pulumi_oci/osmanagementhub/get_scheduled_job.py +15 -1
- pulumi_oci/osmanagementhub/get_software_package.py +2 -2
- pulumi_oci/osmanagementhub/get_software_package_software_source.py +7 -7
- pulumi_oci/osmanagementhub/get_software_source.py +89 -5
- pulumi_oci/osmanagementhub/get_software_source_available_software_packages.py +209 -0
- pulumi_oci/osmanagementhub/get_software_source_manifest.py +127 -0
- pulumi_oci/osmanagementhub/get_software_sources.py +30 -8
- pulumi_oci/osmanagementhub/lifecycle_stage_attach_managed_instances_management.py +6 -39
- pulumi_oci/osmanagementhub/lifecycle_stage_detach_managed_instances_management.py +6 -39
- pulumi_oci/osmanagementhub/lifecycle_stage_reboot_management.py +297 -0
- pulumi_oci/osmanagementhub/managed_instance.py +56 -0
- pulumi_oci/osmanagementhub/managed_instance_group_install_packages_management.py +49 -0
- pulumi_oci/osmanagementhub/managed_instance_group_reboot_management.py +297 -0
- pulumi_oci/osmanagementhub/managed_instance_reboot_management.py +299 -0
- pulumi_oci/osmanagementhub/management_station.py +251 -4
- pulumi_oci/osmanagementhub/management_station_associate_managed_instances_management.py +298 -0
- pulumi_oci/osmanagementhub/management_station_refresh_management.py +2 -2
- pulumi_oci/osmanagementhub/management_station_synchronize_mirrors_management.py +9 -9
- pulumi_oci/osmanagementhub/outputs.py +1349 -50
- pulumi_oci/osmanagementhub/profile.py +70 -14
- pulumi_oci/osmanagementhub/profile_attach_lifecycle_stage_management.py +269 -0
- pulumi_oci/osmanagementhub/profile_attach_managed_instance_group_management.py +269 -0
- pulumi_oci/osmanagementhub/profile_attach_management_station_management.py +269 -0
- pulumi_oci/osmanagementhub/profile_attach_software_sources_management.py +269 -0
- pulumi_oci/osmanagementhub/profile_detach_software_sources_management.py +269 -0
- pulumi_oci/osmanagementhub/scheduled_job.py +72 -21
- pulumi_oci/osmanagementhub/software_source.py +365 -26
- pulumi_oci/osmanagementhub/software_source_add_packages_management.py +67 -10
- pulumi_oci/osmanagementhub/software_source_generate_metadata_management.py +217 -0
- pulumi_oci/osmanagementhub/software_source_manifest.py +268 -0
- pulumi_oci/osmanagementhub/software_source_remove_packages_management.py +277 -0
- pulumi_oci/osmanagementhub/software_source_replace_packages_management.py +277 -0
- pulumi_oci/osmanagementhub/work_request_rerun_management.py +325 -0
- pulumi_oci/psql/_inputs.py +258 -0
- pulumi_oci/psql/backup.py +129 -28
- pulumi_oci/psql/db_system.py +10 -0
- pulumi_oci/psql/get_backup.py +47 -2
- pulumi_oci/psql/get_backups.py +3 -0
- pulumi_oci/psql/get_configurations.py +23 -1
- pulumi_oci/psql/get_db_system.py +1 -1
- pulumi_oci/psql/get_db_systems.py +1 -1
- pulumi_oci/psql/outputs.py +541 -5
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/redis_cluster.py +7 -7
- {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.27.0.dist-info}/METADATA +2 -2
- {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.27.0.dist-info}/RECORD +206 -150
- {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.27.0.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.27.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,268 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = ['SoftwareSourceManifestArgs', 'SoftwareSourceManifest']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class SoftwareSourceManifestArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
software_source_id: pulumi.Input[str],
|
23
|
+
content: Optional[pulumi.Input[str]] = None):
|
24
|
+
"""
|
25
|
+
The set of arguments for constructing a SoftwareSourceManifest resource.
|
26
|
+
:param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
27
|
+
|
28
|
+
|
29
|
+
** IMPORTANT **
|
30
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
31
|
+
:param pulumi.Input[str] content: (Updatable) Provides the manifest content used to update the package list of the software source.
|
32
|
+
"""
|
33
|
+
pulumi.set(__self__, "software_source_id", software_source_id)
|
34
|
+
if content is not None:
|
35
|
+
pulumi.set(__self__, "content", content)
|
36
|
+
|
37
|
+
@property
|
38
|
+
@pulumi.getter(name="softwareSourceId")
|
39
|
+
def software_source_id(self) -> pulumi.Input[str]:
|
40
|
+
"""
|
41
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
42
|
+
|
43
|
+
|
44
|
+
** IMPORTANT **
|
45
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
46
|
+
"""
|
47
|
+
return pulumi.get(self, "software_source_id")
|
48
|
+
|
49
|
+
@software_source_id.setter
|
50
|
+
def software_source_id(self, value: pulumi.Input[str]):
|
51
|
+
pulumi.set(self, "software_source_id", value)
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter
|
55
|
+
def content(self) -> Optional[pulumi.Input[str]]:
|
56
|
+
"""
|
57
|
+
(Updatable) Provides the manifest content used to update the package list of the software source.
|
58
|
+
"""
|
59
|
+
return pulumi.get(self, "content")
|
60
|
+
|
61
|
+
@content.setter
|
62
|
+
def content(self, value: Optional[pulumi.Input[str]]):
|
63
|
+
pulumi.set(self, "content", value)
|
64
|
+
|
65
|
+
|
66
|
+
@pulumi.input_type
|
67
|
+
class _SoftwareSourceManifestState:
|
68
|
+
def __init__(__self__, *,
|
69
|
+
content: Optional[pulumi.Input[str]] = None,
|
70
|
+
software_source_id: Optional[pulumi.Input[str]] = None):
|
71
|
+
"""
|
72
|
+
Input properties used for looking up and filtering SoftwareSourceManifest resources.
|
73
|
+
:param pulumi.Input[str] content: (Updatable) Provides the manifest content used to update the package list of the software source.
|
74
|
+
:param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
75
|
+
|
76
|
+
|
77
|
+
** IMPORTANT **
|
78
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
79
|
+
"""
|
80
|
+
if content is not None:
|
81
|
+
pulumi.set(__self__, "content", content)
|
82
|
+
if software_source_id is not None:
|
83
|
+
pulumi.set(__self__, "software_source_id", software_source_id)
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter
|
87
|
+
def content(self) -> Optional[pulumi.Input[str]]:
|
88
|
+
"""
|
89
|
+
(Updatable) Provides the manifest content used to update the package list of the software source.
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "content")
|
92
|
+
|
93
|
+
@content.setter
|
94
|
+
def content(self, value: Optional[pulumi.Input[str]]):
|
95
|
+
pulumi.set(self, "content", value)
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter(name="softwareSourceId")
|
99
|
+
def software_source_id(self) -> Optional[pulumi.Input[str]]:
|
100
|
+
"""
|
101
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
102
|
+
|
103
|
+
|
104
|
+
** IMPORTANT **
|
105
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
106
|
+
"""
|
107
|
+
return pulumi.get(self, "software_source_id")
|
108
|
+
|
109
|
+
@software_source_id.setter
|
110
|
+
def software_source_id(self, value: Optional[pulumi.Input[str]]):
|
111
|
+
pulumi.set(self, "software_source_id", value)
|
112
|
+
|
113
|
+
|
114
|
+
class SoftwareSourceManifest(pulumi.CustomResource):
|
115
|
+
@overload
|
116
|
+
def __init__(__self__,
|
117
|
+
resource_name: str,
|
118
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
119
|
+
content: Optional[pulumi.Input[str]] = None,
|
120
|
+
software_source_id: Optional[pulumi.Input[str]] = None,
|
121
|
+
__props__=None):
|
122
|
+
"""
|
123
|
+
This resource provides the Software Source Manifest resource in Oracle Cloud Infrastructure Os Management Hub service.
|
124
|
+
|
125
|
+
Updates the package list document for the software source.
|
126
|
+
|
127
|
+
## Example Usage
|
128
|
+
|
129
|
+
```python
|
130
|
+
import pulumi
|
131
|
+
import pulumi_oci as oci
|
132
|
+
|
133
|
+
test_software_source_manifest = oci.os_management_hub.SoftwareSourceManifest("test_software_source_manifest",
|
134
|
+
software_source_id=test_software_source["id"],
|
135
|
+
content=content)
|
136
|
+
```
|
137
|
+
|
138
|
+
## Import
|
139
|
+
|
140
|
+
SoftwareSourceManifests can be imported using the `id`, e.g.
|
141
|
+
|
142
|
+
```sh
|
143
|
+
$ pulumi import oci:OsManagementHub/softwareSourceManifest:SoftwareSourceManifest test_software_source_manifest "id"
|
144
|
+
```
|
145
|
+
|
146
|
+
:param str resource_name: The name of the resource.
|
147
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
148
|
+
:param pulumi.Input[str] content: (Updatable) Provides the manifest content used to update the package list of the software source.
|
149
|
+
:param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
150
|
+
|
151
|
+
|
152
|
+
** IMPORTANT **
|
153
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
154
|
+
"""
|
155
|
+
...
|
156
|
+
@overload
|
157
|
+
def __init__(__self__,
|
158
|
+
resource_name: str,
|
159
|
+
args: SoftwareSourceManifestArgs,
|
160
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
161
|
+
"""
|
162
|
+
This resource provides the Software Source Manifest resource in Oracle Cloud Infrastructure Os Management Hub service.
|
163
|
+
|
164
|
+
Updates the package list document for the software source.
|
165
|
+
|
166
|
+
## Example Usage
|
167
|
+
|
168
|
+
```python
|
169
|
+
import pulumi
|
170
|
+
import pulumi_oci as oci
|
171
|
+
|
172
|
+
test_software_source_manifest = oci.os_management_hub.SoftwareSourceManifest("test_software_source_manifest",
|
173
|
+
software_source_id=test_software_source["id"],
|
174
|
+
content=content)
|
175
|
+
```
|
176
|
+
|
177
|
+
## Import
|
178
|
+
|
179
|
+
SoftwareSourceManifests can be imported using the `id`, e.g.
|
180
|
+
|
181
|
+
```sh
|
182
|
+
$ pulumi import oci:OsManagementHub/softwareSourceManifest:SoftwareSourceManifest test_software_source_manifest "id"
|
183
|
+
```
|
184
|
+
|
185
|
+
:param str resource_name: The name of the resource.
|
186
|
+
:param SoftwareSourceManifestArgs args: The arguments to use to populate this resource's properties.
|
187
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
188
|
+
"""
|
189
|
+
...
|
190
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
191
|
+
resource_args, opts = _utilities.get_resource_args_opts(SoftwareSourceManifestArgs, pulumi.ResourceOptions, *args, **kwargs)
|
192
|
+
if resource_args is not None:
|
193
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
194
|
+
else:
|
195
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
196
|
+
|
197
|
+
def _internal_init(__self__,
|
198
|
+
resource_name: str,
|
199
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
200
|
+
content: Optional[pulumi.Input[str]] = None,
|
201
|
+
software_source_id: Optional[pulumi.Input[str]] = None,
|
202
|
+
__props__=None):
|
203
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
204
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
205
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
206
|
+
if opts.id is None:
|
207
|
+
if __props__ is not None:
|
208
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
209
|
+
__props__ = SoftwareSourceManifestArgs.__new__(SoftwareSourceManifestArgs)
|
210
|
+
|
211
|
+
__props__.__dict__["content"] = content
|
212
|
+
if software_source_id is None and not opts.urn:
|
213
|
+
raise TypeError("Missing required property 'software_source_id'")
|
214
|
+
__props__.__dict__["software_source_id"] = software_source_id
|
215
|
+
super(SoftwareSourceManifest, __self__).__init__(
|
216
|
+
'oci:OsManagementHub/softwareSourceManifest:SoftwareSourceManifest',
|
217
|
+
resource_name,
|
218
|
+
__props__,
|
219
|
+
opts)
|
220
|
+
|
221
|
+
@staticmethod
|
222
|
+
def get(resource_name: str,
|
223
|
+
id: pulumi.Input[str],
|
224
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
225
|
+
content: Optional[pulumi.Input[str]] = None,
|
226
|
+
software_source_id: Optional[pulumi.Input[str]] = None) -> 'SoftwareSourceManifest':
|
227
|
+
"""
|
228
|
+
Get an existing SoftwareSourceManifest resource's state with the given name, id, and optional extra
|
229
|
+
properties used to qualify the lookup.
|
230
|
+
|
231
|
+
:param str resource_name: The unique name of the resulting resource.
|
232
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
233
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
234
|
+
:param pulumi.Input[str] content: (Updatable) Provides the manifest content used to update the package list of the software source.
|
235
|
+
:param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
236
|
+
|
237
|
+
|
238
|
+
** IMPORTANT **
|
239
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
240
|
+
"""
|
241
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
242
|
+
|
243
|
+
__props__ = _SoftwareSourceManifestState.__new__(_SoftwareSourceManifestState)
|
244
|
+
|
245
|
+
__props__.__dict__["content"] = content
|
246
|
+
__props__.__dict__["software_source_id"] = software_source_id
|
247
|
+
return SoftwareSourceManifest(resource_name, opts=opts, __props__=__props__)
|
248
|
+
|
249
|
+
@property
|
250
|
+
@pulumi.getter
|
251
|
+
def content(self) -> pulumi.Output[Optional[str]]:
|
252
|
+
"""
|
253
|
+
(Updatable) Provides the manifest content used to update the package list of the software source.
|
254
|
+
"""
|
255
|
+
return pulumi.get(self, "content")
|
256
|
+
|
257
|
+
@property
|
258
|
+
@pulumi.getter(name="softwareSourceId")
|
259
|
+
def software_source_id(self) -> pulumi.Output[str]:
|
260
|
+
"""
|
261
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
262
|
+
|
263
|
+
|
264
|
+
** IMPORTANT **
|
265
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
266
|
+
"""
|
267
|
+
return pulumi.get(self, "software_source_id")
|
268
|
+
|
@@ -0,0 +1,277 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = ['SoftwareSourceRemovePackagesManagementArgs', 'SoftwareSourceRemovePackagesManagement']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class SoftwareSourceRemovePackagesManagementArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
packages: pulumi.Input[Sequence[pulumi.Input[str]]],
|
23
|
+
software_source_id: pulumi.Input[str]):
|
24
|
+
"""
|
25
|
+
The set of arguments for constructing a SoftwareSourceRemovePackagesManagement resource.
|
26
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] packages: List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
|
27
|
+
:param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
28
|
+
|
29
|
+
|
30
|
+
** IMPORTANT **
|
31
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
32
|
+
"""
|
33
|
+
pulumi.set(__self__, "packages", packages)
|
34
|
+
pulumi.set(__self__, "software_source_id", software_source_id)
|
35
|
+
|
36
|
+
@property
|
37
|
+
@pulumi.getter
|
38
|
+
def packages(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
39
|
+
"""
|
40
|
+
List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
|
41
|
+
"""
|
42
|
+
return pulumi.get(self, "packages")
|
43
|
+
|
44
|
+
@packages.setter
|
45
|
+
def packages(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
46
|
+
pulumi.set(self, "packages", value)
|
47
|
+
|
48
|
+
@property
|
49
|
+
@pulumi.getter(name="softwareSourceId")
|
50
|
+
def software_source_id(self) -> pulumi.Input[str]:
|
51
|
+
"""
|
52
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
53
|
+
|
54
|
+
|
55
|
+
** IMPORTANT **
|
56
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "software_source_id")
|
59
|
+
|
60
|
+
@software_source_id.setter
|
61
|
+
def software_source_id(self, value: pulumi.Input[str]):
|
62
|
+
pulumi.set(self, "software_source_id", value)
|
63
|
+
|
64
|
+
|
65
|
+
@pulumi.input_type
|
66
|
+
class _SoftwareSourceRemovePackagesManagementState:
|
67
|
+
def __init__(__self__, *,
|
68
|
+
packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
69
|
+
software_source_id: Optional[pulumi.Input[str]] = None):
|
70
|
+
"""
|
71
|
+
Input properties used for looking up and filtering SoftwareSourceRemovePackagesManagement resources.
|
72
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] packages: List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
|
73
|
+
:param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
74
|
+
|
75
|
+
|
76
|
+
** IMPORTANT **
|
77
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
78
|
+
"""
|
79
|
+
if packages is not None:
|
80
|
+
pulumi.set(__self__, "packages", packages)
|
81
|
+
if software_source_id is not None:
|
82
|
+
pulumi.set(__self__, "software_source_id", software_source_id)
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter
|
86
|
+
def packages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
87
|
+
"""
|
88
|
+
List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "packages")
|
91
|
+
|
92
|
+
@packages.setter
|
93
|
+
def packages(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
94
|
+
pulumi.set(self, "packages", value)
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter(name="softwareSourceId")
|
98
|
+
def software_source_id(self) -> Optional[pulumi.Input[str]]:
|
99
|
+
"""
|
100
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
101
|
+
|
102
|
+
|
103
|
+
** IMPORTANT **
|
104
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "software_source_id")
|
107
|
+
|
108
|
+
@software_source_id.setter
|
109
|
+
def software_source_id(self, value: Optional[pulumi.Input[str]]):
|
110
|
+
pulumi.set(self, "software_source_id", value)
|
111
|
+
|
112
|
+
|
113
|
+
class SoftwareSourceRemovePackagesManagement(pulumi.CustomResource):
|
114
|
+
@overload
|
115
|
+
def __init__(__self__,
|
116
|
+
resource_name: str,
|
117
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
118
|
+
packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
119
|
+
software_source_id: Optional[pulumi.Input[str]] = None,
|
120
|
+
__props__=None):
|
121
|
+
"""
|
122
|
+
This resource provides the Software Source Remove Packages Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
123
|
+
|
124
|
+
Removes packages from a software source. This operation can only be done for custom software sources that are not created using filters.
|
125
|
+
Packages can be of the format:
|
126
|
+
* name (for example: git). This removes all versions of the package.
|
127
|
+
* name-version-release.architecture (for example: git-2.43.5-1.el8_10.x86_64)
|
128
|
+
* name-epoch:version-release.architecture (for example: git-0:2.43.5-1.el8_10.x86_64)
|
129
|
+
|
130
|
+
## Example Usage
|
131
|
+
|
132
|
+
```python
|
133
|
+
import pulumi
|
134
|
+
import pulumi_oci as oci
|
135
|
+
|
136
|
+
test_software_source_remove_packages_management = oci.os_management_hub.SoftwareSourceRemovePackagesManagement("test_software_source_remove_packages_management",
|
137
|
+
packages=software_source_remove_packages_management_packages,
|
138
|
+
software_source_id=test_software_source["id"])
|
139
|
+
```
|
140
|
+
|
141
|
+
## Import
|
142
|
+
|
143
|
+
SoftwareSourceRemovePackagesManagement can be imported using the `id`, e.g.
|
144
|
+
|
145
|
+
```sh
|
146
|
+
$ pulumi import oci:OsManagementHub/softwareSourceRemovePackagesManagement:SoftwareSourceRemovePackagesManagement test_software_source_remove_packages_management "id"
|
147
|
+
```
|
148
|
+
|
149
|
+
:param str resource_name: The name of the resource.
|
150
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
151
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] packages: List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
|
152
|
+
:param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
153
|
+
|
154
|
+
|
155
|
+
** IMPORTANT **
|
156
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
157
|
+
"""
|
158
|
+
...
|
159
|
+
@overload
|
160
|
+
def __init__(__self__,
|
161
|
+
resource_name: str,
|
162
|
+
args: SoftwareSourceRemovePackagesManagementArgs,
|
163
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
164
|
+
"""
|
165
|
+
This resource provides the Software Source Remove Packages Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
166
|
+
|
167
|
+
Removes packages from a software source. This operation can only be done for custom software sources that are not created using filters.
|
168
|
+
Packages can be of the format:
|
169
|
+
* name (for example: git). This removes all versions of the package.
|
170
|
+
* name-version-release.architecture (for example: git-2.43.5-1.el8_10.x86_64)
|
171
|
+
* name-epoch:version-release.architecture (for example: git-0:2.43.5-1.el8_10.x86_64)
|
172
|
+
|
173
|
+
## Example Usage
|
174
|
+
|
175
|
+
```python
|
176
|
+
import pulumi
|
177
|
+
import pulumi_oci as oci
|
178
|
+
|
179
|
+
test_software_source_remove_packages_management = oci.os_management_hub.SoftwareSourceRemovePackagesManagement("test_software_source_remove_packages_management",
|
180
|
+
packages=software_source_remove_packages_management_packages,
|
181
|
+
software_source_id=test_software_source["id"])
|
182
|
+
```
|
183
|
+
|
184
|
+
## Import
|
185
|
+
|
186
|
+
SoftwareSourceRemovePackagesManagement can be imported using the `id`, e.g.
|
187
|
+
|
188
|
+
```sh
|
189
|
+
$ pulumi import oci:OsManagementHub/softwareSourceRemovePackagesManagement:SoftwareSourceRemovePackagesManagement test_software_source_remove_packages_management "id"
|
190
|
+
```
|
191
|
+
|
192
|
+
:param str resource_name: The name of the resource.
|
193
|
+
:param SoftwareSourceRemovePackagesManagementArgs args: The arguments to use to populate this resource's properties.
|
194
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
195
|
+
"""
|
196
|
+
...
|
197
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
198
|
+
resource_args, opts = _utilities.get_resource_args_opts(SoftwareSourceRemovePackagesManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
|
199
|
+
if resource_args is not None:
|
200
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
201
|
+
else:
|
202
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
203
|
+
|
204
|
+
def _internal_init(__self__,
|
205
|
+
resource_name: str,
|
206
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
207
|
+
packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
208
|
+
software_source_id: Optional[pulumi.Input[str]] = None,
|
209
|
+
__props__=None):
|
210
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
211
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
212
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
213
|
+
if opts.id is None:
|
214
|
+
if __props__ is not None:
|
215
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
216
|
+
__props__ = SoftwareSourceRemovePackagesManagementArgs.__new__(SoftwareSourceRemovePackagesManagementArgs)
|
217
|
+
|
218
|
+
if packages is None and not opts.urn:
|
219
|
+
raise TypeError("Missing required property 'packages'")
|
220
|
+
__props__.__dict__["packages"] = packages
|
221
|
+
if software_source_id is None and not opts.urn:
|
222
|
+
raise TypeError("Missing required property 'software_source_id'")
|
223
|
+
__props__.__dict__["software_source_id"] = software_source_id
|
224
|
+
super(SoftwareSourceRemovePackagesManagement, __self__).__init__(
|
225
|
+
'oci:OsManagementHub/softwareSourceRemovePackagesManagement:SoftwareSourceRemovePackagesManagement',
|
226
|
+
resource_name,
|
227
|
+
__props__,
|
228
|
+
opts)
|
229
|
+
|
230
|
+
@staticmethod
|
231
|
+
def get(resource_name: str,
|
232
|
+
id: pulumi.Input[str],
|
233
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
234
|
+
packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
235
|
+
software_source_id: Optional[pulumi.Input[str]] = None) -> 'SoftwareSourceRemovePackagesManagement':
|
236
|
+
"""
|
237
|
+
Get an existing SoftwareSourceRemovePackagesManagement resource's state with the given name, id, and optional extra
|
238
|
+
properties used to qualify the lookup.
|
239
|
+
|
240
|
+
:param str resource_name: The unique name of the resulting resource.
|
241
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
242
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
243
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] packages: List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
|
244
|
+
:param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
245
|
+
|
246
|
+
|
247
|
+
** IMPORTANT **
|
248
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
249
|
+
"""
|
250
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
251
|
+
|
252
|
+
__props__ = _SoftwareSourceRemovePackagesManagementState.__new__(_SoftwareSourceRemovePackagesManagementState)
|
253
|
+
|
254
|
+
__props__.__dict__["packages"] = packages
|
255
|
+
__props__.__dict__["software_source_id"] = software_source_id
|
256
|
+
return SoftwareSourceRemovePackagesManagement(resource_name, opts=opts, __props__=__props__)
|
257
|
+
|
258
|
+
@property
|
259
|
+
@pulumi.getter
|
260
|
+
def packages(self) -> pulumi.Output[Sequence[str]]:
|
261
|
+
"""
|
262
|
+
List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
|
263
|
+
"""
|
264
|
+
return pulumi.get(self, "packages")
|
265
|
+
|
266
|
+
@property
|
267
|
+
@pulumi.getter(name="softwareSourceId")
|
268
|
+
def software_source_id(self) -> pulumi.Output[str]:
|
269
|
+
"""
|
270
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
271
|
+
|
272
|
+
|
273
|
+
** IMPORTANT **
|
274
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
275
|
+
"""
|
276
|
+
return pulumi.get(self, "software_source_id")
|
277
|
+
|