Data Source: oci_fleet_apps_management_fleet_targets
This data source provides the list of Fleet Targets in Oracle Cloud Infrastructure Fleet Apps Management service.
Returns a list of FleetTargets.
Example Usage
data "oci_fleet_apps_management_fleet_targets" "test_fleet_targets" {
#Required
fleet_id = oci_fleet_apps_management_fleet.test_fleet.id
#Optional
display_name = var.fleet_target_display_name
product = var.fleet_target_product
resource_display_name = var.fleet_target_resource_display_name
resource_id = oci_cloud_guard_resource.test_resource.id
}
Argument Reference
The following arguments are supported:
display_name
- (Optional) A filter to return only resources that match the entire display name given.fleet_id
- (Required) unique Fleet identifierproduct
- (Optional) Product Nameresource_display_name
- (Optional) Resource Display Nameresource_id
- (Optional) Resource Identifier
Attributes Reference
The following attributes are exported:
fleet_target_collection
- The list of fleet_target_collection.
FleetTarget Reference
The following attributes are exported:
items
- List of fleetTargets.compartment_id
- Tenancy OCIDcompliance_state
- Last known compliance state of Target.display_name
- A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information. Example:My new resource
id
- The OCID of the resource.product
- Product to which the target belongs to.resource
- Resource Information for the Targetresource_display_name
- A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information. Example:My new resource
resource_id
- The OCID of the resource.
state
- The current state of the FleetTarget.system_tags
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:{"orcl-cloud.free-tier-retained": "true"}
version
- Current version of Target