pulumi-oci 1.36.0a1715707046__py3-none-any.whl → 1.36.0a1715878445__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 +208 -0
- pulumi_oci/core/__init__.py +3 -0
- pulumi_oci/core/_inputs.py +40 -0
- pulumi_oci/core/get_ip_inventory_subnet.py +171 -0
- pulumi_oci/core/get_ip_inventory_subnet_cidr.py +171 -0
- pulumi_oci/core/get_ip_inventory_vcn_overlaps.py +206 -0
- pulumi_oci/core/outputs.py +261 -0
- pulumi_oci/database/_inputs.py +192 -0
- pulumi_oci/database/exadata_infrastructure.py +28 -0
- pulumi_oci/database/get_exadata_infrastructure.py +14 -1
- pulumi_oci/database/get_vm_cluster.py +14 -1
- pulumi_oci/database/outputs.py +418 -0
- pulumi_oci/database/vm_cluster.py +55 -0
- pulumi_oci/database/vm_cluster_add_virtual_network.py +28 -0
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +28 -0
- pulumi_oci/datasafe/__init__.py +1 -0
- pulumi_oci/datasafe/masking_report_management.py +693 -0
- pulumi_oci/email/__init__.py +3 -0
- pulumi_oci/email/_inputs.py +46 -0
- pulumi_oci/email/dkim.py +4 -4
- pulumi_oci/email/email_domain.py +77 -0
- pulumi_oci/email/email_return_path.py +642 -0
- pulumi_oci/email/get_email_domain.py +27 -1
- pulumi_oci/email/get_email_return_path.py +274 -0
- pulumi_oci/email/get_email_return_paths.py +203 -0
- pulumi_oci/email/outputs.py +231 -0
- pulumi_oci/loadbalancer/_inputs.py +16 -0
- pulumi_oci/loadbalancer/listener.py +2 -0
- pulumi_oci/loadbalancer/outputs.py +14 -0
- pulumi_oci/loganalytics/namespace.py +4 -4
- pulumi_oci/networkloadbalancer/get_listener.py +14 -1
- pulumi_oci/networkloadbalancer/listener.py +51 -2
- pulumi_oci/networkloadbalancer/outputs.py +11 -0
- pulumi_oci/osmanagementhub/__init__.py +48 -0
- pulumi_oci/osmanagementhub/_inputs.py +3635 -493
- pulumi_oci/osmanagementhub/event.py +701 -0
- pulumi_oci/osmanagementhub/get_entitlements.py +178 -0
- pulumi_oci/osmanagementhub/get_errata.py +283 -0
- pulumi_oci/osmanagementhub/get_erratum.py +308 -0
- pulumi_oci/osmanagementhub/get_event.py +314 -0
- pulumi_oci/osmanagementhub/get_events.py +314 -0
- pulumi_oci/osmanagementhub/get_lifecycle_environment.py +26 -13
- pulumi_oci/osmanagementhub/get_lifecycle_environments.py +48 -11
- pulumi_oci/osmanagementhub/get_lifecycle_stage.py +28 -15
- pulumi_oci/osmanagementhub/get_lifecycle_stages.py +86 -19
- pulumi_oci/osmanagementhub/get_managed_instance.py +587 -0
- pulumi_oci/osmanagementhub/get_managed_instance_available_packages.py +187 -0
- pulumi_oci/osmanagementhub/get_managed_instance_available_software_sources.py +190 -0
- pulumi_oci/osmanagementhub/get_managed_instance_available_windows_updates.py +238 -0
- pulumi_oci/osmanagementhub/get_managed_instance_errata.py +204 -0
- pulumi_oci/osmanagementhub/get_managed_instance_group.py +62 -10
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_modules.py +7 -9
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_packages.py +7 -7
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_software_sources.py +8 -10
- pulumi_oci/osmanagementhub/get_managed_instance_group_installed_packages.py +220 -0
- pulumi_oci/osmanagementhub/get_managed_instance_group_modules.py +244 -0
- pulumi_oci/osmanagementhub/get_managed_instance_groups.py +71 -16
- pulumi_oci/osmanagementhub/get_managed_instance_installed_packages.py +221 -0
- pulumi_oci/osmanagementhub/get_managed_instance_installed_windows_updates.py +204 -0
- pulumi_oci/osmanagementhub/get_managed_instance_modules.py +187 -0
- pulumi_oci/osmanagementhub/get_managed_instance_updatable_packages.py +221 -0
- pulumi_oci/osmanagementhub/get_managed_instances.py +537 -0
- pulumi_oci/osmanagementhub/get_management_station.py +42 -19
- pulumi_oci/osmanagementhub/get_management_station_mirrors.py +4 -4
- pulumi_oci/osmanagementhub/get_management_stations.py +15 -15
- pulumi_oci/osmanagementhub/get_profile.py +51 -12
- pulumi_oci/osmanagementhub/get_profiles.py +76 -16
- pulumi_oci/osmanagementhub/get_scheduled_job.py +426 -0
- pulumi_oci/osmanagementhub/get_scheduled_jobs.py +433 -0
- pulumi_oci/osmanagementhub/get_software_package.py +301 -0
- pulumi_oci/osmanagementhub/get_software_package_software_source.py +329 -0
- pulumi_oci/osmanagementhub/get_software_packages.py +232 -0
- pulumi_oci/osmanagementhub/get_software_source.py +109 -18
- pulumi_oci/osmanagementhub/get_software_source_module_stream.py +5 -5
- pulumi_oci/osmanagementhub/get_software_source_module_stream_profile.py +6 -6
- pulumi_oci/osmanagementhub/get_software_source_module_stream_profiles.py +8 -8
- pulumi_oci/osmanagementhub/get_software_source_module_streams.py +9 -9
- pulumi_oci/osmanagementhub/get_software_source_package_group.py +8 -8
- pulumi_oci/osmanagementhub/get_software_source_package_groups.py +7 -7
- pulumi_oci/osmanagementhub/get_software_source_software_package.py +23 -10
- pulumi_oci/osmanagementhub/get_software_source_software_packages.py +6 -6
- pulumi_oci/osmanagementhub/get_software_source_vendors.py +2 -2
- pulumi_oci/osmanagementhub/get_software_sources.py +78 -21
- pulumi_oci/osmanagementhub/get_windows_update.py +222 -0
- pulumi_oci/osmanagementhub/get_windows_updates.py +187 -0
- pulumi_oci/osmanagementhub/lifecycle_environment.py +159 -86
- pulumi_oci/osmanagementhub/lifecycle_stage_attach_managed_instances_management.py +249 -0
- pulumi_oci/osmanagementhub/lifecycle_stage_detach_managed_instances_management.py +249 -0
- pulumi_oci/osmanagementhub/lifecycle_stage_promote_software_source_management.py +296 -0
- pulumi_oci/osmanagementhub/managed_instance.py +1327 -0
- pulumi_oci/osmanagementhub/managed_instance_attach_profile_management.py +266 -0
- pulumi_oci/osmanagementhub/managed_instance_detach_profile_management.py +214 -0
- pulumi_oci/osmanagementhub/managed_instance_group.py +264 -86
- pulumi_oci/osmanagementhub/managed_instance_group_attach_managed_instances_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_attach_software_sources_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_detach_managed_instances_management.py +264 -0
- pulumi_oci/osmanagementhub/managed_instance_group_detach_software_sources_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_install_packages_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_install_windows_updates_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_manage_module_streams_management.py +526 -0
- pulumi_oci/osmanagementhub/managed_instance_group_remove_packages_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_update_all_packages_management.py +292 -0
- pulumi_oci/osmanagementhub/managed_instance_install_windows_updates_management.py +341 -0
- pulumi_oci/osmanagementhub/managed_instance_update_packages_management.py +341 -0
- pulumi_oci/osmanagementhub/management_station.py +184 -81
- pulumi_oci/osmanagementhub/management_station_mirror_synchronize_management.py +264 -0
- pulumi_oci/osmanagementhub/management_station_refresh_management.py +212 -0
- pulumi_oci/osmanagementhub/management_station_synchronize_mirrors_management.py +264 -0
- pulumi_oci/osmanagementhub/outputs.py +10867 -2365
- pulumi_oci/osmanagementhub/profile.py +200 -78
- pulumi_oci/osmanagementhub/scheduled_job.py +1331 -0
- pulumi_oci/osmanagementhub/software_source.py +365 -181
- pulumi_oci/osmanagementhub/software_source_add_packages_management.py +266 -0
- pulumi_oci/osmanagementhub/software_source_change_availability_management.py +194 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-1.36.0a1715707046.dist-info → pulumi_oci-1.36.0a1715878445.dist-info}/METADATA +1 -1
- {pulumi_oci-1.36.0a1715707046.dist-info → pulumi_oci-1.36.0a1715878445.dist-info}/RECORD +119 -64
- {pulumi_oci-1.36.0a1715707046.dist-info → pulumi_oci-1.36.0a1715878445.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.36.0a1715707046.dist-info → pulumi_oci-1.36.0a1715878445.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,296 @@
|
|
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 pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = ['LifecycleStagePromoteSoftwareSourceManagementArgs', 'LifecycleStagePromoteSoftwareSourceManagement']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class LifecycleStagePromoteSoftwareSourceManagementArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
lifecycle_stage_id: pulumi.Input[str],
|
20
|
+
software_source_id: Optional[pulumi.Input[str]] = None,
|
21
|
+
work_request_details: Optional[pulumi.Input['LifecycleStagePromoteSoftwareSourceManagementWorkRequestDetailsArgs']] = None):
|
22
|
+
"""
|
23
|
+
The set of arguments for constructing a LifecycleStagePromoteSoftwareSourceManagement resource.
|
24
|
+
:param pulumi.Input[str] lifecycle_stage_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
|
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. This filter returns resources associated with this software source.
|
26
|
+
:param pulumi.Input['LifecycleStagePromoteSoftwareSourceManagementWorkRequestDetailsArgs'] work_request_details: Provides the name and description of the job.
|
27
|
+
"""
|
28
|
+
pulumi.set(__self__, "lifecycle_stage_id", lifecycle_stage_id)
|
29
|
+
if software_source_id is not None:
|
30
|
+
pulumi.set(__self__, "software_source_id", software_source_id)
|
31
|
+
if work_request_details is not None:
|
32
|
+
pulumi.set(__self__, "work_request_details", work_request_details)
|
33
|
+
|
34
|
+
@property
|
35
|
+
@pulumi.getter(name="lifecycleStageId")
|
36
|
+
def lifecycle_stage_id(self) -> pulumi.Input[str]:
|
37
|
+
"""
|
38
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
|
39
|
+
"""
|
40
|
+
return pulumi.get(self, "lifecycle_stage_id")
|
41
|
+
|
42
|
+
@lifecycle_stage_id.setter
|
43
|
+
def lifecycle_stage_id(self, value: pulumi.Input[str]):
|
44
|
+
pulumi.set(self, "lifecycle_stage_id", value)
|
45
|
+
|
46
|
+
@property
|
47
|
+
@pulumi.getter(name="softwareSourceId")
|
48
|
+
def software_source_id(self) -> Optional[pulumi.Input[str]]:
|
49
|
+
"""
|
50
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source. This filter returns resources associated with this software source.
|
51
|
+
"""
|
52
|
+
return pulumi.get(self, "software_source_id")
|
53
|
+
|
54
|
+
@software_source_id.setter
|
55
|
+
def software_source_id(self, value: Optional[pulumi.Input[str]]):
|
56
|
+
pulumi.set(self, "software_source_id", value)
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter(name="workRequestDetails")
|
60
|
+
def work_request_details(self) -> Optional[pulumi.Input['LifecycleStagePromoteSoftwareSourceManagementWorkRequestDetailsArgs']]:
|
61
|
+
"""
|
62
|
+
Provides the name and description of the job.
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "work_request_details")
|
65
|
+
|
66
|
+
@work_request_details.setter
|
67
|
+
def work_request_details(self, value: Optional[pulumi.Input['LifecycleStagePromoteSoftwareSourceManagementWorkRequestDetailsArgs']]):
|
68
|
+
pulumi.set(self, "work_request_details", value)
|
69
|
+
|
70
|
+
|
71
|
+
@pulumi.input_type
|
72
|
+
class _LifecycleStagePromoteSoftwareSourceManagementState:
|
73
|
+
def __init__(__self__, *,
|
74
|
+
lifecycle_stage_id: Optional[pulumi.Input[str]] = None,
|
75
|
+
software_source_id: Optional[pulumi.Input[str]] = None,
|
76
|
+
work_request_details: Optional[pulumi.Input['LifecycleStagePromoteSoftwareSourceManagementWorkRequestDetailsArgs']] = None):
|
77
|
+
"""
|
78
|
+
Input properties used for looking up and filtering LifecycleStagePromoteSoftwareSourceManagement resources.
|
79
|
+
:param pulumi.Input[str] lifecycle_stage_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
|
80
|
+
:param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source. This filter returns resources associated with this software source.
|
81
|
+
:param pulumi.Input['LifecycleStagePromoteSoftwareSourceManagementWorkRequestDetailsArgs'] work_request_details: Provides the name and description of the job.
|
82
|
+
"""
|
83
|
+
if lifecycle_stage_id is not None:
|
84
|
+
pulumi.set(__self__, "lifecycle_stage_id", lifecycle_stage_id)
|
85
|
+
if software_source_id is not None:
|
86
|
+
pulumi.set(__self__, "software_source_id", software_source_id)
|
87
|
+
if work_request_details is not None:
|
88
|
+
pulumi.set(__self__, "work_request_details", work_request_details)
|
89
|
+
|
90
|
+
@property
|
91
|
+
@pulumi.getter(name="lifecycleStageId")
|
92
|
+
def lifecycle_stage_id(self) -> Optional[pulumi.Input[str]]:
|
93
|
+
"""
|
94
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
|
95
|
+
"""
|
96
|
+
return pulumi.get(self, "lifecycle_stage_id")
|
97
|
+
|
98
|
+
@lifecycle_stage_id.setter
|
99
|
+
def lifecycle_stage_id(self, value: Optional[pulumi.Input[str]]):
|
100
|
+
pulumi.set(self, "lifecycle_stage_id", value)
|
101
|
+
|
102
|
+
@property
|
103
|
+
@pulumi.getter(name="softwareSourceId")
|
104
|
+
def software_source_id(self) -> Optional[pulumi.Input[str]]:
|
105
|
+
"""
|
106
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source. This filter returns resources associated with this software source.
|
107
|
+
"""
|
108
|
+
return pulumi.get(self, "software_source_id")
|
109
|
+
|
110
|
+
@software_source_id.setter
|
111
|
+
def software_source_id(self, value: Optional[pulumi.Input[str]]):
|
112
|
+
pulumi.set(self, "software_source_id", value)
|
113
|
+
|
114
|
+
@property
|
115
|
+
@pulumi.getter(name="workRequestDetails")
|
116
|
+
def work_request_details(self) -> Optional[pulumi.Input['LifecycleStagePromoteSoftwareSourceManagementWorkRequestDetailsArgs']]:
|
117
|
+
"""
|
118
|
+
Provides the name and description of the job.
|
119
|
+
"""
|
120
|
+
return pulumi.get(self, "work_request_details")
|
121
|
+
|
122
|
+
@work_request_details.setter
|
123
|
+
def work_request_details(self, value: Optional[pulumi.Input['LifecycleStagePromoteSoftwareSourceManagementWorkRequestDetailsArgs']]):
|
124
|
+
pulumi.set(self, "work_request_details", value)
|
125
|
+
|
126
|
+
|
127
|
+
class LifecycleStagePromoteSoftwareSourceManagement(pulumi.CustomResource):
|
128
|
+
@overload
|
129
|
+
def __init__(__self__,
|
130
|
+
resource_name: str,
|
131
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
132
|
+
lifecycle_stage_id: Optional[pulumi.Input[str]] = None,
|
133
|
+
software_source_id: Optional[pulumi.Input[str]] = None,
|
134
|
+
work_request_details: Optional[pulumi.Input[pulumi.InputType['LifecycleStagePromoteSoftwareSourceManagementWorkRequestDetailsArgs']]] = None,
|
135
|
+
__props__=None):
|
136
|
+
"""
|
137
|
+
This resource provides the Lifecycle Stage Promote Software Source Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
138
|
+
|
139
|
+
Updates the versioned custom software source content to the specified lifecycle stage.
|
140
|
+
A versioned custom software source OCID (softwareSourceId) is required when promoting content to the first lifecycle stage. You must promote content to the first stage before promoting to subsequent stages, otherwise the service returns an error.
|
141
|
+
The softwareSourceId is optional when promoting content to the second, third, forth, or fifth stages. If you provide a softwareSourceId, the service validates that it matches the softwareSourceId of the previous stage. If it does not match, the service returns an error. If you don't provide a softwareSourceId, the service promotes the versioned software source from the previous lifecycle stage. If the previous lifecycle stage has no software source, the service returns an error.
|
142
|
+
|
143
|
+
## Example Usage
|
144
|
+
|
145
|
+
```python
|
146
|
+
import pulumi
|
147
|
+
import pulumi_oci as oci
|
148
|
+
|
149
|
+
test_lifecycle_stage_promote_software_source_management = oci.os_management_hub.LifecycleStagePromoteSoftwareSourceManagement("test_lifecycle_stage_promote_software_source_management",
|
150
|
+
lifecycle_stage_id=test_lifecycle_stage["id"],
|
151
|
+
software_source_id=test_software_source["id"],
|
152
|
+
work_request_details=oci.os_management_hub.LifecycleStagePromoteSoftwareSourceManagementWorkRequestDetailsArgs(
|
153
|
+
description=lifecycle_stage_promote_software_source_management_work_request_details_description,
|
154
|
+
display_name=lifecycle_stage_promote_software_source_management_work_request_details_display_name,
|
155
|
+
))
|
156
|
+
```
|
157
|
+
|
158
|
+
## Import
|
159
|
+
|
160
|
+
LifecycleStagePromoteSoftwareSourceManagement can be imported using the `id`, e.g.
|
161
|
+
|
162
|
+
```sh
|
163
|
+
$ pulumi import oci:OsManagementHub/lifecycleStagePromoteSoftwareSourceManagement:LifecycleStagePromoteSoftwareSourceManagement test_lifecycle_stage_promote_software_source_management "id"
|
164
|
+
```
|
165
|
+
|
166
|
+
:param str resource_name: The name of the resource.
|
167
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
168
|
+
:param pulumi.Input[str] lifecycle_stage_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
|
169
|
+
:param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source. This filter returns resources associated with this software source.
|
170
|
+
:param pulumi.Input[pulumi.InputType['LifecycleStagePromoteSoftwareSourceManagementWorkRequestDetailsArgs']] work_request_details: Provides the name and description of the job.
|
171
|
+
"""
|
172
|
+
...
|
173
|
+
@overload
|
174
|
+
def __init__(__self__,
|
175
|
+
resource_name: str,
|
176
|
+
args: LifecycleStagePromoteSoftwareSourceManagementArgs,
|
177
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
178
|
+
"""
|
179
|
+
This resource provides the Lifecycle Stage Promote Software Source Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
180
|
+
|
181
|
+
Updates the versioned custom software source content to the specified lifecycle stage.
|
182
|
+
A versioned custom software source OCID (softwareSourceId) is required when promoting content to the first lifecycle stage. You must promote content to the first stage before promoting to subsequent stages, otherwise the service returns an error.
|
183
|
+
The softwareSourceId is optional when promoting content to the second, third, forth, or fifth stages. If you provide a softwareSourceId, the service validates that it matches the softwareSourceId of the previous stage. If it does not match, the service returns an error. If you don't provide a softwareSourceId, the service promotes the versioned software source from the previous lifecycle stage. If the previous lifecycle stage has no software source, the service returns an error.
|
184
|
+
|
185
|
+
## Example Usage
|
186
|
+
|
187
|
+
```python
|
188
|
+
import pulumi
|
189
|
+
import pulumi_oci as oci
|
190
|
+
|
191
|
+
test_lifecycle_stage_promote_software_source_management = oci.os_management_hub.LifecycleStagePromoteSoftwareSourceManagement("test_lifecycle_stage_promote_software_source_management",
|
192
|
+
lifecycle_stage_id=test_lifecycle_stage["id"],
|
193
|
+
software_source_id=test_software_source["id"],
|
194
|
+
work_request_details=oci.os_management_hub.LifecycleStagePromoteSoftwareSourceManagementWorkRequestDetailsArgs(
|
195
|
+
description=lifecycle_stage_promote_software_source_management_work_request_details_description,
|
196
|
+
display_name=lifecycle_stage_promote_software_source_management_work_request_details_display_name,
|
197
|
+
))
|
198
|
+
```
|
199
|
+
|
200
|
+
## Import
|
201
|
+
|
202
|
+
LifecycleStagePromoteSoftwareSourceManagement can be imported using the `id`, e.g.
|
203
|
+
|
204
|
+
```sh
|
205
|
+
$ pulumi import oci:OsManagementHub/lifecycleStagePromoteSoftwareSourceManagement:LifecycleStagePromoteSoftwareSourceManagement test_lifecycle_stage_promote_software_source_management "id"
|
206
|
+
```
|
207
|
+
|
208
|
+
:param str resource_name: The name of the resource.
|
209
|
+
:param LifecycleStagePromoteSoftwareSourceManagementArgs args: The arguments to use to populate this resource's properties.
|
210
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
211
|
+
"""
|
212
|
+
...
|
213
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
214
|
+
resource_args, opts = _utilities.get_resource_args_opts(LifecycleStagePromoteSoftwareSourceManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
|
215
|
+
if resource_args is not None:
|
216
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
217
|
+
else:
|
218
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
219
|
+
|
220
|
+
def _internal_init(__self__,
|
221
|
+
resource_name: str,
|
222
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
223
|
+
lifecycle_stage_id: Optional[pulumi.Input[str]] = None,
|
224
|
+
software_source_id: Optional[pulumi.Input[str]] = None,
|
225
|
+
work_request_details: Optional[pulumi.Input[pulumi.InputType['LifecycleStagePromoteSoftwareSourceManagementWorkRequestDetailsArgs']]] = None,
|
226
|
+
__props__=None):
|
227
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
228
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
229
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
230
|
+
if opts.id is None:
|
231
|
+
if __props__ is not None:
|
232
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
233
|
+
__props__ = LifecycleStagePromoteSoftwareSourceManagementArgs.__new__(LifecycleStagePromoteSoftwareSourceManagementArgs)
|
234
|
+
|
235
|
+
if lifecycle_stage_id is None and not opts.urn:
|
236
|
+
raise TypeError("Missing required property 'lifecycle_stage_id'")
|
237
|
+
__props__.__dict__["lifecycle_stage_id"] = lifecycle_stage_id
|
238
|
+
__props__.__dict__["software_source_id"] = software_source_id
|
239
|
+
__props__.__dict__["work_request_details"] = work_request_details
|
240
|
+
super(LifecycleStagePromoteSoftwareSourceManagement, __self__).__init__(
|
241
|
+
'oci:OsManagementHub/lifecycleStagePromoteSoftwareSourceManagement:LifecycleStagePromoteSoftwareSourceManagement',
|
242
|
+
resource_name,
|
243
|
+
__props__,
|
244
|
+
opts)
|
245
|
+
|
246
|
+
@staticmethod
|
247
|
+
def get(resource_name: str,
|
248
|
+
id: pulumi.Input[str],
|
249
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
250
|
+
lifecycle_stage_id: Optional[pulumi.Input[str]] = None,
|
251
|
+
software_source_id: Optional[pulumi.Input[str]] = None,
|
252
|
+
work_request_details: Optional[pulumi.Input[pulumi.InputType['LifecycleStagePromoteSoftwareSourceManagementWorkRequestDetailsArgs']]] = None) -> 'LifecycleStagePromoteSoftwareSourceManagement':
|
253
|
+
"""
|
254
|
+
Get an existing LifecycleStagePromoteSoftwareSourceManagement resource's state with the given name, id, and optional extra
|
255
|
+
properties used to qualify the lookup.
|
256
|
+
|
257
|
+
:param str resource_name: The unique name of the resulting resource.
|
258
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
259
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
260
|
+
:param pulumi.Input[str] lifecycle_stage_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
|
261
|
+
:param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source. This filter returns resources associated with this software source.
|
262
|
+
:param pulumi.Input[pulumi.InputType['LifecycleStagePromoteSoftwareSourceManagementWorkRequestDetailsArgs']] work_request_details: Provides the name and description of the job.
|
263
|
+
"""
|
264
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
265
|
+
|
266
|
+
__props__ = _LifecycleStagePromoteSoftwareSourceManagementState.__new__(_LifecycleStagePromoteSoftwareSourceManagementState)
|
267
|
+
|
268
|
+
__props__.__dict__["lifecycle_stage_id"] = lifecycle_stage_id
|
269
|
+
__props__.__dict__["software_source_id"] = software_source_id
|
270
|
+
__props__.__dict__["work_request_details"] = work_request_details
|
271
|
+
return LifecycleStagePromoteSoftwareSourceManagement(resource_name, opts=opts, __props__=__props__)
|
272
|
+
|
273
|
+
@property
|
274
|
+
@pulumi.getter(name="lifecycleStageId")
|
275
|
+
def lifecycle_stage_id(self) -> pulumi.Output[str]:
|
276
|
+
"""
|
277
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
|
278
|
+
"""
|
279
|
+
return pulumi.get(self, "lifecycle_stage_id")
|
280
|
+
|
281
|
+
@property
|
282
|
+
@pulumi.getter(name="softwareSourceId")
|
283
|
+
def software_source_id(self) -> pulumi.Output[str]:
|
284
|
+
"""
|
285
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source. This filter returns resources associated with this software source.
|
286
|
+
"""
|
287
|
+
return pulumi.get(self, "software_source_id")
|
288
|
+
|
289
|
+
@property
|
290
|
+
@pulumi.getter(name="workRequestDetails")
|
291
|
+
def work_request_details(self) -> pulumi.Output['outputs.LifecycleStagePromoteSoftwareSourceManagementWorkRequestDetails']:
|
292
|
+
"""
|
293
|
+
Provides the name and description of the job.
|
294
|
+
"""
|
295
|
+
return pulumi.get(self, "work_request_details")
|
296
|
+
|