1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getVcns
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

oci.Core.getVcns

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

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

Lists the virtual cloud networks (VCNs) in the specified compartment.

Supported Aliases

  • oci.Core.getVirtualNetworks

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testVcns = oci.Core.getVcns({
    compartmentId: compartmentId,
    displayName: vcnDisplayName,
    state: vcnState,
});
Copy
import pulumi
import pulumi_oci as oci

test_vcns = oci.Core.get_vcns(compartment_id=compartment_id,
    display_name=vcn_display_name,
    state=vcn_state)
Copy
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.GetVcns(ctx, &core.GetVcnsArgs{
			CompartmentId: compartmentId,
			DisplayName:   pulumi.StringRef(vcnDisplayName),
			State:         pulumi.StringRef(vcnState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testVcns = Oci.Core.GetVcns.Invoke(new()
    {
        CompartmentId = compartmentId,
        DisplayName = vcnDisplayName,
        State = vcnState,
    });

});
Copy
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.GetVcnsArgs;
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 testVcns = CoreFunctions.getVcns(GetVcnsArgs.builder()
            .compartmentId(compartmentId)
            .displayName(vcnDisplayName)
            .state(vcnState)
            .build());

    }
}
Copy
variables:
  testVcns:
    fn::invoke:
      function: oci:Core:getVcns
      arguments:
        compartmentId: ${compartmentId}
        displayName: ${vcnDisplayName}
        state: ${vcnState}
Copy

Using getVcns

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 getVcns(args: GetVcnsArgs, opts?: InvokeOptions): Promise<GetVcnsResult>
function getVcnsOutput(args: GetVcnsOutputArgs, opts?: InvokeOptions): Output<GetVcnsResult>
Copy
def get_vcns(compartment_id: Optional[str] = None,
             display_name: Optional[str] = None,
             filters: Optional[Sequence[_core.GetVcnsFilter]] = None,
             state: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetVcnsResult
def get_vcns_output(compartment_id: Optional[pulumi.Input[str]] = None,
             display_name: Optional[pulumi.Input[str]] = None,
             filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetVcnsFilterArgs]]]] = None,
             state: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetVcnsResult]
Copy
func GetVcns(ctx *Context, args *GetVcnsArgs, opts ...InvokeOption) (*GetVcnsResult, error)
func GetVcnsOutput(ctx *Context, args *GetVcnsOutputArgs, opts ...InvokeOption) GetVcnsResultOutput
Copy

> Note: This function is named GetVcns in the Go SDK.

public static class GetVcns 
{
    public static Task<GetVcnsResult> InvokeAsync(GetVcnsArgs args, InvokeOptions? opts = null)
    public static Output<GetVcnsResult> Invoke(GetVcnsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetVcnsResult> getVcns(GetVcnsArgs args, InvokeOptions options)
public static Output<GetVcnsResult> getVcns(GetVcnsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Core/getVcns:getVcns
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. string
The OCID of the compartment.
DisplayName string
A filter to return only resources that match the given display name exactly.
Filters Changes to this property will trigger replacement. List<GetVcnsFilter>
State string
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
CompartmentId This property is required. string
The OCID of the compartment.
DisplayName string
A filter to return only resources that match the given display name exactly.
Filters Changes to this property will trigger replacement. []GetVcnsFilter
State string
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
compartmentId This property is required. String
The OCID of the compartment.
displayName String
A filter to return only resources that match the given display name exactly.
filters Changes to this property will trigger replacement. List<GetVcnsFilter>
state String
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
compartmentId This property is required. string
The OCID of the compartment.
displayName string
A filter to return only resources that match the given display name exactly.
filters Changes to this property will trigger replacement. GetVcnsFilter[]
state string
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
compartment_id This property is required. str
The OCID of the compartment.
display_name str
A filter to return only resources that match the given display name exactly.
filters Changes to this property will trigger replacement. Sequence[core.GetVcnsFilter]
state str
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
compartmentId This property is required. String
The OCID of the compartment.
displayName String
A filter to return only resources that match the given display name exactly.
filters Changes to this property will trigger replacement. List<Property Map>
state String
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.

getVcns Result

The following output properties are available:

CompartmentId string
The OCID of the compartment containing the VCN.
Id string
The provider-assigned unique ID for this managed resource.
VirtualNetworks List<GetVcnsVirtualNetwork>
The list of virtual_networks.
DisplayName string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
Filters List<GetVcnsFilter>
State string
The VCN's current state.
CompartmentId string
The OCID of the compartment containing the VCN.
Id string
The provider-assigned unique ID for this managed resource.
VirtualNetworks []GetVcnsVirtualNetwork
The list of virtual_networks.
DisplayName string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
Filters []GetVcnsFilter
State string
The VCN's current state.
compartmentId String
The OCID of the compartment containing the VCN.
id String
The provider-assigned unique ID for this managed resource.
virtualNetworks List<GetVcnsVirtualNetwork>
The list of virtual_networks.
displayName String
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
filters List<GetVcnsFilter>
state String
The VCN's current state.
compartmentId string
The OCID of the compartment containing the VCN.
id string
The provider-assigned unique ID for this managed resource.
virtualNetworks GetVcnsVirtualNetwork[]
The list of virtual_networks.
displayName string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
filters GetVcnsFilter[]
state string
The VCN's current state.
compartment_id str
The OCID of the compartment containing the VCN.
id str
The provider-assigned unique ID for this managed resource.
virtual_networks Sequence[core.GetVcnsVirtualNetwork]
The list of virtual_networks.
display_name str
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
filters Sequence[core.GetVcnsFilter]
state str
The VCN's current state.
compartmentId String
The OCID of the compartment containing the VCN.
id String
The provider-assigned unique ID for this managed resource.
virtualNetworks List<Property Map>
The list of virtual_networks.
displayName String
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
filters List<Property Map>
state String
The VCN's current state.

Supporting Types

GetVcnsFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

GetVcnsVirtualNetwork

Byoipv6cidrBlocks This property is required. List<string>
The list of BYOIPv6 prefixes required to create a VCN that uses BYOIPv6 ranges.
Byoipv6cidrDetails This property is required. List<GetVcnsVirtualNetworkByoipv6cidrDetail>
CidrBlock This property is required. string
Deprecated. The first CIDR IP address from cidr_blocks. Example: 172.16.0.0/16
CidrBlocks This property is required. List<string>
The list of IPv4 CIDR blocks the VCN will use.
CompartmentId This property is required. string
The OCID of the compartment.
DefaultDhcpOptionsId This property is required. string
The OCID for the VCN's default set of DHCP options.
DefaultRouteTableId This property is required. string
The OCID for the VCN's default route table.
DefaultSecurityListId This property is required. string
The OCID for the VCN's default security list.
DefinedTags This property is required. Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
DisplayName This property is required. string
A filter to return only resources that match the given display name exactly.
DnsLabel This property is required. string
A DNS label for the VCN, used in conjunction with the VNIC's hostname and subnet's DNS label to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for example, bminstance1.subnet123.vcn1.oraclevcn.com). Must be an alphanumeric string that begins with a letter. The value cannot be changed.
FreeformTags This property is required. Dictionary<string, string>
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 This property is required. string
The VCN's Oracle ID (OCID).
Ipv6cidrBlocks This property is required. List<string>
For an IPv6-enabled VCN, this is the list of IPv6 prefixes for the VCN's IP address space. The prefixes are provided by Oracle and the sizes are always /56.
Ipv6privateCidrBlocks This property is required. List<string>
For an IPv6-enabled VCN, this is the list of Private IPv6 prefixes for the VCN's IP address space.
IsIpv6enabled This property is required. bool
IsOracleGuaAllocationEnabled This property is required. bool
SecurityAttributes This property is required. Dictionary<string, string>
Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example: {"Oracle-DataSecurity-ZPR.MaxEgressCount.value": "42", "Oracle-DataSecurity-ZPR.MaxEgressCount.mode": "audit"}
State This property is required. string
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
TimeCreated This property is required. string
The date and time the VCN was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
VcnDomainName This property is required. string
The VCN's domain name, which consists of the VCN's DNS label, and the oraclevcn.com domain.
Byoipv6cidrBlocks This property is required. []string
The list of BYOIPv6 prefixes required to create a VCN that uses BYOIPv6 ranges.
Byoipv6cidrDetails This property is required. []GetVcnsVirtualNetworkByoipv6cidrDetail
CidrBlock This property is required. string
Deprecated. The first CIDR IP address from cidr_blocks. Example: 172.16.0.0/16
CidrBlocks This property is required. []string
The list of IPv4 CIDR blocks the VCN will use.
CompartmentId This property is required. string
The OCID of the compartment.
DefaultDhcpOptionsId This property is required. string
The OCID for the VCN's default set of DHCP options.
DefaultRouteTableId This property is required. string
The OCID for the VCN's default route table.
DefaultSecurityListId This property is required. string
The OCID for the VCN's default security list.
DefinedTags This property is required. map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
DisplayName This property is required. string
A filter to return only resources that match the given display name exactly.
DnsLabel This property is required. string
A DNS label for the VCN, used in conjunction with the VNIC's hostname and subnet's DNS label to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for example, bminstance1.subnet123.vcn1.oraclevcn.com). Must be an alphanumeric string that begins with a letter. The value cannot be changed.
FreeformTags This property is required. map[string]string
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 This property is required. string
The VCN's Oracle ID (OCID).
Ipv6cidrBlocks This property is required. []string
For an IPv6-enabled VCN, this is the list of IPv6 prefixes for the VCN's IP address space. The prefixes are provided by Oracle and the sizes are always /56.
Ipv6privateCidrBlocks This property is required. []string
For an IPv6-enabled VCN, this is the list of Private IPv6 prefixes for the VCN's IP address space.
IsIpv6enabled This property is required. bool
IsOracleGuaAllocationEnabled This property is required. bool
SecurityAttributes This property is required. map[string]string
Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example: {"Oracle-DataSecurity-ZPR.MaxEgressCount.value": "42", "Oracle-DataSecurity-ZPR.MaxEgressCount.mode": "audit"}
State This property is required. string
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
TimeCreated This property is required. string
The date and time the VCN was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
VcnDomainName This property is required. string
The VCN's domain name, which consists of the VCN's DNS label, and the oraclevcn.com domain.
byoipv6cidrBlocks This property is required. List<String>
The list of BYOIPv6 prefixes required to create a VCN that uses BYOIPv6 ranges.
byoipv6cidrDetails This property is required. List<GetVcnsVirtualNetworkByoipv6cidrDetail>
cidrBlock This property is required. String
Deprecated. The first CIDR IP address from cidr_blocks. Example: 172.16.0.0/16
cidrBlocks This property is required. List<String>
The list of IPv4 CIDR blocks the VCN will use.
compartmentId This property is required. String
The OCID of the compartment.
defaultDhcpOptionsId This property is required. String
The OCID for the VCN's default set of DHCP options.
defaultRouteTableId This property is required. String
The OCID for the VCN's default route table.
defaultSecurityListId This property is required. String
The OCID for the VCN's default security list.
definedTags This property is required. Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
displayName This property is required. String
A filter to return only resources that match the given display name exactly.
dnsLabel This property is required. String
A DNS label for the VCN, used in conjunction with the VNIC's hostname and subnet's DNS label to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for example, bminstance1.subnet123.vcn1.oraclevcn.com). Must be an alphanumeric string that begins with a letter. The value cannot be changed.
freeformTags This property is required. Map<String,String>
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 This property is required. String
The VCN's Oracle ID (OCID).
ipv6cidrBlocks This property is required. List<String>
For an IPv6-enabled VCN, this is the list of IPv6 prefixes for the VCN's IP address space. The prefixes are provided by Oracle and the sizes are always /56.
ipv6privateCidrBlocks This property is required. List<String>
For an IPv6-enabled VCN, this is the list of Private IPv6 prefixes for the VCN's IP address space.
isIpv6enabled This property is required. Boolean
isOracleGuaAllocationEnabled This property is required. Boolean
securityAttributes This property is required. Map<String,String>
Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example: {"Oracle-DataSecurity-ZPR.MaxEgressCount.value": "42", "Oracle-DataSecurity-ZPR.MaxEgressCount.mode": "audit"}
state This property is required. String
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
timeCreated This property is required. String
The date and time the VCN was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
vcnDomainName This property is required. String
The VCN's domain name, which consists of the VCN's DNS label, and the oraclevcn.com domain.
byoipv6cidrBlocks This property is required. string[]
The list of BYOIPv6 prefixes required to create a VCN that uses BYOIPv6 ranges.
byoipv6cidrDetails This property is required. GetVcnsVirtualNetworkByoipv6cidrDetail[]
cidrBlock This property is required. string
Deprecated. The first CIDR IP address from cidr_blocks. Example: 172.16.0.0/16
cidrBlocks This property is required. string[]
The list of IPv4 CIDR blocks the VCN will use.
compartmentId This property is required. string
The OCID of the compartment.
defaultDhcpOptionsId This property is required. string
The OCID for the VCN's default set of DHCP options.
defaultRouteTableId This property is required. string
The OCID for the VCN's default route table.
defaultSecurityListId This property is required. string
The OCID for the VCN's default security list.
definedTags This property is required. {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
displayName This property is required. string
A filter to return only resources that match the given display name exactly.
dnsLabel This property is required. string
A DNS label for the VCN, used in conjunction with the VNIC's hostname and subnet's DNS label to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for example, bminstance1.subnet123.vcn1.oraclevcn.com). Must be an alphanumeric string that begins with a letter. The value cannot be changed.
freeformTags This property is required. {[key: string]: string}
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 This property is required. string
The VCN's Oracle ID (OCID).
ipv6cidrBlocks This property is required. string[]
For an IPv6-enabled VCN, this is the list of IPv6 prefixes for the VCN's IP address space. The prefixes are provided by Oracle and the sizes are always /56.
ipv6privateCidrBlocks This property is required. string[]
For an IPv6-enabled VCN, this is the list of Private IPv6 prefixes for the VCN's IP address space.
isIpv6enabled This property is required. boolean
isOracleGuaAllocationEnabled This property is required. boolean
securityAttributes This property is required. {[key: string]: string}
Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example: {"Oracle-DataSecurity-ZPR.MaxEgressCount.value": "42", "Oracle-DataSecurity-ZPR.MaxEgressCount.mode": "audit"}
state This property is required. string
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
timeCreated This property is required. string
The date and time the VCN was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
vcnDomainName This property is required. string
The VCN's domain name, which consists of the VCN's DNS label, and the oraclevcn.com domain.
byoipv6cidr_blocks This property is required. Sequence[str]
The list of BYOIPv6 prefixes required to create a VCN that uses BYOIPv6 ranges.
byoipv6cidr_details This property is required. Sequence[core.GetVcnsVirtualNetworkByoipv6cidrDetail]
cidr_block This property is required. str
Deprecated. The first CIDR IP address from cidr_blocks. Example: 172.16.0.0/16
cidr_blocks This property is required. Sequence[str]
The list of IPv4 CIDR blocks the VCN will use.
compartment_id This property is required. str
The OCID of the compartment.
default_dhcp_options_id This property is required. str
The OCID for the VCN's default set of DHCP options.
default_route_table_id This property is required. str
The OCID for the VCN's default route table.
default_security_list_id This property is required. str
The OCID for the VCN's default security list.
defined_tags This property is required. Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
display_name This property is required. str
A filter to return only resources that match the given display name exactly.
dns_label This property is required. str
A DNS label for the VCN, used in conjunction with the VNIC's hostname and subnet's DNS label to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for example, bminstance1.subnet123.vcn1.oraclevcn.com). Must be an alphanumeric string that begins with a letter. The value cannot be changed.
freeform_tags This property is required. Mapping[str, str]
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 This property is required. str
The VCN's Oracle ID (OCID).
ipv6cidr_blocks This property is required. Sequence[str]
For an IPv6-enabled VCN, this is the list of IPv6 prefixes for the VCN's IP address space. The prefixes are provided by Oracle and the sizes are always /56.
ipv6private_cidr_blocks This property is required. Sequence[str]
For an IPv6-enabled VCN, this is the list of Private IPv6 prefixes for the VCN's IP address space.
is_ipv6enabled This property is required. bool
is_oracle_gua_allocation_enabled This property is required. bool
security_attributes This property is required. Mapping[str, str]
Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example: {"Oracle-DataSecurity-ZPR.MaxEgressCount.value": "42", "Oracle-DataSecurity-ZPR.MaxEgressCount.mode": "audit"}
state This property is required. str
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
time_created This property is required. str
The date and time the VCN was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
vcn_domain_name This property is required. str
The VCN's domain name, which consists of the VCN's DNS label, and the oraclevcn.com domain.
byoipv6cidrBlocks This property is required. List<String>
The list of BYOIPv6 prefixes required to create a VCN that uses BYOIPv6 ranges.
byoipv6cidrDetails This property is required. List<Property Map>
cidrBlock This property is required. String
Deprecated. The first CIDR IP address from cidr_blocks. Example: 172.16.0.0/16
cidrBlocks This property is required. List<String>
The list of IPv4 CIDR blocks the VCN will use.
compartmentId This property is required. String
The OCID of the compartment.
defaultDhcpOptionsId This property is required. String
The OCID for the VCN's default set of DHCP options.
defaultRouteTableId This property is required. String
The OCID for the VCN's default route table.
defaultSecurityListId This property is required. String
The OCID for the VCN's default security list.
definedTags This property is required. Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
displayName This property is required. String
A filter to return only resources that match the given display name exactly.
dnsLabel This property is required. String
A DNS label for the VCN, used in conjunction with the VNIC's hostname and subnet's DNS label to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for example, bminstance1.subnet123.vcn1.oraclevcn.com). Must be an alphanumeric string that begins with a letter. The value cannot be changed.
freeformTags This property is required. Map<String>
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 This property is required. String
The VCN's Oracle ID (OCID).
ipv6cidrBlocks This property is required. List<String>
For an IPv6-enabled VCN, this is the list of IPv6 prefixes for the VCN's IP address space. The prefixes are provided by Oracle and the sizes are always /56.
ipv6privateCidrBlocks This property is required. List<String>
For an IPv6-enabled VCN, this is the list of Private IPv6 prefixes for the VCN's IP address space.
isIpv6enabled This property is required. Boolean
isOracleGuaAllocationEnabled This property is required. Boolean
securityAttributes This property is required. Map<String>
Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. Example: {"Oracle-DataSecurity-ZPR.MaxEgressCount.value": "42", "Oracle-DataSecurity-ZPR.MaxEgressCount.mode": "audit"}
state This property is required. String
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
timeCreated This property is required. String
The date and time the VCN was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
vcnDomainName This property is required. String
The VCN's domain name, which consists of the VCN's DNS label, and the oraclevcn.com domain.

GetVcnsVirtualNetworkByoipv6cidrDetail

Byoipv6rangeId This property is required. string
Ipv6cidrBlock This property is required. string
Byoipv6rangeId This property is required. string
Ipv6cidrBlock This property is required. string
byoipv6rangeId This property is required. String
ipv6cidrBlock This property is required. String
byoipv6rangeId This property is required. string
ipv6cidrBlock This property is required. string
byoipv6range_id This property is required. str
ipv6cidr_block This property is required. str
byoipv6rangeId This property is required. String
ipv6cidrBlock This property is required. String

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi