Data Source: oci_fleet_apps_management_fleet_resources
This data source provides the list of Fleet Resources in Oracle Cloud Infrastructure Fleet Apps Management service.
List resources for a fleet in Fleet Application Management.
Example Usage
data "oci_fleet_apps_management_fleet_resources" "test_fleet_resources" {
#Required
fleet_id = oci_fleet_apps_management_fleet.test_fleet.id
#Optional
display_name = var.fleet_resource_display_name
fleet_resource_type = var.fleet_resource_fleet_resource_type
id = var.fleet_resource_id
state = var.fleet_resource_state
}
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 identifier.fleet_resource_type- (Optional) A filter to return only resources whose resourceType matches the given resourceType.id- (Optional) A filter to return only resources whose identifier matches the given identifier.state- (Optional) A filter to return only resources whose lifecycleState matches the given lifecycleState.
Attributes Reference
The following attributes are exported:
fleet_resource_collection- The list of fleet_resource_collection.
FleetResource Reference
The following attributes are exported:
compartment- Resource Compartment name.compartment_id- OCID of the compartment to which the resource belongs to.compliance_state- Compliance State of the Resource.display_name- A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information. Example:My new resourceenvironment_type- Environment Type associated with the Fleet when the resource type is fleet. Will only be returned for ENVIRONMENT fleets that are part of a GROUP Fleet.id- The unique id of the resource.lifecycle_details- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.percent_compliant- The compliance percentage.product- Product associated with the resource when the resource type is fleet. Will only be returned for PRODUCT fleets that are part of a GROUP Fleet.product_count- Count of products within the resource.resource_id- The OCID of the resource.resource_region- Associated regionresource_type- Type of the Resource.state- The current state of the FleetResource.system_tags- System tags for this resource. Each key is predefined and scoped to a namespace. Example:{"orcl-cloud.free-tier-retained": "true"}target_count- Count of targets within the resource.tenancy_id- OCID of the tenancy to which the resource belongs to.tenancy_name- Resource Tenancy Name.time_created- The time this resource was created. An RFC3339 formatted datetime string.time_updated- The time this resource was last updated. An RFC3339 formatted datetime string.