DiscoveredTarget

class oci.fleet_apps_management.models.DiscoveredTarget(**kwargs)

Bases: object

A target that is discovered by the Software discovery process.

Attributes

OPERATION_ADD A constant which can be used with the operation property of a DiscoveredTarget.
OPERATION_REMOVE A constant which can be used with the operation property of a DiscoveredTarget.
operation Gets the operation of this DiscoveredTarget.
product [Required] Gets the product of this DiscoveredTarget.
resource_id [Required] Gets the resource_id of this DiscoveredTarget.
target_id [Required] Gets the target_id of this DiscoveredTarget.
target_name [Required] Gets the target_name of this DiscoveredTarget.
version Gets the version of this DiscoveredTarget.

Methods

__init__(**kwargs) Initializes a new DiscoveredTarget object with values from keyword arguments.
OPERATION_ADD = 'ADD'

A constant which can be used with the operation property of a DiscoveredTarget. This constant has a value of “ADD”

OPERATION_REMOVE = 'REMOVE'

A constant which can be used with the operation property of a DiscoveredTarget. This constant has a value of “REMOVE”

__init__(**kwargs)

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

Parameters:
  • target_id (str) – The value to assign to the target_id property of this DiscoveredTarget.
  • target_name (str) – The value to assign to the target_name property of this DiscoveredTarget.
  • product (str) – The value to assign to the product property of this DiscoveredTarget.
  • resource_id (str) – The value to assign to the resource_id property of this DiscoveredTarget.
  • version (str) – The value to assign to the version property of this DiscoveredTarget.
  • operation (str) – The value to assign to the operation property of this DiscoveredTarget. Allowed values for this property are: “ADD”, “REMOVE”
operation

Gets the operation of this DiscoveredTarget. Type of operation to be done against given target. ADD - Add target. REMOVE - Delete target.

Allowed values for this property are: “ADD”, “REMOVE”

Returns:The operation of this DiscoveredTarget.
Return type:str
product

[Required] Gets the product of this DiscoveredTarget. Product that the target belongs to.

Returns:The product of this DiscoveredTarget.
Return type:str
resource_id

[Required] Gets the resource_id of this DiscoveredTarget. Unique key that identifies the resource that the target belongs to.

Returns:The resource_id of this DiscoveredTarget.
Return type:str
target_id

[Required] Gets the target_id of this DiscoveredTarget. ID of the Target. Can be the target name if a separate ID is not available.

Returns:The target_id of this DiscoveredTarget.
Return type:str
target_name

[Required] Gets the target_name of this DiscoveredTarget. Target Name.

Returns:The target_name of this DiscoveredTarget.
Return type:str
version

Gets the version of this DiscoveredTarget. Current version of the target.

Returns:The version of this DiscoveredTarget.
Return type:str