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.
Returns a list of FleetResources.
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
tenancy_id = oci_identity_tenancy.test_tenancy.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 identifierfleet_resource_type
- (Optional) A filter to return resources that match the Typeid
- (Optional) unique FleetResource identifierstate
- (Optional) A filter to return only resources their lifecycleState matches the given lifecycleState.tenancy_id
- (Optional) Resource Tenancy Id
Attributes Reference
The following attributes are exported:
fleet_resource_collection
- The list of fleet_resource_collection.
FleetResource Reference
The following attributes are exported:
application_type
- Application Type associated with the resource when resource type is fleet.Will only be returned for ENVIRONMENT fleets that are part of a GROUP Fleet.
compartment
- Resource Compartmentcompartment_id
- OCID of the compartment to which the resource belongs to.compliance_state
- Compliance State of the Resourcedisplay_name
- A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information. Example:My new resource
environment_type
- Environment Type associated with the Fleet when 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.product
- Product associated with the resource when resource type is fleet.Will only be returned for PRODUCT fleets that are part of a GROUP Fleetproduct_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 Nametime_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.