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
@@ -20,24 +20,28 @@ __all__ = ['SoftwareSourceAddPackagesManagementArgs', 'SoftwareSourceAddPackages
|
|
20
20
|
class SoftwareSourceAddPackagesManagementArgs:
|
21
21
|
def __init__(__self__, *,
|
22
22
|
packages: pulumi.Input[Sequence[pulumi.Input[str]]],
|
23
|
-
software_source_id: pulumi.Input[str]
|
23
|
+
software_source_id: pulumi.Input[str],
|
24
|
+
is_continue_on_missing_packages: Optional[pulumi.Input[bool]] = None):
|
24
25
|
"""
|
25
26
|
The set of arguments for constructing a SoftwareSourceAddPackagesManagement resource.
|
26
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] packages: List of packages specified by the full package name (NEVRA
|
27
|
+
: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
28
|
: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
|
|
29
30
|
|
30
31
|
** IMPORTANT **
|
31
32
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
33
|
+
:param pulumi.Input[bool] is_continue_on_missing_packages: Indicates whether the service should generate a custom software source when the package list contains invalid values. When set to true, the service ignores any invalid packages and generates the custom software source with using the valid packages.
|
32
34
|
"""
|
33
35
|
pulumi.set(__self__, "packages", packages)
|
34
36
|
pulumi.set(__self__, "software_source_id", software_source_id)
|
37
|
+
if is_continue_on_missing_packages is not None:
|
38
|
+
pulumi.set(__self__, "is_continue_on_missing_packages", is_continue_on_missing_packages)
|
35
39
|
|
36
40
|
@property
|
37
41
|
@pulumi.getter
|
38
42
|
def packages(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
39
43
|
"""
|
40
|
-
List of packages specified by the full package name (NEVRA
|
44
|
+
List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
|
41
45
|
"""
|
42
46
|
return pulumi.get(self, "packages")
|
43
47
|
|
@@ -61,31 +65,59 @@ class SoftwareSourceAddPackagesManagementArgs:
|
|
61
65
|
def software_source_id(self, value: pulumi.Input[str]):
|
62
66
|
pulumi.set(self, "software_source_id", value)
|
63
67
|
|
68
|
+
@property
|
69
|
+
@pulumi.getter(name="isContinueOnMissingPackages")
|
70
|
+
def is_continue_on_missing_packages(self) -> Optional[pulumi.Input[bool]]:
|
71
|
+
"""
|
72
|
+
Indicates whether the service should generate a custom software source when the package list contains invalid values. When set to true, the service ignores any invalid packages and generates the custom software source with using the valid packages.
|
73
|
+
"""
|
74
|
+
return pulumi.get(self, "is_continue_on_missing_packages")
|
75
|
+
|
76
|
+
@is_continue_on_missing_packages.setter
|
77
|
+
def is_continue_on_missing_packages(self, value: Optional[pulumi.Input[bool]]):
|
78
|
+
pulumi.set(self, "is_continue_on_missing_packages", value)
|
79
|
+
|
64
80
|
|
65
81
|
@pulumi.input_type
|
66
82
|
class _SoftwareSourceAddPackagesManagementState:
|
67
83
|
def __init__(__self__, *,
|
84
|
+
is_continue_on_missing_packages: Optional[pulumi.Input[bool]] = None,
|
68
85
|
packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
69
86
|
software_source_id: Optional[pulumi.Input[str]] = None):
|
70
87
|
"""
|
71
88
|
Input properties used for looking up and filtering SoftwareSourceAddPackagesManagement resources.
|
72
|
-
:param pulumi.Input[
|
89
|
+
:param pulumi.Input[bool] is_continue_on_missing_packages: Indicates whether the service should generate a custom software source when the package list contains invalid values. When set to true, the service ignores any invalid packages and generates the custom software source with using the valid packages.
|
90
|
+
: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
91
|
: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
92
|
|
75
93
|
|
76
94
|
** IMPORTANT **
|
77
95
|
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
96
|
"""
|
97
|
+
if is_continue_on_missing_packages is not None:
|
98
|
+
pulumi.set(__self__, "is_continue_on_missing_packages", is_continue_on_missing_packages)
|
79
99
|
if packages is not None:
|
80
100
|
pulumi.set(__self__, "packages", packages)
|
81
101
|
if software_source_id is not None:
|
82
102
|
pulumi.set(__self__, "software_source_id", software_source_id)
|
83
103
|
|
104
|
+
@property
|
105
|
+
@pulumi.getter(name="isContinueOnMissingPackages")
|
106
|
+
def is_continue_on_missing_packages(self) -> Optional[pulumi.Input[bool]]:
|
107
|
+
"""
|
108
|
+
Indicates whether the service should generate a custom software source when the package list contains invalid values. When set to true, the service ignores any invalid packages and generates the custom software source with using the valid packages.
|
109
|
+
"""
|
110
|
+
return pulumi.get(self, "is_continue_on_missing_packages")
|
111
|
+
|
112
|
+
@is_continue_on_missing_packages.setter
|
113
|
+
def is_continue_on_missing_packages(self, value: Optional[pulumi.Input[bool]]):
|
114
|
+
pulumi.set(self, "is_continue_on_missing_packages", value)
|
115
|
+
|
84
116
|
@property
|
85
117
|
@pulumi.getter
|
86
118
|
def packages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
87
119
|
"""
|
88
|
-
List of packages specified by the full package name (NEVRA
|
120
|
+
List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
|
89
121
|
"""
|
90
122
|
return pulumi.get(self, "packages")
|
91
123
|
|
@@ -115,6 +147,7 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
|
|
115
147
|
def __init__(__self__,
|
116
148
|
resource_name: str,
|
117
149
|
opts: Optional[pulumi.ResourceOptions] = None,
|
150
|
+
is_continue_on_missing_packages: Optional[pulumi.Input[bool]] = None,
|
118
151
|
packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
119
152
|
software_source_id: Optional[pulumi.Input[str]] = None,
|
120
153
|
__props__=None):
|
@@ -123,6 +156,10 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
|
|
123
156
|
|
124
157
|
Adds packages to a software source. This operation can only be done for custom and versioned custom software sources that are not created using filters.
|
125
158
|
For a versioned custom software source, you can only add packages when the source is created. Once content is added to a versioned custom software source, it is immutable.
|
159
|
+
Packages can be of the format:
|
160
|
+
* name (for example: git). If isLatestContentOnly is true, only the latest version of the package will be added, otherwise all versions of the package will be added.
|
161
|
+
* name-version-release.architecture (for example: git-2.43.5-1.el8_10.x86_64)
|
162
|
+
* name-epoch:version-release.architecture (for example: git-0:2.43.5-1.el8_10.x86_64)
|
126
163
|
|
127
164
|
## Example Usage
|
128
165
|
|
@@ -132,7 +169,8 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
|
|
132
169
|
|
133
170
|
test_software_source_add_packages_management = oci.os_management_hub.SoftwareSourceAddPackagesManagement("test_software_source_add_packages_management",
|
134
171
|
packages=software_source_add_packages_management_packages,
|
135
|
-
software_source_id=test_software_source["id"]
|
172
|
+
software_source_id=test_software_source["id"],
|
173
|
+
is_continue_on_missing_packages=software_source_add_packages_management_is_continue_on_missing_packages)
|
136
174
|
```
|
137
175
|
|
138
176
|
## Import
|
@@ -145,7 +183,8 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
|
|
145
183
|
|
146
184
|
:param str resource_name: The name of the resource.
|
147
185
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
148
|
-
:param pulumi.Input[
|
186
|
+
:param pulumi.Input[bool] is_continue_on_missing_packages: Indicates whether the service should generate a custom software source when the package list contains invalid values. When set to true, the service ignores any invalid packages and generates the custom software source with using the valid packages.
|
187
|
+
: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).
|
149
188
|
: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
189
|
|
151
190
|
|
@@ -163,6 +202,10 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
|
|
163
202
|
|
164
203
|
Adds packages to a software source. This operation can only be done for custom and versioned custom software sources that are not created using filters.
|
165
204
|
For a versioned custom software source, you can only add packages when the source is created. Once content is added to a versioned custom software source, it is immutable.
|
205
|
+
Packages can be of the format:
|
206
|
+
* name (for example: git). If isLatestContentOnly is true, only the latest version of the package will be added, otherwise all versions of the package will be added.
|
207
|
+
* name-version-release.architecture (for example: git-2.43.5-1.el8_10.x86_64)
|
208
|
+
* name-epoch:version-release.architecture (for example: git-0:2.43.5-1.el8_10.x86_64)
|
166
209
|
|
167
210
|
## Example Usage
|
168
211
|
|
@@ -172,7 +215,8 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
|
|
172
215
|
|
173
216
|
test_software_source_add_packages_management = oci.os_management_hub.SoftwareSourceAddPackagesManagement("test_software_source_add_packages_management",
|
174
217
|
packages=software_source_add_packages_management_packages,
|
175
|
-
software_source_id=test_software_source["id"]
|
218
|
+
software_source_id=test_software_source["id"],
|
219
|
+
is_continue_on_missing_packages=software_source_add_packages_management_is_continue_on_missing_packages)
|
176
220
|
```
|
177
221
|
|
178
222
|
## Import
|
@@ -198,6 +242,7 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
|
|
198
242
|
def _internal_init(__self__,
|
199
243
|
resource_name: str,
|
200
244
|
opts: Optional[pulumi.ResourceOptions] = None,
|
245
|
+
is_continue_on_missing_packages: Optional[pulumi.Input[bool]] = None,
|
201
246
|
packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
202
247
|
software_source_id: Optional[pulumi.Input[str]] = None,
|
203
248
|
__props__=None):
|
@@ -209,6 +254,7 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
|
|
209
254
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
210
255
|
__props__ = SoftwareSourceAddPackagesManagementArgs.__new__(SoftwareSourceAddPackagesManagementArgs)
|
211
256
|
|
257
|
+
__props__.__dict__["is_continue_on_missing_packages"] = is_continue_on_missing_packages
|
212
258
|
if packages is None and not opts.urn:
|
213
259
|
raise TypeError("Missing required property 'packages'")
|
214
260
|
__props__.__dict__["packages"] = packages
|
@@ -225,6 +271,7 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
|
|
225
271
|
def get(resource_name: str,
|
226
272
|
id: pulumi.Input[str],
|
227
273
|
opts: Optional[pulumi.ResourceOptions] = None,
|
274
|
+
is_continue_on_missing_packages: Optional[pulumi.Input[bool]] = None,
|
228
275
|
packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
229
276
|
software_source_id: Optional[pulumi.Input[str]] = None) -> 'SoftwareSourceAddPackagesManagement':
|
230
277
|
"""
|
@@ -234,7 +281,8 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
|
|
234
281
|
:param str resource_name: The unique name of the resulting resource.
|
235
282
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
236
283
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
237
|
-
:param pulumi.Input[
|
284
|
+
:param pulumi.Input[bool] is_continue_on_missing_packages: Indicates whether the service should generate a custom software source when the package list contains invalid values. When set to true, the service ignores any invalid packages and generates the custom software source with using the valid packages.
|
285
|
+
: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).
|
238
286
|
:param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
239
287
|
|
240
288
|
|
@@ -245,15 +293,24 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
|
|
245
293
|
|
246
294
|
__props__ = _SoftwareSourceAddPackagesManagementState.__new__(_SoftwareSourceAddPackagesManagementState)
|
247
295
|
|
296
|
+
__props__.__dict__["is_continue_on_missing_packages"] = is_continue_on_missing_packages
|
248
297
|
__props__.__dict__["packages"] = packages
|
249
298
|
__props__.__dict__["software_source_id"] = software_source_id
|
250
299
|
return SoftwareSourceAddPackagesManagement(resource_name, opts=opts, __props__=__props__)
|
251
300
|
|
301
|
+
@property
|
302
|
+
@pulumi.getter(name="isContinueOnMissingPackages")
|
303
|
+
def is_continue_on_missing_packages(self) -> pulumi.Output[bool]:
|
304
|
+
"""
|
305
|
+
Indicates whether the service should generate a custom software source when the package list contains invalid values. When set to true, the service ignores any invalid packages and generates the custom software source with using the valid packages.
|
306
|
+
"""
|
307
|
+
return pulumi.get(self, "is_continue_on_missing_packages")
|
308
|
+
|
252
309
|
@property
|
253
310
|
@pulumi.getter
|
254
311
|
def packages(self) -> pulumi.Output[Sequence[str]]:
|
255
312
|
"""
|
256
|
-
List of packages specified by the full package name (NEVRA
|
313
|
+
List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
|
257
314
|
"""
|
258
315
|
return pulumi.get(self, "packages")
|
259
316
|
|
@@ -0,0 +1,217 @@
|
|
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__ = ['SoftwareSourceGenerateMetadataManagementArgs', 'SoftwareSourceGenerateMetadataManagement']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class SoftwareSourceGenerateMetadataManagementArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
software_source_id: pulumi.Input[str]):
|
23
|
+
"""
|
24
|
+
The set of arguments for constructing a SoftwareSourceGenerateMetadataManagement resource.
|
25
|
+
:param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
26
|
+
|
27
|
+
|
28
|
+
** IMPORTANT **
|
29
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
30
|
+
"""
|
31
|
+
pulumi.set(__self__, "software_source_id", software_source_id)
|
32
|
+
|
33
|
+
@property
|
34
|
+
@pulumi.getter(name="softwareSourceId")
|
35
|
+
def software_source_id(self) -> pulumi.Input[str]:
|
36
|
+
"""
|
37
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
38
|
+
|
39
|
+
|
40
|
+
** IMPORTANT **
|
41
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
42
|
+
"""
|
43
|
+
return pulumi.get(self, "software_source_id")
|
44
|
+
|
45
|
+
@software_source_id.setter
|
46
|
+
def software_source_id(self, value: pulumi.Input[str]):
|
47
|
+
pulumi.set(self, "software_source_id", value)
|
48
|
+
|
49
|
+
|
50
|
+
@pulumi.input_type
|
51
|
+
class _SoftwareSourceGenerateMetadataManagementState:
|
52
|
+
def __init__(__self__, *,
|
53
|
+
software_source_id: Optional[pulumi.Input[str]] = None):
|
54
|
+
"""
|
55
|
+
Input properties used for looking up and filtering SoftwareSourceGenerateMetadataManagement resources.
|
56
|
+
:param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
57
|
+
|
58
|
+
|
59
|
+
** IMPORTANT **
|
60
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
61
|
+
"""
|
62
|
+
if software_source_id is not None:
|
63
|
+
pulumi.set(__self__, "software_source_id", software_source_id)
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="softwareSourceId")
|
67
|
+
def software_source_id(self) -> Optional[pulumi.Input[str]]:
|
68
|
+
"""
|
69
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
70
|
+
|
71
|
+
|
72
|
+
** IMPORTANT **
|
73
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "software_source_id")
|
76
|
+
|
77
|
+
@software_source_id.setter
|
78
|
+
def software_source_id(self, value: Optional[pulumi.Input[str]]):
|
79
|
+
pulumi.set(self, "software_source_id", value)
|
80
|
+
|
81
|
+
|
82
|
+
class SoftwareSourceGenerateMetadataManagement(pulumi.CustomResource):
|
83
|
+
@overload
|
84
|
+
def __init__(__self__,
|
85
|
+
resource_name: str,
|
86
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
87
|
+
software_source_id: Optional[pulumi.Input[str]] = None,
|
88
|
+
__props__=None):
|
89
|
+
"""
|
90
|
+
This resource provides the Software Source Generate Metadata Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
91
|
+
|
92
|
+
Regenerates metadata for the specified custom software source.
|
93
|
+
|
94
|
+
## Example Usage
|
95
|
+
|
96
|
+
```python
|
97
|
+
import pulumi
|
98
|
+
import pulumi_oci as oci
|
99
|
+
|
100
|
+
test_software_source_generate_metadata_management = oci.os_management_hub.SoftwareSourceGenerateMetadataManagement("test_software_source_generate_metadata_management", software_source_id=test_software_source["id"])
|
101
|
+
```
|
102
|
+
|
103
|
+
## Import
|
104
|
+
|
105
|
+
SoftwareSourceGenerateMetadataManagement can be imported using the `id`, e.g.
|
106
|
+
|
107
|
+
```sh
|
108
|
+
$ pulumi import oci:OsManagementHub/softwareSourceGenerateMetadataManagement:SoftwareSourceGenerateMetadataManagement test_software_source_generate_metadata_management "id"
|
109
|
+
```
|
110
|
+
|
111
|
+
:param str resource_name: The name of the resource.
|
112
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
113
|
+
:param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
114
|
+
|
115
|
+
|
116
|
+
** IMPORTANT **
|
117
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
118
|
+
"""
|
119
|
+
...
|
120
|
+
@overload
|
121
|
+
def __init__(__self__,
|
122
|
+
resource_name: str,
|
123
|
+
args: SoftwareSourceGenerateMetadataManagementArgs,
|
124
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
125
|
+
"""
|
126
|
+
This resource provides the Software Source Generate Metadata Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
127
|
+
|
128
|
+
Regenerates metadata for the specified custom software source.
|
129
|
+
|
130
|
+
## Example Usage
|
131
|
+
|
132
|
+
```python
|
133
|
+
import pulumi
|
134
|
+
import pulumi_oci as oci
|
135
|
+
|
136
|
+
test_software_source_generate_metadata_management = oci.os_management_hub.SoftwareSourceGenerateMetadataManagement("test_software_source_generate_metadata_management", software_source_id=test_software_source["id"])
|
137
|
+
```
|
138
|
+
|
139
|
+
## Import
|
140
|
+
|
141
|
+
SoftwareSourceGenerateMetadataManagement can be imported using the `id`, e.g.
|
142
|
+
|
143
|
+
```sh
|
144
|
+
$ pulumi import oci:OsManagementHub/softwareSourceGenerateMetadataManagement:SoftwareSourceGenerateMetadataManagement test_software_source_generate_metadata_management "id"
|
145
|
+
```
|
146
|
+
|
147
|
+
:param str resource_name: The name of the resource.
|
148
|
+
:param SoftwareSourceGenerateMetadataManagementArgs args: The arguments to use to populate this resource's properties.
|
149
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
150
|
+
"""
|
151
|
+
...
|
152
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
153
|
+
resource_args, opts = _utilities.get_resource_args_opts(SoftwareSourceGenerateMetadataManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
|
154
|
+
if resource_args is not None:
|
155
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
156
|
+
else:
|
157
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
158
|
+
|
159
|
+
def _internal_init(__self__,
|
160
|
+
resource_name: str,
|
161
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
162
|
+
software_source_id: Optional[pulumi.Input[str]] = None,
|
163
|
+
__props__=None):
|
164
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
165
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
166
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
167
|
+
if opts.id is None:
|
168
|
+
if __props__ is not None:
|
169
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
170
|
+
__props__ = SoftwareSourceGenerateMetadataManagementArgs.__new__(SoftwareSourceGenerateMetadataManagementArgs)
|
171
|
+
|
172
|
+
if software_source_id is None and not opts.urn:
|
173
|
+
raise TypeError("Missing required property 'software_source_id'")
|
174
|
+
__props__.__dict__["software_source_id"] = software_source_id
|
175
|
+
super(SoftwareSourceGenerateMetadataManagement, __self__).__init__(
|
176
|
+
'oci:OsManagementHub/softwareSourceGenerateMetadataManagement:SoftwareSourceGenerateMetadataManagement',
|
177
|
+
resource_name,
|
178
|
+
__props__,
|
179
|
+
opts)
|
180
|
+
|
181
|
+
@staticmethod
|
182
|
+
def get(resource_name: str,
|
183
|
+
id: pulumi.Input[str],
|
184
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
185
|
+
software_source_id: Optional[pulumi.Input[str]] = None) -> 'SoftwareSourceGenerateMetadataManagement':
|
186
|
+
"""
|
187
|
+
Get an existing SoftwareSourceGenerateMetadataManagement resource's state with the given name, id, and optional extra
|
188
|
+
properties used to qualify the lookup.
|
189
|
+
|
190
|
+
:param str resource_name: The unique name of the resulting resource.
|
191
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
192
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
193
|
+
:param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
194
|
+
|
195
|
+
|
196
|
+
** IMPORTANT **
|
197
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
198
|
+
"""
|
199
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
200
|
+
|
201
|
+
__props__ = _SoftwareSourceGenerateMetadataManagementState.__new__(_SoftwareSourceGenerateMetadataManagementState)
|
202
|
+
|
203
|
+
__props__.__dict__["software_source_id"] = software_source_id
|
204
|
+
return SoftwareSourceGenerateMetadataManagement(resource_name, opts=opts, __props__=__props__)
|
205
|
+
|
206
|
+
@property
|
207
|
+
@pulumi.getter(name="softwareSourceId")
|
208
|
+
def software_source_id(self) -> pulumi.Output[str]:
|
209
|
+
"""
|
210
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
211
|
+
|
212
|
+
|
213
|
+
** IMPORTANT **
|
214
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
215
|
+
"""
|
216
|
+
return pulumi.get(self, "software_source_id")
|
217
|
+
|