pulumi-oci 1.36.0__py3-none-any.whl → 1.36.0a1715383492__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 -2
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715383492.dist-info}/METADATA +1 -1
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715383492.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.0a1715383492.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715383492.dist-info}/top_level.txt +0 -0
@@ -1,266 +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__ = ['ManagedInstanceAttachProfileManagementArgs', 'ManagedInstanceAttachProfileManagement']
|
13
|
-
|
14
|
-
@pulumi.input_type
|
15
|
-
class ManagedInstanceAttachProfileManagementArgs:
|
16
|
-
def __init__(__self__, *,
|
17
|
-
managed_instance_id: pulumi.Input[str],
|
18
|
-
profile_id: pulumi.Input[str]):
|
19
|
-
"""
|
20
|
-
The set of arguments for constructing a ManagedInstanceAttachProfileManagement resource.
|
21
|
-
:param pulumi.Input[str] managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
22
|
-
:param pulumi.Input[str] profile_id: The profile [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to attach to the managed instance.
|
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__, "managed_instance_id", managed_instance_id)
|
29
|
-
pulumi.set(__self__, "profile_id", profile_id)
|
30
|
-
|
31
|
-
@property
|
32
|
-
@pulumi.getter(name="managedInstanceId")
|
33
|
-
def managed_instance_id(self) -> pulumi.Input[str]:
|
34
|
-
"""
|
35
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
36
|
-
"""
|
37
|
-
return pulumi.get(self, "managed_instance_id")
|
38
|
-
|
39
|
-
@managed_instance_id.setter
|
40
|
-
def managed_instance_id(self, value: pulumi.Input[str]):
|
41
|
-
pulumi.set(self, "managed_instance_id", value)
|
42
|
-
|
43
|
-
@property
|
44
|
-
@pulumi.getter(name="profileId")
|
45
|
-
def profile_id(self) -> pulumi.Input[str]:
|
46
|
-
"""
|
47
|
-
The profile [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to attach to the managed instance.
|
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, "profile_id")
|
54
|
-
|
55
|
-
@profile_id.setter
|
56
|
-
def profile_id(self, value: pulumi.Input[str]):
|
57
|
-
pulumi.set(self, "profile_id", value)
|
58
|
-
|
59
|
-
|
60
|
-
@pulumi.input_type
|
61
|
-
class _ManagedInstanceAttachProfileManagementState:
|
62
|
-
def __init__(__self__, *,
|
63
|
-
managed_instance_id: Optional[pulumi.Input[str]] = None,
|
64
|
-
profile_id: Optional[pulumi.Input[str]] = None):
|
65
|
-
"""
|
66
|
-
Input properties used for looking up and filtering ManagedInstanceAttachProfileManagement resources.
|
67
|
-
:param pulumi.Input[str] managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
68
|
-
:param pulumi.Input[str] profile_id: The profile [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to attach to the managed instance.
|
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 managed_instance_id is not None:
|
75
|
-
pulumi.set(__self__, "managed_instance_id", managed_instance_id)
|
76
|
-
if profile_id is not None:
|
77
|
-
pulumi.set(__self__, "profile_id", profile_id)
|
78
|
-
|
79
|
-
@property
|
80
|
-
@pulumi.getter(name="managedInstanceId")
|
81
|
-
def managed_instance_id(self) -> Optional[pulumi.Input[str]]:
|
82
|
-
"""
|
83
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
84
|
-
"""
|
85
|
-
return pulumi.get(self, "managed_instance_id")
|
86
|
-
|
87
|
-
@managed_instance_id.setter
|
88
|
-
def managed_instance_id(self, value: Optional[pulumi.Input[str]]):
|
89
|
-
pulumi.set(self, "managed_instance_id", value)
|
90
|
-
|
91
|
-
@property
|
92
|
-
@pulumi.getter(name="profileId")
|
93
|
-
def profile_id(self) -> Optional[pulumi.Input[str]]:
|
94
|
-
"""
|
95
|
-
The profile [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to attach to the managed instance.
|
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, "profile_id")
|
102
|
-
|
103
|
-
@profile_id.setter
|
104
|
-
def profile_id(self, value: Optional[pulumi.Input[str]]):
|
105
|
-
pulumi.set(self, "profile_id", value)
|
106
|
-
|
107
|
-
|
108
|
-
class ManagedInstanceAttachProfileManagement(pulumi.CustomResource):
|
109
|
-
@overload
|
110
|
-
def __init__(__self__,
|
111
|
-
resource_name: str,
|
112
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
113
|
-
managed_instance_id: Optional[pulumi.Input[str]] = None,
|
114
|
-
profile_id: Optional[pulumi.Input[str]] = None,
|
115
|
-
__props__=None):
|
116
|
-
"""
|
117
|
-
This resource provides the Managed Instance Attach Profile Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
118
|
-
|
119
|
-
Adds profile to a managed instance. After the profile has been added,
|
120
|
-
the instance can be registered as a managed instance.
|
121
|
-
|
122
|
-
## Example Usage
|
123
|
-
|
124
|
-
```python
|
125
|
-
import pulumi
|
126
|
-
import pulumi_oci as oci
|
127
|
-
|
128
|
-
test_managed_instance_attach_profile_management = oci.os_management_hub.ManagedInstanceAttachProfileManagement("test_managed_instance_attach_profile_management",
|
129
|
-
managed_instance_id=test_managed_instance["id"],
|
130
|
-
profile_id=test_profile["id"])
|
131
|
-
```
|
132
|
-
|
133
|
-
## Import
|
134
|
-
|
135
|
-
ManagedInstanceAttachProfileManagement can be imported using the `id`, e.g.
|
136
|
-
|
137
|
-
```sh
|
138
|
-
$ pulumi import oci:OsManagementHub/managedInstanceAttachProfileManagement:ManagedInstanceAttachProfileManagement test_managed_instance_attach_profile_management "id"
|
139
|
-
```
|
140
|
-
|
141
|
-
:param str resource_name: The name of the resource.
|
142
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
143
|
-
:param pulumi.Input[str] managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
144
|
-
:param pulumi.Input[str] profile_id: The profile [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to attach to the managed instance.
|
145
|
-
|
146
|
-
|
147
|
-
** IMPORTANT **
|
148
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
149
|
-
"""
|
150
|
-
...
|
151
|
-
@overload
|
152
|
-
def __init__(__self__,
|
153
|
-
resource_name: str,
|
154
|
-
args: ManagedInstanceAttachProfileManagementArgs,
|
155
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
156
|
-
"""
|
157
|
-
This resource provides the Managed Instance Attach Profile Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
158
|
-
|
159
|
-
Adds profile to a managed instance. After the profile has been added,
|
160
|
-
the instance can be registered as a managed instance.
|
161
|
-
|
162
|
-
## Example Usage
|
163
|
-
|
164
|
-
```python
|
165
|
-
import pulumi
|
166
|
-
import pulumi_oci as oci
|
167
|
-
|
168
|
-
test_managed_instance_attach_profile_management = oci.os_management_hub.ManagedInstanceAttachProfileManagement("test_managed_instance_attach_profile_management",
|
169
|
-
managed_instance_id=test_managed_instance["id"],
|
170
|
-
profile_id=test_profile["id"])
|
171
|
-
```
|
172
|
-
|
173
|
-
## Import
|
174
|
-
|
175
|
-
ManagedInstanceAttachProfileManagement can be imported using the `id`, e.g.
|
176
|
-
|
177
|
-
```sh
|
178
|
-
$ pulumi import oci:OsManagementHub/managedInstanceAttachProfileManagement:ManagedInstanceAttachProfileManagement test_managed_instance_attach_profile_management "id"
|
179
|
-
```
|
180
|
-
|
181
|
-
:param str resource_name: The name of the resource.
|
182
|
-
:param ManagedInstanceAttachProfileManagementArgs args: The arguments to use to populate this resource's properties.
|
183
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
184
|
-
"""
|
185
|
-
...
|
186
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
187
|
-
resource_args, opts = _utilities.get_resource_args_opts(ManagedInstanceAttachProfileManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
|
188
|
-
if resource_args is not None:
|
189
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
190
|
-
else:
|
191
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
192
|
-
|
193
|
-
def _internal_init(__self__,
|
194
|
-
resource_name: str,
|
195
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
196
|
-
managed_instance_id: Optional[pulumi.Input[str]] = None,
|
197
|
-
profile_id: Optional[pulumi.Input[str]] = None,
|
198
|
-
__props__=None):
|
199
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
200
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
201
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
202
|
-
if opts.id is None:
|
203
|
-
if __props__ is not None:
|
204
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
205
|
-
__props__ = ManagedInstanceAttachProfileManagementArgs.__new__(ManagedInstanceAttachProfileManagementArgs)
|
206
|
-
|
207
|
-
if managed_instance_id is None and not opts.urn:
|
208
|
-
raise TypeError("Missing required property 'managed_instance_id'")
|
209
|
-
__props__.__dict__["managed_instance_id"] = managed_instance_id
|
210
|
-
if profile_id is None and not opts.urn:
|
211
|
-
raise TypeError("Missing required property 'profile_id'")
|
212
|
-
__props__.__dict__["profile_id"] = profile_id
|
213
|
-
super(ManagedInstanceAttachProfileManagement, __self__).__init__(
|
214
|
-
'oci:OsManagementHub/managedInstanceAttachProfileManagement:ManagedInstanceAttachProfileManagement',
|
215
|
-
resource_name,
|
216
|
-
__props__,
|
217
|
-
opts)
|
218
|
-
|
219
|
-
@staticmethod
|
220
|
-
def get(resource_name: str,
|
221
|
-
id: pulumi.Input[str],
|
222
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
223
|
-
managed_instance_id: Optional[pulumi.Input[str]] = None,
|
224
|
-
profile_id: Optional[pulumi.Input[str]] = None) -> 'ManagedInstanceAttachProfileManagement':
|
225
|
-
"""
|
226
|
-
Get an existing ManagedInstanceAttachProfileManagement resource's state with the given name, id, and optional extra
|
227
|
-
properties used to qualify the lookup.
|
228
|
-
|
229
|
-
:param str resource_name: The unique name of the resulting resource.
|
230
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
231
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
232
|
-
:param pulumi.Input[str] managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
233
|
-
:param pulumi.Input[str] profile_id: The profile [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to attach to the managed instance.
|
234
|
-
|
235
|
-
|
236
|
-
** IMPORTANT **
|
237
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
238
|
-
"""
|
239
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
240
|
-
|
241
|
-
__props__ = _ManagedInstanceAttachProfileManagementState.__new__(_ManagedInstanceAttachProfileManagementState)
|
242
|
-
|
243
|
-
__props__.__dict__["managed_instance_id"] = managed_instance_id
|
244
|
-
__props__.__dict__["profile_id"] = profile_id
|
245
|
-
return ManagedInstanceAttachProfileManagement(resource_name, opts=opts, __props__=__props__)
|
246
|
-
|
247
|
-
@property
|
248
|
-
@pulumi.getter(name="managedInstanceId")
|
249
|
-
def managed_instance_id(self) -> pulumi.Output[str]:
|
250
|
-
"""
|
251
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
252
|
-
"""
|
253
|
-
return pulumi.get(self, "managed_instance_id")
|
254
|
-
|
255
|
-
@property
|
256
|
-
@pulumi.getter(name="profileId")
|
257
|
-
def profile_id(self) -> pulumi.Output[str]:
|
258
|
-
"""
|
259
|
-
The profile [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to attach to the managed instance.
|
260
|
-
|
261
|
-
|
262
|
-
** IMPORTANT **
|
263
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
264
|
-
"""
|
265
|
-
return pulumi.get(self, "profile_id")
|
266
|
-
|
@@ -1,214 +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__ = ['ManagedInstanceDetachProfileManagementArgs', 'ManagedInstanceDetachProfileManagement']
|
13
|
-
|
14
|
-
@pulumi.input_type
|
15
|
-
class ManagedInstanceDetachProfileManagementArgs:
|
16
|
-
def __init__(__self__, *,
|
17
|
-
managed_instance_id: pulumi.Input[str]):
|
18
|
-
"""
|
19
|
-
The set of arguments for constructing a ManagedInstanceDetachProfileManagement resource.
|
20
|
-
:param pulumi.Input[str] managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
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__, "managed_instance_id", managed_instance_id)
|
27
|
-
|
28
|
-
@property
|
29
|
-
@pulumi.getter(name="managedInstanceId")
|
30
|
-
def managed_instance_id(self) -> pulumi.Input[str]:
|
31
|
-
"""
|
32
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
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, "managed_instance_id")
|
39
|
-
|
40
|
-
@managed_instance_id.setter
|
41
|
-
def managed_instance_id(self, value: pulumi.Input[str]):
|
42
|
-
pulumi.set(self, "managed_instance_id", value)
|
43
|
-
|
44
|
-
|
45
|
-
@pulumi.input_type
|
46
|
-
class _ManagedInstanceDetachProfileManagementState:
|
47
|
-
def __init__(__self__, *,
|
48
|
-
managed_instance_id: Optional[pulumi.Input[str]] = None):
|
49
|
-
"""
|
50
|
-
Input properties used for looking up and filtering ManagedInstanceDetachProfileManagement resources.
|
51
|
-
:param pulumi.Input[str] managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
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 managed_instance_id is not None:
|
58
|
-
pulumi.set(__self__, "managed_instance_id", managed_instance_id)
|
59
|
-
|
60
|
-
@property
|
61
|
-
@pulumi.getter(name="managedInstanceId")
|
62
|
-
def managed_instance_id(self) -> Optional[pulumi.Input[str]]:
|
63
|
-
"""
|
64
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
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, "managed_instance_id")
|
71
|
-
|
72
|
-
@managed_instance_id.setter
|
73
|
-
def managed_instance_id(self, value: Optional[pulumi.Input[str]]):
|
74
|
-
pulumi.set(self, "managed_instance_id", value)
|
75
|
-
|
76
|
-
|
77
|
-
class ManagedInstanceDetachProfileManagement(pulumi.CustomResource):
|
78
|
-
@overload
|
79
|
-
def __init__(__self__,
|
80
|
-
resource_name: str,
|
81
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
82
|
-
managed_instance_id: Optional[pulumi.Input[str]] = None,
|
83
|
-
__props__=None):
|
84
|
-
"""
|
85
|
-
This resource provides the Managed Instance Detach Profile Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
86
|
-
|
87
|
-
Detaches profile from a managed instance. After the profile has been removed,
|
88
|
-
the instance cannot be registered as a managed instance.
|
89
|
-
|
90
|
-
## Example Usage
|
91
|
-
|
92
|
-
```python
|
93
|
-
import pulumi
|
94
|
-
import pulumi_oci as oci
|
95
|
-
|
96
|
-
test_managed_instance_detach_profile_management = oci.os_management_hub.ManagedInstanceDetachProfileManagement("test_managed_instance_detach_profile_management", managed_instance_id=test_managed_instance["id"])
|
97
|
-
```
|
98
|
-
|
99
|
-
## Import
|
100
|
-
|
101
|
-
ManagedInstanceDetachProfileManagement can be imported using the `id`, e.g.
|
102
|
-
|
103
|
-
```sh
|
104
|
-
$ pulumi import oci:OsManagementHub/managedInstanceDetachProfileManagement:ManagedInstanceDetachProfileManagement test_managed_instance_detach_profile_management "id"
|
105
|
-
```
|
106
|
-
|
107
|
-
:param str resource_name: The name of the resource.
|
108
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
109
|
-
:param pulumi.Input[str] managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
110
|
-
|
111
|
-
|
112
|
-
** IMPORTANT **
|
113
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
114
|
-
"""
|
115
|
-
...
|
116
|
-
@overload
|
117
|
-
def __init__(__self__,
|
118
|
-
resource_name: str,
|
119
|
-
args: ManagedInstanceDetachProfileManagementArgs,
|
120
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
121
|
-
"""
|
122
|
-
This resource provides the Managed Instance Detach Profile Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
123
|
-
|
124
|
-
Detaches profile from a managed instance. After the profile has been removed,
|
125
|
-
the instance cannot be registered as a managed instance.
|
126
|
-
|
127
|
-
## Example Usage
|
128
|
-
|
129
|
-
```python
|
130
|
-
import pulumi
|
131
|
-
import pulumi_oci as oci
|
132
|
-
|
133
|
-
test_managed_instance_detach_profile_management = oci.os_management_hub.ManagedInstanceDetachProfileManagement("test_managed_instance_detach_profile_management", managed_instance_id=test_managed_instance["id"])
|
134
|
-
```
|
135
|
-
|
136
|
-
## Import
|
137
|
-
|
138
|
-
ManagedInstanceDetachProfileManagement can be imported using the `id`, e.g.
|
139
|
-
|
140
|
-
```sh
|
141
|
-
$ pulumi import oci:OsManagementHub/managedInstanceDetachProfileManagement:ManagedInstanceDetachProfileManagement test_managed_instance_detach_profile_management "id"
|
142
|
-
```
|
143
|
-
|
144
|
-
:param str resource_name: The name of the resource.
|
145
|
-
:param ManagedInstanceDetachProfileManagementArgs args: The arguments to use to populate this resource's properties.
|
146
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
147
|
-
"""
|
148
|
-
...
|
149
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
150
|
-
resource_args, opts = _utilities.get_resource_args_opts(ManagedInstanceDetachProfileManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
|
151
|
-
if resource_args is not None:
|
152
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
153
|
-
else:
|
154
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
155
|
-
|
156
|
-
def _internal_init(__self__,
|
157
|
-
resource_name: str,
|
158
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
159
|
-
managed_instance_id: Optional[pulumi.Input[str]] = None,
|
160
|
-
__props__=None):
|
161
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
162
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
163
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
164
|
-
if opts.id is None:
|
165
|
-
if __props__ is not None:
|
166
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
167
|
-
__props__ = ManagedInstanceDetachProfileManagementArgs.__new__(ManagedInstanceDetachProfileManagementArgs)
|
168
|
-
|
169
|
-
if managed_instance_id is None and not opts.urn:
|
170
|
-
raise TypeError("Missing required property 'managed_instance_id'")
|
171
|
-
__props__.__dict__["managed_instance_id"] = managed_instance_id
|
172
|
-
super(ManagedInstanceDetachProfileManagement, __self__).__init__(
|
173
|
-
'oci:OsManagementHub/managedInstanceDetachProfileManagement:ManagedInstanceDetachProfileManagement',
|
174
|
-
resource_name,
|
175
|
-
__props__,
|
176
|
-
opts)
|
177
|
-
|
178
|
-
@staticmethod
|
179
|
-
def get(resource_name: str,
|
180
|
-
id: pulumi.Input[str],
|
181
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
182
|
-
managed_instance_id: Optional[pulumi.Input[str]] = None) -> 'ManagedInstanceDetachProfileManagement':
|
183
|
-
"""
|
184
|
-
Get an existing ManagedInstanceDetachProfileManagement resource's state with the given name, id, and optional extra
|
185
|
-
properties used to qualify the lookup.
|
186
|
-
|
187
|
-
:param str resource_name: The unique name of the resulting resource.
|
188
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
189
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
190
|
-
:param pulumi.Input[str] managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
191
|
-
|
192
|
-
|
193
|
-
** IMPORTANT **
|
194
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
195
|
-
"""
|
196
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
197
|
-
|
198
|
-
__props__ = _ManagedInstanceDetachProfileManagementState.__new__(_ManagedInstanceDetachProfileManagementState)
|
199
|
-
|
200
|
-
__props__.__dict__["managed_instance_id"] = managed_instance_id
|
201
|
-
return ManagedInstanceDetachProfileManagement(resource_name, opts=opts, __props__=__props__)
|
202
|
-
|
203
|
-
@property
|
204
|
-
@pulumi.getter(name="managedInstanceId")
|
205
|
-
def managed_instance_id(self) -> pulumi.Output[str]:
|
206
|
-
"""
|
207
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
208
|
-
|
209
|
-
|
210
|
-
** IMPORTANT **
|
211
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
212
|
-
"""
|
213
|
-
return pulumi.get(self, "managed_instance_id")
|
214
|
-
|