pulumi-oci 1.36.0__py3-none-any.whl → 1.36.0a1715707046__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 +0 -208
- pulumi_oci/core/__init__.py +0 -3
- pulumi_oci/core/_inputs.py +0 -40
- pulumi_oci/core/outputs.py +0 -261
- pulumi_oci/database/_inputs.py +0 -192
- pulumi_oci/database/exadata_infrastructure.py +0 -28
- pulumi_oci/database/get_exadata_infrastructure.py +1 -14
- pulumi_oci/database/get_vm_cluster.py +1 -14
- pulumi_oci/database/outputs.py +0 -418
- pulumi_oci/database/vm_cluster.py +0 -55
- pulumi_oci/database/vm_cluster_add_virtual_network.py +0 -28
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +0 -28
- pulumi_oci/datasafe/__init__.py +0 -1
- pulumi_oci/email/__init__.py +0 -3
- pulumi_oci/email/_inputs.py +0 -46
- pulumi_oci/email/dkim.py +4 -4
- pulumi_oci/email/email_domain.py +0 -77
- pulumi_oci/email/get_email_domain.py +1 -27
- pulumi_oci/email/outputs.py +0 -231
- pulumi_oci/loadbalancer/_inputs.py +0 -16
- pulumi_oci/loadbalancer/listener.py +0 -2
- pulumi_oci/loadbalancer/outputs.py +0 -14
- pulumi_oci/loganalytics/namespace.py +4 -4
- pulumi_oci/networkloadbalancer/get_listener.py +1 -14
- pulumi_oci/networkloadbalancer/listener.py +2 -51
- pulumi_oci/networkloadbalancer/outputs.py +0 -11
- pulumi_oci/osmanagementhub/__init__.py +0 -48
- pulumi_oci/osmanagementhub/_inputs.py +507 -3649
- pulumi_oci/osmanagementhub/get_lifecycle_environment.py +13 -26
- pulumi_oci/osmanagementhub/get_lifecycle_environments.py +11 -48
- pulumi_oci/osmanagementhub/get_lifecycle_stage.py +15 -28
- pulumi_oci/osmanagementhub/get_lifecycle_stages.py +19 -86
- pulumi_oci/osmanagementhub/get_managed_instance_group.py +10 -62
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_modules.py +9 -7
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_packages.py +7 -7
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_software_sources.py +10 -8
- pulumi_oci/osmanagementhub/get_managed_instance_groups.py +16 -71
- pulumi_oci/osmanagementhub/get_management_station.py +19 -42
- 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 +12 -51
- pulumi_oci/osmanagementhub/get_profiles.py +16 -76
- pulumi_oci/osmanagementhub/get_software_source.py +18 -109
- 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 +10 -23
- 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 +21 -78
- pulumi_oci/osmanagementhub/lifecycle_environment.py +86 -159
- pulumi_oci/osmanagementhub/managed_instance_group.py +86 -264
- pulumi_oci/osmanagementhub/management_station.py +81 -184
- pulumi_oci/osmanagementhub/outputs.py +2364 -10866
- pulumi_oci/osmanagementhub/profile.py +78 -200
- pulumi_oci/osmanagementhub/software_source.py +181 -365
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715707046.dist-info}/METADATA +1 -1
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715707046.dist-info}/RECORD +64 -119
- pulumi_oci/core/get_ip_inventory_subnet.py +0 -171
- pulumi_oci/core/get_ip_inventory_subnet_cidr.py +0 -171
- pulumi_oci/core/get_ip_inventory_vcn_overlaps.py +0 -206
- pulumi_oci/datasafe/masking_report_management.py +0 -693
- pulumi_oci/email/email_return_path.py +0 -642
- pulumi_oci/email/get_email_return_path.py +0 -274
- pulumi_oci/email/get_email_return_paths.py +0 -203
- pulumi_oci/osmanagementhub/event.py +0 -701
- pulumi_oci/osmanagementhub/get_entitlements.py +0 -178
- pulumi_oci/osmanagementhub/get_errata.py +0 -283
- pulumi_oci/osmanagementhub/get_erratum.py +0 -308
- pulumi_oci/osmanagementhub/get_event.py +0 -314
- pulumi_oci/osmanagementhub/get_events.py +0 -314
- pulumi_oci/osmanagementhub/get_managed_instance.py +0 -587
- pulumi_oci/osmanagementhub/get_managed_instance_available_packages.py +0 -187
- pulumi_oci/osmanagementhub/get_managed_instance_available_software_sources.py +0 -190
- pulumi_oci/osmanagementhub/get_managed_instance_available_windows_updates.py +0 -238
- pulumi_oci/osmanagementhub/get_managed_instance_errata.py +0 -204
- pulumi_oci/osmanagementhub/get_managed_instance_group_installed_packages.py +0 -220
- pulumi_oci/osmanagementhub/get_managed_instance_group_modules.py +0 -244
- pulumi_oci/osmanagementhub/get_managed_instance_installed_packages.py +0 -221
- pulumi_oci/osmanagementhub/get_managed_instance_installed_windows_updates.py +0 -204
- pulumi_oci/osmanagementhub/get_managed_instance_modules.py +0 -187
- pulumi_oci/osmanagementhub/get_managed_instance_updatable_packages.py +0 -221
- pulumi_oci/osmanagementhub/get_managed_instances.py +0 -537
- pulumi_oci/osmanagementhub/get_scheduled_job.py +0 -426
- pulumi_oci/osmanagementhub/get_scheduled_jobs.py +0 -433
- pulumi_oci/osmanagementhub/get_software_package.py +0 -301
- pulumi_oci/osmanagementhub/get_software_package_software_source.py +0 -329
- pulumi_oci/osmanagementhub/get_software_packages.py +0 -232
- pulumi_oci/osmanagementhub/get_windows_update.py +0 -222
- pulumi_oci/osmanagementhub/get_windows_updates.py +0 -187
- pulumi_oci/osmanagementhub/lifecycle_stage_attach_managed_instances_management.py +0 -249
- pulumi_oci/osmanagementhub/lifecycle_stage_detach_managed_instances_management.py +0 -249
- pulumi_oci/osmanagementhub/lifecycle_stage_promote_software_source_management.py +0 -296
- pulumi_oci/osmanagementhub/managed_instance.py +0 -1327
- pulumi_oci/osmanagementhub/managed_instance_attach_profile_management.py +0 -266
- pulumi_oci/osmanagementhub/managed_instance_detach_profile_management.py +0 -214
- pulumi_oci/osmanagementhub/managed_instance_group_attach_managed_instances_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_attach_software_sources_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_detach_managed_instances_management.py +0 -264
- pulumi_oci/osmanagementhub/managed_instance_group_detach_software_sources_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_install_packages_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_install_windows_updates_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_manage_module_streams_management.py +0 -526
- pulumi_oci/osmanagementhub/managed_instance_group_remove_packages_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_update_all_packages_management.py +0 -292
- pulumi_oci/osmanagementhub/managed_instance_install_windows_updates_management.py +0 -341
- pulumi_oci/osmanagementhub/managed_instance_update_packages_management.py +0 -341
- pulumi_oci/osmanagementhub/management_station_mirror_synchronize_management.py +0 -264
- pulumi_oci/osmanagementhub/management_station_refresh_management.py +0 -212
- pulumi_oci/osmanagementhub/management_station_synchronize_mirrors_management.py +0 -264
- pulumi_oci/osmanagementhub/scheduled_job.py +0 -1331
- pulumi_oci/osmanagementhub/software_source_add_packages_management.py +0 -266
- pulumi_oci/osmanagementhub/software_source_change_availability_management.py +0 -194
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715707046.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715707046.dist-info}/top_level.txt +0 -0
@@ -1,341 +0,0 @@
|
|
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__ = ['ManagedInstanceUpdatePackagesManagementArgs', 'ManagedInstanceUpdatePackagesManagement']
|
15
|
-
|
16
|
-
@pulumi.input_type
|
17
|
-
class ManagedInstanceUpdatePackagesManagementArgs:
|
18
|
-
def __init__(__self__, *,
|
19
|
-
managed_instance_id: pulumi.Input[str],
|
20
|
-
package_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
21
|
-
update_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
22
|
-
work_request_details: Optional[pulumi.Input['ManagedInstanceUpdatePackagesManagementWorkRequestDetailsArgs']] = None):
|
23
|
-
"""
|
24
|
-
The set of arguments for constructing a ManagedInstanceUpdatePackagesManagement resource.
|
25
|
-
:param pulumi.Input[str] managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
26
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] package_names: The list of package names.
|
27
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] update_types: The types of updates to be applied.
|
28
|
-
:param pulumi.Input['ManagedInstanceUpdatePackagesManagementWorkRequestDetailsArgs'] work_request_details: Provides the name and description of the job.
|
29
|
-
"""
|
30
|
-
pulumi.set(__self__, "managed_instance_id", managed_instance_id)
|
31
|
-
if package_names is not None:
|
32
|
-
pulumi.set(__self__, "package_names", package_names)
|
33
|
-
if update_types is not None:
|
34
|
-
pulumi.set(__self__, "update_types", update_types)
|
35
|
-
if work_request_details is not None:
|
36
|
-
pulumi.set(__self__, "work_request_details", work_request_details)
|
37
|
-
|
38
|
-
@property
|
39
|
-
@pulumi.getter(name="managedInstanceId")
|
40
|
-
def managed_instance_id(self) -> pulumi.Input[str]:
|
41
|
-
"""
|
42
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
43
|
-
"""
|
44
|
-
return pulumi.get(self, "managed_instance_id")
|
45
|
-
|
46
|
-
@managed_instance_id.setter
|
47
|
-
def managed_instance_id(self, value: pulumi.Input[str]):
|
48
|
-
pulumi.set(self, "managed_instance_id", value)
|
49
|
-
|
50
|
-
@property
|
51
|
-
@pulumi.getter(name="packageNames")
|
52
|
-
def package_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
53
|
-
"""
|
54
|
-
The list of package names.
|
55
|
-
"""
|
56
|
-
return pulumi.get(self, "package_names")
|
57
|
-
|
58
|
-
@package_names.setter
|
59
|
-
def package_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
60
|
-
pulumi.set(self, "package_names", value)
|
61
|
-
|
62
|
-
@property
|
63
|
-
@pulumi.getter(name="updateTypes")
|
64
|
-
def update_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
65
|
-
"""
|
66
|
-
The types of updates to be applied.
|
67
|
-
"""
|
68
|
-
return pulumi.get(self, "update_types")
|
69
|
-
|
70
|
-
@update_types.setter
|
71
|
-
def update_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
72
|
-
pulumi.set(self, "update_types", value)
|
73
|
-
|
74
|
-
@property
|
75
|
-
@pulumi.getter(name="workRequestDetails")
|
76
|
-
def work_request_details(self) -> Optional[pulumi.Input['ManagedInstanceUpdatePackagesManagementWorkRequestDetailsArgs']]:
|
77
|
-
"""
|
78
|
-
Provides the name and description of the job.
|
79
|
-
"""
|
80
|
-
return pulumi.get(self, "work_request_details")
|
81
|
-
|
82
|
-
@work_request_details.setter
|
83
|
-
def work_request_details(self, value: Optional[pulumi.Input['ManagedInstanceUpdatePackagesManagementWorkRequestDetailsArgs']]):
|
84
|
-
pulumi.set(self, "work_request_details", value)
|
85
|
-
|
86
|
-
|
87
|
-
@pulumi.input_type
|
88
|
-
class _ManagedInstanceUpdatePackagesManagementState:
|
89
|
-
def __init__(__self__, *,
|
90
|
-
managed_instance_id: Optional[pulumi.Input[str]] = None,
|
91
|
-
package_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
92
|
-
update_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
93
|
-
work_request_details: Optional[pulumi.Input['ManagedInstanceUpdatePackagesManagementWorkRequestDetailsArgs']] = None):
|
94
|
-
"""
|
95
|
-
Input properties used for looking up and filtering ManagedInstanceUpdatePackagesManagement resources.
|
96
|
-
:param pulumi.Input[str] managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
97
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] package_names: The list of package names.
|
98
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] update_types: The types of updates to be applied.
|
99
|
-
:param pulumi.Input['ManagedInstanceUpdatePackagesManagementWorkRequestDetailsArgs'] work_request_details: Provides the name and description of the job.
|
100
|
-
"""
|
101
|
-
if managed_instance_id is not None:
|
102
|
-
pulumi.set(__self__, "managed_instance_id", managed_instance_id)
|
103
|
-
if package_names is not None:
|
104
|
-
pulumi.set(__self__, "package_names", package_names)
|
105
|
-
if update_types is not None:
|
106
|
-
pulumi.set(__self__, "update_types", update_types)
|
107
|
-
if work_request_details is not None:
|
108
|
-
pulumi.set(__self__, "work_request_details", work_request_details)
|
109
|
-
|
110
|
-
@property
|
111
|
-
@pulumi.getter(name="managedInstanceId")
|
112
|
-
def managed_instance_id(self) -> Optional[pulumi.Input[str]]:
|
113
|
-
"""
|
114
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
115
|
-
"""
|
116
|
-
return pulumi.get(self, "managed_instance_id")
|
117
|
-
|
118
|
-
@managed_instance_id.setter
|
119
|
-
def managed_instance_id(self, value: Optional[pulumi.Input[str]]):
|
120
|
-
pulumi.set(self, "managed_instance_id", value)
|
121
|
-
|
122
|
-
@property
|
123
|
-
@pulumi.getter(name="packageNames")
|
124
|
-
def package_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
125
|
-
"""
|
126
|
-
The list of package names.
|
127
|
-
"""
|
128
|
-
return pulumi.get(self, "package_names")
|
129
|
-
|
130
|
-
@package_names.setter
|
131
|
-
def package_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
132
|
-
pulumi.set(self, "package_names", value)
|
133
|
-
|
134
|
-
@property
|
135
|
-
@pulumi.getter(name="updateTypes")
|
136
|
-
def update_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
137
|
-
"""
|
138
|
-
The types of updates to be applied.
|
139
|
-
"""
|
140
|
-
return pulumi.get(self, "update_types")
|
141
|
-
|
142
|
-
@update_types.setter
|
143
|
-
def update_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
144
|
-
pulumi.set(self, "update_types", value)
|
145
|
-
|
146
|
-
@property
|
147
|
-
@pulumi.getter(name="workRequestDetails")
|
148
|
-
def work_request_details(self) -> Optional[pulumi.Input['ManagedInstanceUpdatePackagesManagementWorkRequestDetailsArgs']]:
|
149
|
-
"""
|
150
|
-
Provides the name and description of the job.
|
151
|
-
"""
|
152
|
-
return pulumi.get(self, "work_request_details")
|
153
|
-
|
154
|
-
@work_request_details.setter
|
155
|
-
def work_request_details(self, value: Optional[pulumi.Input['ManagedInstanceUpdatePackagesManagementWorkRequestDetailsArgs']]):
|
156
|
-
pulumi.set(self, "work_request_details", value)
|
157
|
-
|
158
|
-
|
159
|
-
class ManagedInstanceUpdatePackagesManagement(pulumi.CustomResource):
|
160
|
-
@overload
|
161
|
-
def __init__(__self__,
|
162
|
-
resource_name: str,
|
163
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
164
|
-
managed_instance_id: Optional[pulumi.Input[str]] = None,
|
165
|
-
package_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
166
|
-
update_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
167
|
-
work_request_details: Optional[pulumi.Input[pulumi.InputType['ManagedInstanceUpdatePackagesManagementWorkRequestDetailsArgs']]] = None,
|
168
|
-
__props__=None):
|
169
|
-
"""
|
170
|
-
This resource provides the Managed Instance Update Packages Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
171
|
-
|
172
|
-
Updates a package on a managed instance.
|
173
|
-
|
174
|
-
## Example Usage
|
175
|
-
|
176
|
-
```python
|
177
|
-
import pulumi
|
178
|
-
import pulumi_oci as oci
|
179
|
-
|
180
|
-
test_managed_instance_update_packages_management = oci.os_management_hub.ManagedInstanceUpdatePackagesManagement("test_managed_instance_update_packages_management",
|
181
|
-
managed_instance_id=test_managed_instance["id"],
|
182
|
-
package_names=managed_instance_update_packages_management_package_names,
|
183
|
-
update_types=managed_instance_update_packages_management_update_types,
|
184
|
-
work_request_details=oci.os_management_hub.ManagedInstanceUpdatePackagesManagementWorkRequestDetailsArgs(
|
185
|
-
description=managed_instance_update_packages_management_work_request_details_description,
|
186
|
-
display_name=managed_instance_update_packages_management_work_request_details_display_name,
|
187
|
-
))
|
188
|
-
```
|
189
|
-
|
190
|
-
## Import
|
191
|
-
|
192
|
-
ManagedInstanceUpdatePackagesManagement can be imported using the `id`, e.g.
|
193
|
-
|
194
|
-
```sh
|
195
|
-
$ pulumi import oci:OsManagementHub/managedInstanceUpdatePackagesManagement:ManagedInstanceUpdatePackagesManagement test_managed_instance_update_packages_management "id"
|
196
|
-
```
|
197
|
-
|
198
|
-
:param str resource_name: The name of the resource.
|
199
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
200
|
-
:param pulumi.Input[str] managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
201
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] package_names: The list of package names.
|
202
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] update_types: The types of updates to be applied.
|
203
|
-
:param pulumi.Input[pulumi.InputType['ManagedInstanceUpdatePackagesManagementWorkRequestDetailsArgs']] work_request_details: Provides the name and description of the job.
|
204
|
-
"""
|
205
|
-
...
|
206
|
-
@overload
|
207
|
-
def __init__(__self__,
|
208
|
-
resource_name: str,
|
209
|
-
args: ManagedInstanceUpdatePackagesManagementArgs,
|
210
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
211
|
-
"""
|
212
|
-
This resource provides the Managed Instance Update Packages Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
213
|
-
|
214
|
-
Updates a package on a managed instance.
|
215
|
-
|
216
|
-
## Example Usage
|
217
|
-
|
218
|
-
```python
|
219
|
-
import pulumi
|
220
|
-
import pulumi_oci as oci
|
221
|
-
|
222
|
-
test_managed_instance_update_packages_management = oci.os_management_hub.ManagedInstanceUpdatePackagesManagement("test_managed_instance_update_packages_management",
|
223
|
-
managed_instance_id=test_managed_instance["id"],
|
224
|
-
package_names=managed_instance_update_packages_management_package_names,
|
225
|
-
update_types=managed_instance_update_packages_management_update_types,
|
226
|
-
work_request_details=oci.os_management_hub.ManagedInstanceUpdatePackagesManagementWorkRequestDetailsArgs(
|
227
|
-
description=managed_instance_update_packages_management_work_request_details_description,
|
228
|
-
display_name=managed_instance_update_packages_management_work_request_details_display_name,
|
229
|
-
))
|
230
|
-
```
|
231
|
-
|
232
|
-
## Import
|
233
|
-
|
234
|
-
ManagedInstanceUpdatePackagesManagement can be imported using the `id`, e.g.
|
235
|
-
|
236
|
-
```sh
|
237
|
-
$ pulumi import oci:OsManagementHub/managedInstanceUpdatePackagesManagement:ManagedInstanceUpdatePackagesManagement test_managed_instance_update_packages_management "id"
|
238
|
-
```
|
239
|
-
|
240
|
-
:param str resource_name: The name of the resource.
|
241
|
-
:param ManagedInstanceUpdatePackagesManagementArgs args: The arguments to use to populate this resource's properties.
|
242
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
243
|
-
"""
|
244
|
-
...
|
245
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
246
|
-
resource_args, opts = _utilities.get_resource_args_opts(ManagedInstanceUpdatePackagesManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
|
247
|
-
if resource_args is not None:
|
248
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
249
|
-
else:
|
250
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
251
|
-
|
252
|
-
def _internal_init(__self__,
|
253
|
-
resource_name: str,
|
254
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
255
|
-
managed_instance_id: Optional[pulumi.Input[str]] = None,
|
256
|
-
package_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
257
|
-
update_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
258
|
-
work_request_details: Optional[pulumi.Input[pulumi.InputType['ManagedInstanceUpdatePackagesManagementWorkRequestDetailsArgs']]] = None,
|
259
|
-
__props__=None):
|
260
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
261
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
262
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
263
|
-
if opts.id is None:
|
264
|
-
if __props__ is not None:
|
265
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
266
|
-
__props__ = ManagedInstanceUpdatePackagesManagementArgs.__new__(ManagedInstanceUpdatePackagesManagementArgs)
|
267
|
-
|
268
|
-
if managed_instance_id is None and not opts.urn:
|
269
|
-
raise TypeError("Missing required property 'managed_instance_id'")
|
270
|
-
__props__.__dict__["managed_instance_id"] = managed_instance_id
|
271
|
-
__props__.__dict__["package_names"] = package_names
|
272
|
-
__props__.__dict__["update_types"] = update_types
|
273
|
-
__props__.__dict__["work_request_details"] = work_request_details
|
274
|
-
super(ManagedInstanceUpdatePackagesManagement, __self__).__init__(
|
275
|
-
'oci:OsManagementHub/managedInstanceUpdatePackagesManagement:ManagedInstanceUpdatePackagesManagement',
|
276
|
-
resource_name,
|
277
|
-
__props__,
|
278
|
-
opts)
|
279
|
-
|
280
|
-
@staticmethod
|
281
|
-
def get(resource_name: str,
|
282
|
-
id: pulumi.Input[str],
|
283
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
284
|
-
managed_instance_id: Optional[pulumi.Input[str]] = None,
|
285
|
-
package_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
286
|
-
update_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
287
|
-
work_request_details: Optional[pulumi.Input[pulumi.InputType['ManagedInstanceUpdatePackagesManagementWorkRequestDetailsArgs']]] = None) -> 'ManagedInstanceUpdatePackagesManagement':
|
288
|
-
"""
|
289
|
-
Get an existing ManagedInstanceUpdatePackagesManagement resource's state with the given name, id, and optional extra
|
290
|
-
properties used to qualify the lookup.
|
291
|
-
|
292
|
-
:param str resource_name: The unique name of the resulting resource.
|
293
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
294
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
295
|
-
:param pulumi.Input[str] managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
296
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] package_names: The list of package names.
|
297
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] update_types: The types of updates to be applied.
|
298
|
-
:param pulumi.Input[pulumi.InputType['ManagedInstanceUpdatePackagesManagementWorkRequestDetailsArgs']] work_request_details: Provides the name and description of the job.
|
299
|
-
"""
|
300
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
301
|
-
|
302
|
-
__props__ = _ManagedInstanceUpdatePackagesManagementState.__new__(_ManagedInstanceUpdatePackagesManagementState)
|
303
|
-
|
304
|
-
__props__.__dict__["managed_instance_id"] = managed_instance_id
|
305
|
-
__props__.__dict__["package_names"] = package_names
|
306
|
-
__props__.__dict__["update_types"] = update_types
|
307
|
-
__props__.__dict__["work_request_details"] = work_request_details
|
308
|
-
return ManagedInstanceUpdatePackagesManagement(resource_name, opts=opts, __props__=__props__)
|
309
|
-
|
310
|
-
@property
|
311
|
-
@pulumi.getter(name="managedInstanceId")
|
312
|
-
def managed_instance_id(self) -> pulumi.Output[str]:
|
313
|
-
"""
|
314
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
315
|
-
"""
|
316
|
-
return pulumi.get(self, "managed_instance_id")
|
317
|
-
|
318
|
-
@property
|
319
|
-
@pulumi.getter(name="packageNames")
|
320
|
-
def package_names(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
321
|
-
"""
|
322
|
-
The list of package names.
|
323
|
-
"""
|
324
|
-
return pulumi.get(self, "package_names")
|
325
|
-
|
326
|
-
@property
|
327
|
-
@pulumi.getter(name="updateTypes")
|
328
|
-
def update_types(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
329
|
-
"""
|
330
|
-
The types of updates to be applied.
|
331
|
-
"""
|
332
|
-
return pulumi.get(self, "update_types")
|
333
|
-
|
334
|
-
@property
|
335
|
-
@pulumi.getter(name="workRequestDetails")
|
336
|
-
def work_request_details(self) -> pulumi.Output['outputs.ManagedInstanceUpdatePackagesManagementWorkRequestDetails']:
|
337
|
-
"""
|
338
|
-
Provides the name and description of the job.
|
339
|
-
"""
|
340
|
-
return pulumi.get(self, "work_request_details")
|
341
|
-
|
@@ -1,264 +0,0 @@
|
|
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
|
-
|
12
|
-
__all__ = ['ManagementStationMirrorSynchronizeManagementArgs', 'ManagementStationMirrorSynchronizeManagement']
|
13
|
-
|
14
|
-
@pulumi.input_type
|
15
|
-
class ManagementStationMirrorSynchronizeManagementArgs:
|
16
|
-
def __init__(__self__, *,
|
17
|
-
management_station_id: pulumi.Input[str],
|
18
|
-
mirror_id: pulumi.Input[str]):
|
19
|
-
"""
|
20
|
-
The set of arguments for constructing a ManagementStationMirrorSynchronizeManagement resource.
|
21
|
-
:param pulumi.Input[str] management_station_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station.
|
22
|
-
:param pulumi.Input[str] mirror_id: Unique Software Source identifier
|
23
|
-
|
24
|
-
|
25
|
-
** IMPORTANT **
|
26
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
27
|
-
"""
|
28
|
-
pulumi.set(__self__, "management_station_id", management_station_id)
|
29
|
-
pulumi.set(__self__, "mirror_id", mirror_id)
|
30
|
-
|
31
|
-
@property
|
32
|
-
@pulumi.getter(name="managementStationId")
|
33
|
-
def management_station_id(self) -> pulumi.Input[str]:
|
34
|
-
"""
|
35
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station.
|
36
|
-
"""
|
37
|
-
return pulumi.get(self, "management_station_id")
|
38
|
-
|
39
|
-
@management_station_id.setter
|
40
|
-
def management_station_id(self, value: pulumi.Input[str]):
|
41
|
-
pulumi.set(self, "management_station_id", value)
|
42
|
-
|
43
|
-
@property
|
44
|
-
@pulumi.getter(name="mirrorId")
|
45
|
-
def mirror_id(self) -> pulumi.Input[str]:
|
46
|
-
"""
|
47
|
-
Unique Software Source identifier
|
48
|
-
|
49
|
-
|
50
|
-
** IMPORTANT **
|
51
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
52
|
-
"""
|
53
|
-
return pulumi.get(self, "mirror_id")
|
54
|
-
|
55
|
-
@mirror_id.setter
|
56
|
-
def mirror_id(self, value: pulumi.Input[str]):
|
57
|
-
pulumi.set(self, "mirror_id", value)
|
58
|
-
|
59
|
-
|
60
|
-
@pulumi.input_type
|
61
|
-
class _ManagementStationMirrorSynchronizeManagementState:
|
62
|
-
def __init__(__self__, *,
|
63
|
-
management_station_id: Optional[pulumi.Input[str]] = None,
|
64
|
-
mirror_id: Optional[pulumi.Input[str]] = None):
|
65
|
-
"""
|
66
|
-
Input properties used for looking up and filtering ManagementStationMirrorSynchronizeManagement resources.
|
67
|
-
:param pulumi.Input[str] management_station_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station.
|
68
|
-
:param pulumi.Input[str] mirror_id: Unique Software Source identifier
|
69
|
-
|
70
|
-
|
71
|
-
** IMPORTANT **
|
72
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
73
|
-
"""
|
74
|
-
if management_station_id is not None:
|
75
|
-
pulumi.set(__self__, "management_station_id", management_station_id)
|
76
|
-
if mirror_id is not None:
|
77
|
-
pulumi.set(__self__, "mirror_id", mirror_id)
|
78
|
-
|
79
|
-
@property
|
80
|
-
@pulumi.getter(name="managementStationId")
|
81
|
-
def management_station_id(self) -> Optional[pulumi.Input[str]]:
|
82
|
-
"""
|
83
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station.
|
84
|
-
"""
|
85
|
-
return pulumi.get(self, "management_station_id")
|
86
|
-
|
87
|
-
@management_station_id.setter
|
88
|
-
def management_station_id(self, value: Optional[pulumi.Input[str]]):
|
89
|
-
pulumi.set(self, "management_station_id", value)
|
90
|
-
|
91
|
-
@property
|
92
|
-
@pulumi.getter(name="mirrorId")
|
93
|
-
def mirror_id(self) -> Optional[pulumi.Input[str]]:
|
94
|
-
"""
|
95
|
-
Unique Software Source identifier
|
96
|
-
|
97
|
-
|
98
|
-
** IMPORTANT **
|
99
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
100
|
-
"""
|
101
|
-
return pulumi.get(self, "mirror_id")
|
102
|
-
|
103
|
-
@mirror_id.setter
|
104
|
-
def mirror_id(self, value: Optional[pulumi.Input[str]]):
|
105
|
-
pulumi.set(self, "mirror_id", value)
|
106
|
-
|
107
|
-
|
108
|
-
class ManagementStationMirrorSynchronizeManagement(pulumi.CustomResource):
|
109
|
-
@overload
|
110
|
-
def __init__(__self__,
|
111
|
-
resource_name: str,
|
112
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
113
|
-
management_station_id: Optional[pulumi.Input[str]] = None,
|
114
|
-
mirror_id: Optional[pulumi.Input[str]] = None,
|
115
|
-
__props__=None):
|
116
|
-
"""
|
117
|
-
This resource provides the Management Station Mirror Synchronize Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
118
|
-
|
119
|
-
Synchronize the specified software source mirrors on the management station.
|
120
|
-
|
121
|
-
## Example Usage
|
122
|
-
|
123
|
-
```python
|
124
|
-
import pulumi
|
125
|
-
import pulumi_oci as oci
|
126
|
-
|
127
|
-
test_management_station_mirror_synchronize_management = oci.os_management_hub.ManagementStationMirrorSynchronizeManagement("test_management_station_mirror_synchronize_management",
|
128
|
-
management_station_id=test_management_station["id"],
|
129
|
-
mirror_id=test_mirror["id"])
|
130
|
-
```
|
131
|
-
|
132
|
-
## Import
|
133
|
-
|
134
|
-
ManagementStationMirrorSynchronizeManagement can be imported using the `id`, e.g.
|
135
|
-
|
136
|
-
```sh
|
137
|
-
$ pulumi import oci:OsManagementHub/managementStationMirrorSynchronizeManagement:ManagementStationMirrorSynchronizeManagement test_management_station_mirror_synchronize_management "id"
|
138
|
-
```
|
139
|
-
|
140
|
-
:param str resource_name: The name of the resource.
|
141
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
142
|
-
:param pulumi.Input[str] management_station_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station.
|
143
|
-
:param pulumi.Input[str] mirror_id: Unique Software Source identifier
|
144
|
-
|
145
|
-
|
146
|
-
** IMPORTANT **
|
147
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
148
|
-
"""
|
149
|
-
...
|
150
|
-
@overload
|
151
|
-
def __init__(__self__,
|
152
|
-
resource_name: str,
|
153
|
-
args: ManagementStationMirrorSynchronizeManagementArgs,
|
154
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
155
|
-
"""
|
156
|
-
This resource provides the Management Station Mirror Synchronize Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
157
|
-
|
158
|
-
Synchronize the specified software source mirrors on the management station.
|
159
|
-
|
160
|
-
## Example Usage
|
161
|
-
|
162
|
-
```python
|
163
|
-
import pulumi
|
164
|
-
import pulumi_oci as oci
|
165
|
-
|
166
|
-
test_management_station_mirror_synchronize_management = oci.os_management_hub.ManagementStationMirrorSynchronizeManagement("test_management_station_mirror_synchronize_management",
|
167
|
-
management_station_id=test_management_station["id"],
|
168
|
-
mirror_id=test_mirror["id"])
|
169
|
-
```
|
170
|
-
|
171
|
-
## Import
|
172
|
-
|
173
|
-
ManagementStationMirrorSynchronizeManagement can be imported using the `id`, e.g.
|
174
|
-
|
175
|
-
```sh
|
176
|
-
$ pulumi import oci:OsManagementHub/managementStationMirrorSynchronizeManagement:ManagementStationMirrorSynchronizeManagement test_management_station_mirror_synchronize_management "id"
|
177
|
-
```
|
178
|
-
|
179
|
-
:param str resource_name: The name of the resource.
|
180
|
-
:param ManagementStationMirrorSynchronizeManagementArgs args: The arguments to use to populate this resource's properties.
|
181
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
182
|
-
"""
|
183
|
-
...
|
184
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
185
|
-
resource_args, opts = _utilities.get_resource_args_opts(ManagementStationMirrorSynchronizeManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
|
186
|
-
if resource_args is not None:
|
187
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
188
|
-
else:
|
189
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
190
|
-
|
191
|
-
def _internal_init(__self__,
|
192
|
-
resource_name: str,
|
193
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
194
|
-
management_station_id: Optional[pulumi.Input[str]] = None,
|
195
|
-
mirror_id: Optional[pulumi.Input[str]] = None,
|
196
|
-
__props__=None):
|
197
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
198
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
199
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
200
|
-
if opts.id is None:
|
201
|
-
if __props__ is not None:
|
202
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
203
|
-
__props__ = ManagementStationMirrorSynchronizeManagementArgs.__new__(ManagementStationMirrorSynchronizeManagementArgs)
|
204
|
-
|
205
|
-
if management_station_id is None and not opts.urn:
|
206
|
-
raise TypeError("Missing required property 'management_station_id'")
|
207
|
-
__props__.__dict__["management_station_id"] = management_station_id
|
208
|
-
if mirror_id is None and not opts.urn:
|
209
|
-
raise TypeError("Missing required property 'mirror_id'")
|
210
|
-
__props__.__dict__["mirror_id"] = mirror_id
|
211
|
-
super(ManagementStationMirrorSynchronizeManagement, __self__).__init__(
|
212
|
-
'oci:OsManagementHub/managementStationMirrorSynchronizeManagement:ManagementStationMirrorSynchronizeManagement',
|
213
|
-
resource_name,
|
214
|
-
__props__,
|
215
|
-
opts)
|
216
|
-
|
217
|
-
@staticmethod
|
218
|
-
def get(resource_name: str,
|
219
|
-
id: pulumi.Input[str],
|
220
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
221
|
-
management_station_id: Optional[pulumi.Input[str]] = None,
|
222
|
-
mirror_id: Optional[pulumi.Input[str]] = None) -> 'ManagementStationMirrorSynchronizeManagement':
|
223
|
-
"""
|
224
|
-
Get an existing ManagementStationMirrorSynchronizeManagement resource's state with the given name, id, and optional extra
|
225
|
-
properties used to qualify the lookup.
|
226
|
-
|
227
|
-
:param str resource_name: The unique name of the resulting resource.
|
228
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
229
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
230
|
-
:param pulumi.Input[str] management_station_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station.
|
231
|
-
:param pulumi.Input[str] mirror_id: Unique Software Source identifier
|
232
|
-
|
233
|
-
|
234
|
-
** IMPORTANT **
|
235
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
236
|
-
"""
|
237
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
238
|
-
|
239
|
-
__props__ = _ManagementStationMirrorSynchronizeManagementState.__new__(_ManagementStationMirrorSynchronizeManagementState)
|
240
|
-
|
241
|
-
__props__.__dict__["management_station_id"] = management_station_id
|
242
|
-
__props__.__dict__["mirror_id"] = mirror_id
|
243
|
-
return ManagementStationMirrorSynchronizeManagement(resource_name, opts=opts, __props__=__props__)
|
244
|
-
|
245
|
-
@property
|
246
|
-
@pulumi.getter(name="managementStationId")
|
247
|
-
def management_station_id(self) -> pulumi.Output[str]:
|
248
|
-
"""
|
249
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station.
|
250
|
-
"""
|
251
|
-
return pulumi.get(self, "management_station_id")
|
252
|
-
|
253
|
-
@property
|
254
|
-
@pulumi.getter(name="mirrorId")
|
255
|
-
def mirror_id(self) -> pulumi.Output[str]:
|
256
|
-
"""
|
257
|
-
Unique Software Source identifier
|
258
|
-
|
259
|
-
|
260
|
-
** IMPORTANT **
|
261
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
262
|
-
"""
|
263
|
-
return pulumi.get(self, "mirror_id")
|
264
|
-
|