AWS v7.11.0 published on Wednesday, Nov 5, 2025 by Pulumi
aws.odb.getNetworks
Start a Neo task
Explain and create an aws.odb.getNetworks resource
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 dictionaryThe following arguments are supported:
getNetworks Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Odb
Networks List<GetNetworks Odb Network> - List of odb networks returns basic information about odb networks.
- Region string
- Id string
- The provider-assigned unique ID for this managed resource.
- Odb
Networks []GetNetworks Odb Network - List of odb networks returns basic information about odb networks.
- Region string
- id String
- The provider-assigned unique ID for this managed resource.
- odb
Networks List<GetNetworks Odb Network> - List of odb networks returns basic information about odb networks.
- region String
- id string
- The provider-assigned unique ID for this managed resource.
- odb
Networks GetNetworks Odb Network[] - 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[GetNetworks Odb Network] - List of odb networks returns basic information about odb networks.
- region str
- id String
- The provider-assigned unique ID for this managed resource.
- odb
Networks 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.
- Display
Name string - Display name for the network resource.
- Id string
- Unique identifier of the odb network resource.
- Oci
Network stringAnchor Id - The unique identifier of the OCI network anchor for the ODB network.
- Oci
Vcn stringId - The unique identifier Oracle Cloud ID (OCID) of the OCI VCN for the ODB network.
- Oci
Vcn stringUrl - The URL of the OCI VCN for the ODB network.
- Arn string
- Amazon Resource Name (ARN) of the odb network resource.
- Display
Name string - Display name for the network resource.
- Id string
- Unique identifier of the odb network resource.
- Oci
Network stringAnchor Id - The unique identifier of the OCI network anchor for the ODB network.
- Oci
Vcn stringId - The unique identifier Oracle Cloud ID (OCID) of the OCI VCN for the ODB network.
- Oci
Vcn stringUrl - The URL of the OCI VCN for the ODB network.
- arn String
- Amazon Resource Name (ARN) of the odb network resource.
- display
Name String - Display name for the network resource.
- id String
- Unique identifier of the odb network resource.
- oci
Network StringAnchor Id - The unique identifier of the OCI network anchor for the ODB network.
- oci
Vcn StringId - The unique identifier Oracle Cloud ID (OCID) of the OCI VCN for the ODB network.
- oci
Vcn StringUrl - The URL of the OCI VCN for the ODB network.
- arn string
- Amazon Resource Name (ARN) of the odb network resource.
- display
Name string - Display name for the network resource.
- id string
- Unique identifier of the odb network resource.
- oci
Network stringAnchor Id - The unique identifier of the OCI network anchor for the ODB network.
- oci
Vcn stringId - The unique identifier Oracle Cloud ID (OCID) of the OCI VCN for the ODB network.
- oci
Vcn stringUrl - 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_ stranchor_ id - The unique identifier of the OCI network anchor for the ODB network.
- oci_
vcn_ strid - The unique identifier Oracle Cloud ID (OCID) of the OCI VCN for the ODB network.
- oci_
vcn_ strurl - The URL of the OCI VCN for the ODB network.
- arn String
- Amazon Resource Name (ARN) of the odb network resource.
- display
Name String - Display name for the network resource.
- id String
- Unique identifier of the odb network resource.
- oci
Network StringAnchor Id - The unique identifier of the OCI network anchor for the ODB network.
- oci
Vcn StringId - The unique identifier Oracle Cloud ID (OCID) of the OCI VCN for the ODB network.
- oci
Vcn StringUrl - 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
awsTerraform Provider.
