AWS v7.8.0 published on Tuesday, Oct 7, 2025 by Pulumi
aws.odb.getNetwork
Data source for to retrieve network resource in 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.getNetwork({
id: "example",
});
import pulumi
import pulumi_aws as aws
example = aws.odb.get_network(id="example")
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.LookupNetwork(ctx, &odb.LookupNetworkArgs{
Id: "example",
}, 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.GetNetwork.Invoke(new()
{
Id = "example",
});
});
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.GetNetworkArgs;
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.getNetwork(GetNetworkArgs.builder()
.id("example")
.build());
}
}
variables:
example:
fn::invoke:
function: aws:odb:getNetwork
arguments:
id: example
Using getNetwork
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 getNetwork(args: GetNetworkArgs, opts?: InvokeOptions): Promise<GetNetworkResult>
function getNetworkOutput(args: GetNetworkOutputArgs, opts?: InvokeOptions): Output<GetNetworkResult>
def get_network(id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetworkResult
def get_network_output(id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetworkResult]
func LookupNetwork(ctx *Context, args *LookupNetworkArgs, opts ...InvokeOption) (*LookupNetworkResult, error)
func LookupNetworkOutput(ctx *Context, args *LookupNetworkOutputArgs, opts ...InvokeOption) LookupNetworkResultOutput
> Note: This function is named LookupNetwork
in the Go SDK.
public static class GetNetwork
{
public static Task<GetNetworkResult> InvokeAsync(GetNetworkArgs args, InvokeOptions? opts = null)
public static Output<GetNetworkResult> Invoke(GetNetworkInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNetworkResult> getNetwork(GetNetworkArgs args, InvokeOptions options)
public static Output<GetNetworkResult> getNetwork(GetNetworkArgs args, InvokeOptions options)
fn::invoke:
function: aws:odb/getNetwork:getNetwork
arguments:
# arguments dictionary
The following arguments are supported:
getNetwork Result
The following output properties are available:
- Arn string
- Amazon Resource Name (ARN) of the odb network resource.
- Availability
Zone string - The availability zone where the ODB network is located.
- Availability
Zone stringId - The AZ ID of the AZ where the ODB network is located.
- Backup
Subnet stringCidr - The CIDR range of the backup subnet for the ODB network.
- Client
Subnet stringCidr - The CIDR notation for the network resource.
- Created
At string - The date and time when the ODB network was created.
- Custom
Domain stringName - The name of the custom domain that the network is located.
- Default
Dns stringPrefix - The default DNS prefix for the network resource.
- Display
Name string - Display name for the network resource.
- Id string
- Unique identifier of the odb network resource.
- Managed
Services List<GetNetwork Managed Service> - The managed services configuration for the ODB network.
- Oci
Dns List<GetForwarding Configs Network Oci Dns Forwarding Config> - Oci
Network stringAnchor Id - The unique identifier of the OCI network anchor for the ODB network.
- Oci
Network stringAnchor Url - The URL of the OCI network anchor for the ODB network.
- Oci
Resource stringAnchor Name - The name of the OCI resource 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.
- Peered
Cidrs List<string> - The list of CIDR ranges from the peered VPC that are allowed access to the ODB network. Please refer odb network peering documentation.
- Percent
Progress double - The amount of progress made on the current operation on the ODB network, expressed as a percentage.
- Region string
- Status string
- The status of the network resource.
- Status
Reason string - Additional information about the current status of the ODB network.
- Dictionary<string, string>
- Arn string
- Amazon Resource Name (ARN) of the odb network resource.
- Availability
Zone string - The availability zone where the ODB network is located.
- Availability
Zone stringId - The AZ ID of the AZ where the ODB network is located.
- Backup
Subnet stringCidr - The CIDR range of the backup subnet for the ODB network.
- Client
Subnet stringCidr - The CIDR notation for the network resource.
- Created
At string - The date and time when the ODB network was created.
- Custom
Domain stringName - The name of the custom domain that the network is located.
- Default
Dns stringPrefix - The default DNS prefix for the network resource.
- Display
Name string - Display name for the network resource.
- Id string
- Unique identifier of the odb network resource.
- Managed
Services []GetNetwork Managed Service - The managed services configuration for the ODB network.
- Oci
Dns []GetForwarding Configs Network Oci Dns Forwarding Config - Oci
Network stringAnchor Id - The unique identifier of the OCI network anchor for the ODB network.
- Oci
Network stringAnchor Url - The URL of the OCI network anchor for the ODB network.
- Oci
Resource stringAnchor Name - The name of the OCI resource 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.
- Peered
Cidrs []string - The list of CIDR ranges from the peered VPC that are allowed access to the ODB network. Please refer odb network peering documentation.
- Percent
Progress float64 - The amount of progress made on the current operation on the ODB network, expressed as a percentage.
- Region string
- Status string
- The status of the network resource.
- Status
Reason string - Additional information about the current status of the ODB network.
- map[string]string
- arn String
- Amazon Resource Name (ARN) of the odb network resource.
- availability
Zone String - The availability zone where the ODB network is located.
- availability
Zone StringId - The AZ ID of the AZ where the ODB network is located.
- backup
Subnet StringCidr - The CIDR range of the backup subnet for the ODB network.
- client
Subnet StringCidr - The CIDR notation for the network resource.
- created
At String - The date and time when the ODB network was created.
- custom
Domain StringName - The name of the custom domain that the network is located.
- default
Dns StringPrefix - The default DNS prefix for the network resource.
- display
Name String - Display name for the network resource.
- id String
- Unique identifier of the odb network resource.
- managed
Services List<GetNetwork Managed Service> - The managed services configuration for the ODB network.
- oci
Dns List<GetForwarding Configs Network Oci Dns Forwarding Config> - oci
Network StringAnchor Id - The unique identifier of the OCI network anchor for the ODB network.
- oci
Network StringAnchor Url - The URL of the OCI network anchor for the ODB network.
- oci
Resource StringAnchor Name - The name of the OCI resource 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.
- peered
Cidrs List<String> - The list of CIDR ranges from the peered VPC that are allowed access to the ODB network. Please refer odb network peering documentation.
- percent
Progress Double - The amount of progress made on the current operation on the ODB network, expressed as a percentage.
- region String
- status String
- The status of the network resource.
- status
Reason String - Additional information about the current status of the ODB network.
- Map<String,String>
- arn string
- Amazon Resource Name (ARN) of the odb network resource.
- availability
Zone string - The availability zone where the ODB network is located.
- availability
Zone stringId - The AZ ID of the AZ where the ODB network is located.
- backup
Subnet stringCidr - The CIDR range of the backup subnet for the ODB network.
- client
Subnet stringCidr - The CIDR notation for the network resource.
- created
At string - The date and time when the ODB network was created.
- custom
Domain stringName - The name of the custom domain that the network is located.
- default
Dns stringPrefix - The default DNS prefix for the network resource.
- display
Name string - Display name for the network resource.
- id string
- Unique identifier of the odb network resource.
- managed
Services GetNetwork Managed Service[] - The managed services configuration for the ODB network.
- oci
Dns GetForwarding Configs Network Oci Dns Forwarding Config[] - oci
Network stringAnchor Id - The unique identifier of the OCI network anchor for the ODB network.
- oci
Network stringAnchor Url - The URL of the OCI network anchor for the ODB network.
- oci
Resource stringAnchor Name - The name of the OCI resource 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.
- peered
Cidrs string[] - The list of CIDR ranges from the peered VPC that are allowed access to the ODB network. Please refer odb network peering documentation.
- percent
Progress number - The amount of progress made on the current operation on the ODB network, expressed as a percentage.
- region string
- status string
- The status of the network resource.
- status
Reason string - Additional information about the current status of the ODB network.
- {[key: string]: string}
- arn str
- Amazon Resource Name (ARN) of the odb network resource.
- availability_
zone str - The availability zone where the ODB network is located.
- availability_
zone_ strid - The AZ ID of the AZ where the ODB network is located.
- backup_
subnet_ strcidr - The CIDR range of the backup subnet for the ODB network.
- client_
subnet_ strcidr - The CIDR notation for the network resource.
- created_
at str - The date and time when the ODB network was created.
- custom_
domain_ strname - The name of the custom domain that the network is located.
- default_
dns_ strprefix - The default DNS prefix for the network resource.
- display_
name str - Display name for the network resource.
- id str
- Unique identifier of the odb network resource.
- managed_
services Sequence[GetNetwork Managed Service] - The managed services configuration for the ODB network.
- oci_
dns_ Sequence[Getforwarding_ configs Network Oci Dns Forwarding Config] - oci_
network_ stranchor_ id - The unique identifier of the OCI network anchor for the ODB network.
- oci_
network_ stranchor_ url - The URL of the OCI network anchor for the ODB network.
- oci_
resource_ stranchor_ name - The name of the OCI resource 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.
- peered_
cidrs Sequence[str] - The list of CIDR ranges from the peered VPC that are allowed access to the ODB network. Please refer odb network peering documentation.
- percent_
progress float - The amount of progress made on the current operation on the ODB network, expressed as a percentage.
- region str
- status str
- The status of the network resource.
- status_
reason str - Additional information about the current status of the ODB network.
- Mapping[str, str]
- arn String
- Amazon Resource Name (ARN) of the odb network resource.
- availability
Zone String - The availability zone where the ODB network is located.
- availability
Zone StringId - The AZ ID of the AZ where the ODB network is located.
- backup
Subnet StringCidr - The CIDR range of the backup subnet for the ODB network.
- client
Subnet StringCidr - The CIDR notation for the network resource.
- created
At String - The date and time when the ODB network was created.
- custom
Domain StringName - The name of the custom domain that the network is located.
- default
Dns StringPrefix - The default DNS prefix for the network resource.
- display
Name String - Display name for the network resource.
- id String
- Unique identifier of the odb network resource.
- managed
Services List<Property Map> - The managed services configuration for the ODB network.
- oci
Dns List<Property Map>Forwarding Configs - oci
Network StringAnchor Id - The unique identifier of the OCI network anchor for the ODB network.
- oci
Network StringAnchor Url - The URL of the OCI network anchor for the ODB network.
- oci
Resource StringAnchor Name - The name of the OCI resource 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.
- peered
Cidrs List<String> - The list of CIDR ranges from the peered VPC that are allowed access to the ODB network. Please refer odb network peering documentation.
- percent
Progress Number - The amount of progress made on the current operation on the ODB network, expressed as a percentage.
- region String
- status String
- The status of the network resource.
- status
Reason String - Additional information about the current status of the ODB network.
- Map<String>
Supporting Types
GetNetworkManagedService
- Managed
S3Backup List<GetAccesses Network Managed Service Managed S3Backup Access> - Managed
Service List<string>Ipv4Cidrs - Resource
Gateway stringArn - S3Accesses
List<Get
Network Managed Service S3Access> - Service
Network stringArn - Service
Network List<GetEndpoints Network Managed Service Service Network Endpoint> - Zero
Tl List<GetAccesses Network Managed Service Zero Tl Access>
- Managed
S3Backup []GetAccesses Network Managed Service Managed S3Backup Access - Managed
Service []stringIpv4Cidrs - Resource
Gateway stringArn - S3Accesses
[]Get
Network Managed Service S3Access - Service
Network stringArn - Service
Network []GetEndpoints Network Managed Service Service Network Endpoint - Zero
Tl []GetAccesses Network Managed Service Zero Tl Access
- managed
S3Backup List<GetAccesses Network Managed Service Managed S3Backup Access> - managed
Service List<String>Ipv4Cidrs - resource
Gateway StringArn - s3Accesses
List<Get
Network Managed Service S3Access> - service
Network StringArn - service
Network List<GetEndpoints Network Managed Service Service Network Endpoint> - zero
Tl List<GetAccesses Network Managed Service Zero Tl Access>
- managed
S3Backup GetAccesses Network Managed Service Managed S3Backup Access[] - managed
Service string[]Ipv4Cidrs - resource
Gateway stringArn - s3Accesses
Get
Network Managed Service S3Access[] - service
Network stringArn - service
Network GetEndpoints Network Managed Service Service Network Endpoint[] - zero
Tl GetAccesses Network Managed Service Zero Tl Access[]
- managed_
s3_ Sequence[Getbackup_ accesses Network Managed Service Managed S3Backup Access] - managed_
service_ Sequence[str]ipv4_ cidrs - resource_
gateway_ strarn - s3_
accesses Sequence[GetNetwork Managed Service S3Access] - service_
network_ strarn - service_
network_ Sequence[Getendpoints Network Managed Service Service Network Endpoint] - zero_
tl_ Sequence[Getaccesses Network Managed Service Zero Tl Access]
GetNetworkManagedServiceManagedS3BackupAccess
- Ipv4Addresses List<string>
- Status string
- The status of the network resource.
- Ipv4Addresses []string
- Status string
- The status of the network resource.
- ipv4Addresses List<String>
- status String
- The status of the network resource.
- ipv4Addresses string[]
- status string
- The status of the network resource.
- ipv4_
addresses Sequence[str] - status str
- The status of the network resource.
- ipv4Addresses List<String>
- status String
- The status of the network resource.
GetNetworkManagedServiceS3Access
- Domain
Name string - Ipv4Addresses List<string>
- S3Policy
Document string - Status string
- The status of the network resource.
- Domain
Name string - Ipv4Addresses []string
- S3Policy
Document string - Status string
- The status of the network resource.
- domain
Name String - ipv4Addresses List<String>
- s3Policy
Document String - status String
- The status of the network resource.
- domain
Name string - ipv4Addresses string[]
- s3Policy
Document string - status string
- The status of the network resource.
- domain_
name str - ipv4_
addresses Sequence[str] - s3_
policy_ strdocument - status str
- The status of the network resource.
- domain
Name String - ipv4Addresses List<String>
- s3Policy
Document String - status String
- The status of the network resource.
GetNetworkManagedServiceServiceNetworkEndpoint
- Vpc
Endpoint stringId - Vpc
Endpoint stringType
- Vpc
Endpoint stringId - Vpc
Endpoint stringType
- vpc
Endpoint StringId - vpc
Endpoint StringType
- vpc
Endpoint stringId - vpc
Endpoint stringType
- vpc_
endpoint_ strid - vpc_
endpoint_ strtype
- vpc
Endpoint StringId - vpc
Endpoint StringType
GetNetworkManagedServiceZeroTlAccess
GetNetworkOciDnsForwardingConfig
- Domain
Name string - Oci
Dns stringListener Ip
- Domain
Name string - Oci
Dns stringListener Ip
- domain
Name String - oci
Dns StringListener Ip
- domain
Name string - oci
Dns stringListener Ip
- domain_
name str - oci_
dns_ strlistener_ ip
- domain
Name String - oci
Dns StringListener Ip
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.