oci_ocvp_management_appliance

This resource provides the Management Appliance resource in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/vmware/latest/ManagementAppliance

Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/ocvp

Creates a management appliance.

Example Usage

resource "oci_ocvp_management_appliance" "test_management_appliance" {
	#Required
	configuration {
		#Required
		is_log_ingestion_enabled = var.management_appliance_configuration_is_log_ingestion_enabled
		is_metrics_collection_enabled = var.management_appliance_configuration_is_metrics_collection_enabled

		#Optional
		metrics = var.management_appliance_configuration_metrics
		support_bundle_bucket_id = oci_objectstorage_bucket.test_bucket.id
	}
	connections {
		#Required
		credentials_secret_id = oci_vault_secret.test_secret.id
		type = var.management_appliance_connections_type
	}
	display_name = var.management_appliance_display_name
	sddc_id = oci_ocvp_sddc.test_sddc.id

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	freeform_tags = {"Department"= "Finance"}
	public_ssh_keys = var.management_appliance_public_ssh_keys
}

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 Management Appliance * update - (Defaults to 20 minutes), when updating the Management Appliance * delete - (Defaults to 20 minutes), when destroying the Management Appliance

Import

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

$ terraform import oci_ocvp_management_appliance.test_management_appliance "id"