» Data Source: oci_database_vm_cluster_recommended_network

This data source provides details about a specific Vm Cluster Recommended Network resource in Oracle Cloud Infrastructure Database service.

Generates a recommended VM cluster network configuration.

» Example Usage

data "oci_database_vm_cluster_recommended_network" "test_vm_cluster_recommended_network" {
    #Required
    compartment_id = "${var.compartment_id}"
    display_name = "${var.vm_cluster_recommended_network_display_name}"
    exadata_infrastructure_id = "${oci_database_exadata_infrastructure.test_exadata_infrastructure.id}"
    networks {
        #Required
        cidr = "${var.vm_cluster_recommended_network_networks_cidr}"
        domain = "${var.vm_cluster_recommended_network_networks_domain}"
        gateway = "${var.vm_cluster_recommended_network_networks_gateway}"
        netmask = "${var.vm_cluster_recommended_network_networks_netmask}"
        network_type = "${var.vm_cluster_recommended_network_networks_network_type}"
        prefix = "${var.vm_cluster_recommended_network_networks_prefix}"
        vlan_id = "${oci_database_vlan.test_vlan.id}"
    }

    #Optional
    defined_tags = "${map("${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag1.name}", "${var.vm_cluster_recommended_network_defined_tags_value}")}"
    dns = "${var.vm_cluster_recommended_network_dns}"
    freeform_tags = "${var.vm_cluster_recommended_network_freeform_tags}"
    ntp = "${var.vm_cluster_recommended_network_ntp}"
}

» Argument Reference

The following arguments are supported:

  • compartment_id - (Required) The OCID of the compartment.
  • defined_tags - (Optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
  • display_name - (Required) The user-friendly name for the VM cluster network. The name does not need to be unique.
  • dns - (Optional) The list of DNS server IP addresses. Maximum of 3 allowed.
  • exadata_infrastructure_id - (Required) The Exadata infrastructure OCID.
  • freeform_tags - (Optional) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
  • networks - (Required) List of parameters for generation of the client and backup networks.
    • cidr - (Required) The cidr for the network.
    • domain - (Required) The network domain name.
    • gateway - (Required) The network gateway.
    • netmask - (Required) The network netmask.
    • network_type - (Required) The network type.
    • prefix - (Required) The network domain name.
    • vlan_id - (Required) The network VLAN ID.
  • ntp - (Optional) The list of NTP server IP addresses. Maximum of 3 allowed.

» Attributes Reference

The following attributes are exported:

  • compartment_id - The OCID of the compartment.
  • defined_tags - Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
  • display_name - The user-friendly name for the VM cluster network. The name does not need to be unique.
  • dns - The list of DNS server IP addresses. Maximum of 3 allowed.
  • freeform_tags - Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
  • ntp - The list of NTP server IP addresses. Maximum of 3 allowed.
  • scans - The SCAN details.
    • hostname - The SCAN hostname.
    • ips - The list of SCAN IP addresses. Three addresses should be provided.
    • port - The SCAN port. Default is 1521.
  • vm_networks - Details of the client and backup networks.