Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Core.getVirtualNetworks
Explore with Pulumi AI
Using getVirtualNetworks
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 getVirtualNetworks(args: GetVirtualNetworksArgs, opts?: InvokeOptions): Promise<GetVirtualNetworksResult>
function getVirtualNetworksOutput(args: GetVirtualNetworksOutputArgs, opts?: InvokeOptions): Output<GetVirtualNetworksResult>
def get_virtual_networks(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[_core.GetVirtualNetworksFilter]] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualNetworksResult
def get_virtual_networks_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetVirtualNetworksFilterArgs]]]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVirtualNetworksResult]
func GetVirtualNetworks(ctx *Context, args *GetVirtualNetworksArgs, opts ...InvokeOption) (*GetVirtualNetworksResult, error)
func GetVirtualNetworksOutput(ctx *Context, args *GetVirtualNetworksOutputArgs, opts ...InvokeOption) GetVirtualNetworksResultOutput
> Note: This function is named GetVirtualNetworks
in the Go SDK.
public static class GetVirtualNetworks
{
public static Task<GetVirtualNetworksResult> InvokeAsync(GetVirtualNetworksArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualNetworksResult> Invoke(GetVirtualNetworksInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVirtualNetworksResult> getVirtualNetworks(GetVirtualNetworksArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Core/getVirtualNetworks:getVirtualNetworks
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - Display
Name string - Filters
List<Get
Virtual Networks Filter> - State string
- Compartment
Id string - Display
Name string - Filters
[]Get
Virtual Networks Filter - State string
- compartment
Id String - display
Name String - filters
List<Get
Virtual Networks Filter> - state String
- compartment
Id string - display
Name string - filters
Get
Virtual Networks Filter[] - state string
- compartment
Id String - display
Name String - filters List<Property Map>
- state String
getVirtualNetworks Result
The following output properties are available:
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Virtual
Networks List<GetVirtual Networks Virtual Network> - Display
Name string - Filters
List<Get
Virtual Networks Filter> - State string
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Virtual
Networks []GetVirtual Networks Virtual Network - Display
Name string - Filters
[]Get
Virtual Networks Filter - State string
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- virtual
Networks List<GetVirtual Networks Virtual Network> - display
Name String - filters
List<Get
Virtual Networks Filter> - state String
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- virtual
Networks GetVirtual Networks Virtual Network[] - display
Name string - filters
Get
Virtual Networks Filter[] - state string
- compartment_
id str - id str
- The provider-assigned unique ID for this managed resource.
- virtual_
networks Sequence[core.Get Virtual Networks Virtual Network] - display_
name str - filters
Sequence[core.
Get Virtual Networks Filter] - state str
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- virtual
Networks List<Property Map> - display
Name String - filters List<Property Map>
- state String
Supporting Types
GetVirtualNetworksFilter
GetVirtualNetworksVirtualNetwork
- Byoipv6cidr
Blocks List<string> - Byoipv6cidr
Details List<GetVirtual Networks Virtual Network Byoipv6cidr Detail> - Cidr
Block string - Cidr
Blocks List<string> - Compartment
Id string - Default
Dhcp stringOptions Id - Default
Route stringTable Id - Default
Security stringList Id - Dictionary<string, string>
- Display
Name string - Dns
Label string - Dictionary<string, string>
- Id string
- Ipv6cidr
Blocks List<string> - Ipv6private
Cidr List<string>Blocks - Is
Ipv6enabled bool - Is
Oracle boolGua Allocation Enabled - Security
Attributes Dictionary<string, string> - State string
- Time
Created string - Vcn
Domain stringName
- Byoipv6cidr
Blocks []string - Byoipv6cidr
Details []GetVirtual Networks Virtual Network Byoipv6cidr Detail - Cidr
Block string - Cidr
Blocks []string - Compartment
Id string - Default
Dhcp stringOptions Id - Default
Route stringTable Id - Default
Security stringList Id - map[string]string
- Display
Name string - Dns
Label string - map[string]string
- Id string
- Ipv6cidr
Blocks []string - Ipv6private
Cidr []stringBlocks - Is
Ipv6enabled bool - Is
Oracle boolGua Allocation Enabled - Security
Attributes map[string]string - State string
- Time
Created string - Vcn
Domain stringName
- byoipv6cidr
Blocks List<String> - byoipv6cidr
Details List<GetVirtual Networks Virtual Network Byoipv6cidr Detail> - cidr
Block String - cidr
Blocks List<String> - compartment
Id String - default
Dhcp StringOptions Id - default
Route StringTable Id - default
Security StringList Id - Map<String,String>
- display
Name String - dns
Label String - Map<String,String>
- id String
- ipv6cidr
Blocks List<String> - ipv6private
Cidr List<String>Blocks - is
Ipv6enabled Boolean - is
Oracle BooleanGua Allocation Enabled - security
Attributes Map<String,String> - state String
- time
Created String - vcn
Domain StringName
- byoipv6cidr
Blocks string[] - byoipv6cidr
Details GetVirtual Networks Virtual Network Byoipv6cidr Detail[] - cidr
Block string - cidr
Blocks string[] - compartment
Id string - default
Dhcp stringOptions Id - default
Route stringTable Id - default
Security stringList Id - {[key: string]: string}
- display
Name string - dns
Label string - {[key: string]: string}
- id string
- ipv6cidr
Blocks string[] - ipv6private
Cidr string[]Blocks - is
Ipv6enabled boolean - is
Oracle booleanGua Allocation Enabled - security
Attributes {[key: string]: string} - state string
- time
Created string - vcn
Domain stringName
- byoipv6cidr_
blocks Sequence[str] - byoipv6cidr_
details Sequence[core.Get Virtual Networks Virtual Network Byoipv6cidr Detail] - cidr_
block str - cidr_
blocks Sequence[str] - compartment_
id str - default_
dhcp_ stroptions_ id - default_
route_ strtable_ id - default_
security_ strlist_ id - Mapping[str, str]
- display_
name str - dns_
label str - Mapping[str, str]
- id str
- ipv6cidr_
blocks Sequence[str] - ipv6private_
cidr_ Sequence[str]blocks - is_
ipv6enabled bool - is_
oracle_ boolgua_ allocation_ enabled - security_
attributes Mapping[str, str] - state str
- time_
created str - vcn_
domain_ strname
- byoipv6cidr
Blocks List<String> - byoipv6cidr
Details List<Property Map> - cidr
Block String - cidr
Blocks List<String> - compartment
Id String - default
Dhcp StringOptions Id - default
Route StringTable Id - default
Security StringList Id - Map<String>
- display
Name String - dns
Label String - Map<String>
- id String
- ipv6cidr
Blocks List<String> - ipv6private
Cidr List<String>Blocks - is
Ipv6enabled Boolean - is
Oracle BooleanGua Allocation Enabled - security
Attributes Map<String> - state String
- time
Created String - vcn
Domain StringName
GetVirtualNetworksVirtualNetworkByoipv6cidrDetail
- Byoipv6range
Id string - Ipv6cidr
Block string
- Byoipv6range
Id string - Ipv6cidr
Block string
- byoipv6range
Id String - ipv6cidr
Block String
- byoipv6range
Id string - ipv6cidr
Block string
- byoipv6range_
id str - ipv6cidr_
block str
- byoipv6range
Id String - ipv6cidr
Block String
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.