Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Core/getIpInventoryVcnOverlaps:getIpInventoryVcnOverlaps
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Lists List<string> - The list of OCID of the compartments.
- Region
Lists List<string> - Lists the selected regions.
- Vcn
Id string - Specify the OCID of the VCN.
- Filters
List<Get
Ip Inventory Vcn Overlaps Filter>
- Compartment
Lists []string - The list of OCID of the compartments.
- Region
Lists []string - Lists the selected regions.
- Vcn
Id string - Specify the OCID of the VCN.
- Filters
[]Get
Ip Inventory Vcn Overlaps Filter
- compartment
Lists List<String> - The list of OCID of the compartments.
- region
Lists List<String> - Lists the selected regions.
- vcn
Id String - Specify the OCID of the VCN.
- filters
List<Get
Ip Inventory Vcn Overlaps Filter>
- compartment
Lists string[] - The list of OCID of the compartments.
- region
Lists string[] - Lists the selected regions.
- vcn
Id string - Specify the OCID of the VCN.
- filters
Get
Ip 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]
- compartment
Lists List<String> - The list of OCID of the compartments.
- region
Lists List<String> - Lists the selected regions.
- vcn
Id String - Specify the OCID of the VCN.
- filters List<Property Map>
getIpInventoryVcnOverlaps Result
The following output properties are available:
- Compartment
Lists List<string> - Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Inventory List<GetVcn Overlap Summaries Ip Inventory Vcn Overlaps Ip Inventory Vcn Overlap Summary> - Lists
IpInventoryVcnOverlapSummary
object. - Last
Updated 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.
- Overlap
Count int - The overlap count for the given VCN and compartments.
- Region
Lists List<string> - Vcn
Id string - Filters
List<Get
Ip Inventory Vcn Overlaps Filter>
- Compartment
Lists []string - Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Inventory []GetVcn Overlap Summaries Ip Inventory Vcn Overlaps Ip Inventory Vcn Overlap Summary - Lists
IpInventoryVcnOverlapSummary
object. - Last
Updated 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.
- Overlap
Count int - The overlap count for the given VCN and compartments.
- Region
Lists []string - Vcn
Id string - Filters
[]Get
Ip Inventory Vcn Overlaps Filter
- compartment
Lists List<String> - id String
- The provider-assigned unique ID for this managed resource.
- ip
Inventory List<GetVcn Overlap Summaries Ip Inventory Vcn Overlaps Ip Inventory Vcn Overlap Summary> - Lists
IpInventoryVcnOverlapSummary
object. - last
Updated 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.
- overlap
Count Integer - The overlap count for the given VCN and compartments.
- region
Lists List<String> - vcn
Id String - filters
List<Get
Ip Inventory Vcn Overlaps Filter>
- compartment
Lists string[] - id string
- The provider-assigned unique ID for this managed resource.
- ip
Inventory GetVcn Overlap Summaries Ip Inventory Vcn Overlaps Ip Inventory Vcn Overlap Summary[] - Lists
IpInventoryVcnOverlapSummary
object. - last
Updated 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.
- overlap
Count number - The overlap count for the given VCN and compartments.
- region
Lists string[] - vcn
Id string - filters
Get
Ip 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
IpInventoryVcnOverlapSummary
object. - 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]
- compartment
Lists List<String> - id String
- The provider-assigned unique ID for this managed resource.
- ip
Inventory List<Property Map>Vcn Overlap Summaries - Lists
IpInventoryVcnOverlapSummary
object. - last
Updated 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.
- overlap
Count Number - The overlap count for the given VCN and compartments.
- region
Lists List<String> - vcn
Id String - filters List<Property Map>
Supporting Types
GetIpInventoryVcnOverlapsFilter
GetIpInventoryVcnOverlapsIpInventoryVcnOverlapSummary
- Cidr string
- CIDR prefix of the VCN.
- Overlapping
Cidr string - The overlapping CIDR prefix.
- Overlapping
Vcn stringId - The OCID of the VCN .
- Overlapping
Vcn stringName - Name of the overlapping VCN.
- Cidr string
- CIDR prefix of the VCN.
- Overlapping
Cidr string - The overlapping CIDR prefix.
- Overlapping
Vcn stringId - The OCID of the VCN .
- Overlapping
Vcn stringName - Name of the overlapping VCN.
- cidr String
- CIDR prefix of the VCN.
- overlapping
Cidr String - The overlapping CIDR prefix.
- overlapping
Vcn StringId - The OCID of the VCN .
- overlapping
Vcn StringName - Name of the overlapping VCN.
- cidr string
- CIDR prefix of the VCN.
- overlapping
Cidr string - The overlapping CIDR prefix.
- overlapping
Vcn stringId - The OCID of the VCN .
- overlapping
Vcn 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.
- overlapping
Cidr String - The overlapping CIDR prefix.
- overlapping
Vcn StringId - The OCID of the VCN .
- overlapping
Vcn 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
oci
Terraform Provider.