Network class
Resource for managing odb Network resource in AWS for Oracle Database@AWS.
Example Usage
Disabled S3 and Zero-ETL Access
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.odb.Network("example", {
displayName: "odb-my-net",
availabilityZoneId: "use1-az6",
clientSubnetCidr: "10.2.0.0/24",
backupSubnetCidr: "10.2.1.0/24",
s3Access: "DISABLED",
zeroEtlAccess: "DISABLED",
tags: {
env: "dev",
},
});
import pulumi
import pulumi_aws as aws
example = aws.odb.Network("example",
display_name="odb-my-net",
availability_zone_id="use1-az6",
client_subnet_cidr="10.2.0.0/24",
backup_subnet_cidr="10.2.1.0/24",
s3_access="DISABLED",
zero_etl_access="DISABLED",
tags={
"env": "dev",
})
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Odb.Network("example", new()
{
DisplayName = "odb-my-net",
AvailabilityZoneId = "use1-az6",
ClientSubnetCidr = "10.2.0.0/24",
BackupSubnetCidr = "10.2.1.0/24",
S3Access = "DISABLED",
ZeroEtlAccess = "DISABLED",
Tags =
{
{ "env", "dev" },
},
});
});
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.NewNetwork(ctx, "example", &odb.NetworkArgs{
DisplayName: pulumi.String("odb-my-net"),
AvailabilityZoneId: pulumi.String("use1-az6"),
ClientSubnetCidr: pulumi.String("10.2.0.0/24"),
BackupSubnetCidr: pulumi.String("10.2.1.0/24"),
S3Access: pulumi.String("DISABLED"),
ZeroEtlAccess: pulumi.String("DISABLED"),
Tags: pulumi.StringMap{
"env": pulumi.String("dev"),
},
})
if err != nil {
return err
}
return nil
})
}
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_odb_network" "example" {
display_name = "odb-my-net"
availability_zone_id = "use1-az6"
client_subnet_cidr = "10.2.0.0/24"
backup_subnet_cidr = "10.2.1.0/24"
s3_access = "DISABLED"
zero_etl_access = "DISABLED"
tags = {
"env" = "dev"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.odb.Network;
import com.pulumi.aws.odb.NetworkArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
var example = new Network("example", NetworkArgs.builder()
.displayName("odb-my-net")
.availabilityZoneId("use1-az6")
.clientSubnetCidr("10.2.0.0/24")
.backupSubnetCidr("10.2.1.0/24")
.s3Access("DISABLED")
.zeroEtlAccess("DISABLED")
.tags(Map.of("env", "dev"))
.build());
}
}
resources:
example:
type: aws:odb:Network
properties:
displayName: odb-my-net
availabilityZoneId: use1-az6
clientSubnetCidr: 10.2.0.0/24
backupSubnetCidr: 10.2.1.0/24
s3Access: DISABLED
zeroEtlAccess: DISABLED
tags:
env: dev
Enabled S3 and Zero-ETL Access
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.odb.Network("example", {
displayName: "odb-my-net",
availabilityZoneId: "use1-az6",
clientSubnetCidr: "10.2.0.0/24",
backupSubnetCidr: "10.2.1.0/24",
s3Access: "ENABLED",
zeroEtlAccess: "ENABLED",
tags: {
env: "dev",
},
});
import pulumi
import pulumi_aws as aws
example = aws.odb.Network("example",
display_name="odb-my-net",
availability_zone_id="use1-az6",
client_subnet_cidr="10.2.0.0/24",
backup_subnet_cidr="10.2.1.0/24",
s3_access="ENABLED",
zero_etl_access="ENABLED",
tags={
"env": "dev",
})
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Odb.Network("example", new()
{
DisplayName = "odb-my-net",
AvailabilityZoneId = "use1-az6",
ClientSubnetCidr = "10.2.0.0/24",
BackupSubnetCidr = "10.2.1.0/24",
S3Access = "ENABLED",
ZeroEtlAccess = "ENABLED",
Tags =
{
{ "env", "dev" },
},
});
});
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.NewNetwork(ctx, "example", &odb.NetworkArgs{
DisplayName: pulumi.String("odb-my-net"),
AvailabilityZoneId: pulumi.String("use1-az6"),
ClientSubnetCidr: pulumi.String("10.2.0.0/24"),
BackupSubnetCidr: pulumi.String("10.2.1.0/24"),
S3Access: pulumi.String("ENABLED"),
ZeroEtlAccess: pulumi.String("ENABLED"),
Tags: pulumi.StringMap{
"env": pulumi.String("dev"),
},
})
if err != nil {
return err
}
return nil
})
}
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_odb_network" "example" {
display_name = "odb-my-net"
availability_zone_id = "use1-az6"
client_subnet_cidr = "10.2.0.0/24"
backup_subnet_cidr = "10.2.1.0/24"
s3_access = "ENABLED"
zero_etl_access = "ENABLED"
tags = {
"env" = "dev"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.odb.Network;
import com.pulumi.aws.odb.NetworkArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
var example = new Network("example", NetworkArgs.builder()
.displayName("odb-my-net")
.availabilityZoneId("use1-az6")
.clientSubnetCidr("10.2.0.0/24")
.backupSubnetCidr("10.2.1.0/24")
.s3Access("ENABLED")
.zeroEtlAccess("ENABLED")
.tags(Map.of("env", "dev"))
.build());
}
}
resources:
example:
type: aws:odb:Network
properties:
displayName: odb-my-net
availabilityZoneId: use1-az6
clientSubnetCidr: 10.2.0.0/24
backupSubnetCidr: 10.2.1.0/24
s3Access: ENABLED
zeroEtlAccess: ENABLED
tags:
env: dev
Import
Using pulumi import, import Odb Network using the id. For example:
$ pulumi import aws:odb/network:Network example example
Constructors
- Network(String name, {NetworkArgs? args, CustomResourceOptions? options})
-
Creates a new Network.
nameThe Pulumi resource name.argsArguments used to configure this Network. The set of arguments for Network.optionsResource options controlling this resource's behavior. - Network.reference(String urn)
- Creates a typed reference to an existing Network resource.
Properties
-
arn
↔ Output<
String> -
ARN of the odb network resource.
latefinal
-
availabilityZone
↔ Output<
String> -
Name of the Availability Zone (AZ) where the odb network is located. Changing this will force terraform to create new resource. Make sure
availabilityZonemaps correctly withavailabilityZoneId.latefinal -
availabilityZoneId
↔ Output<
String> -
AZ ID of the AZ where the ODB network is located. Changing this will force terraform to create new resource.
latefinal
-
backupSubnetCidr
↔ Output<
String> -
CIDR range of the backup subnet for the ODB network. Changing this will force terraform to create new resource.
latefinal
-
childResources
→ Set<
Resource> -
finalinherited
-
clientSubnetCidr
↔ Output<
String> -
CIDR notation for the network resource. Changing this will force terraform to create new resource.
latefinal
-
completionSources
↔ Map<
String, IOutputCompletionSource> -
latefinalinherited
-
createdAt
↔ Output<
String> -
Date and time when the ODB network was created.
latefinal
-
crossRegionS3RestoreSourcesAccesses
↔ Output<
List< String> > -
List of regions enabled for cross-region restore in the ODB network.
latefinal
-
customDomainName
↔ Output<
String?> -
Name of the custom domain that the network is located.
customDomainNameanddefaultDnsPrefixboth can't be given. Changing this will force terraform to create new resource.latefinal -
defaultDnsPrefix
↔ Output<
String?> -
Default DNS prefix for the network resource. Changing this will force terraform to create new resource.
latefinal
-
deleteAssociatedResources
↔ Output<
bool> -
If set to true deletes associated OCI resources. Default false.
latefinal
-
displayName
↔ Output<
String> -
User-friendly name for the odb network. Changing this will force terraform to create a new resource.
latefinal
-
ec2PlacementGroupIds
↔ Output<
List< String> > -
List of EC2 placement group IDs associated with the ODB network.
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
-
id
↔ Output<
String> -
getter/setter pairinherited
- isCustom → bool
-
Returns whether this resource is provider-managed.
no setterinherited
- isProtected → bool
-
Returns whether this resource is protected from deletion.
no setterinherited
- isRemote → bool
-
Whether this resource is registered as remote.
no setterinherited
- isResourceReference → bool
-
Whether this instance represents a resource value returned over RPC.
finalinherited
-
kmsAccess
↔ Output<
String> -
Configuration for KMS access from the ODB network.
latefinal
-
kmsPolicyDocument
↔ Output<
String?> -
Endpoint policy for KMS access from the ODB network.
latefinal
-
managedServices
↔ Output<
List< NetworkManagedService> > -
Managed services configuration for the ODB network. See
managedServicesBlock below.latefinal -
ociDnsForwardingConfigs
↔ Output<
List< NetworkOciDnsForwardingConfig> > -
DNS resolver endpoints in OCI for forwarding DNS queries for the
ociPrivateZonedomain. SeeociDnsForwardingConfigsBlock below.latefinal -
ociNetworkAnchorId
↔ Output<
String> -
Unique identifier of the OCI network anchor for the ODB network.
latefinal
-
ociNetworkAnchorUrl
↔ Output<
String> -
URL of the OCI network anchor for the ODB network.
latefinal
-
ociResourceAnchorName
↔ Output<
String> -
Name of the OCI resource anchor for the ODB network.
latefinal
-
ociVcnId
↔ Output<
String> -
Unique identifier Oracle Cloud ID (OCID) of the OCI VCN for the ODB network.
latefinal
-
ociVcnUrl
↔ Output<
String> -
URL of the OCI VCN for the ODB network.
latefinal
-
peeredCidrs
↔ Output<
List< String> > -
List of CIDR ranges from the peered VPC that are allowed access to the ODB network. See the ODB network peering documentation for more information.
latefinal
-
percentProgress
↔ Output<
double> -
Amount of progress made on the current operation on the ODB network, expressed as a percentage.
latefinal
-
region
↔ Output<
String> -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
latefinal
-
resourceTransforms
→ List<
ResourceTransform> -
Inherited/explicit async transforms.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
s3Access
↔ Output<
String> -
Configuration for Amazon S3 access from the ODB network.
latefinal
-
s3PolicyDocument
↔ Output<
String?> -
Endpoint policy for Amazon S3 access from the ODB network.
latefinal
-
status
↔ Output<
String> -
Status of the Zero-ETL access.
latefinal
-
statusReason
↔ Output<
String> -
Additional information about the current status of the ODB network.
latefinal
-
stsAccess
↔ Output<
String> -
Configuration for STS access from the ODB network.
latefinal
-
stsPolicyDocument
↔ Output<
String?> -
Endpoint policy for STS access from the ODB network.
latefinal
-
Map of tags to assign to the exadata infrastructure. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.latefinal -
latefinal
-
timeouts
↔ Output<
NetworkTimeouts?> -
latefinal
-
transformations
→ List<
ResourceTransformation> -
Inherited/explicit legacy transformations.
no setterinherited
-
urn
↔ Output<
String> -
latefinalinherited
-
zeroEtlAccess
↔ Output<
String> -
Configuration for Zero-ETL access from the ODB network.
latefinal
Methods
-
failId(
Object error) → void -
Completes this resource ID with an error when registration fails.
inherited
-
failOutputs(
Object error) → void -
Completes all output properties with
error.inherited -
failUrn(
Object error) → void -
Completes this resource URN with an error when registration fails.
inherited
-
getProvider(
String moduleMember) → ProviderResource? -
Returns provider for
moduleMember's package, if configured.inherited -
getResourceName(
) → String -
Returns this resource's logical name.
inherited
-
getResourceType(
) → String -
Returns this resource's Pulumi type token.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerOutput<
T> (String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output< T> -
Registers a dynamic output property for this resource.
inherited
-
resolveId(
String? value, {required bool isKnown}) → void -
Resolves the provider-assigned ID for this resource.
inherited
-
resolveOutputs(
Struct outputs) → void -
Resolves all output properties from a monitor response payload.
inherited
-
resolveUrn(
String value) → void -
Resolves this resource's URN once assigned by the engine.
inherited
-
serializeProperties(
Map< String, dynamic> properties) → Future<Struct> -
Serializes resource properties for RPC transmission.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited