pulumi-oci 2.8.0a1724316519__py3-none-any.whl → 2.9.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 +86 -38
- pulumi_oci/announcementsservice/__init__.py +1 -0
- pulumi_oci/announcementsservice/_inputs.py +46 -6
- pulumi_oci/announcementsservice/announcement_subscription.py +14 -14
- pulumi_oci/announcementsservice/get_announcement_subscription.py +2 -2
- pulumi_oci/announcementsservice/get_services.py +173 -0
- pulumi_oci/announcementsservice/outputs.py +195 -18
- pulumi_oci/bigdataservice/_inputs.py +1 -49
- pulumi_oci/bigdataservice/bds_instance.py +0 -128
- pulumi_oci/bigdataservice/get_bds_instance.py +1 -31
- pulumi_oci/bigdataservice/outputs.py +3 -132
- pulumi_oci/database/_inputs.py +32 -0
- pulumi_oci/database/autonomous_database.py +28 -0
- pulumi_oci/database/data_guard_association.py +49 -0
- pulumi_oci/database/get_autonomous_database.py +14 -1
- pulumi_oci/database/get_autonomous_databases.py +32 -95
- pulumi_oci/database/get_data_guard_association.py +11 -1
- pulumi_oci/database/outputs.py +163 -42
- pulumi_oci/databasemanagement/__init__.py +1 -0
- pulumi_oci/databasemanagement/_inputs.py +873 -10
- pulumi_oci/databasemanagement/autonomous_database_autonomous_database_dbm_features_management.py +275 -0
- pulumi_oci/databasemanagement/database_dbm_features_management.py +37 -3
- pulumi_oci/databasemanagement/db_management_private_endpoint.py +49 -0
- pulumi_oci/databasemanagement/get_db_management_private_endpoint.py +14 -1
- pulumi_oci/databasemanagement/get_db_management_private_endpoints.py +21 -1
- pulumi_oci/databasemanagement/get_managed_database.py +47 -3
- pulumi_oci/databasemanagement/managed_database.py +56 -0
- pulumi_oci/databasemanagement/outputs.py +3331 -1397
- pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py +35 -1
- pulumi_oci/datasafe/__init__.py +6 -0
- pulumi_oci/datasafe/_inputs.py +18 -0
- pulumi_oci/datasafe/database_security_config_management.py +244 -2
- pulumi_oci/datasafe/masking_policy_health_report_management.py +453 -0
- pulumi_oci/datasafe/masking_report_management.py +693 -0
- pulumi_oci/datasafe/outputs.py +18 -0
- pulumi_oci/datasafe/security_policy_deployment_management.py +180 -2
- pulumi_oci/datasafe/security_policy_management.py +172 -2
- pulumi_oci/datasafe/set_security_assessment_baseline_management.py +304 -0
- pulumi_oci/datasafe/set_user_assessment_baseline_management.py +304 -0
- pulumi_oci/datasafe/sql_firewall_policy_management.py +354 -2
- pulumi_oci/datasafe/unset_security_assessment_baseline_management.py +264 -0
- pulumi_oci/datasafe/unset_user_assessment_baseline_management.py +264 -0
- pulumi_oci/delegateaccesscontrol/__init__.py +24 -0
- pulumi_oci/delegateaccesscontrol/_inputs.py +306 -0
- pulumi_oci/delegateaccesscontrol/delegation_control.py +1082 -0
- pulumi_oci/{globallydistributeddatabase/private_endpoint.py → delegateaccesscontrol/delegation_subscription.py} +162 -267
- pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request.py +535 -0
- pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_audit_log_report.py +174 -0
- pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_histories.py +133 -0
- pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_requests.py +250 -0
- pulumi_oci/delegateaccesscontrol/get_delegation_control.py +378 -0
- pulumi_oci/delegateaccesscontrol/get_delegation_control_resources.py +133 -0
- pulumi_oci/delegateaccesscontrol/get_delegation_controls.py +213 -0
- pulumi_oci/{globallydistributeddatabase/get_private_endpoint.py → delegateaccesscontrol/get_delegation_subscription.py} +66 -105
- pulumi_oci/delegateaccesscontrol/get_delegation_subscriptions.py +176 -0
- pulumi_oci/delegateaccesscontrol/get_service_provider.py +274 -0
- pulumi_oci/delegateaccesscontrol/get_service_provider_action.py +210 -0
- pulumi_oci/delegateaccesscontrol/get_service_provider_actions.py +210 -0
- pulumi_oci/delegateaccesscontrol/get_service_providers.py +213 -0
- pulumi_oci/delegateaccesscontrol/outputs.py +1679 -0
- pulumi_oci/{fleetsoftwareupdate → desktops}/__init__.py +7 -6
- pulumi_oci/desktops/_inputs.py +483 -0
- pulumi_oci/desktops/desktop_pool.py +1348 -0
- pulumi_oci/desktops/get_desktop.py +223 -0
- pulumi_oci/desktops/get_desktop_pool.py +418 -0
- pulumi_oci/desktops/get_desktop_pool_desktops.py +208 -0
- pulumi_oci/desktops/get_desktop_pool_volumes.py +214 -0
- pulumi_oci/desktops/get_desktop_pools.py +203 -0
- pulumi_oci/desktops/get_desktops.py +214 -0
- pulumi_oci/desktops/outputs.py +1738 -0
- pulumi_oci/filestorage/mount_target.py +143 -38
- pulumi_oci/filestorage/outputs.py +44 -0
- pulumi_oci/identity/domains_group.py +34 -0
- pulumi_oci/identity/domains_user.py +34 -0
- pulumi_oci/identity/get_domains_group.py +11 -1
- pulumi_oci/identity/get_domains_user.py +11 -1
- pulumi_oci/identity/outputs.py +14 -0
- pulumi_oci/kms/_inputs.py +10 -10
- pulumi_oci/kms/get_vault.py +14 -1
- pulumi_oci/kms/outputs.py +41 -30
- pulumi_oci/kms/vault.py +28 -0
- pulumi_oci/loadbalancer/load_balancer.py +224 -0
- pulumi_oci/loadbalancer/outputs.py +22 -0
- pulumi_oci/mysql/_inputs.py +23 -0
- pulumi_oci/mysql/get_mysql_db_system.py +15 -2
- pulumi_oci/mysql/mysql_db_system.py +53 -0
- pulumi_oci/mysql/outputs.py +74 -6
- pulumi_oci/ocvp/get_cluster.py +2 -2
- pulumi_oci/ocvp/get_exsi_hosts.py +2 -2
- pulumi_oci/ocvp/get_supported_vmware_software_versions.py +22 -5
- pulumi_oci/ocvp/outputs.py +2 -2
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/recoverymod/_inputs.py +0 -8
- pulumi_oci/recoverymod/get_protected_database.py +14 -1
- pulumi_oci/recoverymod/get_protection_policy.py +14 -1
- pulumi_oci/recoverymod/outputs.py +22 -8
- pulumi_oci/recoverymod/protected_database.py +80 -3
- pulumi_oci/recoverymod/protection_policy.py +49 -0
- pulumi_oci/waf/_inputs.py +29 -16
- pulumi_oci/waf/outputs.py +33 -10
- {pulumi_oci-2.8.0a1724316519.dist-info → pulumi_oci-2.9.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.8.0a1724316519.dist-info → pulumi_oci-2.9.0.dist-info}/RECORD +104 -86
- {pulumi_oci-2.8.0a1724316519.dist-info → pulumi_oci-2.9.0.dist-info}/WHEEL +1 -1
- pulumi_oci/fleetsoftwareupdate/_inputs.py +0 -553
- pulumi_oci/fleetsoftwareupdate/fsu_collection.py +0 -514
- pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +0 -812
- pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +0 -225
- pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +0 -141
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +0 -325
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +0 -167
- pulumi_oci/fleetsoftwareupdate/outputs.py +0 -1481
- pulumi_oci/globallydistributeddatabase/__init__.py +0 -15
- pulumi_oci/globallydistributeddatabase/_inputs.py +0 -1003
- pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +0 -176
- pulumi_oci/globallydistributeddatabase/get_sharded_database.py +0 -610
- pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +0 -176
- pulumi_oci/globallydistributeddatabase/outputs.py +0 -2058
- pulumi_oci/globallydistributeddatabase/sharded_database.py +0 -1816
- {pulumi_oci-2.8.0a1724316519.dist-info → pulumi_oci-2.9.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,378 @@
|
|
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__ = [
|
13
|
+
'GetDelegationControlResult',
|
14
|
+
'AwaitableGetDelegationControlResult',
|
15
|
+
'get_delegation_control',
|
16
|
+
'get_delegation_control_output',
|
17
|
+
]
|
18
|
+
|
19
|
+
@pulumi.output_type
|
20
|
+
class GetDelegationControlResult:
|
21
|
+
"""
|
22
|
+
A collection of values returned by getDelegationControl.
|
23
|
+
"""
|
24
|
+
def __init__(__self__, compartment_id=None, defined_tags=None, delegation_control_id=None, delegation_subscription_ids=None, description=None, display_name=None, freeform_tags=None, id=None, is_auto_approve_during_maintenance=None, lifecycle_state_details=None, notification_message_format=None, notification_topic_id=None, num_approvals_required=None, pre_approved_service_provider_action_names=None, resource_ids=None, resource_type=None, state=None, system_tags=None, time_created=None, time_deleted=None, time_updated=None, vault_id=None, vault_key_id=None):
|
25
|
+
if compartment_id and not isinstance(compartment_id, str):
|
26
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
27
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
28
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
29
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
30
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
31
|
+
if delegation_control_id and not isinstance(delegation_control_id, str):
|
32
|
+
raise TypeError("Expected argument 'delegation_control_id' to be a str")
|
33
|
+
pulumi.set(__self__, "delegation_control_id", delegation_control_id)
|
34
|
+
if delegation_subscription_ids and not isinstance(delegation_subscription_ids, list):
|
35
|
+
raise TypeError("Expected argument 'delegation_subscription_ids' to be a list")
|
36
|
+
pulumi.set(__self__, "delegation_subscription_ids", delegation_subscription_ids)
|
37
|
+
if description and not isinstance(description, str):
|
38
|
+
raise TypeError("Expected argument 'description' to be a str")
|
39
|
+
pulumi.set(__self__, "description", description)
|
40
|
+
if display_name and not isinstance(display_name, str):
|
41
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
42
|
+
pulumi.set(__self__, "display_name", display_name)
|
43
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
44
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
45
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
46
|
+
if id and not isinstance(id, str):
|
47
|
+
raise TypeError("Expected argument 'id' to be a str")
|
48
|
+
pulumi.set(__self__, "id", id)
|
49
|
+
if is_auto_approve_during_maintenance and not isinstance(is_auto_approve_during_maintenance, bool):
|
50
|
+
raise TypeError("Expected argument 'is_auto_approve_during_maintenance' to be a bool")
|
51
|
+
pulumi.set(__self__, "is_auto_approve_during_maintenance", is_auto_approve_during_maintenance)
|
52
|
+
if lifecycle_state_details and not isinstance(lifecycle_state_details, str):
|
53
|
+
raise TypeError("Expected argument 'lifecycle_state_details' to be a str")
|
54
|
+
pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details)
|
55
|
+
if notification_message_format and not isinstance(notification_message_format, str):
|
56
|
+
raise TypeError("Expected argument 'notification_message_format' to be a str")
|
57
|
+
pulumi.set(__self__, "notification_message_format", notification_message_format)
|
58
|
+
if notification_topic_id and not isinstance(notification_topic_id, str):
|
59
|
+
raise TypeError("Expected argument 'notification_topic_id' to be a str")
|
60
|
+
pulumi.set(__self__, "notification_topic_id", notification_topic_id)
|
61
|
+
if num_approvals_required and not isinstance(num_approvals_required, int):
|
62
|
+
raise TypeError("Expected argument 'num_approvals_required' to be a int")
|
63
|
+
pulumi.set(__self__, "num_approvals_required", num_approvals_required)
|
64
|
+
if pre_approved_service_provider_action_names and not isinstance(pre_approved_service_provider_action_names, list):
|
65
|
+
raise TypeError("Expected argument 'pre_approved_service_provider_action_names' to be a list")
|
66
|
+
pulumi.set(__self__, "pre_approved_service_provider_action_names", pre_approved_service_provider_action_names)
|
67
|
+
if resource_ids and not isinstance(resource_ids, list):
|
68
|
+
raise TypeError("Expected argument 'resource_ids' to be a list")
|
69
|
+
pulumi.set(__self__, "resource_ids", resource_ids)
|
70
|
+
if resource_type and not isinstance(resource_type, str):
|
71
|
+
raise TypeError("Expected argument 'resource_type' to be a str")
|
72
|
+
pulumi.set(__self__, "resource_type", resource_type)
|
73
|
+
if state and not isinstance(state, str):
|
74
|
+
raise TypeError("Expected argument 'state' to be a str")
|
75
|
+
pulumi.set(__self__, "state", state)
|
76
|
+
if system_tags and not isinstance(system_tags, dict):
|
77
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
78
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
79
|
+
if time_created and not isinstance(time_created, str):
|
80
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
81
|
+
pulumi.set(__self__, "time_created", time_created)
|
82
|
+
if time_deleted and not isinstance(time_deleted, str):
|
83
|
+
raise TypeError("Expected argument 'time_deleted' to be a str")
|
84
|
+
pulumi.set(__self__, "time_deleted", time_deleted)
|
85
|
+
if time_updated and not isinstance(time_updated, str):
|
86
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
87
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
88
|
+
if vault_id and not isinstance(vault_id, str):
|
89
|
+
raise TypeError("Expected argument 'vault_id' to be a str")
|
90
|
+
pulumi.set(__self__, "vault_id", vault_id)
|
91
|
+
if vault_key_id and not isinstance(vault_key_id, str):
|
92
|
+
raise TypeError("Expected argument 'vault_key_id' to be a str")
|
93
|
+
pulumi.set(__self__, "vault_key_id", vault_key_id)
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter(name="compartmentId")
|
97
|
+
def compartment_id(self) -> str:
|
98
|
+
"""
|
99
|
+
The OCID of the compartment that contains the Delegation Control.
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "compartment_id")
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter(name="definedTags")
|
105
|
+
def defined_tags(self) -> Mapping[str, str]:
|
106
|
+
"""
|
107
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
108
|
+
"""
|
109
|
+
return pulumi.get(self, "defined_tags")
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter(name="delegationControlId")
|
113
|
+
def delegation_control_id(self) -> str:
|
114
|
+
return pulumi.get(self, "delegation_control_id")
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter(name="delegationSubscriptionIds")
|
118
|
+
def delegation_subscription_ids(self) -> Sequence[str]:
|
119
|
+
"""
|
120
|
+
List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request.
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "delegation_subscription_ids")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter
|
126
|
+
def description(self) -> str:
|
127
|
+
"""
|
128
|
+
Description of the Delegation Control.
|
129
|
+
"""
|
130
|
+
return pulumi.get(self, "description")
|
131
|
+
|
132
|
+
@property
|
133
|
+
@pulumi.getter(name="displayName")
|
134
|
+
def display_name(self) -> str:
|
135
|
+
"""
|
136
|
+
Name of the Delegation Control. The name does not need to be unique.
|
137
|
+
"""
|
138
|
+
return pulumi.get(self, "display_name")
|
139
|
+
|
140
|
+
@property
|
141
|
+
@pulumi.getter(name="freeformTags")
|
142
|
+
def freeform_tags(self) -> Mapping[str, str]:
|
143
|
+
"""
|
144
|
+
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
145
|
+
"""
|
146
|
+
return pulumi.get(self, "freeform_tags")
|
147
|
+
|
148
|
+
@property
|
149
|
+
@pulumi.getter
|
150
|
+
def id(self) -> str:
|
151
|
+
"""
|
152
|
+
The OCID of the Delegation Control.
|
153
|
+
"""
|
154
|
+
return pulumi.get(self, "id")
|
155
|
+
|
156
|
+
@property
|
157
|
+
@pulumi.getter(name="isAutoApproveDuringMaintenance")
|
158
|
+
def is_auto_approve_during_maintenance(self) -> bool:
|
159
|
+
"""
|
160
|
+
Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.
|
161
|
+
"""
|
162
|
+
return pulumi.get(self, "is_auto_approve_during_maintenance")
|
163
|
+
|
164
|
+
@property
|
165
|
+
@pulumi.getter(name="lifecycleStateDetails")
|
166
|
+
def lifecycle_state_details(self) -> str:
|
167
|
+
"""
|
168
|
+
Description of the current lifecycle state in more detail.
|
169
|
+
"""
|
170
|
+
return pulumi.get(self, "lifecycle_state_details")
|
171
|
+
|
172
|
+
@property
|
173
|
+
@pulumi.getter(name="notificationMessageFormat")
|
174
|
+
def notification_message_format(self) -> str:
|
175
|
+
"""
|
176
|
+
The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control.
|
177
|
+
"""
|
178
|
+
return pulumi.get(self, "notification_message_format")
|
179
|
+
|
180
|
+
@property
|
181
|
+
@pulumi.getter(name="notificationTopicId")
|
182
|
+
def notification_topic_id(self) -> str:
|
183
|
+
"""
|
184
|
+
The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
|
185
|
+
"""
|
186
|
+
return pulumi.get(self, "notification_topic_id")
|
187
|
+
|
188
|
+
@property
|
189
|
+
@pulumi.getter(name="numApprovalsRequired")
|
190
|
+
def num_approvals_required(self) -> int:
|
191
|
+
"""
|
192
|
+
number of approvals required.
|
193
|
+
"""
|
194
|
+
return pulumi.get(self, "num_approvals_required")
|
195
|
+
|
196
|
+
@property
|
197
|
+
@pulumi.getter(name="preApprovedServiceProviderActionNames")
|
198
|
+
def pre_approved_service_provider_action_names(self) -> Sequence[str]:
|
199
|
+
"""
|
200
|
+
List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list.
|
201
|
+
"""
|
202
|
+
return pulumi.get(self, "pre_approved_service_provider_action_names")
|
203
|
+
|
204
|
+
@property
|
205
|
+
@pulumi.getter(name="resourceIds")
|
206
|
+
def resource_ids(self) -> Sequence[str]:
|
207
|
+
"""
|
208
|
+
The OCID of the selected resources that this Delegation Control is applicable to.
|
209
|
+
"""
|
210
|
+
return pulumi.get(self, "resource_ids")
|
211
|
+
|
212
|
+
@property
|
213
|
+
@pulumi.getter(name="resourceType")
|
214
|
+
def resource_type(self) -> str:
|
215
|
+
"""
|
216
|
+
Resource type for which the Delegation Control is applicable to.
|
217
|
+
"""
|
218
|
+
return pulumi.get(self, "resource_type")
|
219
|
+
|
220
|
+
@property
|
221
|
+
@pulumi.getter
|
222
|
+
def state(self) -> str:
|
223
|
+
"""
|
224
|
+
The current lifecycle state of the Delegation Control.
|
225
|
+
"""
|
226
|
+
return pulumi.get(self, "state")
|
227
|
+
|
228
|
+
@property
|
229
|
+
@pulumi.getter(name="systemTags")
|
230
|
+
def system_tags(self) -> Mapping[str, str]:
|
231
|
+
"""
|
232
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
233
|
+
"""
|
234
|
+
return pulumi.get(self, "system_tags")
|
235
|
+
|
236
|
+
@property
|
237
|
+
@pulumi.getter(name="timeCreated")
|
238
|
+
def time_created(self) -> str:
|
239
|
+
"""
|
240
|
+
Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'
|
241
|
+
"""
|
242
|
+
return pulumi.get(self, "time_created")
|
243
|
+
|
244
|
+
@property
|
245
|
+
@pulumi.getter(name="timeDeleted")
|
246
|
+
def time_deleted(self) -> str:
|
247
|
+
"""
|
248
|
+
Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control.
|
249
|
+
"""
|
250
|
+
return pulumi.get(self, "time_deleted")
|
251
|
+
|
252
|
+
@property
|
253
|
+
@pulumi.getter(name="timeUpdated")
|
254
|
+
def time_updated(self) -> str:
|
255
|
+
"""
|
256
|
+
Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'
|
257
|
+
"""
|
258
|
+
return pulumi.get(self, "time_updated")
|
259
|
+
|
260
|
+
@property
|
261
|
+
@pulumi.getter(name="vaultId")
|
262
|
+
def vault_id(self) -> str:
|
263
|
+
"""
|
264
|
+
The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault.
|
265
|
+
"""
|
266
|
+
return pulumi.get(self, "vault_id")
|
267
|
+
|
268
|
+
@property
|
269
|
+
@pulumi.getter(name="vaultKeyId")
|
270
|
+
def vault_key_id(self) -> str:
|
271
|
+
"""
|
272
|
+
The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER.
|
273
|
+
"""
|
274
|
+
return pulumi.get(self, "vault_key_id")
|
275
|
+
|
276
|
+
|
277
|
+
class AwaitableGetDelegationControlResult(GetDelegationControlResult):
|
278
|
+
# pylint: disable=using-constant-test
|
279
|
+
def __await__(self):
|
280
|
+
if False:
|
281
|
+
yield self
|
282
|
+
return GetDelegationControlResult(
|
283
|
+
compartment_id=self.compartment_id,
|
284
|
+
defined_tags=self.defined_tags,
|
285
|
+
delegation_control_id=self.delegation_control_id,
|
286
|
+
delegation_subscription_ids=self.delegation_subscription_ids,
|
287
|
+
description=self.description,
|
288
|
+
display_name=self.display_name,
|
289
|
+
freeform_tags=self.freeform_tags,
|
290
|
+
id=self.id,
|
291
|
+
is_auto_approve_during_maintenance=self.is_auto_approve_during_maintenance,
|
292
|
+
lifecycle_state_details=self.lifecycle_state_details,
|
293
|
+
notification_message_format=self.notification_message_format,
|
294
|
+
notification_topic_id=self.notification_topic_id,
|
295
|
+
num_approvals_required=self.num_approvals_required,
|
296
|
+
pre_approved_service_provider_action_names=self.pre_approved_service_provider_action_names,
|
297
|
+
resource_ids=self.resource_ids,
|
298
|
+
resource_type=self.resource_type,
|
299
|
+
state=self.state,
|
300
|
+
system_tags=self.system_tags,
|
301
|
+
time_created=self.time_created,
|
302
|
+
time_deleted=self.time_deleted,
|
303
|
+
time_updated=self.time_updated,
|
304
|
+
vault_id=self.vault_id,
|
305
|
+
vault_key_id=self.vault_key_id)
|
306
|
+
|
307
|
+
|
308
|
+
def get_delegation_control(delegation_control_id: Optional[str] = None,
|
309
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDelegationControlResult:
|
310
|
+
"""
|
311
|
+
This data source provides details about a specific Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service.
|
312
|
+
|
313
|
+
Gets the Delegation Control associated with the specified Delegation Control ID.
|
314
|
+
|
315
|
+
## Example Usage
|
316
|
+
|
317
|
+
```python
|
318
|
+
import pulumi
|
319
|
+
import pulumi_oci as oci
|
320
|
+
|
321
|
+
test_delegation_control = oci.DelegateAccessControl.get_delegation_control(delegation_control_id=test_delegation_control_oci_delegate_access_control_delegation_control["id"])
|
322
|
+
```
|
323
|
+
|
324
|
+
|
325
|
+
:param str delegation_control_id: unique Delegation Control identifier
|
326
|
+
"""
|
327
|
+
__args__ = dict()
|
328
|
+
__args__['delegationControlId'] = delegation_control_id
|
329
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
330
|
+
__ret__ = pulumi.runtime.invoke('oci:DelegateAccessControl/getDelegationControl:getDelegationControl', __args__, opts=opts, typ=GetDelegationControlResult).value
|
331
|
+
|
332
|
+
return AwaitableGetDelegationControlResult(
|
333
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
334
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
335
|
+
delegation_control_id=pulumi.get(__ret__, 'delegation_control_id'),
|
336
|
+
delegation_subscription_ids=pulumi.get(__ret__, 'delegation_subscription_ids'),
|
337
|
+
description=pulumi.get(__ret__, 'description'),
|
338
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
339
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
340
|
+
id=pulumi.get(__ret__, 'id'),
|
341
|
+
is_auto_approve_during_maintenance=pulumi.get(__ret__, 'is_auto_approve_during_maintenance'),
|
342
|
+
lifecycle_state_details=pulumi.get(__ret__, 'lifecycle_state_details'),
|
343
|
+
notification_message_format=pulumi.get(__ret__, 'notification_message_format'),
|
344
|
+
notification_topic_id=pulumi.get(__ret__, 'notification_topic_id'),
|
345
|
+
num_approvals_required=pulumi.get(__ret__, 'num_approvals_required'),
|
346
|
+
pre_approved_service_provider_action_names=pulumi.get(__ret__, 'pre_approved_service_provider_action_names'),
|
347
|
+
resource_ids=pulumi.get(__ret__, 'resource_ids'),
|
348
|
+
resource_type=pulumi.get(__ret__, 'resource_type'),
|
349
|
+
state=pulumi.get(__ret__, 'state'),
|
350
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
351
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
352
|
+
time_deleted=pulumi.get(__ret__, 'time_deleted'),
|
353
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
354
|
+
vault_id=pulumi.get(__ret__, 'vault_id'),
|
355
|
+
vault_key_id=pulumi.get(__ret__, 'vault_key_id'))
|
356
|
+
|
357
|
+
|
358
|
+
@_utilities.lift_output_func(get_delegation_control)
|
359
|
+
def get_delegation_control_output(delegation_control_id: Optional[pulumi.Input[str]] = None,
|
360
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDelegationControlResult]:
|
361
|
+
"""
|
362
|
+
This data source provides details about a specific Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service.
|
363
|
+
|
364
|
+
Gets the Delegation Control associated with the specified Delegation Control ID.
|
365
|
+
|
366
|
+
## Example Usage
|
367
|
+
|
368
|
+
```python
|
369
|
+
import pulumi
|
370
|
+
import pulumi_oci as oci
|
371
|
+
|
372
|
+
test_delegation_control = oci.DelegateAccessControl.get_delegation_control(delegation_control_id=test_delegation_control_oci_delegate_access_control_delegation_control["id"])
|
373
|
+
```
|
374
|
+
|
375
|
+
|
376
|
+
:param str delegation_control_id: unique Delegation Control identifier
|
377
|
+
"""
|
378
|
+
...
|
@@ -0,0 +1,133 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = [
|
15
|
+
'GetDelegationControlResourcesResult',
|
16
|
+
'AwaitableGetDelegationControlResourcesResult',
|
17
|
+
'get_delegation_control_resources',
|
18
|
+
'get_delegation_control_resources_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetDelegationControlResourcesResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getDelegationControlResources.
|
25
|
+
"""
|
26
|
+
def __init__(__self__, delegation_control_id=None, delegation_control_resource_collections=None, filters=None, id=None):
|
27
|
+
if delegation_control_id and not isinstance(delegation_control_id, str):
|
28
|
+
raise TypeError("Expected argument 'delegation_control_id' to be a str")
|
29
|
+
pulumi.set(__self__, "delegation_control_id", delegation_control_id)
|
30
|
+
if delegation_control_resource_collections and not isinstance(delegation_control_resource_collections, list):
|
31
|
+
raise TypeError("Expected argument 'delegation_control_resource_collections' to be a list")
|
32
|
+
pulumi.set(__self__, "delegation_control_resource_collections", delegation_control_resource_collections)
|
33
|
+
if filters and not isinstance(filters, list):
|
34
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
35
|
+
pulumi.set(__self__, "filters", filters)
|
36
|
+
if id and not isinstance(id, str):
|
37
|
+
raise TypeError("Expected argument 'id' to be a str")
|
38
|
+
pulumi.set(__self__, "id", id)
|
39
|
+
|
40
|
+
@property
|
41
|
+
@pulumi.getter(name="delegationControlId")
|
42
|
+
def delegation_control_id(self) -> str:
|
43
|
+
return pulumi.get(self, "delegation_control_id")
|
44
|
+
|
45
|
+
@property
|
46
|
+
@pulumi.getter(name="delegationControlResourceCollections")
|
47
|
+
def delegation_control_resource_collections(self) -> Sequence['outputs.GetDelegationControlResourcesDelegationControlResourceCollectionResult']:
|
48
|
+
"""
|
49
|
+
The list of delegation_control_resource_collection.
|
50
|
+
"""
|
51
|
+
return pulumi.get(self, "delegation_control_resource_collections")
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter
|
55
|
+
def filters(self) -> Optional[Sequence['outputs.GetDelegationControlResourcesFilterResult']]:
|
56
|
+
return pulumi.get(self, "filters")
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter
|
60
|
+
def id(self) -> str:
|
61
|
+
"""
|
62
|
+
The provider-assigned unique ID for this managed resource.
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "id")
|
65
|
+
|
66
|
+
|
67
|
+
class AwaitableGetDelegationControlResourcesResult(GetDelegationControlResourcesResult):
|
68
|
+
# pylint: disable=using-constant-test
|
69
|
+
def __await__(self):
|
70
|
+
if False:
|
71
|
+
yield self
|
72
|
+
return GetDelegationControlResourcesResult(
|
73
|
+
delegation_control_id=self.delegation_control_id,
|
74
|
+
delegation_control_resource_collections=self.delegation_control_resource_collections,
|
75
|
+
filters=self.filters,
|
76
|
+
id=self.id)
|
77
|
+
|
78
|
+
|
79
|
+
def get_delegation_control_resources(delegation_control_id: Optional[str] = None,
|
80
|
+
filters: Optional[Sequence[Union['GetDelegationControlResourcesFilterArgs', 'GetDelegationControlResourcesFilterArgsDict']]] = None,
|
81
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDelegationControlResourcesResult:
|
82
|
+
"""
|
83
|
+
This data source provides the list of Delegation Control Resources in Oracle Cloud Infrastructure Delegate Access Control service.
|
84
|
+
|
85
|
+
Returns a list of resources associated with the Delegation Control.
|
86
|
+
|
87
|
+
## Example Usage
|
88
|
+
|
89
|
+
```python
|
90
|
+
import pulumi
|
91
|
+
import pulumi_oci as oci
|
92
|
+
|
93
|
+
test_delegation_control_resources = oci.DelegateAccessControl.get_delegation_control_resources(delegation_control_id=test_delegation_control["id"])
|
94
|
+
```
|
95
|
+
|
96
|
+
|
97
|
+
:param str delegation_control_id: unique Delegation Control identifier
|
98
|
+
"""
|
99
|
+
__args__ = dict()
|
100
|
+
__args__['delegationControlId'] = delegation_control_id
|
101
|
+
__args__['filters'] = filters
|
102
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
103
|
+
__ret__ = pulumi.runtime.invoke('oci:DelegateAccessControl/getDelegationControlResources:getDelegationControlResources', __args__, opts=opts, typ=GetDelegationControlResourcesResult).value
|
104
|
+
|
105
|
+
return AwaitableGetDelegationControlResourcesResult(
|
106
|
+
delegation_control_id=pulumi.get(__ret__, 'delegation_control_id'),
|
107
|
+
delegation_control_resource_collections=pulumi.get(__ret__, 'delegation_control_resource_collections'),
|
108
|
+
filters=pulumi.get(__ret__, 'filters'),
|
109
|
+
id=pulumi.get(__ret__, 'id'))
|
110
|
+
|
111
|
+
|
112
|
+
@_utilities.lift_output_func(get_delegation_control_resources)
|
113
|
+
def get_delegation_control_resources_output(delegation_control_id: Optional[pulumi.Input[str]] = None,
|
114
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDelegationControlResourcesFilterArgs', 'GetDelegationControlResourcesFilterArgsDict']]]]] = None,
|
115
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDelegationControlResourcesResult]:
|
116
|
+
"""
|
117
|
+
This data source provides the list of Delegation Control Resources in Oracle Cloud Infrastructure Delegate Access Control service.
|
118
|
+
|
119
|
+
Returns a list of resources associated with the Delegation Control.
|
120
|
+
|
121
|
+
## Example Usage
|
122
|
+
|
123
|
+
```python
|
124
|
+
import pulumi
|
125
|
+
import pulumi_oci as oci
|
126
|
+
|
127
|
+
test_delegation_control_resources = oci.DelegateAccessControl.get_delegation_control_resources(delegation_control_id=test_delegation_control["id"])
|
128
|
+
```
|
129
|
+
|
130
|
+
|
131
|
+
:param str delegation_control_id: unique Delegation Control identifier
|
132
|
+
"""
|
133
|
+
...
|