» Data Source: oci_identity_network_sources

This data source provides the list of Network Sources in Oracle Cloud Infrastructure Identity service.

Lists the network sources in your tenancy. You must specify your tenancy's OCID as the value for the compartment ID (remember that the tenancy is simply the root compartment). See Where to Get the Tenancy's OCID and User's OCID.

» Example Usage

data "oci_identity_network_sources" "test_network_sources" {
    #Required
    compartment_id = "${var.tenancy_ocid}"
}

» Argument Reference

The following arguments are supported:

  • compartment_id - (Required) The OCID of the compartment (remember that the tenancy is simply the root compartment).

» Attributes Reference

The following attributes are exported:

» NetworkSource Reference

The following attributes are exported:

  • compartment_id - The OCID of the tenancy containing the network source.
  • defined_tags - Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
  • description - The description you assign to the network source. Does not have to be unique, and it's changeable.
  • 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"}
  • id - The OCID of the network source.
  • inactive_state - The detailed status of INACTIVE lifecycleState.
  • name - The name you assign to the network source during creation. The name must be unique across the tenancy and cannot be changed.
  • public_source_list - A list of allowed public IPs and CIDR ranges
  • services - A list of OCIservices allowed to make on behalf of requests which may have different source ips. At this time only the values of all or none are supported.
  • state - The network source object's current state. After creating a network source, make sure its lifecycleState changes from CREATING to ACTIVE before using it.
  • time_created - Date and time the group was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
  • virtual_source_list - A list of allowed VCN ocid/IP range pairs