1. Packages
  2. AWS
  3. API Docs
  4. odb
  5. getNetworks
AWS v7.10.0 published on Friday, Oct 24, 2025 by Pulumi

aws.odb.getNetworks

Get Started
aws logo
AWS v7.10.0 published on Friday, Oct 24, 2025 by Pulumi

    Data source for to retrieve networks from AWS for Oracle Database@AWS.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.odb.getNetworks({});
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.odb.get_networks()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/odb"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := odb.GetNetworks(ctx, &odb.GetNetworksArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Aws.Odb.GetNetworks.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.odb.OdbFunctions;
    import com.pulumi.aws.odb.inputs.GetNetworksArgs;
    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 example = OdbFunctions.getNetworks(GetNetworksArgs.builder()
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: aws:odb:getNetworks
          arguments: {}
    

    Using getNetworks

    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 getNetworks(args: GetNetworksArgs, opts?: InvokeOptions): Promise<GetNetworksResult>
    function getNetworksOutput(args: GetNetworksOutputArgs, opts?: InvokeOptions): Output<GetNetworksResult>
    def get_networks(region: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetNetworksResult
    def get_networks_output(region: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetNetworksResult]
    func GetNetworks(ctx *Context, args *GetNetworksArgs, opts ...InvokeOption) (*GetNetworksResult, error)
    func GetNetworksOutput(ctx *Context, args *GetNetworksOutputArgs, opts ...InvokeOption) GetNetworksResultOutput

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

    public static class GetNetworks 
    {
        public static Task<GetNetworksResult> InvokeAsync(GetNetworksArgs args, InvokeOptions? opts = null)
        public static Output<GetNetworksResult> Invoke(GetNetworksInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNetworksResult> getNetworks(GetNetworksArgs args, InvokeOptions options)
    public static Output<GetNetworksResult> getNetworks(GetNetworksArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws:odb/getNetworks:getNetworks
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.

    getNetworks Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    OdbNetworks List<GetNetworksOdbNetwork>
    List of odb networks returns basic information about odb networks.
    Region string
    Id string
    The provider-assigned unique ID for this managed resource.
    OdbNetworks []GetNetworksOdbNetwork
    List of odb networks returns basic information about odb networks.
    Region string
    id String
    The provider-assigned unique ID for this managed resource.
    odbNetworks List<GetNetworksOdbNetwork>
    List of odb networks returns basic information about odb networks.
    region String
    id string
    The provider-assigned unique ID for this managed resource.
    odbNetworks GetNetworksOdbNetwork[]
    List of odb networks returns basic information about odb networks.
    region string
    id str
    The provider-assigned unique ID for this managed resource.
    odb_networks Sequence[GetNetworksOdbNetwork]
    List of odb networks returns basic information about odb networks.
    region str
    id String
    The provider-assigned unique ID for this managed resource.
    odbNetworks List<Property Map>
    List of odb networks returns basic information about odb networks.
    region String

    Supporting Types

    GetNetworksOdbNetwork

    Arn string
    Amazon Resource Name (ARN) of the odb network resource.
    DisplayName string
    Display name for the network resource.
    Id string
    Unique identifier of the odb network resource.
    OciNetworkAnchorId string
    The unique identifier of the OCI network anchor for the ODB network.
    OciVcnId string
    The unique identifier Oracle Cloud ID (OCID) of the OCI VCN for the ODB network.
    OciVcnUrl string
    The URL of the OCI VCN for the ODB network.
    Arn string
    Amazon Resource Name (ARN) of the odb network resource.
    DisplayName string
    Display name for the network resource.
    Id string
    Unique identifier of the odb network resource.
    OciNetworkAnchorId string
    The unique identifier of the OCI network anchor for the ODB network.
    OciVcnId string
    The unique identifier Oracle Cloud ID (OCID) of the OCI VCN for the ODB network.
    OciVcnUrl string
    The URL of the OCI VCN for the ODB network.
    arn String
    Amazon Resource Name (ARN) of the odb network resource.
    displayName String
    Display name for the network resource.
    id String
    Unique identifier of the odb network resource.
    ociNetworkAnchorId String
    The unique identifier of the OCI network anchor for the ODB network.
    ociVcnId String
    The unique identifier Oracle Cloud ID (OCID) of the OCI VCN for the ODB network.
    ociVcnUrl String
    The URL of the OCI VCN for the ODB network.
    arn string
    Amazon Resource Name (ARN) of the odb network resource.
    displayName string
    Display name for the network resource.
    id string
    Unique identifier of the odb network resource.
    ociNetworkAnchorId string
    The unique identifier of the OCI network anchor for the ODB network.
    ociVcnId string
    The unique identifier Oracle Cloud ID (OCID) of the OCI VCN for the ODB network.
    ociVcnUrl string
    The URL of the OCI VCN for the ODB network.
    arn str
    Amazon Resource Name (ARN) of the odb network resource.
    display_name str
    Display name for the network resource.
    id str
    Unique identifier of the odb network resource.
    oci_network_anchor_id str
    The unique identifier of the OCI network anchor for the ODB network.
    oci_vcn_id str
    The unique identifier Oracle Cloud ID (OCID) of the OCI VCN for the ODB network.
    oci_vcn_url str
    The URL of the OCI VCN for the ODB network.
    arn String
    Amazon Resource Name (ARN) of the odb network resource.
    displayName String
    Display name for the network resource.
    id String
    Unique identifier of the odb network resource.
    ociNetworkAnchorId String
    The unique identifier of the OCI network anchor for the ODB network.
    ociVcnId String
    The unique identifier Oracle Cloud ID (OCID) of the OCI VCN for the ODB network.
    ociVcnUrl String
    The URL of the OCI VCN for the ODB network.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v7.10.0 published on Friday, Oct 24, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate