oci_fleet_apps_management_fleet_resource
This resource provides the Fleet Resource resource in Oracle Cloud Infrastructure Fleet Apps Management service.
Creates a new FleetResource.
Example Usage
resource "oci_fleet_apps_management_fleet_resource" "test_fleet_resource" {
#Required
compartment_id = var.compartment_id
fleet_id = oci_fleet_apps_management_fleet.test_fleet.id
resource_id = oci_cloud_guard_resource.test_resource.id
tenancy_id = oci_identity_tenancy.test_tenancy.id
#Optional
resource_region = var.fleet_resource_resource_region
resource_type = var.fleet_resource_resource_type
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) (Updatable) OCID of the compartment to which the resource belongs to.fleet_id
- (Required) unique Fleet identifierresource_id
- (Required) The OCID of the resource.resource_region
- (Optional) Associated regionresource_type
- (Optional) Type of the Resource.tenancy_id
- (Required) (Updatable) OCID of the tenancy to which the resource belongs to.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Attributes 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.
Timeouts
The timeouts
block allows you to specify timeouts for certain operations:
* create
- (Defaults to 20 minutes), when creating the Fleet Resource
* update
- (Defaults to 20 minutes), when updating the Fleet Resource
* delete
- (Defaults to 20 minutes), when destroying the Fleet Resource
Import
Import is not supported for this resource.