pulumi-oci 1.35.0a1715306721__py3-none-any.whl → 1.36.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 +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 +304 -0
- pulumi_oci/database/cloud_exadata_infrastructure.py +28 -0
- pulumi_oci/database/cloud_vm_cluster.py +55 -0
- pulumi_oci/database/exadata_infrastructure.py +28 -0
- pulumi_oci/database/get_cloud_exadata_infrastructure.py +14 -1
- pulumi_oci/database/get_cloud_vm_cluster.py +14 -1
- pulumi_oci/database/get_exadata_infrastructure.py +14 -1
- pulumi_oci/database/get_vm_cluster.py +14 -1
- pulumi_oci/database/outputs.py +734 -6
- 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/disasterrecovery/_inputs.py +16 -0
- pulumi_oci/disasterrecovery/outputs.py +36 -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 +160 -20
- pulumi_oci/loadbalancer/backend.py +49 -0
- pulumi_oci/loadbalancer/backend_set.py +57 -0
- pulumi_oci/loadbalancer/get_listener_rules.py +2 -2
- pulumi_oci/loadbalancer/listener.py +2 -0
- pulumi_oci/loadbalancer/load_balancer.py +98 -7
- pulumi_oci/loadbalancer/outputs.py +375 -36
- pulumi_oci/loadbalancer/rule_set.py +10 -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 +2 -1
- {pulumi_oci-1.35.0a1715306721.dist-info → pulumi_oci-1.36.0.dist-info}/METADATA +1 -1
- {pulumi_oci-1.35.0a1715306721.dist-info → pulumi_oci-1.36.0.dist-info}/RECORD +130 -75
- {pulumi_oci-1.35.0a1715306721.dist-info → pulumi_oci-1.36.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.35.0a1715306721.dist-info → pulumi_oci-1.36.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,264 @@
|
|
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
|
+
|
@@ -0,0 +1,212 @@
|
|
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__ = ['ManagementStationRefreshManagementArgs', 'ManagementStationRefreshManagement']
|
13
|
+
|
14
|
+
@pulumi.input_type
|
15
|
+
class ManagementStationRefreshManagementArgs:
|
16
|
+
def __init__(__self__, *,
|
17
|
+
management_station_id: pulumi.Input[str]):
|
18
|
+
"""
|
19
|
+
The set of arguments for constructing a ManagementStationRefreshManagement resource.
|
20
|
+
:param pulumi.Input[str] management_station_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station.
|
21
|
+
|
22
|
+
|
23
|
+
** IMPORTANT **
|
24
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
25
|
+
"""
|
26
|
+
pulumi.set(__self__, "management_station_id", management_station_id)
|
27
|
+
|
28
|
+
@property
|
29
|
+
@pulumi.getter(name="managementStationId")
|
30
|
+
def management_station_id(self) -> pulumi.Input[str]:
|
31
|
+
"""
|
32
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station.
|
33
|
+
|
34
|
+
|
35
|
+
** IMPORTANT **
|
36
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
37
|
+
"""
|
38
|
+
return pulumi.get(self, "management_station_id")
|
39
|
+
|
40
|
+
@management_station_id.setter
|
41
|
+
def management_station_id(self, value: pulumi.Input[str]):
|
42
|
+
pulumi.set(self, "management_station_id", value)
|
43
|
+
|
44
|
+
|
45
|
+
@pulumi.input_type
|
46
|
+
class _ManagementStationRefreshManagementState:
|
47
|
+
def __init__(__self__, *,
|
48
|
+
management_station_id: Optional[pulumi.Input[str]] = None):
|
49
|
+
"""
|
50
|
+
Input properties used for looking up and filtering ManagementStationRefreshManagement resources.
|
51
|
+
:param pulumi.Input[str] management_station_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station.
|
52
|
+
|
53
|
+
|
54
|
+
** IMPORTANT **
|
55
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
56
|
+
"""
|
57
|
+
if management_station_id is not None:
|
58
|
+
pulumi.set(__self__, "management_station_id", management_station_id)
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter(name="managementStationId")
|
62
|
+
def management_station_id(self) -> Optional[pulumi.Input[str]]:
|
63
|
+
"""
|
64
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station.
|
65
|
+
|
66
|
+
|
67
|
+
** IMPORTANT **
|
68
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
69
|
+
"""
|
70
|
+
return pulumi.get(self, "management_station_id")
|
71
|
+
|
72
|
+
@management_station_id.setter
|
73
|
+
def management_station_id(self, value: Optional[pulumi.Input[str]]):
|
74
|
+
pulumi.set(self, "management_station_id", value)
|
75
|
+
|
76
|
+
|
77
|
+
class ManagementStationRefreshManagement(pulumi.CustomResource):
|
78
|
+
@overload
|
79
|
+
def __init__(__self__,
|
80
|
+
resource_name: str,
|
81
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
82
|
+
management_station_id: Optional[pulumi.Input[str]] = None,
|
83
|
+
__props__=None):
|
84
|
+
"""
|
85
|
+
This resource provides the Management Station Refresh Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
86
|
+
|
87
|
+
Refreshes the list of software sources mirrored by the management station to support the associated instances.
|
88
|
+
|
89
|
+
## Example Usage
|
90
|
+
|
91
|
+
```python
|
92
|
+
import pulumi
|
93
|
+
import pulumi_oci as oci
|
94
|
+
|
95
|
+
test_management_station_refresh_management = oci.os_management_hub.ManagementStationRefreshManagement("test_management_station_refresh_management", management_station_id=test_management_station["id"])
|
96
|
+
```
|
97
|
+
|
98
|
+
## Import
|
99
|
+
|
100
|
+
ManagementStationRefreshManagement can be imported using the `id`, e.g.
|
101
|
+
|
102
|
+
```sh
|
103
|
+
$ pulumi import oci:OsManagementHub/managementStationRefreshManagement:ManagementStationRefreshManagement test_management_station_refresh_management "id"
|
104
|
+
```
|
105
|
+
|
106
|
+
:param str resource_name: The name of the resource.
|
107
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
108
|
+
:param pulumi.Input[str] management_station_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station.
|
109
|
+
|
110
|
+
|
111
|
+
** IMPORTANT **
|
112
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
113
|
+
"""
|
114
|
+
...
|
115
|
+
@overload
|
116
|
+
def __init__(__self__,
|
117
|
+
resource_name: str,
|
118
|
+
args: ManagementStationRefreshManagementArgs,
|
119
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
120
|
+
"""
|
121
|
+
This resource provides the Management Station Refresh Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
122
|
+
|
123
|
+
Refreshes the list of software sources mirrored by the management station to support the associated instances.
|
124
|
+
|
125
|
+
## Example Usage
|
126
|
+
|
127
|
+
```python
|
128
|
+
import pulumi
|
129
|
+
import pulumi_oci as oci
|
130
|
+
|
131
|
+
test_management_station_refresh_management = oci.os_management_hub.ManagementStationRefreshManagement("test_management_station_refresh_management", management_station_id=test_management_station["id"])
|
132
|
+
```
|
133
|
+
|
134
|
+
## Import
|
135
|
+
|
136
|
+
ManagementStationRefreshManagement can be imported using the `id`, e.g.
|
137
|
+
|
138
|
+
```sh
|
139
|
+
$ pulumi import oci:OsManagementHub/managementStationRefreshManagement:ManagementStationRefreshManagement test_management_station_refresh_management "id"
|
140
|
+
```
|
141
|
+
|
142
|
+
:param str resource_name: The name of the resource.
|
143
|
+
:param ManagementStationRefreshManagementArgs args: The arguments to use to populate this resource's properties.
|
144
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
145
|
+
"""
|
146
|
+
...
|
147
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
148
|
+
resource_args, opts = _utilities.get_resource_args_opts(ManagementStationRefreshManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
|
149
|
+
if resource_args is not None:
|
150
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
151
|
+
else:
|
152
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
153
|
+
|
154
|
+
def _internal_init(__self__,
|
155
|
+
resource_name: str,
|
156
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
157
|
+
management_station_id: Optional[pulumi.Input[str]] = None,
|
158
|
+
__props__=None):
|
159
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
160
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
161
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
162
|
+
if opts.id is None:
|
163
|
+
if __props__ is not None:
|
164
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
165
|
+
__props__ = ManagementStationRefreshManagementArgs.__new__(ManagementStationRefreshManagementArgs)
|
166
|
+
|
167
|
+
if management_station_id is None and not opts.urn:
|
168
|
+
raise TypeError("Missing required property 'management_station_id'")
|
169
|
+
__props__.__dict__["management_station_id"] = management_station_id
|
170
|
+
super(ManagementStationRefreshManagement, __self__).__init__(
|
171
|
+
'oci:OsManagementHub/managementStationRefreshManagement:ManagementStationRefreshManagement',
|
172
|
+
resource_name,
|
173
|
+
__props__,
|
174
|
+
opts)
|
175
|
+
|
176
|
+
@staticmethod
|
177
|
+
def get(resource_name: str,
|
178
|
+
id: pulumi.Input[str],
|
179
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
180
|
+
management_station_id: Optional[pulumi.Input[str]] = None) -> 'ManagementStationRefreshManagement':
|
181
|
+
"""
|
182
|
+
Get an existing ManagementStationRefreshManagement resource's state with the given name, id, and optional extra
|
183
|
+
properties used to qualify the lookup.
|
184
|
+
|
185
|
+
:param str resource_name: The unique name of the resulting resource.
|
186
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
187
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
188
|
+
:param pulumi.Input[str] management_station_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station.
|
189
|
+
|
190
|
+
|
191
|
+
** IMPORTANT **
|
192
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
193
|
+
"""
|
194
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
195
|
+
|
196
|
+
__props__ = _ManagementStationRefreshManagementState.__new__(_ManagementStationRefreshManagementState)
|
197
|
+
|
198
|
+
__props__.__dict__["management_station_id"] = management_station_id
|
199
|
+
return ManagementStationRefreshManagement(resource_name, opts=opts, __props__=__props__)
|
200
|
+
|
201
|
+
@property
|
202
|
+
@pulumi.getter(name="managementStationId")
|
203
|
+
def management_station_id(self) -> pulumi.Output[str]:
|
204
|
+
"""
|
205
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station.
|
206
|
+
|
207
|
+
|
208
|
+
** IMPORTANT **
|
209
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
210
|
+
"""
|
211
|
+
return pulumi.get(self, "management_station_id")
|
212
|
+
|