DiscoveredTarget¶
- class oci.fleet_apps_management.models.DiscoveredTarget(**kwargs)¶
Bases:
objectA target that is discovered by the Software discovery process.
Attributes:
A constant which can be used with the operation property of a DiscoveredTarget.
A constant which can be used with the operation property of a DiscoveredTarget.
Gets the operation of this DiscoveredTarget.
[Required] Gets the product of this DiscoveredTarget.
[Required] Gets the resource_id of this DiscoveredTarget.
[Required] Gets the target_id of this DiscoveredTarget.
[Required] Gets the target_name of this DiscoveredTarget.
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”
- property 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
- property product¶
[Required] Gets the product of this DiscoveredTarget. Product that the target belongs to.
- Returns
The product of this DiscoveredTarget.
- Return type
str
- property 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
- property 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
- property target_name¶
[Required] Gets the target_name of this DiscoveredTarget. Target Name.
- Returns
The target_name of this DiscoveredTarget.
- Return type
str
- property version¶
Gets the version of this DiscoveredTarget. Current version of the target.
- Returns
The version of this DiscoveredTarget.
- Return type
str