oci_capacity_management_internal_occ_capacity_request

This resource provides the Internal Occ Capacity Request resource in Oracle Cloud Infrastructure Capacity Management service.

The internal api to update the capacity request. This api will be used by operators for updating the capacity request to either completed, resubmitted or rejected.

Example Usage

resource "oci_capacity_management_internal_occ_capacity_request" "test_internal_occ_capacity_request" {
    #Required
    occ_capacity_request_id = oci_capacity_management_occ_capacity_request.test_occ_capacity_request.id

    #Optional
    lifecycle_details = var.internal_occ_capacity_request_lifecycle_details
    request_state = var.internal_occ_capacity_request_request_state
}

Argument Reference

The following arguments are supported:

* 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:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Internal Occ Capacity Request * update - (Defaults to 20 minutes), when updating the Internal Occ Capacity Request * delete - (Defaults to 20 minutes), when destroying the Internal Occ Capacity Request

Import

InternalOccCapacityRequests can be imported using the id, e.g.

$ terraform import oci_capacity_management_internal_occ_capacity_request.test_internal_occ_capacity_request "internal/occCapacityRequests/{occCapacityRequestId}/compartmentId/{compartmentId}"