pulumi-oci 2.27.0a1742000109__py3-none-any.whl → 2.27.0a1742444119__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 +144 -0
- pulumi_oci/containerengine/_inputs.py +9 -9
- pulumi_oci/containerengine/outputs.py +18 -22
- pulumi_oci/core/__init__.py +7 -0
- pulumi_oci/core/_inputs.py +147 -0
- pulumi_oci/core/compute_gpu_memory_cluster.py +706 -0
- pulumi_oci/core/compute_gpu_memory_fabric.py +667 -0
- pulumi_oci/core/get_compute_gpu_memory_cluster.py +281 -0
- pulumi_oci/core/get_compute_gpu_memory_cluster_instances.py +144 -0
- pulumi_oci/core/get_compute_gpu_memory_clusters.py +232 -0
- pulumi_oci/core/get_compute_gpu_memory_fabric.py +309 -0
- pulumi_oci/core/get_compute_gpu_memory_fabrics.py +289 -0
- pulumi_oci/core/outputs.py +582 -0
- pulumi_oci/database/__init__.py +2 -0
- pulumi_oci/database/_inputs.py +2211 -24
- pulumi_oci/database/autonomous_container_database.py +305 -52
- pulumi_oci/database/autonomous_container_database_add_standby.py +2183 -0
- pulumi_oci/database/autonomous_container_database_dataguard_association.py +80 -40
- pulumi_oci/database/autonomous_container_database_snapshot_standby.py +322 -0
- pulumi_oci/database/get_autonomous_container_database.py +103 -2
- pulumi_oci/database/get_autonomous_container_database_dataguard_association.py +12 -1
- pulumi_oci/database/get_autonomous_container_databases.py +1 -1
- pulumi_oci/database/get_maintenance_run.py +15 -1
- pulumi_oci/database/maintenance_run.py +28 -0
- pulumi_oci/database/outputs.py +2747 -225
- pulumi_oci/goldengate/_inputs.py +128 -0
- pulumi_oci/goldengate/deployment.py +103 -0
- pulumi_oci/goldengate/deployment_backup.py +28 -0
- pulumi_oci/goldengate/get_deployment.py +43 -1
- pulumi_oci/goldengate/get_deployment_backup.py +15 -1
- pulumi_oci/goldengate/outputs.py +289 -0
- pulumi_oci/osmanagementhub/__init__.py +18 -0
- pulumi_oci/osmanagementhub/_inputs.py +677 -12
- pulumi_oci/osmanagementhub/event.py +8 -0
- pulumi_oci/osmanagementhub/get_entitlements.py +2 -2
- pulumi_oci/osmanagementhub/get_event.py +2 -0
- pulumi_oci/osmanagementhub/get_events.py +2 -0
- pulumi_oci/osmanagementhub/get_managed_instance.py +30 -2
- pulumi_oci/osmanagementhub/get_managed_instances.py +75 -63
- pulumi_oci/osmanagementhub/get_management_station.py +116 -4
- pulumi_oci/osmanagementhub/get_management_station_mirrors.py +1 -1
- pulumi_oci/osmanagementhub/get_management_stations.py +47 -4
- pulumi_oci/osmanagementhub/get_profile.py +32 -4
- pulumi_oci/osmanagementhub/get_profile_available_software_sources.py +207 -0
- pulumi_oci/osmanagementhub/get_profile_version.py +388 -0
- pulumi_oci/osmanagementhub/get_profiles.py +63 -3
- pulumi_oci/osmanagementhub/get_scheduled_job.py +15 -1
- pulumi_oci/osmanagementhub/get_software_package.py +2 -2
- pulumi_oci/osmanagementhub/get_software_package_software_source.py +7 -7
- pulumi_oci/osmanagementhub/get_software_source.py +89 -5
- pulumi_oci/osmanagementhub/get_software_source_available_software_packages.py +209 -0
- pulumi_oci/osmanagementhub/get_software_source_manifest.py +127 -0
- pulumi_oci/osmanagementhub/get_software_sources.py +30 -8
- pulumi_oci/osmanagementhub/lifecycle_stage_attach_managed_instances_management.py +6 -39
- pulumi_oci/osmanagementhub/lifecycle_stage_detach_managed_instances_management.py +6 -39
- pulumi_oci/osmanagementhub/lifecycle_stage_reboot_management.py +297 -0
- pulumi_oci/osmanagementhub/managed_instance.py +56 -0
- pulumi_oci/osmanagementhub/managed_instance_group_install_packages_management.py +49 -0
- pulumi_oci/osmanagementhub/managed_instance_group_reboot_management.py +297 -0
- pulumi_oci/osmanagementhub/managed_instance_reboot_management.py +299 -0
- pulumi_oci/osmanagementhub/management_station.py +251 -4
- pulumi_oci/osmanagementhub/management_station_associate_managed_instances_management.py +298 -0
- pulumi_oci/osmanagementhub/management_station_refresh_management.py +2 -2
- pulumi_oci/osmanagementhub/management_station_synchronize_mirrors_management.py +9 -9
- pulumi_oci/osmanagementhub/outputs.py +1349 -50
- pulumi_oci/osmanagementhub/profile.py +70 -14
- pulumi_oci/osmanagementhub/profile_attach_lifecycle_stage_management.py +269 -0
- pulumi_oci/osmanagementhub/profile_attach_managed_instance_group_management.py +269 -0
- pulumi_oci/osmanagementhub/profile_attach_management_station_management.py +269 -0
- pulumi_oci/osmanagementhub/profile_attach_software_sources_management.py +269 -0
- pulumi_oci/osmanagementhub/profile_detach_software_sources_management.py +269 -0
- pulumi_oci/osmanagementhub/scheduled_job.py +72 -21
- pulumi_oci/osmanagementhub/software_source.py +365 -26
- pulumi_oci/osmanagementhub/software_source_add_packages_management.py +67 -10
- pulumi_oci/osmanagementhub/software_source_generate_metadata_management.py +217 -0
- pulumi_oci/osmanagementhub/software_source_manifest.py +268 -0
- pulumi_oci/osmanagementhub/software_source_remove_packages_management.py +277 -0
- pulumi_oci/osmanagementhub/software_source_replace_packages_management.py +277 -0
- pulumi_oci/osmanagementhub/work_request_rerun_management.py +325 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-2.27.0a1742000109.dist-info → pulumi_oci-2.27.0a1742444119.dist-info}/METADATA +2 -2
- {pulumi_oci-2.27.0a1742000109.dist-info → pulumi_oci-2.27.0a1742444119.dist-info}/RECORD +84 -57
- {pulumi_oci-2.27.0a1742000109.dist-info → pulumi_oci-2.27.0a1742444119.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.27.0a1742000109.dist-info → pulumi_oci-2.27.0a1742444119.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,269 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = ['ProfileAttachManagedInstanceGroupManagementArgs', 'ProfileAttachManagedInstanceGroupManagement']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class ProfileAttachManagedInstanceGroupManagementArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
managed_instance_group_id: pulumi.Input[str],
|
23
|
+
profile_id: pulumi.Input[str]):
|
24
|
+
"""
|
25
|
+
The set of arguments for constructing a ProfileAttachManagedInstanceGroupManagement resource.
|
26
|
+
:param pulumi.Input[str] managed_instance_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group that the instance will be associated with.
|
27
|
+
:param pulumi.Input[str] profile_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
28
|
+
|
29
|
+
|
30
|
+
** IMPORTANT **
|
31
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
32
|
+
"""
|
33
|
+
pulumi.set(__self__, "managed_instance_group_id", managed_instance_group_id)
|
34
|
+
pulumi.set(__self__, "profile_id", profile_id)
|
35
|
+
|
36
|
+
@property
|
37
|
+
@pulumi.getter(name="managedInstanceGroupId")
|
38
|
+
def managed_instance_group_id(self) -> pulumi.Input[str]:
|
39
|
+
"""
|
40
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group that the instance will be associated with.
|
41
|
+
"""
|
42
|
+
return pulumi.get(self, "managed_instance_group_id")
|
43
|
+
|
44
|
+
@managed_instance_group_id.setter
|
45
|
+
def managed_instance_group_id(self, value: pulumi.Input[str]):
|
46
|
+
pulumi.set(self, "managed_instance_group_id", value)
|
47
|
+
|
48
|
+
@property
|
49
|
+
@pulumi.getter(name="profileId")
|
50
|
+
def profile_id(self) -> pulumi.Input[str]:
|
51
|
+
"""
|
52
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
53
|
+
|
54
|
+
|
55
|
+
** IMPORTANT **
|
56
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "profile_id")
|
59
|
+
|
60
|
+
@profile_id.setter
|
61
|
+
def profile_id(self, value: pulumi.Input[str]):
|
62
|
+
pulumi.set(self, "profile_id", value)
|
63
|
+
|
64
|
+
|
65
|
+
@pulumi.input_type
|
66
|
+
class _ProfileAttachManagedInstanceGroupManagementState:
|
67
|
+
def __init__(__self__, *,
|
68
|
+
managed_instance_group_id: Optional[pulumi.Input[str]] = None,
|
69
|
+
profile_id: Optional[pulumi.Input[str]] = None):
|
70
|
+
"""
|
71
|
+
Input properties used for looking up and filtering ProfileAttachManagedInstanceGroupManagement resources.
|
72
|
+
:param pulumi.Input[str] managed_instance_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group that the instance will be associated with.
|
73
|
+
:param pulumi.Input[str] profile_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
74
|
+
|
75
|
+
|
76
|
+
** IMPORTANT **
|
77
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
78
|
+
"""
|
79
|
+
if managed_instance_group_id is not None:
|
80
|
+
pulumi.set(__self__, "managed_instance_group_id", managed_instance_group_id)
|
81
|
+
if profile_id is not None:
|
82
|
+
pulumi.set(__self__, "profile_id", profile_id)
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter(name="managedInstanceGroupId")
|
86
|
+
def managed_instance_group_id(self) -> Optional[pulumi.Input[str]]:
|
87
|
+
"""
|
88
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group that the instance will be associated with.
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "managed_instance_group_id")
|
91
|
+
|
92
|
+
@managed_instance_group_id.setter
|
93
|
+
def managed_instance_group_id(self, value: Optional[pulumi.Input[str]]):
|
94
|
+
pulumi.set(self, "managed_instance_group_id", value)
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter(name="profileId")
|
98
|
+
def profile_id(self) -> Optional[pulumi.Input[str]]:
|
99
|
+
"""
|
100
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
101
|
+
|
102
|
+
|
103
|
+
** IMPORTANT **
|
104
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "profile_id")
|
107
|
+
|
108
|
+
@profile_id.setter
|
109
|
+
def profile_id(self, value: Optional[pulumi.Input[str]]):
|
110
|
+
pulumi.set(self, "profile_id", value)
|
111
|
+
|
112
|
+
|
113
|
+
class ProfileAttachManagedInstanceGroupManagement(pulumi.CustomResource):
|
114
|
+
@overload
|
115
|
+
def __init__(__self__,
|
116
|
+
resource_name: str,
|
117
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
118
|
+
managed_instance_group_id: Optional[pulumi.Input[str]] = None,
|
119
|
+
profile_id: Optional[pulumi.Input[str]] = None,
|
120
|
+
__props__=None):
|
121
|
+
"""
|
122
|
+
This resource provides the Profile Attach Managed Instance Group Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
123
|
+
|
124
|
+
Attaches the specified managed instance group to a profile.
|
125
|
+
|
126
|
+
## Example Usage
|
127
|
+
|
128
|
+
```python
|
129
|
+
import pulumi
|
130
|
+
import pulumi_oci as oci
|
131
|
+
|
132
|
+
test_profile_attach_managed_instance_group_management = oci.os_management_hub.ProfileAttachManagedInstanceGroupManagement("test_profile_attach_managed_instance_group_management",
|
133
|
+
managed_instance_group_id=test_managed_instance_group["id"],
|
134
|
+
profile_id=test_profile["id"])
|
135
|
+
```
|
136
|
+
|
137
|
+
## Import
|
138
|
+
|
139
|
+
ProfileAttachManagedInstanceGroupManagement can be imported using the `id`, e.g.
|
140
|
+
|
141
|
+
```sh
|
142
|
+
$ pulumi import oci:OsManagementHub/profileAttachManagedInstanceGroupManagement:ProfileAttachManagedInstanceGroupManagement test_profile_attach_managed_instance_group_management "id"
|
143
|
+
```
|
144
|
+
|
145
|
+
:param str resource_name: The name of the resource.
|
146
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
147
|
+
:param pulumi.Input[str] managed_instance_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group that the instance will be associated with.
|
148
|
+
:param pulumi.Input[str] profile_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
149
|
+
|
150
|
+
|
151
|
+
** IMPORTANT **
|
152
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
153
|
+
"""
|
154
|
+
...
|
155
|
+
@overload
|
156
|
+
def __init__(__self__,
|
157
|
+
resource_name: str,
|
158
|
+
args: ProfileAttachManagedInstanceGroupManagementArgs,
|
159
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
160
|
+
"""
|
161
|
+
This resource provides the Profile Attach Managed Instance Group Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
162
|
+
|
163
|
+
Attaches the specified managed instance group to a profile.
|
164
|
+
|
165
|
+
## Example Usage
|
166
|
+
|
167
|
+
```python
|
168
|
+
import pulumi
|
169
|
+
import pulumi_oci as oci
|
170
|
+
|
171
|
+
test_profile_attach_managed_instance_group_management = oci.os_management_hub.ProfileAttachManagedInstanceGroupManagement("test_profile_attach_managed_instance_group_management",
|
172
|
+
managed_instance_group_id=test_managed_instance_group["id"],
|
173
|
+
profile_id=test_profile["id"])
|
174
|
+
```
|
175
|
+
|
176
|
+
## Import
|
177
|
+
|
178
|
+
ProfileAttachManagedInstanceGroupManagement can be imported using the `id`, e.g.
|
179
|
+
|
180
|
+
```sh
|
181
|
+
$ pulumi import oci:OsManagementHub/profileAttachManagedInstanceGroupManagement:ProfileAttachManagedInstanceGroupManagement test_profile_attach_managed_instance_group_management "id"
|
182
|
+
```
|
183
|
+
|
184
|
+
:param str resource_name: The name of the resource.
|
185
|
+
:param ProfileAttachManagedInstanceGroupManagementArgs args: The arguments to use to populate this resource's properties.
|
186
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
187
|
+
"""
|
188
|
+
...
|
189
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
190
|
+
resource_args, opts = _utilities.get_resource_args_opts(ProfileAttachManagedInstanceGroupManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
|
191
|
+
if resource_args is not None:
|
192
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
193
|
+
else:
|
194
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
195
|
+
|
196
|
+
def _internal_init(__self__,
|
197
|
+
resource_name: str,
|
198
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
199
|
+
managed_instance_group_id: Optional[pulumi.Input[str]] = None,
|
200
|
+
profile_id: Optional[pulumi.Input[str]] = None,
|
201
|
+
__props__=None):
|
202
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
203
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
204
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
205
|
+
if opts.id is None:
|
206
|
+
if __props__ is not None:
|
207
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
208
|
+
__props__ = ProfileAttachManagedInstanceGroupManagementArgs.__new__(ProfileAttachManagedInstanceGroupManagementArgs)
|
209
|
+
|
210
|
+
if managed_instance_group_id is None and not opts.urn:
|
211
|
+
raise TypeError("Missing required property 'managed_instance_group_id'")
|
212
|
+
__props__.__dict__["managed_instance_group_id"] = managed_instance_group_id
|
213
|
+
if profile_id is None and not opts.urn:
|
214
|
+
raise TypeError("Missing required property 'profile_id'")
|
215
|
+
__props__.__dict__["profile_id"] = profile_id
|
216
|
+
super(ProfileAttachManagedInstanceGroupManagement, __self__).__init__(
|
217
|
+
'oci:OsManagementHub/profileAttachManagedInstanceGroupManagement:ProfileAttachManagedInstanceGroupManagement',
|
218
|
+
resource_name,
|
219
|
+
__props__,
|
220
|
+
opts)
|
221
|
+
|
222
|
+
@staticmethod
|
223
|
+
def get(resource_name: str,
|
224
|
+
id: pulumi.Input[str],
|
225
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
226
|
+
managed_instance_group_id: Optional[pulumi.Input[str]] = None,
|
227
|
+
profile_id: Optional[pulumi.Input[str]] = None) -> 'ProfileAttachManagedInstanceGroupManagement':
|
228
|
+
"""
|
229
|
+
Get an existing ProfileAttachManagedInstanceGroupManagement resource's state with the given name, id, and optional extra
|
230
|
+
properties used to qualify the lookup.
|
231
|
+
|
232
|
+
:param str resource_name: The unique name of the resulting resource.
|
233
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
234
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
235
|
+
:param pulumi.Input[str] managed_instance_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group that the instance will be associated with.
|
236
|
+
:param pulumi.Input[str] profile_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
237
|
+
|
238
|
+
|
239
|
+
** IMPORTANT **
|
240
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
241
|
+
"""
|
242
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
243
|
+
|
244
|
+
__props__ = _ProfileAttachManagedInstanceGroupManagementState.__new__(_ProfileAttachManagedInstanceGroupManagementState)
|
245
|
+
|
246
|
+
__props__.__dict__["managed_instance_group_id"] = managed_instance_group_id
|
247
|
+
__props__.__dict__["profile_id"] = profile_id
|
248
|
+
return ProfileAttachManagedInstanceGroupManagement(resource_name, opts=opts, __props__=__props__)
|
249
|
+
|
250
|
+
@property
|
251
|
+
@pulumi.getter(name="managedInstanceGroupId")
|
252
|
+
def managed_instance_group_id(self) -> pulumi.Output[str]:
|
253
|
+
"""
|
254
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group that the instance will be associated with.
|
255
|
+
"""
|
256
|
+
return pulumi.get(self, "managed_instance_group_id")
|
257
|
+
|
258
|
+
@property
|
259
|
+
@pulumi.getter(name="profileId")
|
260
|
+
def profile_id(self) -> pulumi.Output[str]:
|
261
|
+
"""
|
262
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
263
|
+
|
264
|
+
|
265
|
+
** IMPORTANT **
|
266
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
267
|
+
"""
|
268
|
+
return pulumi.get(self, "profile_id")
|
269
|
+
|
@@ -0,0 +1,269 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = ['ProfileAttachManagementStationManagementArgs', 'ProfileAttachManagementStationManagement']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class ProfileAttachManagementStationManagementArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
management_station_id: pulumi.Input[str],
|
23
|
+
profile_id: pulumi.Input[str]):
|
24
|
+
"""
|
25
|
+
The set of arguments for constructing a ProfileAttachManagementStationManagement resource.
|
26
|
+
:param pulumi.Input[str] management_station_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station that the instance will be associated with.
|
27
|
+
:param pulumi.Input[str] profile_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
28
|
+
|
29
|
+
|
30
|
+
** IMPORTANT **
|
31
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
32
|
+
"""
|
33
|
+
pulumi.set(__self__, "management_station_id", management_station_id)
|
34
|
+
pulumi.set(__self__, "profile_id", profile_id)
|
35
|
+
|
36
|
+
@property
|
37
|
+
@pulumi.getter(name="managementStationId")
|
38
|
+
def management_station_id(self) -> pulumi.Input[str]:
|
39
|
+
"""
|
40
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station that the instance will be associated with.
|
41
|
+
"""
|
42
|
+
return pulumi.get(self, "management_station_id")
|
43
|
+
|
44
|
+
@management_station_id.setter
|
45
|
+
def management_station_id(self, value: pulumi.Input[str]):
|
46
|
+
pulumi.set(self, "management_station_id", value)
|
47
|
+
|
48
|
+
@property
|
49
|
+
@pulumi.getter(name="profileId")
|
50
|
+
def profile_id(self) -> pulumi.Input[str]:
|
51
|
+
"""
|
52
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
53
|
+
|
54
|
+
|
55
|
+
** IMPORTANT **
|
56
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "profile_id")
|
59
|
+
|
60
|
+
@profile_id.setter
|
61
|
+
def profile_id(self, value: pulumi.Input[str]):
|
62
|
+
pulumi.set(self, "profile_id", value)
|
63
|
+
|
64
|
+
|
65
|
+
@pulumi.input_type
|
66
|
+
class _ProfileAttachManagementStationManagementState:
|
67
|
+
def __init__(__self__, *,
|
68
|
+
management_station_id: Optional[pulumi.Input[str]] = None,
|
69
|
+
profile_id: Optional[pulumi.Input[str]] = None):
|
70
|
+
"""
|
71
|
+
Input properties used for looking up and filtering ProfileAttachManagementStationManagement resources.
|
72
|
+
:param pulumi.Input[str] management_station_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station that the instance will be associated with.
|
73
|
+
:param pulumi.Input[str] profile_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
74
|
+
|
75
|
+
|
76
|
+
** IMPORTANT **
|
77
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
78
|
+
"""
|
79
|
+
if management_station_id is not None:
|
80
|
+
pulumi.set(__self__, "management_station_id", management_station_id)
|
81
|
+
if profile_id is not None:
|
82
|
+
pulumi.set(__self__, "profile_id", profile_id)
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter(name="managementStationId")
|
86
|
+
def management_station_id(self) -> Optional[pulumi.Input[str]]:
|
87
|
+
"""
|
88
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station that the instance will be associated with.
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "management_station_id")
|
91
|
+
|
92
|
+
@management_station_id.setter
|
93
|
+
def management_station_id(self, value: Optional[pulumi.Input[str]]):
|
94
|
+
pulumi.set(self, "management_station_id", value)
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter(name="profileId")
|
98
|
+
def profile_id(self) -> Optional[pulumi.Input[str]]:
|
99
|
+
"""
|
100
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
101
|
+
|
102
|
+
|
103
|
+
** IMPORTANT **
|
104
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "profile_id")
|
107
|
+
|
108
|
+
@profile_id.setter
|
109
|
+
def profile_id(self, value: Optional[pulumi.Input[str]]):
|
110
|
+
pulumi.set(self, "profile_id", value)
|
111
|
+
|
112
|
+
|
113
|
+
class ProfileAttachManagementStationManagement(pulumi.CustomResource):
|
114
|
+
@overload
|
115
|
+
def __init__(__self__,
|
116
|
+
resource_name: str,
|
117
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
118
|
+
management_station_id: Optional[pulumi.Input[str]] = None,
|
119
|
+
profile_id: Optional[pulumi.Input[str]] = None,
|
120
|
+
__props__=None):
|
121
|
+
"""
|
122
|
+
This resource provides the Profile Attach Management Station Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
123
|
+
|
124
|
+
Attaches the specified management station to a profile.
|
125
|
+
|
126
|
+
## Example Usage
|
127
|
+
|
128
|
+
```python
|
129
|
+
import pulumi
|
130
|
+
import pulumi_oci as oci
|
131
|
+
|
132
|
+
test_profile_attach_management_station_management = oci.os_management_hub.ProfileAttachManagementStationManagement("test_profile_attach_management_station_management",
|
133
|
+
management_station_id=test_management_station["id"],
|
134
|
+
profile_id=test_profile["id"])
|
135
|
+
```
|
136
|
+
|
137
|
+
## Import
|
138
|
+
|
139
|
+
ProfileAttachManagementStationManagement can be imported using the `id`, e.g.
|
140
|
+
|
141
|
+
```sh
|
142
|
+
$ pulumi import oci:OsManagementHub/profileAttachManagementStationManagement:ProfileAttachManagementStationManagement test_profile_attach_management_station_management "id"
|
143
|
+
```
|
144
|
+
|
145
|
+
:param str resource_name: The name of the resource.
|
146
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
147
|
+
:param pulumi.Input[str] management_station_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station that the instance will be associated with.
|
148
|
+
:param pulumi.Input[str] profile_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
149
|
+
|
150
|
+
|
151
|
+
** IMPORTANT **
|
152
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
153
|
+
"""
|
154
|
+
...
|
155
|
+
@overload
|
156
|
+
def __init__(__self__,
|
157
|
+
resource_name: str,
|
158
|
+
args: ProfileAttachManagementStationManagementArgs,
|
159
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
160
|
+
"""
|
161
|
+
This resource provides the Profile Attach Management Station Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
162
|
+
|
163
|
+
Attaches the specified management station to a profile.
|
164
|
+
|
165
|
+
## Example Usage
|
166
|
+
|
167
|
+
```python
|
168
|
+
import pulumi
|
169
|
+
import pulumi_oci as oci
|
170
|
+
|
171
|
+
test_profile_attach_management_station_management = oci.os_management_hub.ProfileAttachManagementStationManagement("test_profile_attach_management_station_management",
|
172
|
+
management_station_id=test_management_station["id"],
|
173
|
+
profile_id=test_profile["id"])
|
174
|
+
```
|
175
|
+
|
176
|
+
## Import
|
177
|
+
|
178
|
+
ProfileAttachManagementStationManagement can be imported using the `id`, e.g.
|
179
|
+
|
180
|
+
```sh
|
181
|
+
$ pulumi import oci:OsManagementHub/profileAttachManagementStationManagement:ProfileAttachManagementStationManagement test_profile_attach_management_station_management "id"
|
182
|
+
```
|
183
|
+
|
184
|
+
:param str resource_name: The name of the resource.
|
185
|
+
:param ProfileAttachManagementStationManagementArgs args: The arguments to use to populate this resource's properties.
|
186
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
187
|
+
"""
|
188
|
+
...
|
189
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
190
|
+
resource_args, opts = _utilities.get_resource_args_opts(ProfileAttachManagementStationManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
|
191
|
+
if resource_args is not None:
|
192
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
193
|
+
else:
|
194
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
195
|
+
|
196
|
+
def _internal_init(__self__,
|
197
|
+
resource_name: str,
|
198
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
199
|
+
management_station_id: Optional[pulumi.Input[str]] = None,
|
200
|
+
profile_id: Optional[pulumi.Input[str]] = None,
|
201
|
+
__props__=None):
|
202
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
203
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
204
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
205
|
+
if opts.id is None:
|
206
|
+
if __props__ is not None:
|
207
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
208
|
+
__props__ = ProfileAttachManagementStationManagementArgs.__new__(ProfileAttachManagementStationManagementArgs)
|
209
|
+
|
210
|
+
if management_station_id is None and not opts.urn:
|
211
|
+
raise TypeError("Missing required property 'management_station_id'")
|
212
|
+
__props__.__dict__["management_station_id"] = management_station_id
|
213
|
+
if profile_id is None and not opts.urn:
|
214
|
+
raise TypeError("Missing required property 'profile_id'")
|
215
|
+
__props__.__dict__["profile_id"] = profile_id
|
216
|
+
super(ProfileAttachManagementStationManagement, __self__).__init__(
|
217
|
+
'oci:OsManagementHub/profileAttachManagementStationManagement:ProfileAttachManagementStationManagement',
|
218
|
+
resource_name,
|
219
|
+
__props__,
|
220
|
+
opts)
|
221
|
+
|
222
|
+
@staticmethod
|
223
|
+
def get(resource_name: str,
|
224
|
+
id: pulumi.Input[str],
|
225
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
226
|
+
management_station_id: Optional[pulumi.Input[str]] = None,
|
227
|
+
profile_id: Optional[pulumi.Input[str]] = None) -> 'ProfileAttachManagementStationManagement':
|
228
|
+
"""
|
229
|
+
Get an existing ProfileAttachManagementStationManagement resource's state with the given name, id, and optional extra
|
230
|
+
properties used to qualify the lookup.
|
231
|
+
|
232
|
+
:param str resource_name: The unique name of the resulting resource.
|
233
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
234
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
235
|
+
:param pulumi.Input[str] management_station_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station that the instance will be associated with.
|
236
|
+
:param pulumi.Input[str] profile_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
237
|
+
|
238
|
+
|
239
|
+
** IMPORTANT **
|
240
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
241
|
+
"""
|
242
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
243
|
+
|
244
|
+
__props__ = _ProfileAttachManagementStationManagementState.__new__(_ProfileAttachManagementStationManagementState)
|
245
|
+
|
246
|
+
__props__.__dict__["management_station_id"] = management_station_id
|
247
|
+
__props__.__dict__["profile_id"] = profile_id
|
248
|
+
return ProfileAttachManagementStationManagement(resource_name, opts=opts, __props__=__props__)
|
249
|
+
|
250
|
+
@property
|
251
|
+
@pulumi.getter(name="managementStationId")
|
252
|
+
def management_station_id(self) -> pulumi.Output[str]:
|
253
|
+
"""
|
254
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station that the instance will be associated with.
|
255
|
+
"""
|
256
|
+
return pulumi.get(self, "management_station_id")
|
257
|
+
|
258
|
+
@property
|
259
|
+
@pulumi.getter(name="profileId")
|
260
|
+
def profile_id(self) -> pulumi.Output[str]:
|
261
|
+
"""
|
262
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
263
|
+
|
264
|
+
|
265
|
+
** IMPORTANT **
|
266
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
267
|
+
"""
|
268
|
+
return pulumi.get(self, "profile_id")
|
269
|
+
|