oci_ai_vision_project
This resource provides the Project resource in Oracle Cloud Infrastructure Ai Vision service.
Creates a new Project.
Example Usage
resource "oci_ai_vision_project" "test_project" {
#Required
compartment_id = var.compartment_id
#Optional
defined_tags = {"foo-namespace.bar-key"= "value"}
description = var.project_description
display_name = var.project_display_name
freeform_tags = {"bar-key"= "value"}
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) (Updatable) Compartment Identifierdefined_tags
- (Optional) (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}
description
- (Optional) (Updatable) A short description of the project.display_name
- (Optional) (Updatable) Project Identifierfreeform_tags
- (Optional) (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}
** 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:
compartment_id
- Compartment Identifierdefined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}
description
- A short description of the project.display_name
- Project Identifier, can be renamedfreeform_tags
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}
id
- Unique identifier that is immutable on creationlifecycle_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.state
- The current state of the Project.system_tags
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:{"orcl-cloud.free-tier-retained": "true"}
time_created
- The time the Project was created. An RFC3339 formatted datetime stringtime_updated
- The time the Project was 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 Project
* update
- (Defaults to 20 minutes), when updating the Project
* delete
- (Defaults to 20 minutes), when destroying the Project
Import
Projects can be imported using the id
, e.g.
$ terraform import oci_ai_vision_project.test_project "id"