UpdateTargetDetails

class oci.cloud_guard.models.UpdateTargetDetails(**kwargs)

Bases: object

The target information to be updated.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a UpdateTargetDetails.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a UpdateTargetDetails.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a UpdateTargetDetails.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a UpdateTargetDetails.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a UpdateTargetDetails.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a UpdateTargetDetails.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a UpdateTargetDetails.
defined_tags Gets the defined_tags of this UpdateTargetDetails.
display_name Gets the display_name of this UpdateTargetDetails.
freeform_tags Gets the freeform_tags of this UpdateTargetDetails.
lifecycle_state Gets the lifecycle_state of this UpdateTargetDetails.
target_detector_recipes Gets the target_detector_recipes of this UpdateTargetDetails.
target_responder_recipes Gets the target_responder_recipes of this UpdateTargetDetails.

Methods

__init__(**kwargs) Initializes a new UpdateTargetDetails object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a UpdateTargetDetails. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a UpdateTargetDetails. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a UpdateTargetDetails. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a UpdateTargetDetails. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a UpdateTargetDetails. This constant has a value of “FAILED”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a UpdateTargetDetails. This constant has a value of “INACTIVE”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a UpdateTargetDetails. This constant has a value of “UPDATING”

__init__(**kwargs)

Initializes a new UpdateTargetDetails 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 UpdateTargetDetails.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this UpdateTargetDetails. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”
  • target_detector_recipes (list[oci.cloud_guard.models.UpdateTargetDetectorRecipe]) – The value to assign to the target_detector_recipes property of this UpdateTargetDetails.
  • target_responder_recipes (list[oci.cloud_guard.models.UpdateTargetResponderRecipe]) – The value to assign to the target_responder_recipes property of this UpdateTargetDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateTargetDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateTargetDetails.
defined_tags

Gets the defined_tags of this UpdateTargetDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this UpdateTargetDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this UpdateTargetDetails. Display name of a target.

Avoid entering confidential information.

Returns:The display_name of this UpdateTargetDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdateTargetDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Avoid entering confidential information.

Returns:The freeform_tags of this UpdateTargetDetails.
Return type:dict(str, str)
lifecycle_state

Gets the lifecycle_state of this UpdateTargetDetails. The current lifecycle state of the Target.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”

Returns:The lifecycle_state of this UpdateTargetDetails.
Return type:str
target_detector_recipes

Gets the target_detector_recipes of this UpdateTargetDetails. The details of target detector recipes to be updated

Returns:The target_detector_recipes of this UpdateTargetDetails.
Return type:list[oci.cloud_guard.models.UpdateTargetDetectorRecipe]
target_responder_recipes

Gets the target_responder_recipes of this UpdateTargetDetails. The details of target responder recipes to be updated

Returns:The target_responder_recipes of this UpdateTargetDetails.
Return type:list[oci.cloud_guard.models.UpdateTargetResponderRecipe]