UpdateDelegationControlDetails

class oci.delegate_access_control.models.UpdateDelegationControlDetails(**kwargs)

Bases: object

Information about the new Delegation Control.

Methods:

__init__(**kwargs)

Initializes a new UpdateDelegationControlDetails object with values from keyword arguments.

Attributes:

defined_tags

Gets the defined_tags of this UpdateDelegationControlDetails.

delegation_subscription_ids

Gets the delegation_subscription_ids of this UpdateDelegationControlDetails.

description

Gets the description of this UpdateDelegationControlDetails.

display_name

Gets the display_name of this UpdateDelegationControlDetails.

freeform_tags

Gets the freeform_tags of this UpdateDelegationControlDetails.

is_auto_approve_during_maintenance

Gets the is_auto_approve_during_maintenance of this UpdateDelegationControlDetails.

notification_message_format

Gets the notification_message_format of this UpdateDelegationControlDetails.

notification_topic_id

Gets the notification_topic_id of this UpdateDelegationControlDetails.

num_approvals_required

Gets the num_approvals_required of this UpdateDelegationControlDetails.

pre_approved_service_provider_action_names

Gets the pre_approved_service_provider_action_names of this UpdateDelegationControlDetails.

resource_ids

Gets the resource_ids of this UpdateDelegationControlDetails.

__init__(**kwargs)

Initializes a new UpdateDelegationControlDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • display_name (str) – The value to assign to the display_name property of this UpdateDelegationControlDetails.

  • description (str) – The value to assign to the description property of this UpdateDelegationControlDetails.

  • num_approvals_required (int) – The value to assign to the num_approvals_required property of this UpdateDelegationControlDetails.

  • delegation_subscription_ids (list[str]) – The value to assign to the delegation_subscription_ids property of this UpdateDelegationControlDetails.

  • is_auto_approve_during_maintenance (bool) – The value to assign to the is_auto_approve_during_maintenance property of this UpdateDelegationControlDetails.

  • resource_ids (list[str]) – The value to assign to the resource_ids property of this UpdateDelegationControlDetails.

  • pre_approved_service_provider_action_names (list[str]) – The value to assign to the pre_approved_service_provider_action_names property of this UpdateDelegationControlDetails.

  • notification_topic_id (str) – The value to assign to the notification_topic_id property of this UpdateDelegationControlDetails.

  • notification_message_format (str) – The value to assign to the notification_message_format property of this UpdateDelegationControlDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateDelegationControlDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateDelegationControlDetails.

property defined_tags

Gets the defined_tags of this UpdateDelegationControlDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {“Operations”: {“CostCenter”: “42”}}

Returns

The defined_tags of this UpdateDelegationControlDetails.

Return type

dict(str, dict(str, object))

property delegation_subscription_ids

Gets the delegation_subscription_ids of this UpdateDelegationControlDetails. 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.

Returns

The delegation_subscription_ids of this UpdateDelegationControlDetails.

Return type

list[str]

property description

Gets the description of this UpdateDelegationControlDetails. Description of the Delegation Control.

Returns

The description of this UpdateDelegationControlDetails.

Return type

str

property display_name

Gets the display_name of this UpdateDelegationControlDetails. Name of the Delegation Control. The name does not need to be unique.

Returns

The display_name of this UpdateDelegationControlDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this UpdateDelegationControlDetails. 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.

Example: {“Department”: “Finance”}

Returns

The freeform_tags of this UpdateDelegationControlDetails.

Return type

dict(str, str)

property is_auto_approve_during_maintenance

Gets the is_auto_approve_during_maintenance of this UpdateDelegationControlDetails. Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.

Returns

The is_auto_approve_during_maintenance of this UpdateDelegationControlDetails.

Return type

bool

property notification_message_format

Gets the notification_message_format of this UpdateDelegationControlDetails. The format of the OCI Notification messages for this Delegation Control.

Returns

The notification_message_format of this UpdateDelegationControlDetails.

Return type

str

property notification_topic_id

Gets the notification_topic_id of this UpdateDelegationControlDetails. The OCID of the OCI Notification topic to publish messages related to this Delegation Control.

Returns

The notification_topic_id of this UpdateDelegationControlDetails.

Return type

str

property num_approvals_required

Gets the num_approvals_required of this UpdateDelegationControlDetails. number of approvals required.

Returns

The num_approvals_required of this UpdateDelegationControlDetails.

Return type

int

property pre_approved_service_provider_action_names

Gets the pre_approved_service_provider_action_names of this UpdateDelegationControlDetails. 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.

Returns

The pre_approved_service_provider_action_names of this UpdateDelegationControlDetails.

Return type

list[str]

property resource_ids

Gets the resource_ids of this UpdateDelegationControlDetails. The OCID of the selected resources that this Delegation Control is applicable to.

Returns

The resource_ids of this UpdateDelegationControlDetails.

Return type

list[str]