oci_database_vm_cluster_network

This resource provides the Vm Cluster Network resource in Oracle Cloud Infrastructure Database service.

Creates the VM cluster network. Applies to Exadata Cloud@Customer instances only. To create a cloud VM cluster in an Exadata Cloud Service instance, use the CreateCloudVmCluster operation.

Example Usage

resource "oci_database_vm_cluster_network" "test_vm_cluster_network" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.vm_cluster_network_display_name
	exadata_infrastructure_id = oci_database_exadata_infrastructure.test_exadata_infrastructure.id
	scans {
		#Required
		hostname = var.vm_cluster_network_scans_hostname
		ips = var.vm_cluster_network_scans_ips

		#Optional
		port = var.vm_cluster_network_scans_port
		scan_listener_port_tcp = var.vm_cluster_network_scans_scan_listener_port_tcp
		scan_listener_port_tcp_ssl = var.vm_cluster_network_scans_scan_listener_port_tcp_ssl
	}
	vm_networks {
		#Required
		network_type = var.vm_cluster_network_vm_networks_network_type
		nodes {
			#Required
			hostname = var.vm_cluster_network_vm_networks_nodes_hostname
			ip = var.vm_cluster_network_vm_networks_nodes_ip

			#Optional
			db_server_id = oci_database_db_server.test_db_server.id
			state = var.vm_cluster_network_vm_networks_nodes_state
			vip = var.vm_cluster_network_vm_networks_nodes_vip
			vip_hostname = var.vm_cluster_network_vm_networks_nodes_vip_hostname
		}

		#Optional
		domain_name = oci_identity_domain.test_domain.name
		gateway = var.vm_cluster_network_vm_networks_gateway
		netmask = var.vm_cluster_network_vm_networks_netmask
		vlan_id = var.vm_cluster_network_vm_networks_vlan_id
	}

	#Optional
	defined_tags = var.vm_cluster_network_defined_tags
	dns = var.vm_cluster_network_dns
	dr_scans {
		#Required
		hostname = var.vm_cluster_network_dr_scans_hostname
		ips = var.vm_cluster_network_dr_scans_ips
		scan_listener_port_tcp = var.vm_cluster_network_dr_scans_scan_listener_port_tcp
	}
	freeform_tags = {"Department"= "Finance"}
	ntp = var.vm_cluster_network_ntp
	validate_vm_cluster_network = var.vm_cluster_network_validate_vm_cluster_network
}

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

Import

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

$ terraform import oci_database_vm_cluster_network.test_vm_cluster_network "exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks/{vmClusterNetworkId}"