Data Source: oci_core_service_gateways

This data source provides the list of Service Gateways in Oracle Cloud Infrastructure Core service.

Lists the service gateways in the specified compartment. You may optionally specify a VCN OCID to filter the results by VCN.

Example Usage

data "oci_core_service_gateways" "test_service_gateways" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	state = var.service_gateway_state
	vcn_id = oci_core_vcn.test_vcn.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

ServiceGateway Reference

The following attributes are exported: