Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.Core.getIpInventoryVcnOverlaps
Explore with Pulumi AI
This data source provides the list of Ip Inventory Vcn Overlaps in Oracle Cloud Infrastructure Core service.
Gets the CIDR overlap information of the specified VCN in selected compartments. Specify the OCID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testIpInventoryVcnOverlaps = oci.Core.getIpInventoryVcnOverlaps({
    compartmentLists: ipInventoryVcnOverlapCompartmentList,
    regionLists: ipInventoryVcnOverlapRegionList,
    vcnId: testVcn.id,
});
import pulumi
import pulumi_oci as oci
test_ip_inventory_vcn_overlaps = oci.Core.get_ip_inventory_vcn_overlaps(compartment_lists=ip_inventory_vcn_overlap_compartment_list,
    region_lists=ip_inventory_vcn_overlap_region_list,
    vcn_id=test_vcn["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := core.GetIpInventoryVcnOverlaps(ctx, &core.GetIpInventoryVcnOverlapsArgs{
			CompartmentLists: ipInventoryVcnOverlapCompartmentList,
			RegionLists:      ipInventoryVcnOverlapRegionList,
			VcnId:            testVcn.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testIpInventoryVcnOverlaps = Oci.Core.GetIpInventoryVcnOverlaps.Invoke(new()
    {
        CompartmentLists = ipInventoryVcnOverlapCompartmentList,
        RegionLists = ipInventoryVcnOverlapRegionList,
        VcnId = testVcn.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.CoreFunctions;
import com.pulumi.oci.Core.inputs.GetIpInventoryVcnOverlapsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var testIpInventoryVcnOverlaps = CoreFunctions.getIpInventoryVcnOverlaps(GetIpInventoryVcnOverlapsArgs.builder()
            .compartmentLists(ipInventoryVcnOverlapCompartmentList)
            .regionLists(ipInventoryVcnOverlapRegionList)
            .vcnId(testVcn.id())
            .build());
    }
}
variables:
  testIpInventoryVcnOverlaps:
    fn::invoke:
      function: oci:Core:getIpInventoryVcnOverlaps
      arguments:
        compartmentLists: ${ipInventoryVcnOverlapCompartmentList}
        regionLists: ${ipInventoryVcnOverlapRegionList}
        vcnId: ${testVcn.id}
Using getIpInventoryVcnOverlaps
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getIpInventoryVcnOverlaps(args: GetIpInventoryVcnOverlapsArgs, opts?: InvokeOptions): Promise<GetIpInventoryVcnOverlapsResult>
function getIpInventoryVcnOverlapsOutput(args: GetIpInventoryVcnOverlapsOutputArgs, opts?: InvokeOptions): Output<GetIpInventoryVcnOverlapsResult>def get_ip_inventory_vcn_overlaps(compartment_lists: Optional[Sequence[str]] = None,
                                  filters: Optional[Sequence[_core.GetIpInventoryVcnOverlapsFilter]] = None,
                                  region_lists: Optional[Sequence[str]] = None,
                                  vcn_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetIpInventoryVcnOverlapsResult
def get_ip_inventory_vcn_overlaps_output(compartment_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                  filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetIpInventoryVcnOverlapsFilterArgs]]]] = None,
                                  region_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                  vcn_id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetIpInventoryVcnOverlapsResult]func GetIpInventoryVcnOverlaps(ctx *Context, args *GetIpInventoryVcnOverlapsArgs, opts ...InvokeOption) (*GetIpInventoryVcnOverlapsResult, error)
func GetIpInventoryVcnOverlapsOutput(ctx *Context, args *GetIpInventoryVcnOverlapsOutputArgs, opts ...InvokeOption) GetIpInventoryVcnOverlapsResultOutput> Note: This function is named GetIpInventoryVcnOverlaps in the Go SDK.
public static class GetIpInventoryVcnOverlaps 
{
    public static Task<GetIpInventoryVcnOverlapsResult> InvokeAsync(GetIpInventoryVcnOverlapsArgs args, InvokeOptions? opts = null)
    public static Output<GetIpInventoryVcnOverlapsResult> Invoke(GetIpInventoryVcnOverlapsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIpInventoryVcnOverlapsResult> getIpInventoryVcnOverlaps(GetIpInventoryVcnOverlapsArgs args, InvokeOptions options)
public static Output<GetIpInventoryVcnOverlapsResult> getIpInventoryVcnOverlaps(GetIpInventoryVcnOverlapsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Core/getIpInventoryVcnOverlaps:getIpInventoryVcnOverlaps
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentLists List<string>
- The list of OCID of the compartments.
- RegionLists List<string>
- Lists the selected regions.
- VcnId string
- Specify the OCID of the VCN.
- Filters
List<GetIp Inventory Vcn Overlaps Filter> 
- CompartmentLists []string
- The list of OCID of the compartments.
- RegionLists []string
- Lists the selected regions.
- VcnId string
- Specify the OCID of the VCN.
- Filters
[]GetIp Inventory Vcn Overlaps Filter 
- compartmentLists List<String>
- The list of OCID of the compartments.
- regionLists List<String>
- Lists the selected regions.
- vcnId String
- Specify the OCID of the VCN.
- filters
List<GetIp Inventory Vcn Overlaps Filter> 
- compartmentLists string[]
- The list of OCID of the compartments.
- regionLists string[]
- Lists the selected regions.
- vcnId string
- Specify the OCID of the VCN.
- filters
GetIp Inventory Vcn Overlaps Filter[] 
- compartment_lists Sequence[str]
- The list of OCID of the compartments.
- region_lists Sequence[str]
- Lists the selected regions.
- vcn_id str
- Specify the OCID of the VCN.
- filters
Sequence[core.Get Ip Inventory Vcn Overlaps Filter] 
- compartmentLists List<String>
- The list of OCID of the compartments.
- regionLists List<String>
- Lists the selected regions.
- vcnId String
- Specify the OCID of the VCN.
- filters List<Property Map>
getIpInventoryVcnOverlaps Result
The following output properties are available:
- CompartmentLists List<string>
- Id string
- The provider-assigned unique ID for this managed resource.
- IpInventory List<GetVcn Overlap Summaries Ip Inventory Vcn Overlaps Ip Inventory Vcn Overlap Summary> 
- Lists IpInventoryVcnOverlapSummaryobject.
- LastUpdated stringTimestamp 
- The timestamp of the latest update from the database in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- Message string
- Indicates the status of the data.
- OverlapCount int
- The overlap count for the given VCN and compartments.
- RegionLists List<string>
- VcnId string
- Filters
List<GetIp Inventory Vcn Overlaps Filter> 
- CompartmentLists []string
- Id string
- The provider-assigned unique ID for this managed resource.
- IpInventory []GetVcn Overlap Summaries Ip Inventory Vcn Overlaps Ip Inventory Vcn Overlap Summary 
- Lists IpInventoryVcnOverlapSummaryobject.
- LastUpdated stringTimestamp 
- The timestamp of the latest update from the database in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- Message string
- Indicates the status of the data.
- OverlapCount int
- The overlap count for the given VCN and compartments.
- RegionLists []string
- VcnId string
- Filters
[]GetIp Inventory Vcn Overlaps Filter 
- compartmentLists List<String>
- id String
- The provider-assigned unique ID for this managed resource.
- ipInventory List<GetVcn Overlap Summaries Ip Inventory Vcn Overlaps Ip Inventory Vcn Overlap Summary> 
- Lists IpInventoryVcnOverlapSummaryobject.
- lastUpdated StringTimestamp 
- The timestamp of the latest update from the database in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- message String
- Indicates the status of the data.
- overlapCount Integer
- The overlap count for the given VCN and compartments.
- regionLists List<String>
- vcnId String
- filters
List<GetIp Inventory Vcn Overlaps Filter> 
- compartmentLists string[]
- id string
- The provider-assigned unique ID for this managed resource.
- ipInventory GetVcn Overlap Summaries Ip Inventory Vcn Overlaps Ip Inventory Vcn Overlap Summary[] 
- Lists IpInventoryVcnOverlapSummaryobject.
- lastUpdated stringTimestamp 
- The timestamp of the latest update from the database in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- message string
- Indicates the status of the data.
- overlapCount number
- The overlap count for the given VCN and compartments.
- regionLists string[]
- vcnId string
- filters
GetIp Inventory Vcn Overlaps Filter[] 
- compartment_lists Sequence[str]
- id str
- The provider-assigned unique ID for this managed resource.
- ip_inventory_ Sequence[core.vcn_ overlap_ summaries Get Ip Inventory Vcn Overlaps Ip Inventory Vcn Overlap Summary] 
- Lists IpInventoryVcnOverlapSummaryobject.
- last_updated_ strtimestamp 
- The timestamp of the latest update from the database in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- message str
- Indicates the status of the data.
- overlap_count int
- The overlap count for the given VCN and compartments.
- region_lists Sequence[str]
- vcn_id str
- filters
Sequence[core.Get Ip Inventory Vcn Overlaps Filter] 
- compartmentLists List<String>
- id String
- The provider-assigned unique ID for this managed resource.
- ipInventory List<Property Map>Vcn Overlap Summaries 
- Lists IpInventoryVcnOverlapSummaryobject.
- lastUpdated StringTimestamp 
- The timestamp of the latest update from the database in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- message String
- Indicates the status of the data.
- overlapCount Number
- The overlap count for the given VCN and compartments.
- regionLists List<String>
- vcnId String
- filters List<Property Map>
Supporting Types
GetIpInventoryVcnOverlapsFilter     
GetIpInventoryVcnOverlapsIpInventoryVcnOverlapSummary         
- Cidr string
- CIDR prefix of the VCN.
- OverlappingCidr string
- The overlapping CIDR prefix.
- OverlappingVcn stringId 
- The OCID of the VCN .
- OverlappingVcn stringName 
- Name of the overlapping VCN.
- Cidr string
- CIDR prefix of the VCN.
- OverlappingCidr string
- The overlapping CIDR prefix.
- OverlappingVcn stringId 
- The OCID of the VCN .
- OverlappingVcn stringName 
- Name of the overlapping VCN.
- cidr String
- CIDR prefix of the VCN.
- overlappingCidr String
- The overlapping CIDR prefix.
- overlappingVcn StringId 
- The OCID of the VCN .
- overlappingVcn StringName 
- Name of the overlapping VCN.
- cidr string
- CIDR prefix of the VCN.
- overlappingCidr string
- The overlapping CIDR prefix.
- overlappingVcn stringId 
- The OCID of the VCN .
- overlappingVcn stringName 
- Name of the overlapping VCN.
- cidr str
- CIDR prefix of the VCN.
- overlapping_cidr str
- The overlapping CIDR prefix.
- overlapping_vcn_ strid 
- The OCID of the VCN .
- overlapping_vcn_ strname 
- Name of the overlapping VCN.
- cidr String
- CIDR prefix of the VCN.
- overlappingCidr String
- The overlapping CIDR prefix.
- overlappingVcn StringId 
- The OCID of the VCN .
- overlappingVcn StringName 
- Name of the overlapping VCN.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.