pulumi-oci 2.9.0__py3-none-any.whl → 2.9.0a1724479778__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 +38 -86
- pulumi_oci/announcementsservice/__init__.py +0 -1
- pulumi_oci/announcementsservice/_inputs.py +6 -46
- pulumi_oci/announcementsservice/announcement_subscription.py +14 -14
- pulumi_oci/announcementsservice/get_announcement_subscription.py +2 -2
- pulumi_oci/announcementsservice/outputs.py +18 -195
- pulumi_oci/bigdataservice/_inputs.py +49 -1
- pulumi_oci/bigdataservice/bds_instance.py +128 -0
- pulumi_oci/bigdataservice/get_bds_instance.py +31 -1
- pulumi_oci/bigdataservice/outputs.py +132 -3
- pulumi_oci/database/_inputs.py +0 -32
- pulumi_oci/database/autonomous_database.py +0 -28
- pulumi_oci/database/data_guard_association.py +0 -49
- pulumi_oci/database/get_autonomous_database.py +1 -14
- pulumi_oci/database/get_autonomous_databases.py +95 -32
- pulumi_oci/database/get_data_guard_association.py +1 -11
- pulumi_oci/database/outputs.py +42 -163
- pulumi_oci/databasemanagement/__init__.py +0 -1
- pulumi_oci/databasemanagement/_inputs.py +12 -875
- pulumi_oci/databasemanagement/database_dbm_features_management.py +3 -37
- pulumi_oci/databasemanagement/db_management_private_endpoint.py +0 -49
- pulumi_oci/databasemanagement/get_db_management_private_endpoint.py +1 -14
- pulumi_oci/databasemanagement/get_db_management_private_endpoints.py +1 -21
- pulumi_oci/databasemanagement/get_managed_database.py +3 -47
- pulumi_oci/databasemanagement/managed_database.py +0 -56
- pulumi_oci/databasemanagement/outputs.py +5553 -7487
- pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py +1 -35
- pulumi_oci/datasafe/__init__.py +0 -6
- pulumi_oci/datasafe/_inputs.py +0 -18
- pulumi_oci/datasafe/database_security_config_management.py +2 -244
- pulumi_oci/datasafe/outputs.py +0 -18
- pulumi_oci/datasafe/security_policy_deployment_management.py +2 -180
- pulumi_oci/datasafe/security_policy_management.py +2 -172
- pulumi_oci/datasafe/sql_firewall_policy_management.py +2 -354
- pulumi_oci/filestorage/mount_target.py +38 -143
- pulumi_oci/filestorage/outputs.py +0 -44
- pulumi_oci/{desktops → fleetsoftwareupdate}/__init__.py +6 -7
- pulumi_oci/fleetsoftwareupdate/_inputs.py +553 -0
- pulumi_oci/fleetsoftwareupdate/fsu_collection.py +514 -0
- pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +812 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +225 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +141 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +325 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +167 -0
- pulumi_oci/fleetsoftwareupdate/outputs.py +1481 -0
- pulumi_oci/globallydistributeddatabase/__init__.py +15 -0
- pulumi_oci/globallydistributeddatabase/_inputs.py +1003 -0
- pulumi_oci/{delegateaccesscontrol/get_delegation_subscription.py → globallydistributeddatabase/get_private_endpoint.py} +105 -66
- pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +176 -0
- pulumi_oci/globallydistributeddatabase/get_sharded_database.py +610 -0
- pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +176 -0
- pulumi_oci/globallydistributeddatabase/outputs.py +2058 -0
- pulumi_oci/{delegateaccesscontrol/delegation_subscription.py → globallydistributeddatabase/private_endpoint.py} +267 -162
- pulumi_oci/globallydistributeddatabase/sharded_database.py +1816 -0
- pulumi_oci/identity/domains_group.py +0 -34
- pulumi_oci/identity/domains_user.py +0 -34
- pulumi_oci/identity/get_domains_group.py +1 -11
- pulumi_oci/identity/get_domains_user.py +1 -11
- pulumi_oci/identity/outputs.py +0 -14
- pulumi_oci/kms/_inputs.py +10 -10
- pulumi_oci/kms/get_vault.py +1 -14
- pulumi_oci/kms/outputs.py +30 -41
- pulumi_oci/kms/vault.py +0 -28
- pulumi_oci/loadbalancer/load_balancer.py +0 -224
- pulumi_oci/loadbalancer/outputs.py +0 -22
- pulumi_oci/mysql/_inputs.py +0 -23
- pulumi_oci/mysql/get_mysql_db_system.py +2 -15
- pulumi_oci/mysql/mysql_db_system.py +0 -53
- pulumi_oci/mysql/outputs.py +6 -74
- 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 +5 -22
- pulumi_oci/ocvp/outputs.py +2 -2
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/recoverymod/_inputs.py +8 -0
- pulumi_oci/recoverymod/get_protected_database.py +1 -14
- pulumi_oci/recoverymod/get_protection_policy.py +1 -14
- pulumi_oci/recoverymod/outputs.py +8 -22
- pulumi_oci/recoverymod/protected_database.py +3 -80
- pulumi_oci/recoverymod/protection_policy.py +0 -49
- pulumi_oci/waf/_inputs.py +16 -29
- pulumi_oci/waf/outputs.py +10 -33
- {pulumi_oci-2.9.0.dist-info → pulumi_oci-2.9.0a1724479778.dist-info}/METADATA +1 -1
- {pulumi_oci-2.9.0.dist-info → pulumi_oci-2.9.0a1724479778.dist-info}/RECORD +86 -104
- {pulumi_oci-2.9.0.dist-info → pulumi_oci-2.9.0a1724479778.dist-info}/WHEEL +1 -1
- pulumi_oci/announcementsservice/get_services.py +0 -173
- pulumi_oci/databasemanagement/autonomous_database_autonomous_database_dbm_features_management.py +0 -275
- pulumi_oci/datasafe/masking_policy_health_report_management.py +0 -453
- pulumi_oci/datasafe/masking_report_management.py +0 -693
- pulumi_oci/datasafe/set_security_assessment_baseline_management.py +0 -304
- pulumi_oci/datasafe/set_user_assessment_baseline_management.py +0 -304
- pulumi_oci/datasafe/unset_security_assessment_baseline_management.py +0 -264
- pulumi_oci/datasafe/unset_user_assessment_baseline_management.py +0 -264
- pulumi_oci/delegateaccesscontrol/__init__.py +0 -24
- pulumi_oci/delegateaccesscontrol/_inputs.py +0 -306
- pulumi_oci/delegateaccesscontrol/delegation_control.py +0 -1082
- pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request.py +0 -535
- pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_audit_log_report.py +0 -174
- pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_histories.py +0 -133
- pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_requests.py +0 -250
- pulumi_oci/delegateaccesscontrol/get_delegation_control.py +0 -378
- pulumi_oci/delegateaccesscontrol/get_delegation_control_resources.py +0 -133
- pulumi_oci/delegateaccesscontrol/get_delegation_controls.py +0 -213
- pulumi_oci/delegateaccesscontrol/get_delegation_subscriptions.py +0 -176
- pulumi_oci/delegateaccesscontrol/get_service_provider.py +0 -274
- pulumi_oci/delegateaccesscontrol/get_service_provider_action.py +0 -210
- pulumi_oci/delegateaccesscontrol/get_service_provider_actions.py +0 -210
- pulumi_oci/delegateaccesscontrol/get_service_providers.py +0 -213
- pulumi_oci/delegateaccesscontrol/outputs.py +0 -1679
- pulumi_oci/desktops/_inputs.py +0 -483
- pulumi_oci/desktops/desktop_pool.py +0 -1348
- pulumi_oci/desktops/get_desktop.py +0 -223
- pulumi_oci/desktops/get_desktop_pool.py +0 -418
- pulumi_oci/desktops/get_desktop_pool_desktops.py +0 -208
- pulumi_oci/desktops/get_desktop_pool_volumes.py +0 -214
- pulumi_oci/desktops/get_desktop_pools.py +0 -203
- pulumi_oci/desktops/get_desktops.py +0 -214
- pulumi_oci/desktops/outputs.py +0 -1738
- {pulumi_oci-2.9.0.dist-info → pulumi_oci-2.9.0a1724479778.dist-info}/top_level.txt +0 -0
@@ -1,1082 +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__ = ['DelegationControlArgs', 'DelegationControl']
|
13
|
-
|
14
|
-
@pulumi.input_type
|
15
|
-
class DelegationControlArgs:
|
16
|
-
def __init__(__self__, *,
|
17
|
-
compartment_id: pulumi.Input[str],
|
18
|
-
delegation_subscription_ids: pulumi.Input[Sequence[pulumi.Input[str]]],
|
19
|
-
display_name: pulumi.Input[str],
|
20
|
-
notification_message_format: pulumi.Input[str],
|
21
|
-
notification_topic_id: pulumi.Input[str],
|
22
|
-
resource_ids: pulumi.Input[Sequence[pulumi.Input[str]]],
|
23
|
-
resource_type: pulumi.Input[str],
|
24
|
-
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
25
|
-
description: Optional[pulumi.Input[str]] = None,
|
26
|
-
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
27
|
-
is_auto_approve_during_maintenance: Optional[pulumi.Input[bool]] = None,
|
28
|
-
num_approvals_required: Optional[pulumi.Input[int]] = None,
|
29
|
-
pre_approved_service_provider_action_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
30
|
-
vault_id: Optional[pulumi.Input[str]] = None,
|
31
|
-
vault_key_id: Optional[pulumi.Input[str]] = None):
|
32
|
-
"""
|
33
|
-
The set of arguments for constructing a DelegationControl resource.
|
34
|
-
:param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment that contains this Delegation Control.
|
35
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] delegation_subscription_ids: (Updatable) 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.
|
36
|
-
:param pulumi.Input[str] display_name: (Updatable) Name of the Delegation Control. The name does not need to be unique.
|
37
|
-
:param pulumi.Input[str] notification_message_format: (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control.
|
38
|
-
:param pulumi.Input[str] notification_topic_id: (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
|
39
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] resource_ids: (Updatable) The OCID of the selected resources that this Delegation Control is applicable to.
|
40
|
-
:param pulumi.Input[str] resource_type: Resource type for which the Delegation Control is applicable to.
|
41
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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"}`
|
42
|
-
:param pulumi.Input[str] description: (Updatable) Description of the Delegation Control.
|
43
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
|
44
|
-
:param pulumi.Input[bool] is_auto_approve_during_maintenance: (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.
|
45
|
-
:param pulumi.Input[int] num_approvals_required: (Updatable) number of approvals required.
|
46
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] pre_approved_service_provider_action_names: (Updatable) 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.
|
47
|
-
:param pulumi.Input[str] vault_id: 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.
|
48
|
-
:param pulumi.Input[str] vault_key_id: 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.
|
49
|
-
|
50
|
-
|
51
|
-
** IMPORTANT **
|
52
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
53
|
-
"""
|
54
|
-
pulumi.set(__self__, "compartment_id", compartment_id)
|
55
|
-
pulumi.set(__self__, "delegation_subscription_ids", delegation_subscription_ids)
|
56
|
-
pulumi.set(__self__, "display_name", display_name)
|
57
|
-
pulumi.set(__self__, "notification_message_format", notification_message_format)
|
58
|
-
pulumi.set(__self__, "notification_topic_id", notification_topic_id)
|
59
|
-
pulumi.set(__self__, "resource_ids", resource_ids)
|
60
|
-
pulumi.set(__self__, "resource_type", resource_type)
|
61
|
-
if defined_tags is not None:
|
62
|
-
pulumi.set(__self__, "defined_tags", defined_tags)
|
63
|
-
if description is not None:
|
64
|
-
pulumi.set(__self__, "description", description)
|
65
|
-
if freeform_tags is not None:
|
66
|
-
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
67
|
-
if is_auto_approve_during_maintenance is not None:
|
68
|
-
pulumi.set(__self__, "is_auto_approve_during_maintenance", is_auto_approve_during_maintenance)
|
69
|
-
if num_approvals_required is not None:
|
70
|
-
pulumi.set(__self__, "num_approvals_required", num_approvals_required)
|
71
|
-
if pre_approved_service_provider_action_names is not None:
|
72
|
-
pulumi.set(__self__, "pre_approved_service_provider_action_names", pre_approved_service_provider_action_names)
|
73
|
-
if vault_id is not None:
|
74
|
-
pulumi.set(__self__, "vault_id", vault_id)
|
75
|
-
if vault_key_id is not None:
|
76
|
-
pulumi.set(__self__, "vault_key_id", vault_key_id)
|
77
|
-
|
78
|
-
@property
|
79
|
-
@pulumi.getter(name="compartmentId")
|
80
|
-
def compartment_id(self) -> pulumi.Input[str]:
|
81
|
-
"""
|
82
|
-
(Updatable) The OCID of the compartment that contains this Delegation Control.
|
83
|
-
"""
|
84
|
-
return pulumi.get(self, "compartment_id")
|
85
|
-
|
86
|
-
@compartment_id.setter
|
87
|
-
def compartment_id(self, value: pulumi.Input[str]):
|
88
|
-
pulumi.set(self, "compartment_id", value)
|
89
|
-
|
90
|
-
@property
|
91
|
-
@pulumi.getter(name="delegationSubscriptionIds")
|
92
|
-
def delegation_subscription_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
93
|
-
"""
|
94
|
-
(Updatable) 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.
|
95
|
-
"""
|
96
|
-
return pulumi.get(self, "delegation_subscription_ids")
|
97
|
-
|
98
|
-
@delegation_subscription_ids.setter
|
99
|
-
def delegation_subscription_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
100
|
-
pulumi.set(self, "delegation_subscription_ids", value)
|
101
|
-
|
102
|
-
@property
|
103
|
-
@pulumi.getter(name="displayName")
|
104
|
-
def display_name(self) -> pulumi.Input[str]:
|
105
|
-
"""
|
106
|
-
(Updatable) Name of the Delegation Control. The name does not need to be unique.
|
107
|
-
"""
|
108
|
-
return pulumi.get(self, "display_name")
|
109
|
-
|
110
|
-
@display_name.setter
|
111
|
-
def display_name(self, value: pulumi.Input[str]):
|
112
|
-
pulumi.set(self, "display_name", value)
|
113
|
-
|
114
|
-
@property
|
115
|
-
@pulumi.getter(name="notificationMessageFormat")
|
116
|
-
def notification_message_format(self) -> pulumi.Input[str]:
|
117
|
-
"""
|
118
|
-
(Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control.
|
119
|
-
"""
|
120
|
-
return pulumi.get(self, "notification_message_format")
|
121
|
-
|
122
|
-
@notification_message_format.setter
|
123
|
-
def notification_message_format(self, value: pulumi.Input[str]):
|
124
|
-
pulumi.set(self, "notification_message_format", value)
|
125
|
-
|
126
|
-
@property
|
127
|
-
@pulumi.getter(name="notificationTopicId")
|
128
|
-
def notification_topic_id(self) -> pulumi.Input[str]:
|
129
|
-
"""
|
130
|
-
(Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
|
131
|
-
"""
|
132
|
-
return pulumi.get(self, "notification_topic_id")
|
133
|
-
|
134
|
-
@notification_topic_id.setter
|
135
|
-
def notification_topic_id(self, value: pulumi.Input[str]):
|
136
|
-
pulumi.set(self, "notification_topic_id", value)
|
137
|
-
|
138
|
-
@property
|
139
|
-
@pulumi.getter(name="resourceIds")
|
140
|
-
def resource_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
141
|
-
"""
|
142
|
-
(Updatable) The OCID of the selected resources that this Delegation Control is applicable to.
|
143
|
-
"""
|
144
|
-
return pulumi.get(self, "resource_ids")
|
145
|
-
|
146
|
-
@resource_ids.setter
|
147
|
-
def resource_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
148
|
-
pulumi.set(self, "resource_ids", value)
|
149
|
-
|
150
|
-
@property
|
151
|
-
@pulumi.getter(name="resourceType")
|
152
|
-
def resource_type(self) -> pulumi.Input[str]:
|
153
|
-
"""
|
154
|
-
Resource type for which the Delegation Control is applicable to.
|
155
|
-
"""
|
156
|
-
return pulumi.get(self, "resource_type")
|
157
|
-
|
158
|
-
@resource_type.setter
|
159
|
-
def resource_type(self, value: pulumi.Input[str]):
|
160
|
-
pulumi.set(self, "resource_type", value)
|
161
|
-
|
162
|
-
@property
|
163
|
-
@pulumi.getter(name="definedTags")
|
164
|
-
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
165
|
-
"""
|
166
|
-
(Updatable) 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"}`
|
167
|
-
"""
|
168
|
-
return pulumi.get(self, "defined_tags")
|
169
|
-
|
170
|
-
@defined_tags.setter
|
171
|
-
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
172
|
-
pulumi.set(self, "defined_tags", value)
|
173
|
-
|
174
|
-
@property
|
175
|
-
@pulumi.getter
|
176
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
177
|
-
"""
|
178
|
-
(Updatable) Description of the Delegation Control.
|
179
|
-
"""
|
180
|
-
return pulumi.get(self, "description")
|
181
|
-
|
182
|
-
@description.setter
|
183
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
184
|
-
pulumi.set(self, "description", value)
|
185
|
-
|
186
|
-
@property
|
187
|
-
@pulumi.getter(name="freeformTags")
|
188
|
-
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
189
|
-
"""
|
190
|
-
(Updatable) 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"}`
|
191
|
-
"""
|
192
|
-
return pulumi.get(self, "freeform_tags")
|
193
|
-
|
194
|
-
@freeform_tags.setter
|
195
|
-
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
196
|
-
pulumi.set(self, "freeform_tags", value)
|
197
|
-
|
198
|
-
@property
|
199
|
-
@pulumi.getter(name="isAutoApproveDuringMaintenance")
|
200
|
-
def is_auto_approve_during_maintenance(self) -> Optional[pulumi.Input[bool]]:
|
201
|
-
"""
|
202
|
-
(Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.
|
203
|
-
"""
|
204
|
-
return pulumi.get(self, "is_auto_approve_during_maintenance")
|
205
|
-
|
206
|
-
@is_auto_approve_during_maintenance.setter
|
207
|
-
def is_auto_approve_during_maintenance(self, value: Optional[pulumi.Input[bool]]):
|
208
|
-
pulumi.set(self, "is_auto_approve_during_maintenance", value)
|
209
|
-
|
210
|
-
@property
|
211
|
-
@pulumi.getter(name="numApprovalsRequired")
|
212
|
-
def num_approvals_required(self) -> Optional[pulumi.Input[int]]:
|
213
|
-
"""
|
214
|
-
(Updatable) number of approvals required.
|
215
|
-
"""
|
216
|
-
return pulumi.get(self, "num_approvals_required")
|
217
|
-
|
218
|
-
@num_approvals_required.setter
|
219
|
-
def num_approvals_required(self, value: Optional[pulumi.Input[int]]):
|
220
|
-
pulumi.set(self, "num_approvals_required", value)
|
221
|
-
|
222
|
-
@property
|
223
|
-
@pulumi.getter(name="preApprovedServiceProviderActionNames")
|
224
|
-
def pre_approved_service_provider_action_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
225
|
-
"""
|
226
|
-
(Updatable) 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.
|
227
|
-
"""
|
228
|
-
return pulumi.get(self, "pre_approved_service_provider_action_names")
|
229
|
-
|
230
|
-
@pre_approved_service_provider_action_names.setter
|
231
|
-
def pre_approved_service_provider_action_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
232
|
-
pulumi.set(self, "pre_approved_service_provider_action_names", value)
|
233
|
-
|
234
|
-
@property
|
235
|
-
@pulumi.getter(name="vaultId")
|
236
|
-
def vault_id(self) -> Optional[pulumi.Input[str]]:
|
237
|
-
"""
|
238
|
-
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.
|
239
|
-
"""
|
240
|
-
return pulumi.get(self, "vault_id")
|
241
|
-
|
242
|
-
@vault_id.setter
|
243
|
-
def vault_id(self, value: Optional[pulumi.Input[str]]):
|
244
|
-
pulumi.set(self, "vault_id", value)
|
245
|
-
|
246
|
-
@property
|
247
|
-
@pulumi.getter(name="vaultKeyId")
|
248
|
-
def vault_key_id(self) -> Optional[pulumi.Input[str]]:
|
249
|
-
"""
|
250
|
-
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.
|
251
|
-
|
252
|
-
|
253
|
-
** IMPORTANT **
|
254
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
255
|
-
"""
|
256
|
-
return pulumi.get(self, "vault_key_id")
|
257
|
-
|
258
|
-
@vault_key_id.setter
|
259
|
-
def vault_key_id(self, value: Optional[pulumi.Input[str]]):
|
260
|
-
pulumi.set(self, "vault_key_id", value)
|
261
|
-
|
262
|
-
|
263
|
-
@pulumi.input_type
|
264
|
-
class _DelegationControlState:
|
265
|
-
def __init__(__self__, *,
|
266
|
-
compartment_id: Optional[pulumi.Input[str]] = None,
|
267
|
-
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
268
|
-
delegation_subscription_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
269
|
-
description: Optional[pulumi.Input[str]] = None,
|
270
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
271
|
-
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
272
|
-
is_auto_approve_during_maintenance: Optional[pulumi.Input[bool]] = None,
|
273
|
-
lifecycle_state_details: Optional[pulumi.Input[str]] = None,
|
274
|
-
notification_message_format: Optional[pulumi.Input[str]] = None,
|
275
|
-
notification_topic_id: Optional[pulumi.Input[str]] = None,
|
276
|
-
num_approvals_required: Optional[pulumi.Input[int]] = None,
|
277
|
-
pre_approved_service_provider_action_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
278
|
-
resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
279
|
-
resource_type: Optional[pulumi.Input[str]] = None,
|
280
|
-
state: Optional[pulumi.Input[str]] = None,
|
281
|
-
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
282
|
-
time_created: Optional[pulumi.Input[str]] = None,
|
283
|
-
time_deleted: Optional[pulumi.Input[str]] = None,
|
284
|
-
time_updated: Optional[pulumi.Input[str]] = None,
|
285
|
-
vault_id: Optional[pulumi.Input[str]] = None,
|
286
|
-
vault_key_id: Optional[pulumi.Input[str]] = None):
|
287
|
-
"""
|
288
|
-
Input properties used for looking up and filtering DelegationControl resources.
|
289
|
-
:param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment that contains this Delegation Control.
|
290
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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"}`
|
291
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] delegation_subscription_ids: (Updatable) 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.
|
292
|
-
:param pulumi.Input[str] description: (Updatable) Description of the Delegation Control.
|
293
|
-
:param pulumi.Input[str] display_name: (Updatable) Name of the Delegation Control. The name does not need to be unique.
|
294
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
|
295
|
-
:param pulumi.Input[bool] is_auto_approve_during_maintenance: (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.
|
296
|
-
:param pulumi.Input[str] lifecycle_state_details: Description of the current lifecycle state in more detail.
|
297
|
-
:param pulumi.Input[str] notification_message_format: (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control.
|
298
|
-
:param pulumi.Input[str] notification_topic_id: (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
|
299
|
-
:param pulumi.Input[int] num_approvals_required: (Updatable) number of approvals required.
|
300
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] pre_approved_service_provider_action_names: (Updatable) 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.
|
301
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] resource_ids: (Updatable) The OCID of the selected resources that this Delegation Control is applicable to.
|
302
|
-
:param pulumi.Input[str] resource_type: Resource type for which the Delegation Control is applicable to.
|
303
|
-
:param pulumi.Input[str] state: The current lifecycle state of the Delegation Control.
|
304
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
305
|
-
:param pulumi.Input[str] time_created: 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'
|
306
|
-
:param pulumi.Input[str] time_deleted: 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.
|
307
|
-
:param pulumi.Input[str] time_updated: 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'
|
308
|
-
:param pulumi.Input[str] vault_id: 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.
|
309
|
-
:param pulumi.Input[str] vault_key_id: 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.
|
310
|
-
|
311
|
-
|
312
|
-
** IMPORTANT **
|
313
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
314
|
-
"""
|
315
|
-
if compartment_id is not None:
|
316
|
-
pulumi.set(__self__, "compartment_id", compartment_id)
|
317
|
-
if defined_tags is not None:
|
318
|
-
pulumi.set(__self__, "defined_tags", defined_tags)
|
319
|
-
if delegation_subscription_ids is not None:
|
320
|
-
pulumi.set(__self__, "delegation_subscription_ids", delegation_subscription_ids)
|
321
|
-
if description is not None:
|
322
|
-
pulumi.set(__self__, "description", description)
|
323
|
-
if display_name is not None:
|
324
|
-
pulumi.set(__self__, "display_name", display_name)
|
325
|
-
if freeform_tags is not None:
|
326
|
-
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
327
|
-
if is_auto_approve_during_maintenance is not None:
|
328
|
-
pulumi.set(__self__, "is_auto_approve_during_maintenance", is_auto_approve_during_maintenance)
|
329
|
-
if lifecycle_state_details is not None:
|
330
|
-
pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details)
|
331
|
-
if notification_message_format is not None:
|
332
|
-
pulumi.set(__self__, "notification_message_format", notification_message_format)
|
333
|
-
if notification_topic_id is not None:
|
334
|
-
pulumi.set(__self__, "notification_topic_id", notification_topic_id)
|
335
|
-
if num_approvals_required is not None:
|
336
|
-
pulumi.set(__self__, "num_approvals_required", num_approvals_required)
|
337
|
-
if pre_approved_service_provider_action_names is not None:
|
338
|
-
pulumi.set(__self__, "pre_approved_service_provider_action_names", pre_approved_service_provider_action_names)
|
339
|
-
if resource_ids is not None:
|
340
|
-
pulumi.set(__self__, "resource_ids", resource_ids)
|
341
|
-
if resource_type is not None:
|
342
|
-
pulumi.set(__self__, "resource_type", resource_type)
|
343
|
-
if state is not None:
|
344
|
-
pulumi.set(__self__, "state", state)
|
345
|
-
if system_tags is not None:
|
346
|
-
pulumi.set(__self__, "system_tags", system_tags)
|
347
|
-
if time_created is not None:
|
348
|
-
pulumi.set(__self__, "time_created", time_created)
|
349
|
-
if time_deleted is not None:
|
350
|
-
pulumi.set(__self__, "time_deleted", time_deleted)
|
351
|
-
if time_updated is not None:
|
352
|
-
pulumi.set(__self__, "time_updated", time_updated)
|
353
|
-
if vault_id is not None:
|
354
|
-
pulumi.set(__self__, "vault_id", vault_id)
|
355
|
-
if vault_key_id is not None:
|
356
|
-
pulumi.set(__self__, "vault_key_id", vault_key_id)
|
357
|
-
|
358
|
-
@property
|
359
|
-
@pulumi.getter(name="compartmentId")
|
360
|
-
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
361
|
-
"""
|
362
|
-
(Updatable) The OCID of the compartment that contains this Delegation Control.
|
363
|
-
"""
|
364
|
-
return pulumi.get(self, "compartment_id")
|
365
|
-
|
366
|
-
@compartment_id.setter
|
367
|
-
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
368
|
-
pulumi.set(self, "compartment_id", value)
|
369
|
-
|
370
|
-
@property
|
371
|
-
@pulumi.getter(name="definedTags")
|
372
|
-
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
373
|
-
"""
|
374
|
-
(Updatable) 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"}`
|
375
|
-
"""
|
376
|
-
return pulumi.get(self, "defined_tags")
|
377
|
-
|
378
|
-
@defined_tags.setter
|
379
|
-
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
380
|
-
pulumi.set(self, "defined_tags", value)
|
381
|
-
|
382
|
-
@property
|
383
|
-
@pulumi.getter(name="delegationSubscriptionIds")
|
384
|
-
def delegation_subscription_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
385
|
-
"""
|
386
|
-
(Updatable) 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.
|
387
|
-
"""
|
388
|
-
return pulumi.get(self, "delegation_subscription_ids")
|
389
|
-
|
390
|
-
@delegation_subscription_ids.setter
|
391
|
-
def delegation_subscription_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
392
|
-
pulumi.set(self, "delegation_subscription_ids", value)
|
393
|
-
|
394
|
-
@property
|
395
|
-
@pulumi.getter
|
396
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
397
|
-
"""
|
398
|
-
(Updatable) Description of the Delegation Control.
|
399
|
-
"""
|
400
|
-
return pulumi.get(self, "description")
|
401
|
-
|
402
|
-
@description.setter
|
403
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
404
|
-
pulumi.set(self, "description", value)
|
405
|
-
|
406
|
-
@property
|
407
|
-
@pulumi.getter(name="displayName")
|
408
|
-
def display_name(self) -> Optional[pulumi.Input[str]]:
|
409
|
-
"""
|
410
|
-
(Updatable) Name of the Delegation Control. The name does not need to be unique.
|
411
|
-
"""
|
412
|
-
return pulumi.get(self, "display_name")
|
413
|
-
|
414
|
-
@display_name.setter
|
415
|
-
def display_name(self, value: Optional[pulumi.Input[str]]):
|
416
|
-
pulumi.set(self, "display_name", value)
|
417
|
-
|
418
|
-
@property
|
419
|
-
@pulumi.getter(name="freeformTags")
|
420
|
-
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
421
|
-
"""
|
422
|
-
(Updatable) 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"}`
|
423
|
-
"""
|
424
|
-
return pulumi.get(self, "freeform_tags")
|
425
|
-
|
426
|
-
@freeform_tags.setter
|
427
|
-
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
428
|
-
pulumi.set(self, "freeform_tags", value)
|
429
|
-
|
430
|
-
@property
|
431
|
-
@pulumi.getter(name="isAutoApproveDuringMaintenance")
|
432
|
-
def is_auto_approve_during_maintenance(self) -> Optional[pulumi.Input[bool]]:
|
433
|
-
"""
|
434
|
-
(Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.
|
435
|
-
"""
|
436
|
-
return pulumi.get(self, "is_auto_approve_during_maintenance")
|
437
|
-
|
438
|
-
@is_auto_approve_during_maintenance.setter
|
439
|
-
def is_auto_approve_during_maintenance(self, value: Optional[pulumi.Input[bool]]):
|
440
|
-
pulumi.set(self, "is_auto_approve_during_maintenance", value)
|
441
|
-
|
442
|
-
@property
|
443
|
-
@pulumi.getter(name="lifecycleStateDetails")
|
444
|
-
def lifecycle_state_details(self) -> Optional[pulumi.Input[str]]:
|
445
|
-
"""
|
446
|
-
Description of the current lifecycle state in more detail.
|
447
|
-
"""
|
448
|
-
return pulumi.get(self, "lifecycle_state_details")
|
449
|
-
|
450
|
-
@lifecycle_state_details.setter
|
451
|
-
def lifecycle_state_details(self, value: Optional[pulumi.Input[str]]):
|
452
|
-
pulumi.set(self, "lifecycle_state_details", value)
|
453
|
-
|
454
|
-
@property
|
455
|
-
@pulumi.getter(name="notificationMessageFormat")
|
456
|
-
def notification_message_format(self) -> Optional[pulumi.Input[str]]:
|
457
|
-
"""
|
458
|
-
(Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control.
|
459
|
-
"""
|
460
|
-
return pulumi.get(self, "notification_message_format")
|
461
|
-
|
462
|
-
@notification_message_format.setter
|
463
|
-
def notification_message_format(self, value: Optional[pulumi.Input[str]]):
|
464
|
-
pulumi.set(self, "notification_message_format", value)
|
465
|
-
|
466
|
-
@property
|
467
|
-
@pulumi.getter(name="notificationTopicId")
|
468
|
-
def notification_topic_id(self) -> Optional[pulumi.Input[str]]:
|
469
|
-
"""
|
470
|
-
(Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
|
471
|
-
"""
|
472
|
-
return pulumi.get(self, "notification_topic_id")
|
473
|
-
|
474
|
-
@notification_topic_id.setter
|
475
|
-
def notification_topic_id(self, value: Optional[pulumi.Input[str]]):
|
476
|
-
pulumi.set(self, "notification_topic_id", value)
|
477
|
-
|
478
|
-
@property
|
479
|
-
@pulumi.getter(name="numApprovalsRequired")
|
480
|
-
def num_approvals_required(self) -> Optional[pulumi.Input[int]]:
|
481
|
-
"""
|
482
|
-
(Updatable) number of approvals required.
|
483
|
-
"""
|
484
|
-
return pulumi.get(self, "num_approvals_required")
|
485
|
-
|
486
|
-
@num_approvals_required.setter
|
487
|
-
def num_approvals_required(self, value: Optional[pulumi.Input[int]]):
|
488
|
-
pulumi.set(self, "num_approvals_required", value)
|
489
|
-
|
490
|
-
@property
|
491
|
-
@pulumi.getter(name="preApprovedServiceProviderActionNames")
|
492
|
-
def pre_approved_service_provider_action_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
493
|
-
"""
|
494
|
-
(Updatable) 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.
|
495
|
-
"""
|
496
|
-
return pulumi.get(self, "pre_approved_service_provider_action_names")
|
497
|
-
|
498
|
-
@pre_approved_service_provider_action_names.setter
|
499
|
-
def pre_approved_service_provider_action_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
500
|
-
pulumi.set(self, "pre_approved_service_provider_action_names", value)
|
501
|
-
|
502
|
-
@property
|
503
|
-
@pulumi.getter(name="resourceIds")
|
504
|
-
def resource_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
505
|
-
"""
|
506
|
-
(Updatable) The OCID of the selected resources that this Delegation Control is applicable to.
|
507
|
-
"""
|
508
|
-
return pulumi.get(self, "resource_ids")
|
509
|
-
|
510
|
-
@resource_ids.setter
|
511
|
-
def resource_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
512
|
-
pulumi.set(self, "resource_ids", value)
|
513
|
-
|
514
|
-
@property
|
515
|
-
@pulumi.getter(name="resourceType")
|
516
|
-
def resource_type(self) -> Optional[pulumi.Input[str]]:
|
517
|
-
"""
|
518
|
-
Resource type for which the Delegation Control is applicable to.
|
519
|
-
"""
|
520
|
-
return pulumi.get(self, "resource_type")
|
521
|
-
|
522
|
-
@resource_type.setter
|
523
|
-
def resource_type(self, value: Optional[pulumi.Input[str]]):
|
524
|
-
pulumi.set(self, "resource_type", value)
|
525
|
-
|
526
|
-
@property
|
527
|
-
@pulumi.getter
|
528
|
-
def state(self) -> Optional[pulumi.Input[str]]:
|
529
|
-
"""
|
530
|
-
The current lifecycle state of the Delegation Control.
|
531
|
-
"""
|
532
|
-
return pulumi.get(self, "state")
|
533
|
-
|
534
|
-
@state.setter
|
535
|
-
def state(self, value: Optional[pulumi.Input[str]]):
|
536
|
-
pulumi.set(self, "state", value)
|
537
|
-
|
538
|
-
@property
|
539
|
-
@pulumi.getter(name="systemTags")
|
540
|
-
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
541
|
-
"""
|
542
|
-
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
543
|
-
"""
|
544
|
-
return pulumi.get(self, "system_tags")
|
545
|
-
|
546
|
-
@system_tags.setter
|
547
|
-
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
548
|
-
pulumi.set(self, "system_tags", value)
|
549
|
-
|
550
|
-
@property
|
551
|
-
@pulumi.getter(name="timeCreated")
|
552
|
-
def time_created(self) -> Optional[pulumi.Input[str]]:
|
553
|
-
"""
|
554
|
-
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'
|
555
|
-
"""
|
556
|
-
return pulumi.get(self, "time_created")
|
557
|
-
|
558
|
-
@time_created.setter
|
559
|
-
def time_created(self, value: Optional[pulumi.Input[str]]):
|
560
|
-
pulumi.set(self, "time_created", value)
|
561
|
-
|
562
|
-
@property
|
563
|
-
@pulumi.getter(name="timeDeleted")
|
564
|
-
def time_deleted(self) -> Optional[pulumi.Input[str]]:
|
565
|
-
"""
|
566
|
-
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.
|
567
|
-
"""
|
568
|
-
return pulumi.get(self, "time_deleted")
|
569
|
-
|
570
|
-
@time_deleted.setter
|
571
|
-
def time_deleted(self, value: Optional[pulumi.Input[str]]):
|
572
|
-
pulumi.set(self, "time_deleted", value)
|
573
|
-
|
574
|
-
@property
|
575
|
-
@pulumi.getter(name="timeUpdated")
|
576
|
-
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
577
|
-
"""
|
578
|
-
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'
|
579
|
-
"""
|
580
|
-
return pulumi.get(self, "time_updated")
|
581
|
-
|
582
|
-
@time_updated.setter
|
583
|
-
def time_updated(self, value: Optional[pulumi.Input[str]]):
|
584
|
-
pulumi.set(self, "time_updated", value)
|
585
|
-
|
586
|
-
@property
|
587
|
-
@pulumi.getter(name="vaultId")
|
588
|
-
def vault_id(self) -> Optional[pulumi.Input[str]]:
|
589
|
-
"""
|
590
|
-
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.
|
591
|
-
"""
|
592
|
-
return pulumi.get(self, "vault_id")
|
593
|
-
|
594
|
-
@vault_id.setter
|
595
|
-
def vault_id(self, value: Optional[pulumi.Input[str]]):
|
596
|
-
pulumi.set(self, "vault_id", value)
|
597
|
-
|
598
|
-
@property
|
599
|
-
@pulumi.getter(name="vaultKeyId")
|
600
|
-
def vault_key_id(self) -> Optional[pulumi.Input[str]]:
|
601
|
-
"""
|
602
|
-
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.
|
603
|
-
|
604
|
-
|
605
|
-
** IMPORTANT **
|
606
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
607
|
-
"""
|
608
|
-
return pulumi.get(self, "vault_key_id")
|
609
|
-
|
610
|
-
@vault_key_id.setter
|
611
|
-
def vault_key_id(self, value: Optional[pulumi.Input[str]]):
|
612
|
-
pulumi.set(self, "vault_key_id", value)
|
613
|
-
|
614
|
-
|
615
|
-
class DelegationControl(pulumi.CustomResource):
|
616
|
-
@overload
|
617
|
-
def __init__(__self__,
|
618
|
-
resource_name: str,
|
619
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
620
|
-
compartment_id: Optional[pulumi.Input[str]] = None,
|
621
|
-
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
622
|
-
delegation_subscription_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
623
|
-
description: Optional[pulumi.Input[str]] = None,
|
624
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
625
|
-
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
626
|
-
is_auto_approve_during_maintenance: Optional[pulumi.Input[bool]] = None,
|
627
|
-
notification_message_format: Optional[pulumi.Input[str]] = None,
|
628
|
-
notification_topic_id: Optional[pulumi.Input[str]] = None,
|
629
|
-
num_approvals_required: Optional[pulumi.Input[int]] = None,
|
630
|
-
pre_approved_service_provider_action_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
631
|
-
resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
632
|
-
resource_type: Optional[pulumi.Input[str]] = None,
|
633
|
-
vault_id: Optional[pulumi.Input[str]] = None,
|
634
|
-
vault_key_id: Optional[pulumi.Input[str]] = None,
|
635
|
-
__props__=None):
|
636
|
-
"""
|
637
|
-
This resource provides the Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service.
|
638
|
-
|
639
|
-
Creates a Delegation Control.
|
640
|
-
|
641
|
-
## Example Usage
|
642
|
-
|
643
|
-
```python
|
644
|
-
import pulumi
|
645
|
-
import pulumi_oci as oci
|
646
|
-
|
647
|
-
test_delegation_control = oci.delegate_access_control.DelegationControl("test_delegation_control",
|
648
|
-
compartment_id=compartment_id,
|
649
|
-
delegation_subscription_ids=delegation_control_delegation_subscription_ids,
|
650
|
-
display_name=delegation_control_display_name,
|
651
|
-
notification_message_format=delegation_control_notification_message_format,
|
652
|
-
notification_topic_id=test_notification_topic["id"],
|
653
|
-
resource_ids=delegation_control_resource_ids,
|
654
|
-
resource_type=delegation_control_resource_type,
|
655
|
-
defined_tags={
|
656
|
-
"Operations.CostCenter": "42",
|
657
|
-
},
|
658
|
-
description=delegation_control_description,
|
659
|
-
freeform_tags={
|
660
|
-
"Department": "Finance",
|
661
|
-
},
|
662
|
-
is_auto_approve_during_maintenance=delegation_control_is_auto_approve_during_maintenance,
|
663
|
-
num_approvals_required=delegation_control_num_approvals_required,
|
664
|
-
pre_approved_service_provider_action_names=delegation_control_pre_approved_service_provider_action_names,
|
665
|
-
vault_id=test_vault["id"],
|
666
|
-
vault_key_id=test_key["id"])
|
667
|
-
```
|
668
|
-
|
669
|
-
## Import
|
670
|
-
|
671
|
-
DelegationControls can be imported using the `id`, e.g.
|
672
|
-
|
673
|
-
```sh
|
674
|
-
$ pulumi import oci:DelegateAccessControl/delegationControl:DelegationControl test_delegation_control "id"
|
675
|
-
```
|
676
|
-
|
677
|
-
:param str resource_name: The name of the resource.
|
678
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
679
|
-
:param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment that contains this Delegation Control.
|
680
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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"}`
|
681
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] delegation_subscription_ids: (Updatable) 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.
|
682
|
-
:param pulumi.Input[str] description: (Updatable) Description of the Delegation Control.
|
683
|
-
:param pulumi.Input[str] display_name: (Updatable) Name of the Delegation Control. The name does not need to be unique.
|
684
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
|
685
|
-
:param pulumi.Input[bool] is_auto_approve_during_maintenance: (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.
|
686
|
-
:param pulumi.Input[str] notification_message_format: (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control.
|
687
|
-
:param pulumi.Input[str] notification_topic_id: (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
|
688
|
-
:param pulumi.Input[int] num_approvals_required: (Updatable) number of approvals required.
|
689
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] pre_approved_service_provider_action_names: (Updatable) 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.
|
690
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] resource_ids: (Updatable) The OCID of the selected resources that this Delegation Control is applicable to.
|
691
|
-
:param pulumi.Input[str] resource_type: Resource type for which the Delegation Control is applicable to.
|
692
|
-
:param pulumi.Input[str] vault_id: 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.
|
693
|
-
:param pulumi.Input[str] vault_key_id: 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.
|
694
|
-
|
695
|
-
|
696
|
-
** IMPORTANT **
|
697
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
698
|
-
"""
|
699
|
-
...
|
700
|
-
@overload
|
701
|
-
def __init__(__self__,
|
702
|
-
resource_name: str,
|
703
|
-
args: DelegationControlArgs,
|
704
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
705
|
-
"""
|
706
|
-
This resource provides the Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service.
|
707
|
-
|
708
|
-
Creates a Delegation Control.
|
709
|
-
|
710
|
-
## Example Usage
|
711
|
-
|
712
|
-
```python
|
713
|
-
import pulumi
|
714
|
-
import pulumi_oci as oci
|
715
|
-
|
716
|
-
test_delegation_control = oci.delegate_access_control.DelegationControl("test_delegation_control",
|
717
|
-
compartment_id=compartment_id,
|
718
|
-
delegation_subscription_ids=delegation_control_delegation_subscription_ids,
|
719
|
-
display_name=delegation_control_display_name,
|
720
|
-
notification_message_format=delegation_control_notification_message_format,
|
721
|
-
notification_topic_id=test_notification_topic["id"],
|
722
|
-
resource_ids=delegation_control_resource_ids,
|
723
|
-
resource_type=delegation_control_resource_type,
|
724
|
-
defined_tags={
|
725
|
-
"Operations.CostCenter": "42",
|
726
|
-
},
|
727
|
-
description=delegation_control_description,
|
728
|
-
freeform_tags={
|
729
|
-
"Department": "Finance",
|
730
|
-
},
|
731
|
-
is_auto_approve_during_maintenance=delegation_control_is_auto_approve_during_maintenance,
|
732
|
-
num_approvals_required=delegation_control_num_approvals_required,
|
733
|
-
pre_approved_service_provider_action_names=delegation_control_pre_approved_service_provider_action_names,
|
734
|
-
vault_id=test_vault["id"],
|
735
|
-
vault_key_id=test_key["id"])
|
736
|
-
```
|
737
|
-
|
738
|
-
## Import
|
739
|
-
|
740
|
-
DelegationControls can be imported using the `id`, e.g.
|
741
|
-
|
742
|
-
```sh
|
743
|
-
$ pulumi import oci:DelegateAccessControl/delegationControl:DelegationControl test_delegation_control "id"
|
744
|
-
```
|
745
|
-
|
746
|
-
:param str resource_name: The name of the resource.
|
747
|
-
:param DelegationControlArgs args: The arguments to use to populate this resource's properties.
|
748
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
749
|
-
"""
|
750
|
-
...
|
751
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
752
|
-
resource_args, opts = _utilities.get_resource_args_opts(DelegationControlArgs, pulumi.ResourceOptions, *args, **kwargs)
|
753
|
-
if resource_args is not None:
|
754
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
755
|
-
else:
|
756
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
757
|
-
|
758
|
-
def _internal_init(__self__,
|
759
|
-
resource_name: str,
|
760
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
761
|
-
compartment_id: Optional[pulumi.Input[str]] = None,
|
762
|
-
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
763
|
-
delegation_subscription_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
764
|
-
description: Optional[pulumi.Input[str]] = None,
|
765
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
766
|
-
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
767
|
-
is_auto_approve_during_maintenance: Optional[pulumi.Input[bool]] = None,
|
768
|
-
notification_message_format: Optional[pulumi.Input[str]] = None,
|
769
|
-
notification_topic_id: Optional[pulumi.Input[str]] = None,
|
770
|
-
num_approvals_required: Optional[pulumi.Input[int]] = None,
|
771
|
-
pre_approved_service_provider_action_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
772
|
-
resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
773
|
-
resource_type: Optional[pulumi.Input[str]] = None,
|
774
|
-
vault_id: Optional[pulumi.Input[str]] = None,
|
775
|
-
vault_key_id: Optional[pulumi.Input[str]] = None,
|
776
|
-
__props__=None):
|
777
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
778
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
779
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
780
|
-
if opts.id is None:
|
781
|
-
if __props__ is not None:
|
782
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
783
|
-
__props__ = DelegationControlArgs.__new__(DelegationControlArgs)
|
784
|
-
|
785
|
-
if compartment_id is None and not opts.urn:
|
786
|
-
raise TypeError("Missing required property 'compartment_id'")
|
787
|
-
__props__.__dict__["compartment_id"] = compartment_id
|
788
|
-
__props__.__dict__["defined_tags"] = defined_tags
|
789
|
-
if delegation_subscription_ids is None and not opts.urn:
|
790
|
-
raise TypeError("Missing required property 'delegation_subscription_ids'")
|
791
|
-
__props__.__dict__["delegation_subscription_ids"] = delegation_subscription_ids
|
792
|
-
__props__.__dict__["description"] = description
|
793
|
-
if display_name is None and not opts.urn:
|
794
|
-
raise TypeError("Missing required property 'display_name'")
|
795
|
-
__props__.__dict__["display_name"] = display_name
|
796
|
-
__props__.__dict__["freeform_tags"] = freeform_tags
|
797
|
-
__props__.__dict__["is_auto_approve_during_maintenance"] = is_auto_approve_during_maintenance
|
798
|
-
if notification_message_format is None and not opts.urn:
|
799
|
-
raise TypeError("Missing required property 'notification_message_format'")
|
800
|
-
__props__.__dict__["notification_message_format"] = notification_message_format
|
801
|
-
if notification_topic_id is None and not opts.urn:
|
802
|
-
raise TypeError("Missing required property 'notification_topic_id'")
|
803
|
-
__props__.__dict__["notification_topic_id"] = notification_topic_id
|
804
|
-
__props__.__dict__["num_approvals_required"] = num_approvals_required
|
805
|
-
__props__.__dict__["pre_approved_service_provider_action_names"] = pre_approved_service_provider_action_names
|
806
|
-
if resource_ids is None and not opts.urn:
|
807
|
-
raise TypeError("Missing required property 'resource_ids'")
|
808
|
-
__props__.__dict__["resource_ids"] = resource_ids
|
809
|
-
if resource_type is None and not opts.urn:
|
810
|
-
raise TypeError("Missing required property 'resource_type'")
|
811
|
-
__props__.__dict__["resource_type"] = resource_type
|
812
|
-
__props__.__dict__["vault_id"] = vault_id
|
813
|
-
__props__.__dict__["vault_key_id"] = vault_key_id
|
814
|
-
__props__.__dict__["lifecycle_state_details"] = None
|
815
|
-
__props__.__dict__["state"] = None
|
816
|
-
__props__.__dict__["system_tags"] = None
|
817
|
-
__props__.__dict__["time_created"] = None
|
818
|
-
__props__.__dict__["time_deleted"] = None
|
819
|
-
__props__.__dict__["time_updated"] = None
|
820
|
-
super(DelegationControl, __self__).__init__(
|
821
|
-
'oci:DelegateAccessControl/delegationControl:DelegationControl',
|
822
|
-
resource_name,
|
823
|
-
__props__,
|
824
|
-
opts)
|
825
|
-
|
826
|
-
@staticmethod
|
827
|
-
def get(resource_name: str,
|
828
|
-
id: pulumi.Input[str],
|
829
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
830
|
-
compartment_id: Optional[pulumi.Input[str]] = None,
|
831
|
-
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
832
|
-
delegation_subscription_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
833
|
-
description: Optional[pulumi.Input[str]] = None,
|
834
|
-
display_name: Optional[pulumi.Input[str]] = None,
|
835
|
-
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
836
|
-
is_auto_approve_during_maintenance: Optional[pulumi.Input[bool]] = None,
|
837
|
-
lifecycle_state_details: Optional[pulumi.Input[str]] = None,
|
838
|
-
notification_message_format: Optional[pulumi.Input[str]] = None,
|
839
|
-
notification_topic_id: Optional[pulumi.Input[str]] = None,
|
840
|
-
num_approvals_required: Optional[pulumi.Input[int]] = None,
|
841
|
-
pre_approved_service_provider_action_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
842
|
-
resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
843
|
-
resource_type: Optional[pulumi.Input[str]] = None,
|
844
|
-
state: Optional[pulumi.Input[str]] = None,
|
845
|
-
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
846
|
-
time_created: Optional[pulumi.Input[str]] = None,
|
847
|
-
time_deleted: Optional[pulumi.Input[str]] = None,
|
848
|
-
time_updated: Optional[pulumi.Input[str]] = None,
|
849
|
-
vault_id: Optional[pulumi.Input[str]] = None,
|
850
|
-
vault_key_id: Optional[pulumi.Input[str]] = None) -> 'DelegationControl':
|
851
|
-
"""
|
852
|
-
Get an existing DelegationControl resource's state with the given name, id, and optional extra
|
853
|
-
properties used to qualify the lookup.
|
854
|
-
|
855
|
-
:param str resource_name: The unique name of the resulting resource.
|
856
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
857
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
858
|
-
:param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment that contains this Delegation Control.
|
859
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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"}`
|
860
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] delegation_subscription_ids: (Updatable) 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.
|
861
|
-
:param pulumi.Input[str] description: (Updatable) Description of the Delegation Control.
|
862
|
-
:param pulumi.Input[str] display_name: (Updatable) Name of the Delegation Control. The name does not need to be unique.
|
863
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
|
864
|
-
:param pulumi.Input[bool] is_auto_approve_during_maintenance: (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.
|
865
|
-
:param pulumi.Input[str] lifecycle_state_details: Description of the current lifecycle state in more detail.
|
866
|
-
:param pulumi.Input[str] notification_message_format: (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control.
|
867
|
-
:param pulumi.Input[str] notification_topic_id: (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
|
868
|
-
:param pulumi.Input[int] num_approvals_required: (Updatable) number of approvals required.
|
869
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] pre_approved_service_provider_action_names: (Updatable) 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.
|
870
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] resource_ids: (Updatable) The OCID of the selected resources that this Delegation Control is applicable to.
|
871
|
-
:param pulumi.Input[str] resource_type: Resource type for which the Delegation Control is applicable to.
|
872
|
-
:param pulumi.Input[str] state: The current lifecycle state of the Delegation Control.
|
873
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
874
|
-
:param pulumi.Input[str] time_created: 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'
|
875
|
-
:param pulumi.Input[str] time_deleted: 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.
|
876
|
-
:param pulumi.Input[str] time_updated: 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'
|
877
|
-
:param pulumi.Input[str] vault_id: 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.
|
878
|
-
:param pulumi.Input[str] vault_key_id: 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.
|
879
|
-
|
880
|
-
|
881
|
-
** IMPORTANT **
|
882
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
883
|
-
"""
|
884
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
885
|
-
|
886
|
-
__props__ = _DelegationControlState.__new__(_DelegationControlState)
|
887
|
-
|
888
|
-
__props__.__dict__["compartment_id"] = compartment_id
|
889
|
-
__props__.__dict__["defined_tags"] = defined_tags
|
890
|
-
__props__.__dict__["delegation_subscription_ids"] = delegation_subscription_ids
|
891
|
-
__props__.__dict__["description"] = description
|
892
|
-
__props__.__dict__["display_name"] = display_name
|
893
|
-
__props__.__dict__["freeform_tags"] = freeform_tags
|
894
|
-
__props__.__dict__["is_auto_approve_during_maintenance"] = is_auto_approve_during_maintenance
|
895
|
-
__props__.__dict__["lifecycle_state_details"] = lifecycle_state_details
|
896
|
-
__props__.__dict__["notification_message_format"] = notification_message_format
|
897
|
-
__props__.__dict__["notification_topic_id"] = notification_topic_id
|
898
|
-
__props__.__dict__["num_approvals_required"] = num_approvals_required
|
899
|
-
__props__.__dict__["pre_approved_service_provider_action_names"] = pre_approved_service_provider_action_names
|
900
|
-
__props__.__dict__["resource_ids"] = resource_ids
|
901
|
-
__props__.__dict__["resource_type"] = resource_type
|
902
|
-
__props__.__dict__["state"] = state
|
903
|
-
__props__.__dict__["system_tags"] = system_tags
|
904
|
-
__props__.__dict__["time_created"] = time_created
|
905
|
-
__props__.__dict__["time_deleted"] = time_deleted
|
906
|
-
__props__.__dict__["time_updated"] = time_updated
|
907
|
-
__props__.__dict__["vault_id"] = vault_id
|
908
|
-
__props__.__dict__["vault_key_id"] = vault_key_id
|
909
|
-
return DelegationControl(resource_name, opts=opts, __props__=__props__)
|
910
|
-
|
911
|
-
@property
|
912
|
-
@pulumi.getter(name="compartmentId")
|
913
|
-
def compartment_id(self) -> pulumi.Output[str]:
|
914
|
-
"""
|
915
|
-
(Updatable) The OCID of the compartment that contains this Delegation Control.
|
916
|
-
"""
|
917
|
-
return pulumi.get(self, "compartment_id")
|
918
|
-
|
919
|
-
@property
|
920
|
-
@pulumi.getter(name="definedTags")
|
921
|
-
def defined_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
922
|
-
"""
|
923
|
-
(Updatable) 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"}`
|
924
|
-
"""
|
925
|
-
return pulumi.get(self, "defined_tags")
|
926
|
-
|
927
|
-
@property
|
928
|
-
@pulumi.getter(name="delegationSubscriptionIds")
|
929
|
-
def delegation_subscription_ids(self) -> pulumi.Output[Sequence[str]]:
|
930
|
-
"""
|
931
|
-
(Updatable) 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.
|
932
|
-
"""
|
933
|
-
return pulumi.get(self, "delegation_subscription_ids")
|
934
|
-
|
935
|
-
@property
|
936
|
-
@pulumi.getter
|
937
|
-
def description(self) -> pulumi.Output[str]:
|
938
|
-
"""
|
939
|
-
(Updatable) Description of the Delegation Control.
|
940
|
-
"""
|
941
|
-
return pulumi.get(self, "description")
|
942
|
-
|
943
|
-
@property
|
944
|
-
@pulumi.getter(name="displayName")
|
945
|
-
def display_name(self) -> pulumi.Output[str]:
|
946
|
-
"""
|
947
|
-
(Updatable) Name of the Delegation Control. The name does not need to be unique.
|
948
|
-
"""
|
949
|
-
return pulumi.get(self, "display_name")
|
950
|
-
|
951
|
-
@property
|
952
|
-
@pulumi.getter(name="freeformTags")
|
953
|
-
def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
954
|
-
"""
|
955
|
-
(Updatable) 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"}`
|
956
|
-
"""
|
957
|
-
return pulumi.get(self, "freeform_tags")
|
958
|
-
|
959
|
-
@property
|
960
|
-
@pulumi.getter(name="isAutoApproveDuringMaintenance")
|
961
|
-
def is_auto_approve_during_maintenance(self) -> pulumi.Output[bool]:
|
962
|
-
"""
|
963
|
-
(Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.
|
964
|
-
"""
|
965
|
-
return pulumi.get(self, "is_auto_approve_during_maintenance")
|
966
|
-
|
967
|
-
@property
|
968
|
-
@pulumi.getter(name="lifecycleStateDetails")
|
969
|
-
def lifecycle_state_details(self) -> pulumi.Output[str]:
|
970
|
-
"""
|
971
|
-
Description of the current lifecycle state in more detail.
|
972
|
-
"""
|
973
|
-
return pulumi.get(self, "lifecycle_state_details")
|
974
|
-
|
975
|
-
@property
|
976
|
-
@pulumi.getter(name="notificationMessageFormat")
|
977
|
-
def notification_message_format(self) -> pulumi.Output[str]:
|
978
|
-
"""
|
979
|
-
(Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control.
|
980
|
-
"""
|
981
|
-
return pulumi.get(self, "notification_message_format")
|
982
|
-
|
983
|
-
@property
|
984
|
-
@pulumi.getter(name="notificationTopicId")
|
985
|
-
def notification_topic_id(self) -> pulumi.Output[str]:
|
986
|
-
"""
|
987
|
-
(Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
|
988
|
-
"""
|
989
|
-
return pulumi.get(self, "notification_topic_id")
|
990
|
-
|
991
|
-
@property
|
992
|
-
@pulumi.getter(name="numApprovalsRequired")
|
993
|
-
def num_approvals_required(self) -> pulumi.Output[int]:
|
994
|
-
"""
|
995
|
-
(Updatable) number of approvals required.
|
996
|
-
"""
|
997
|
-
return pulumi.get(self, "num_approvals_required")
|
998
|
-
|
999
|
-
@property
|
1000
|
-
@pulumi.getter(name="preApprovedServiceProviderActionNames")
|
1001
|
-
def pre_approved_service_provider_action_names(self) -> pulumi.Output[Sequence[str]]:
|
1002
|
-
"""
|
1003
|
-
(Updatable) 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.
|
1004
|
-
"""
|
1005
|
-
return pulumi.get(self, "pre_approved_service_provider_action_names")
|
1006
|
-
|
1007
|
-
@property
|
1008
|
-
@pulumi.getter(name="resourceIds")
|
1009
|
-
def resource_ids(self) -> pulumi.Output[Sequence[str]]:
|
1010
|
-
"""
|
1011
|
-
(Updatable) The OCID of the selected resources that this Delegation Control is applicable to.
|
1012
|
-
"""
|
1013
|
-
return pulumi.get(self, "resource_ids")
|
1014
|
-
|
1015
|
-
@property
|
1016
|
-
@pulumi.getter(name="resourceType")
|
1017
|
-
def resource_type(self) -> pulumi.Output[str]:
|
1018
|
-
"""
|
1019
|
-
Resource type for which the Delegation Control is applicable to.
|
1020
|
-
"""
|
1021
|
-
return pulumi.get(self, "resource_type")
|
1022
|
-
|
1023
|
-
@property
|
1024
|
-
@pulumi.getter
|
1025
|
-
def state(self) -> pulumi.Output[str]:
|
1026
|
-
"""
|
1027
|
-
The current lifecycle state of the Delegation Control.
|
1028
|
-
"""
|
1029
|
-
return pulumi.get(self, "state")
|
1030
|
-
|
1031
|
-
@property
|
1032
|
-
@pulumi.getter(name="systemTags")
|
1033
|
-
def system_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
1034
|
-
"""
|
1035
|
-
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
1036
|
-
"""
|
1037
|
-
return pulumi.get(self, "system_tags")
|
1038
|
-
|
1039
|
-
@property
|
1040
|
-
@pulumi.getter(name="timeCreated")
|
1041
|
-
def time_created(self) -> pulumi.Output[str]:
|
1042
|
-
"""
|
1043
|
-
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'
|
1044
|
-
"""
|
1045
|
-
return pulumi.get(self, "time_created")
|
1046
|
-
|
1047
|
-
@property
|
1048
|
-
@pulumi.getter(name="timeDeleted")
|
1049
|
-
def time_deleted(self) -> pulumi.Output[str]:
|
1050
|
-
"""
|
1051
|
-
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.
|
1052
|
-
"""
|
1053
|
-
return pulumi.get(self, "time_deleted")
|
1054
|
-
|
1055
|
-
@property
|
1056
|
-
@pulumi.getter(name="timeUpdated")
|
1057
|
-
def time_updated(self) -> pulumi.Output[str]:
|
1058
|
-
"""
|
1059
|
-
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'
|
1060
|
-
"""
|
1061
|
-
return pulumi.get(self, "time_updated")
|
1062
|
-
|
1063
|
-
@property
|
1064
|
-
@pulumi.getter(name="vaultId")
|
1065
|
-
def vault_id(self) -> pulumi.Output[str]:
|
1066
|
-
"""
|
1067
|
-
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.
|
1068
|
-
"""
|
1069
|
-
return pulumi.get(self, "vault_id")
|
1070
|
-
|
1071
|
-
@property
|
1072
|
-
@pulumi.getter(name="vaultKeyId")
|
1073
|
-
def vault_key_id(self) -> pulumi.Output[str]:
|
1074
|
-
"""
|
1075
|
-
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.
|
1076
|
-
|
1077
|
-
|
1078
|
-
** IMPORTANT **
|
1079
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
1080
|
-
"""
|
1081
|
-
return pulumi.get(self, "vault_key_id")
|
1082
|
-
|