gcp.oracledatabase.DbSystem
A DbSystem Resource
Example Usage
Oracledatabase Db System Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const myDbSystem = new gcp.oracledatabase.DbSystem("my_db_system", {
dbSystemId: "my-instance",
displayName: "my-instance displayname",
location: "europe-west2",
project: "my-project",
odbNetwork: "projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork",
odbSubnet: "projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork/odbSubnets/my-odbsubnet",
properties: {
sshPublicKeys: ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com"],
computeCount: 4,
hostnamePrefix: "hostname1",
shape: "VM.Standard.x86",
initialDataStorageSizeGb: 256,
databaseEdition: "STANDARD_EDITION",
licenseModel: "LICENSE_INCLUDED",
timeZone: {
id: "UTC",
},
dbHome: {
dbVersion: "19.0.0.0",
database: {
adminPassword: "ABcde_1#234",
databaseId: "mydb",
dbName: "db",
},
},
},
deletionProtection: true,
});
import pulumi
import pulumi_gcp as gcp
my_db_system = gcp.oracledatabase.DbSystem("my_db_system",
db_system_id="my-instance",
display_name="my-instance displayname",
location="europe-west2",
project="my-project",
odb_network="projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork",
odb_subnet="projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork/odbSubnets/my-odbsubnet",
properties={
"ssh_public_keys": ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com"],
"compute_count": 4,
"hostname_prefix": "hostname1",
"shape": "VM.Standard.x86",
"initial_data_storage_size_gb": 256,
"database_edition": "STANDARD_EDITION",
"license_model": "LICENSE_INCLUDED",
"time_zone": {
"id": "UTC",
},
"db_home": {
"db_version": "19.0.0.0",
"database": {
"admin_password": "ABcde_1#234",
"database_id": "mydb",
"db_name": "db",
},
},
},
deletion_protection=True)
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/oracledatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := oracledatabase.NewDbSystem(ctx, "my_db_system", &oracledatabase.DbSystemArgs{
DbSystemId: pulumi.String("my-instance"),
DisplayName: pulumi.String("my-instance displayname"),
Location: pulumi.String("europe-west2"),
Project: pulumi.String("my-project"),
OdbNetwork: pulumi.String("projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork"),
OdbSubnet: pulumi.String("projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork/odbSubnets/my-odbsubnet"),
Properties: &oracledatabase.DbSystemPropertiesArgs{
SshPublicKeys: pulumi.StringArray{
pulumi.String("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com"),
},
ComputeCount: pulumi.Int(4),
HostnamePrefix: pulumi.String("hostname1"),
Shape: pulumi.String("VM.Standard.x86"),
InitialDataStorageSizeGb: pulumi.Int(256),
DatabaseEdition: pulumi.String("STANDARD_EDITION"),
LicenseModel: pulumi.String("LICENSE_INCLUDED"),
TimeZone: &oracledatabase.DbSystemPropertiesTimeZoneArgs{
Id: pulumi.String("UTC"),
},
DbHome: &oracledatabase.DbSystemPropertiesDbHomeArgs{
DbVersion: pulumi.String("19.0.0.0"),
Database: &oracledatabase.DbSystemPropertiesDbHomeDatabaseArgs{
AdminPassword: pulumi.String("ABcde_1#234"),
DatabaseId: pulumi.String("mydb"),
DbName: pulumi.String("db"),
},
},
},
DeletionProtection: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var myDbSystem = new Gcp.OracleDatabase.DbSystem("my_db_system", new()
{
DbSystemId = "my-instance",
DisplayName = "my-instance displayname",
Location = "europe-west2",
Project = "my-project",
OdbNetwork = "projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork",
OdbSubnet = "projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork/odbSubnets/my-odbsubnet",
Properties = new Gcp.OracleDatabase.Inputs.DbSystemPropertiesArgs
{
SshPublicKeys = new[]
{
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com",
},
ComputeCount = 4,
HostnamePrefix = "hostname1",
Shape = "VM.Standard.x86",
InitialDataStorageSizeGb = 256,
DatabaseEdition = "STANDARD_EDITION",
LicenseModel = "LICENSE_INCLUDED",
TimeZone = new Gcp.OracleDatabase.Inputs.DbSystemPropertiesTimeZoneArgs
{
Id = "UTC",
},
DbHome = new Gcp.OracleDatabase.Inputs.DbSystemPropertiesDbHomeArgs
{
DbVersion = "19.0.0.0",
Database = new Gcp.OracleDatabase.Inputs.DbSystemPropertiesDbHomeDatabaseArgs
{
AdminPassword = "ABcde_1#234",
DatabaseId = "mydb",
DbName = "db",
},
},
},
DeletionProtection = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.oracledatabase.DbSystem;
import com.pulumi.gcp.oracledatabase.DbSystemArgs;
import com.pulumi.gcp.oracledatabase.inputs.DbSystemPropertiesArgs;
import com.pulumi.gcp.oracledatabase.inputs.DbSystemPropertiesTimeZoneArgs;
import com.pulumi.gcp.oracledatabase.inputs.DbSystemPropertiesDbHomeArgs;
import com.pulumi.gcp.oracledatabase.inputs.DbSystemPropertiesDbHomeDatabaseArgs;
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) {
var myDbSystem = new DbSystem("myDbSystem", DbSystemArgs.builder()
.dbSystemId("my-instance")
.displayName("my-instance displayname")
.location("europe-west2")
.project("my-project")
.odbNetwork("projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork")
.odbSubnet("projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork/odbSubnets/my-odbsubnet")
.properties(DbSystemPropertiesArgs.builder()
.sshPublicKeys("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com")
.computeCount(4)
.hostnamePrefix("hostname1")
.shape("VM.Standard.x86")
.initialDataStorageSizeGb(256)
.databaseEdition("STANDARD_EDITION")
.licenseModel("LICENSE_INCLUDED")
.timeZone(DbSystemPropertiesTimeZoneArgs.builder()
.id("UTC")
.build())
.dbHome(DbSystemPropertiesDbHomeArgs.builder()
.dbVersion("19.0.0.0")
.database(DbSystemPropertiesDbHomeDatabaseArgs.builder()
.adminPassword("ABcde_1#234")
.databaseId("mydb")
.dbName("db")
.build())
.build())
.build())
.deletionProtection(true)
.build());
}
}
resources:
myDbSystem:
type: gcp:oracledatabase:DbSystem
name: my_db_system
properties:
dbSystemId: my-instance
displayName: my-instance displayname
location: europe-west2
project: my-project
odbNetwork: projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork
odbSubnet: projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork/odbSubnets/my-odbsubnet
properties:
sshPublicKeys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com
computeCount: '4'
hostnamePrefix: hostname1
shape: VM.Standard.x86
initialDataStorageSizeGb: '256'
databaseEdition: STANDARD_EDITION
licenseModel: LICENSE_INCLUDED
timeZone:
id: UTC
dbHome:
dbVersion: 19.0.0.0
database:
adminPassword: ABcde_1#234
databaseId: mydb
dbName: db
deletionProtection: 'true'
Oracledatabase Db System Full
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const myDbSystem = new gcp.oracledatabase.DbSystem("my_db_system", {
dbSystemId: "my-instance",
displayName: "my-instance displayname",
location: "europe-west2",
project: "my-project",
odbNetwork: "projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork",
odbSubnet: "projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork/odbSubnets/my-odbsubnet",
properties: {
sshPublicKeys: ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com"],
computeCount: 4,
hostnamePrefix: "hostname3",
computeModel: "ECPU",
dataStorageSizeGb: 256,
memorySizeGb: 8,
shape: "VM.Standard.x86",
initialDataStorageSizeGb: 256,
databaseEdition: "STANDARD_EDITION",
licenseModel: "LICENSE_INCLUDED",
privateIp: "10.1.2.127",
dbHome: {
dbVersion: "19.0.0.0",
database: {
dbName: "db",
dbUniqueName: "dbunique",
adminPassword: "ABcde_1#2345",
tdeWalletPassword: "ABcde_1#2345",
databaseId: "mydb",
},
isUnifiedAuditingEnabled: true,
},
},
deletionProtection: true,
});
import pulumi
import pulumi_gcp as gcp
my_db_system = gcp.oracledatabase.DbSystem("my_db_system",
db_system_id="my-instance",
display_name="my-instance displayname",
location="europe-west2",
project="my-project",
odb_network="projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork",
odb_subnet="projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork/odbSubnets/my-odbsubnet",
properties={
"ssh_public_keys": ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com"],
"compute_count": 4,
"hostname_prefix": "hostname3",
"compute_model": "ECPU",
"data_storage_size_gb": 256,
"memory_size_gb": 8,
"shape": "VM.Standard.x86",
"initial_data_storage_size_gb": 256,
"database_edition": "STANDARD_EDITION",
"license_model": "LICENSE_INCLUDED",
"private_ip": "10.1.2.127",
"db_home": {
"db_version": "19.0.0.0",
"database": {
"db_name": "db",
"db_unique_name": "dbunique",
"admin_password": "ABcde_1#2345",
"tde_wallet_password": "ABcde_1#2345",
"database_id": "mydb",
},
"is_unified_auditing_enabled": True,
},
},
deletion_protection=True)
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/oracledatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := oracledatabase.NewDbSystem(ctx, "my_db_system", &oracledatabase.DbSystemArgs{
DbSystemId: pulumi.String("my-instance"),
DisplayName: pulumi.String("my-instance displayname"),
Location: pulumi.String("europe-west2"),
Project: pulumi.String("my-project"),
OdbNetwork: pulumi.String("projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork"),
OdbSubnet: pulumi.String("projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork/odbSubnets/my-odbsubnet"),
Properties: &oracledatabase.DbSystemPropertiesArgs{
SshPublicKeys: pulumi.StringArray{
pulumi.String("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com"),
},
ComputeCount: pulumi.Int(4),
HostnamePrefix: pulumi.String("hostname3"),
ComputeModel: pulumi.String("ECPU"),
DataStorageSizeGb: pulumi.Int(256),
MemorySizeGb: pulumi.Int(8),
Shape: pulumi.String("VM.Standard.x86"),
InitialDataStorageSizeGb: pulumi.Int(256),
DatabaseEdition: pulumi.String("STANDARD_EDITION"),
LicenseModel: pulumi.String("LICENSE_INCLUDED"),
PrivateIp: pulumi.String("10.1.2.127"),
DbHome: &oracledatabase.DbSystemPropertiesDbHomeArgs{
DbVersion: pulumi.String("19.0.0.0"),
Database: &oracledatabase.DbSystemPropertiesDbHomeDatabaseArgs{
DbName: pulumi.String("db"),
DbUniqueName: pulumi.String("dbunique"),
AdminPassword: pulumi.String("ABcde_1#2345"),
TdeWalletPassword: pulumi.String("ABcde_1#2345"),
DatabaseId: pulumi.String("mydb"),
},
IsUnifiedAuditingEnabled: pulumi.Bool(true),
},
},
DeletionProtection: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var myDbSystem = new Gcp.OracleDatabase.DbSystem("my_db_system", new()
{
DbSystemId = "my-instance",
DisplayName = "my-instance displayname",
Location = "europe-west2",
Project = "my-project",
OdbNetwork = "projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork",
OdbSubnet = "projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork/odbSubnets/my-odbsubnet",
Properties = new Gcp.OracleDatabase.Inputs.DbSystemPropertiesArgs
{
SshPublicKeys = new[]
{
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com",
},
ComputeCount = 4,
HostnamePrefix = "hostname3",
ComputeModel = "ECPU",
DataStorageSizeGb = 256,
MemorySizeGb = 8,
Shape = "VM.Standard.x86",
InitialDataStorageSizeGb = 256,
DatabaseEdition = "STANDARD_EDITION",
LicenseModel = "LICENSE_INCLUDED",
PrivateIp = "10.1.2.127",
DbHome = new Gcp.OracleDatabase.Inputs.DbSystemPropertiesDbHomeArgs
{
DbVersion = "19.0.0.0",
Database = new Gcp.OracleDatabase.Inputs.DbSystemPropertiesDbHomeDatabaseArgs
{
DbName = "db",
DbUniqueName = "dbunique",
AdminPassword = "ABcde_1#2345",
TdeWalletPassword = "ABcde_1#2345",
DatabaseId = "mydb",
},
IsUnifiedAuditingEnabled = true,
},
},
DeletionProtection = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.oracledatabase.DbSystem;
import com.pulumi.gcp.oracledatabase.DbSystemArgs;
import com.pulumi.gcp.oracledatabase.inputs.DbSystemPropertiesArgs;
import com.pulumi.gcp.oracledatabase.inputs.DbSystemPropertiesDbHomeArgs;
import com.pulumi.gcp.oracledatabase.inputs.DbSystemPropertiesDbHomeDatabaseArgs;
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) {
var myDbSystem = new DbSystem("myDbSystem", DbSystemArgs.builder()
.dbSystemId("my-instance")
.displayName("my-instance displayname")
.location("europe-west2")
.project("my-project")
.odbNetwork("projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork")
.odbSubnet("projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork/odbSubnets/my-odbsubnet")
.properties(DbSystemPropertiesArgs.builder()
.sshPublicKeys("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com")
.computeCount(4)
.hostnamePrefix("hostname3")
.computeModel("ECPU")
.dataStorageSizeGb(256)
.memorySizeGb(8)
.shape("VM.Standard.x86")
.initialDataStorageSizeGb(256)
.databaseEdition("STANDARD_EDITION")
.licenseModel("LICENSE_INCLUDED")
.privateIp("10.1.2.127")
.dbHome(DbSystemPropertiesDbHomeArgs.builder()
.dbVersion("19.0.0.0")
.database(DbSystemPropertiesDbHomeDatabaseArgs.builder()
.dbName("db")
.dbUniqueName("dbunique")
.adminPassword("ABcde_1#2345")
.tdeWalletPassword("ABcde_1#2345")
.databaseId("mydb")
.build())
.isUnifiedAuditingEnabled(true)
.build())
.build())
.deletionProtection(true)
.build());
}
}
resources:
myDbSystem:
type: gcp:oracledatabase:DbSystem
name: my_db_system
properties:
dbSystemId: my-instance
displayName: my-instance displayname
location: europe-west2
project: my-project
odbNetwork: projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork
odbSubnet: projects/my-project/locations/europe-west2/odbNetworks/my-odbnetwork/odbSubnets/my-odbsubnet
properties:
sshPublicKeys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCz1X2744t+6vRLmE5u6nHi6/QWh8bQDgHmd+OIxRQIGA/IWUtCs2FnaCNZcqvZkaeyjk5v0lTA/n+9jvO42Ipib53athrfVG8gRt8fzPL66C6ZqHq+6zZophhrCdfJh/0G4x9xJh5gdMprlaCR1P8yAaVvhBQSKGc4SiIkyMNBcHJ5YTtMQMTfxaB4G1sHZ6SDAY9a6Cq/zNjDwfPapWLsiP4mRhE5SSjJX6l6EYbkm0JeLQg+AbJiNEPvrvDp1wtTxzlPJtIivthmLMThFxK7+DkrYFuLvN5AHUdo9KTDLvHtDCvV70r8v0gafsrKkM/OE9Jtzoo0e1N/5K/ZdyFRbAkFT4QSF3nwpbmBWLf2Evg//YyEuxnz4CwPqFST2mucnrCCGCVWp1vnHZ0y30nM35njLOmWdRDFy5l27pKUTwLp02y3UYiiZyP7d3/u5pKiN4vC27VuvzprSdJxWoAvluOiDeRh+/oeQDowxoT/Oop8DzB9uJmjktXw8jyMW2+Rpg+ENQqeNgF1OGlEzypaWiRskEFlkpLb4v/s3ZDYkL1oW0Nv/J8LTjTOTEaYt2Udjoe9x2xWiGnQixhdChWuG+MaoWffzUgx1tsVj/DBXijR5DjkPkrA1GA98zd3q8GKEaAdcDenJjHhNYSd4+rE9pIsnYn7fo5X/tFfcQH1XQ== nobody@google.com
computeCount: '4'
hostnamePrefix: hostname3
computeModel: ECPU
dataStorageSizeGb: '256'
memorySizeGb: '8'
shape: VM.Standard.x86
initialDataStorageSizeGb: '256'
databaseEdition: STANDARD_EDITION
licenseModel: LICENSE_INCLUDED
privateIp: 10.1.2.127
dbHome:
dbVersion: 19.0.0.0
database:
dbName: db
dbUniqueName: dbunique
adminPassword: ABcde_1#2345
tdeWalletPassword: ABcde_1#2345
databaseId: mydb
isUnifiedAuditingEnabled: 'true'
deletionProtection: 'true'
Create DbSystem Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DbSystem(name: string, args: DbSystemArgs, opts?: CustomResourceOptions);@overload
def DbSystem(resource_name: str,
args: DbSystemArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DbSystem(resource_name: str,
opts: Optional[ResourceOptions] = None,
db_system_id: Optional[str] = None,
display_name: Optional[str] = None,
location: Optional[str] = None,
odb_subnet: Optional[str] = None,
deletion_protection: Optional[bool] = None,
gcp_oracle_zone: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
odb_network: Optional[str] = None,
project: Optional[str] = None,
properties: Optional[DbSystemPropertiesArgs] = None)func NewDbSystem(ctx *Context, name string, args DbSystemArgs, opts ...ResourceOption) (*DbSystem, error)public DbSystem(string name, DbSystemArgs args, CustomResourceOptions? opts = null)
public DbSystem(String name, DbSystemArgs args)
public DbSystem(String name, DbSystemArgs args, CustomResourceOptions options)
type: gcp:oracledatabase:DbSystem
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DbSystemArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DbSystemArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DbSystemArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DbSystemArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DbSystemArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var dbSystemResource = new Gcp.OracleDatabase.DbSystem("dbSystemResource", new()
{
DbSystemId = "string",
DisplayName = "string",
Location = "string",
OdbSubnet = "string",
DeletionProtection = false,
GcpOracleZone = "string",
Labels =
{
{ "string", "string" },
},
OdbNetwork = "string",
Project = "string",
Properties = new Gcp.OracleDatabase.Inputs.DbSystemPropertiesArgs
{
InitialDataStorageSizeGb = 0,
SshPublicKeys = new[]
{
"string",
},
Shape = "string",
LicenseModel = "string",
DatabaseEdition = "string",
ComputeCount = 0,
DbHome = new Gcp.OracleDatabase.Inputs.DbSystemPropertiesDbHomeArgs
{
Database = new Gcp.OracleDatabase.Inputs.DbSystemPropertiesDbHomeDatabaseArgs
{
DatabaseId = "string",
AdminPassword = "string",
DbUniqueName = "string",
CreateTime = "string",
DbHomeName = "string",
DbName = "string",
CharacterSet = "string",
GcpOracleZone = "string",
Name = "string",
NcharacterSet = "string",
OciUrl = "string",
OpsInsightsStatus = "string",
Properties = new Gcp.OracleDatabase.Inputs.DbSystemPropertiesDbHomeDatabasePropertiesArgs
{
DbVersion = "string",
DatabaseManagementConfig = new Gcp.OracleDatabase.Inputs.DbSystemPropertiesDbHomeDatabasePropertiesDatabaseManagementConfigArgs
{
ManagementState = "string",
ManagementType = "string",
},
DbBackupConfig = new Gcp.OracleDatabase.Inputs.DbSystemPropertiesDbHomeDatabasePropertiesDbBackupConfigArgs
{
AutoBackupEnabled = false,
AutoFullBackupDay = "string",
AutoFullBackupWindow = "string",
AutoIncrementalBackupWindow = "string",
BackupDeletionPolicy = "string",
BackupDestinationDetails = new[]
{
new Gcp.OracleDatabase.Inputs.DbSystemPropertiesDbHomeDatabasePropertiesDbBackupConfigBackupDestinationDetailArgs
{
Type = "string",
},
},
RetentionPeriodDays = 0,
},
State = "string",
},
TdeWalletPassword = "string",
},
DbVersion = "string",
DisplayName = "string",
IsUnifiedAuditingEnabled = false,
},
MemorySizeGb = 0,
Hostname = "string",
HostnamePrefix = "string",
DbSystemOptions = new Gcp.OracleDatabase.Inputs.DbSystemPropertiesDbSystemOptionsArgs
{
StorageManagement = "string",
},
DataStorageSizeGb = 0,
LifecycleState = "string",
Domain = "string",
NodeCount = 0,
Ocid = "string",
PrivateIp = "string",
RecoStorageSizeGb = 0,
DataCollectionOptions = new Gcp.OracleDatabase.Inputs.DbSystemPropertiesDataCollectionOptionsArgs
{
IsDiagnosticsEventsEnabled = false,
IsIncidentLogsEnabled = false,
},
ComputeModel = "string",
TimeZone = new Gcp.OracleDatabase.Inputs.DbSystemPropertiesTimeZoneArgs
{
Id = "string",
},
},
});
example, err := oracledatabase.NewDbSystem(ctx, "dbSystemResource", &oracledatabase.DbSystemArgs{
DbSystemId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Location: pulumi.String("string"),
OdbSubnet: pulumi.String("string"),
DeletionProtection: pulumi.Bool(false),
GcpOracleZone: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
OdbNetwork: pulumi.String("string"),
Project: pulumi.String("string"),
Properties: &oracledatabase.DbSystemPropertiesArgs{
InitialDataStorageSizeGb: pulumi.Int(0),
SshPublicKeys: pulumi.StringArray{
pulumi.String("string"),
},
Shape: pulumi.String("string"),
LicenseModel: pulumi.String("string"),
DatabaseEdition: pulumi.String("string"),
ComputeCount: pulumi.Int(0),
DbHome: &oracledatabase.DbSystemPropertiesDbHomeArgs{
Database: &oracledatabase.DbSystemPropertiesDbHomeDatabaseArgs{
DatabaseId: pulumi.String("string"),
AdminPassword: pulumi.String("string"),
DbUniqueName: pulumi.String("string"),
CreateTime: pulumi.String("string"),
DbHomeName: pulumi.String("string"),
DbName: pulumi.String("string"),
CharacterSet: pulumi.String("string"),
GcpOracleZone: pulumi.String("string"),
Name: pulumi.String("string"),
NcharacterSet: pulumi.String("string"),
OciUrl: pulumi.String("string"),
OpsInsightsStatus: pulumi.String("string"),
Properties: &oracledatabase.DbSystemPropertiesDbHomeDatabasePropertiesArgs{
DbVersion: pulumi.String("string"),
DatabaseManagementConfig: &oracledatabase.DbSystemPropertiesDbHomeDatabasePropertiesDatabaseManagementConfigArgs{
ManagementState: pulumi.String("string"),
ManagementType: pulumi.String("string"),
},
DbBackupConfig: &oracledatabase.DbSystemPropertiesDbHomeDatabasePropertiesDbBackupConfigArgs{
AutoBackupEnabled: pulumi.Bool(false),
AutoFullBackupDay: pulumi.String("string"),
AutoFullBackupWindow: pulumi.String("string"),
AutoIncrementalBackupWindow: pulumi.String("string"),
BackupDeletionPolicy: pulumi.String("string"),
BackupDestinationDetails: oracledatabase.DbSystemPropertiesDbHomeDatabasePropertiesDbBackupConfigBackupDestinationDetailArray{
&oracledatabase.DbSystemPropertiesDbHomeDatabasePropertiesDbBackupConfigBackupDestinationDetailArgs{
Type: pulumi.String("string"),
},
},
RetentionPeriodDays: pulumi.Int(0),
},
State: pulumi.String("string"),
},
TdeWalletPassword: pulumi.String("string"),
},
DbVersion: pulumi.String("string"),
DisplayName: pulumi.String("string"),
IsUnifiedAuditingEnabled: pulumi.Bool(false),
},
MemorySizeGb: pulumi.Int(0),
Hostname: pulumi.String("string"),
HostnamePrefix: pulumi.String("string"),
DbSystemOptions: &oracledatabase.DbSystemPropertiesDbSystemOptionsArgs{
StorageManagement: pulumi.String("string"),
},
DataStorageSizeGb: pulumi.Int(0),
LifecycleState: pulumi.String("string"),
Domain: pulumi.String("string"),
NodeCount: pulumi.Int(0),
Ocid: pulumi.String("string"),
PrivateIp: pulumi.String("string"),
RecoStorageSizeGb: pulumi.Int(0),
DataCollectionOptions: &oracledatabase.DbSystemPropertiesDataCollectionOptionsArgs{
IsDiagnosticsEventsEnabled: pulumi.Bool(false),
IsIncidentLogsEnabled: pulumi.Bool(false),
},
ComputeModel: pulumi.String("string"),
TimeZone: &oracledatabase.DbSystemPropertiesTimeZoneArgs{
Id: pulumi.String("string"),
},
},
})
var dbSystemResource = new DbSystem("dbSystemResource", DbSystemArgs.builder()
.dbSystemId("string")
.displayName("string")
.location("string")
.odbSubnet("string")
.deletionProtection(false)
.gcpOracleZone("string")
.labels(Map.of("string", "string"))
.odbNetwork("string")
.project("string")
.properties(DbSystemPropertiesArgs.builder()
.initialDataStorageSizeGb(0)
.sshPublicKeys("string")
.shape("string")
.licenseModel("string")
.databaseEdition("string")
.computeCount(0)
.dbHome(DbSystemPropertiesDbHomeArgs.builder()
.database(DbSystemPropertiesDbHomeDatabaseArgs.builder()
.databaseId("string")
.adminPassword("string")
.dbUniqueName("string")
.createTime("string")
.dbHomeName("string")
.dbName("string")
.characterSet("string")
.gcpOracleZone("string")
.name("string")
.ncharacterSet("string")
.ociUrl("string")
.opsInsightsStatus("string")
.properties(DbSystemPropertiesDbHomeDatabasePropertiesArgs.builder()
.dbVersion("string")
.databaseManagementConfig(DbSystemPropertiesDbHomeDatabasePropertiesDatabaseManagementConfigArgs.builder()
.managementState("string")
.managementType("string")
.build())
.dbBackupConfig(DbSystemPropertiesDbHomeDatabasePropertiesDbBackupConfigArgs.builder()
.autoBackupEnabled(false)
.autoFullBackupDay("string")
.autoFullBackupWindow("string")
.autoIncrementalBackupWindow("string")
.backupDeletionPolicy("string")
.backupDestinationDetails(DbSystemPropertiesDbHomeDatabasePropertiesDbBackupConfigBackupDestinationDetailArgs.builder()
.type("string")
.build())
.retentionPeriodDays(0)
.build())
.state("string")
.build())
.tdeWalletPassword("string")
.build())
.dbVersion("string")
.displayName("string")
.isUnifiedAuditingEnabled(false)
.build())
.memorySizeGb(0)
.hostname("string")
.hostnamePrefix("string")
.dbSystemOptions(DbSystemPropertiesDbSystemOptionsArgs.builder()
.storageManagement("string")
.build())
.dataStorageSizeGb(0)
.lifecycleState("string")
.domain("string")
.nodeCount(0)
.ocid("string")
.privateIp("string")
.recoStorageSizeGb(0)
.dataCollectionOptions(DbSystemPropertiesDataCollectionOptionsArgs.builder()
.isDiagnosticsEventsEnabled(false)
.isIncidentLogsEnabled(false)
.build())
.computeModel("string")
.timeZone(DbSystemPropertiesTimeZoneArgs.builder()
.id("string")
.build())
.build())
.build());
db_system_resource = gcp.oracledatabase.DbSystem("dbSystemResource",
db_system_id="string",
display_name="string",
location="string",
odb_subnet="string",
deletion_protection=False,
gcp_oracle_zone="string",
labels={
"string": "string",
},
odb_network="string",
project="string",
properties={
"initial_data_storage_size_gb": 0,
"ssh_public_keys": ["string"],
"shape": "string",
"license_model": "string",
"database_edition": "string",
"compute_count": 0,
"db_home": {
"database": {
"database_id": "string",
"admin_password": "string",
"db_unique_name": "string",
"create_time": "string",
"db_home_name": "string",
"db_name": "string",
"character_set": "string",
"gcp_oracle_zone": "string",
"name": "string",
"ncharacter_set": "string",
"oci_url": "string",
"ops_insights_status": "string",
"properties": {
"db_version": "string",
"database_management_config": {
"management_state": "string",
"management_type": "string",
},
"db_backup_config": {
"auto_backup_enabled": False,
"auto_full_backup_day": "string",
"auto_full_backup_window": "string",
"auto_incremental_backup_window": "string",
"backup_deletion_policy": "string",
"backup_destination_details": [{
"type": "string",
}],
"retention_period_days": 0,
},
"state": "string",
},
"tde_wallet_password": "string",
},
"db_version": "string",
"display_name": "string",
"is_unified_auditing_enabled": False,
},
"memory_size_gb": 0,
"hostname": "string",
"hostname_prefix": "string",
"db_system_options": {
"storage_management": "string",
},
"data_storage_size_gb": 0,
"lifecycle_state": "string",
"domain": "string",
"node_count": 0,
"ocid": "string",
"private_ip": "string",
"reco_storage_size_gb": 0,
"data_collection_options": {
"is_diagnostics_events_enabled": False,
"is_incident_logs_enabled": False,
},
"compute_model": "string",
"time_zone": {
"id": "string",
},
})
const dbSystemResource = new gcp.oracledatabase.DbSystem("dbSystemResource", {
dbSystemId: "string",
displayName: "string",
location: "string",
odbSubnet: "string",
deletionProtection: false,
gcpOracleZone: "string",
labels: {
string: "string",
},
odbNetwork: "string",
project: "string",
properties: {
initialDataStorageSizeGb: 0,
sshPublicKeys: ["string"],
shape: "string",
licenseModel: "string",
databaseEdition: "string",
computeCount: 0,
dbHome: {
database: {
databaseId: "string",
adminPassword: "string",
dbUniqueName: "string",
createTime: "string",
dbHomeName: "string",
dbName: "string",
characterSet: "string",
gcpOracleZone: "string",
name: "string",
ncharacterSet: "string",
ociUrl: "string",
opsInsightsStatus: "string",
properties: {
dbVersion: "string",
databaseManagementConfig: {
managementState: "string",
managementType: "string",
},
dbBackupConfig: {
autoBackupEnabled: false,
autoFullBackupDay: "string",
autoFullBackupWindow: "string",
autoIncrementalBackupWindow: "string",
backupDeletionPolicy: "string",
backupDestinationDetails: [{
type: "string",
}],
retentionPeriodDays: 0,
},
state: "string",
},
tdeWalletPassword: "string",
},
dbVersion: "string",
displayName: "string",
isUnifiedAuditingEnabled: false,
},
memorySizeGb: 0,
hostname: "string",
hostnamePrefix: "string",
dbSystemOptions: {
storageManagement: "string",
},
dataStorageSizeGb: 0,
lifecycleState: "string",
domain: "string",
nodeCount: 0,
ocid: "string",
privateIp: "string",
recoStorageSizeGb: 0,
dataCollectionOptions: {
isDiagnosticsEventsEnabled: false,
isIncidentLogsEnabled: false,
},
computeModel: "string",
timeZone: {
id: "string",
},
},
});
type: gcp:oracledatabase:DbSystem
properties:
dbSystemId: string
deletionProtection: false
displayName: string
gcpOracleZone: string
labels:
string: string
location: string
odbNetwork: string
odbSubnet: string
project: string
properties:
computeCount: 0
computeModel: string
dataCollectionOptions:
isDiagnosticsEventsEnabled: false
isIncidentLogsEnabled: false
dataStorageSizeGb: 0
databaseEdition: string
dbHome:
database:
adminPassword: string
characterSet: string
createTime: string
databaseId: string
dbHomeName: string
dbName: string
dbUniqueName: string
gcpOracleZone: string
name: string
ncharacterSet: string
ociUrl: string
opsInsightsStatus: string
properties:
databaseManagementConfig:
managementState: string
managementType: string
dbBackupConfig:
autoBackupEnabled: false
autoFullBackupDay: string
autoFullBackupWindow: string
autoIncrementalBackupWindow: string
backupDeletionPolicy: string
backupDestinationDetails:
- type: string
retentionPeriodDays: 0
dbVersion: string
state: string
tdeWalletPassword: string
dbVersion: string
displayName: string
isUnifiedAuditingEnabled: false
dbSystemOptions:
storageManagement: string
domain: string
hostname: string
hostnamePrefix: string
initialDataStorageSizeGb: 0
licenseModel: string
lifecycleState: string
memorySizeGb: 0
nodeCount: 0
ocid: string
privateIp: string
recoStorageSizeGb: 0
shape: string
sshPublicKeys:
- string
timeZone:
id: string
DbSystem Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DbSystem resource accepts the following input properties:
- Db
System stringId - The ID of the DbSystem to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
- Display
Name string - The display name for the System db. The name does not have to be unique within your project.
- Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Odb
Subnet string - The name of the OdbSubnet associated with the DbSystem for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
- Deletion
Protection bool - Gcp
Oracle stringZone - The GCP Oracle zone where Oracle DbSystem is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
- Labels Dictionary<string, string>
- The labels or tags associated with the DbSystem.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labelsfor all of the labels present on the resource. - Odb
Network string - The name of the OdbNetwork associated with the DbSystem. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Properties
Db
System Properties - The properties of a DbSystem. Structure is documented below.
- Db
System stringId - The ID of the DbSystem to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
- Display
Name string - The display name for the System db. The name does not have to be unique within your project.
- Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Odb
Subnet string - The name of the OdbSubnet associated with the DbSystem for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
- Deletion
Protection bool - Gcp
Oracle stringZone - The GCP Oracle zone where Oracle DbSystem is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
- Labels map[string]string
- The labels or tags associated with the DbSystem.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labelsfor all of the labels present on the resource. - Odb
Network string - The name of the OdbNetwork associated with the DbSystem. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Properties
Db
System Properties Args - The properties of a DbSystem. Structure is documented below.
- db
System StringId - The ID of the DbSystem to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
- display
Name String - The display name for the System db. The name does not have to be unique within your project.
- location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - odb
Subnet String - The name of the OdbSubnet associated with the DbSystem for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
- deletion
Protection Boolean - gcp
Oracle StringZone - The GCP Oracle zone where Oracle DbSystem is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
- labels Map<String,String>
- The labels or tags associated with the DbSystem.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labelsfor all of the labels present on the resource. - odb
Network String - The name of the OdbNetwork associated with the DbSystem. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- properties
Db
System Properties - The properties of a DbSystem. Structure is documented below.
- db
System stringId - The ID of the DbSystem to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
- display
Name string - The display name for the System db. The name does not have to be unique within your project.
- location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - odb
Subnet string - The name of the OdbSubnet associated with the DbSystem for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
- deletion
Protection boolean - gcp
Oracle stringZone - The GCP Oracle zone where Oracle DbSystem is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
- labels {[key: string]: string}
- The labels or tags associated with the DbSystem.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labelsfor all of the labels present on the resource. - odb
Network string - The name of the OdbNetwork associated with the DbSystem. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- properties
Db
System Properties - The properties of a DbSystem. Structure is documented below.
- db_
system_ strid - The ID of the DbSystem to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
- display_
name str - The display name for the System db. The name does not have to be unique within your project.
- location str
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - odb_
subnet str - The name of the OdbSubnet associated with the DbSystem for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
- deletion_
protection bool - gcp_
oracle_ strzone - The GCP Oracle zone where Oracle DbSystem is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
- labels Mapping[str, str]
- The labels or tags associated with the DbSystem.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labelsfor all of the labels present on the resource. - odb_
network str - The name of the OdbNetwork associated with the DbSystem. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- properties
Db
System Properties Args - The properties of a DbSystem. Structure is documented below.
- db
System StringId - The ID of the DbSystem to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
- display
Name String - The display name for the System db. The name does not have to be unique within your project.
- location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - odb
Subnet String - The name of the OdbSubnet associated with the DbSystem for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
- deletion
Protection Boolean - gcp
Oracle StringZone - The GCP Oracle zone where Oracle DbSystem is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
- labels Map<String>
- The labels or tags associated with the DbSystem.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labelsfor all of the labels present on the resource. - odb
Network String - The name of the OdbNetwork associated with the DbSystem. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- properties Property Map
- The properties of a DbSystem. Structure is documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the DbSystem resource produces the following output properties:
- Create
Time string - The date and time that the DbSystem was created.
- Effective
Labels Dictionary<string, string> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Entitlement
Id string - The ID of the subscription entitlement associated with the DbSystem
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. The name of the DbSystem resource in the following format: projects/{project}/locations/{region}/dbSystems/{db_system}
- Oci
Url string - HTTPS link to OCI resources exposed to Customer via UI Interface.
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Create
Time string - The date and time that the DbSystem was created.
- Effective
Labels map[string]string - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Entitlement
Id string - The ID of the subscription entitlement associated with the DbSystem
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. The name of the DbSystem resource in the following format: projects/{project}/locations/{region}/dbSystems/{db_system}
- Oci
Url string - HTTPS link to OCI resources exposed to Customer via UI Interface.
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- create
Time String - The date and time that the DbSystem was created.
- effective
Labels Map<String,String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- entitlement
Id String - The ID of the subscription entitlement associated with the DbSystem
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. The name of the DbSystem resource in the following format: projects/{project}/locations/{region}/dbSystems/{db_system}
- oci
Url String - HTTPS link to OCI resources exposed to Customer via UI Interface.
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- create
Time string - The date and time that the DbSystem was created.
- effective
Labels {[key: string]: string} - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- entitlement
Id string - The ID of the subscription entitlement associated with the DbSystem
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Identifier. The name of the DbSystem resource in the following format: projects/{project}/locations/{region}/dbSystems/{db_system}
- oci
Url string - HTTPS link to OCI resources exposed to Customer via UI Interface.
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- create_
time str - The date and time that the DbSystem was created.
- effective_
labels Mapping[str, str] - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- entitlement_
id str - The ID of the subscription entitlement associated with the DbSystem
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Identifier. The name of the DbSystem resource in the following format: projects/{project}/locations/{region}/dbSystems/{db_system}
- oci_
url str - HTTPS link to OCI resources exposed to Customer via UI Interface.
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- create
Time String - The date and time that the DbSystem was created.
- effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- entitlement
Id String - The ID of the subscription entitlement associated with the DbSystem
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. The name of the DbSystem resource in the following format: projects/{project}/locations/{region}/dbSystems/{db_system}
- oci
Url String - HTTPS link to OCI resources exposed to Customer via UI Interface.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
Look up Existing DbSystem Resource
Get an existing DbSystem resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DbSystemState, opts?: CustomResourceOptions): DbSystem@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
db_system_id: Optional[str] = None,
deletion_protection: Optional[bool] = None,
display_name: Optional[str] = None,
effective_labels: Optional[Mapping[str, str]] = None,
entitlement_id: Optional[str] = None,
gcp_oracle_zone: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
oci_url: Optional[str] = None,
odb_network: Optional[str] = None,
odb_subnet: Optional[str] = None,
project: Optional[str] = None,
properties: Optional[DbSystemPropertiesArgs] = None,
pulumi_labels: Optional[Mapping[str, str]] = None) -> DbSystemfunc GetDbSystem(ctx *Context, name string, id IDInput, state *DbSystemState, opts ...ResourceOption) (*DbSystem, error)public static DbSystem Get(string name, Input<string> id, DbSystemState? state, CustomResourceOptions? opts = null)public static DbSystem get(String name, Output<String> id, DbSystemState state, CustomResourceOptions options)resources: _: type: gcp:oracledatabase:DbSystem get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Create
Time string - The date and time that the DbSystem was created.
- Db
System stringId - The ID of the DbSystem to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
- Deletion
Protection bool - Display
Name string - The display name for the System db. The name does not have to be unique within your project.
- Effective
Labels Dictionary<string, string> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Entitlement
Id string - The ID of the subscription entitlement associated with the DbSystem
- Gcp
Oracle stringZone - The GCP Oracle zone where Oracle DbSystem is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
- Labels Dictionary<string, string>
- The labels or tags associated with the DbSystem.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labelsfor all of the labels present on the resource. - Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Name string
- Identifier. The name of the DbSystem resource in the following format: projects/{project}/locations/{region}/dbSystems/{db_system}
- Oci
Url string - HTTPS link to OCI resources exposed to Customer via UI Interface.
- Odb
Network string - The name of the OdbNetwork associated with the DbSystem. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.
- Odb
Subnet string - The name of the OdbSubnet associated with the DbSystem for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Properties
Db
System Properties - The properties of a DbSystem. Structure is documented below.
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Create
Time string - The date and time that the DbSystem was created.
- Db
System stringId - The ID of the DbSystem to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
- Deletion
Protection bool - Display
Name string - The display name for the System db. The name does not have to be unique within your project.
- Effective
Labels map[string]string - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Entitlement
Id string - The ID of the subscription entitlement associated with the DbSystem
- Gcp
Oracle stringZone - The GCP Oracle zone where Oracle DbSystem is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
- Labels map[string]string
- The labels or tags associated with the DbSystem.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labelsfor all of the labels present on the resource. - Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Name string
- Identifier. The name of the DbSystem resource in the following format: projects/{project}/locations/{region}/dbSystems/{db_system}
- Oci
Url string - HTTPS link to OCI resources exposed to Customer via UI Interface.
- Odb
Network string - The name of the OdbNetwork associated with the DbSystem. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.
- Odb
Subnet string - The name of the OdbSubnet associated with the DbSystem for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Properties
Db
System Properties Args - The properties of a DbSystem. Structure is documented below.
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- create
Time String - The date and time that the DbSystem was created.
- db
System StringId - The ID of the DbSystem to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
- deletion
Protection Boolean - display
Name String - The display name for the System db. The name does not have to be unique within your project.
- effective
Labels Map<String,String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- entitlement
Id String - The ID of the subscription entitlement associated with the DbSystem
- gcp
Oracle StringZone - The GCP Oracle zone where Oracle DbSystem is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
- labels Map<String,String>
- The labels or tags associated with the DbSystem.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labelsfor all of the labels present on the resource. - location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name String
- Identifier. The name of the DbSystem resource in the following format: projects/{project}/locations/{region}/dbSystems/{db_system}
- oci
Url String - HTTPS link to OCI resources exposed to Customer via UI Interface.
- odb
Network String - The name of the OdbNetwork associated with the DbSystem. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.
- odb
Subnet String - The name of the OdbSubnet associated with the DbSystem for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- properties
Db
System Properties - The properties of a DbSystem. Structure is documented below.
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- create
Time string - The date and time that the DbSystem was created.
- db
System stringId - The ID of the DbSystem to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
- deletion
Protection boolean - display
Name string - The display name for the System db. The name does not have to be unique within your project.
- effective
Labels {[key: string]: string} - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- entitlement
Id string - The ID of the subscription entitlement associated with the DbSystem
- gcp
Oracle stringZone - The GCP Oracle zone where Oracle DbSystem is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
- labels {[key: string]: string}
- The labels or tags associated with the DbSystem.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labelsfor all of the labels present on the resource. - location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name string
- Identifier. The name of the DbSystem resource in the following format: projects/{project}/locations/{region}/dbSystems/{db_system}
- oci
Url string - HTTPS link to OCI resources exposed to Customer via UI Interface.
- odb
Network string - The name of the OdbNetwork associated with the DbSystem. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.
- odb
Subnet string - The name of the OdbSubnet associated with the DbSystem for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- properties
Db
System Properties - The properties of a DbSystem. Structure is documented below.
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- create_
time str - The date and time that the DbSystem was created.
- db_
system_ strid - The ID of the DbSystem to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
- deletion_
protection bool - display_
name str - The display name for the System db. The name does not have to be unique within your project.
- effective_
labels Mapping[str, str] - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- entitlement_
id str - The ID of the subscription entitlement associated with the DbSystem
- gcp_
oracle_ strzone - The GCP Oracle zone where Oracle DbSystem is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
- labels Mapping[str, str]
- The labels or tags associated with the DbSystem.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labelsfor all of the labels present on the resource. - location str
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name str
- Identifier. The name of the DbSystem resource in the following format: projects/{project}/locations/{region}/dbSystems/{db_system}
- oci_
url str - HTTPS link to OCI resources exposed to Customer via UI Interface.
- odb_
network str - The name of the OdbNetwork associated with the DbSystem. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.
- odb_
subnet str - The name of the OdbSubnet associated with the DbSystem for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- properties
Db
System Properties Args - The properties of a DbSystem. Structure is documented below.
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- create
Time String - The date and time that the DbSystem was created.
- db
System StringId - The ID of the DbSystem to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
- deletion
Protection Boolean - display
Name String - The display name for the System db. The name does not have to be unique within your project.
- effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- entitlement
Id String - The ID of the subscription entitlement associated with the DbSystem
- gcp
Oracle StringZone - The GCP Oracle zone where Oracle DbSystem is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
- labels Map<String>
- The labels or tags associated with the DbSystem.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labelsfor all of the labels present on the resource. - location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name String
- Identifier. The name of the DbSystem resource in the following format: projects/{project}/locations/{region}/dbSystems/{db_system}
- oci
Url String - HTTPS link to OCI resources exposed to Customer via UI Interface.
- odb
Network String - The name of the OdbNetwork associated with the DbSystem. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.
- odb
Subnet String - The name of the OdbSubnet associated with the DbSystem for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- properties Property Map
- The properties of a DbSystem. Structure is documented below.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
Supporting Types
DbSystemProperties, DbSystemPropertiesArgs
- Compute
Count int - The number of CPU cores to enable for the DbSystem.
- Database
Edition string - The database edition of the DbSystem. Possible values: STANDARD_EDITION ENTERPRISE_EDITION ENTERPRISE_EDITION_HIGH_PERFORMANCE
- Initial
Data intStorage Size Gb - The initial data storage size in GB.
- License
Model string - The license model of the DbSystem. Possible values: LICENSE_INCLUDED BRING_YOUR_OWN_LICENSE
- Shape string
- Shape of DB System.
- Ssh
Public List<string>Keys - SSH public keys to be stored with the DbSystem.
- Compute
Model string - The compute model of the DbSystem. Possible values: ECPU OCPU
- Data
Collection DbOptions System Properties Data Collection Options - Data collection options for DbSystem. Structure is documented below.
- Data
Storage intSize Gb - The data storage size in GB that is currently available to DbSystems.
- Db
Home DbSystem Properties Db Home - Details of the Database Home resource. Structure is documented below.
- Db
System DbOptions System Properties Db System Options - Details of the DbSystem Options. Structure is documented below.
- Domain string
- The host domain name of the DbSystem.
- Hostname string
- (Output) The hostname of the DbSystem.
- Hostname
Prefix string - Prefix for DB System host names.
- Lifecycle
State string - (Output) State of the DbSystem. Possible values: PROVISIONING AVAILABLE UPDATING TERMINATING TERMINATED FAILED MIGRATED MAINTENANCE_IN_PROGRESS NEEDS_ATTENTION UPGRADING
- Memory
Size intGb - The memory size in GB.
- Node
Count int - The number of nodes in the DbSystem.
- Ocid string
- (Output) OCID of the DbSystem.
- Private
Ip string - The private IP address of the DbSystem.
- Reco
Storage intSize Gb - The reco/redo storage size in GB.
- Time
Zone DbSystem Properties Time Zone - Represents a time zone from the IANA Time Zone Database. Structure is documented below.
- Compute
Count int - The number of CPU cores to enable for the DbSystem.
- Database
Edition string - The database edition of the DbSystem. Possible values: STANDARD_EDITION ENTERPRISE_EDITION ENTERPRISE_EDITION_HIGH_PERFORMANCE
- Initial
Data intStorage Size Gb - The initial data storage size in GB.
- License
Model string - The license model of the DbSystem. Possible values: LICENSE_INCLUDED BRING_YOUR_OWN_LICENSE
- Shape string
- Shape of DB System.
- Ssh
Public []stringKeys - SSH public keys to be stored with the DbSystem.
- Compute
Model string - The compute model of the DbSystem. Possible values: ECPU OCPU
- Data
Collection DbOptions System Properties Data Collection Options - Data collection options for DbSystem. Structure is documented below.
- Data
Storage intSize Gb - The data storage size in GB that is currently available to DbSystems.
- Db
Home DbSystem Properties Db Home - Details of the Database Home resource. Structure is documented below.
- Db
System DbOptions System Properties Db System Options - Details of the DbSystem Options. Structure is documented below.
- Domain string
- The host domain name of the DbSystem.
- Hostname string
- (Output) The hostname of the DbSystem.
- Hostname
Prefix string - Prefix for DB System host names.
- Lifecycle
State string - (Output) State of the DbSystem. Possible values: PROVISIONING AVAILABLE UPDATING TERMINATING TERMINATED FAILED MIGRATED MAINTENANCE_IN_PROGRESS NEEDS_ATTENTION UPGRADING
- Memory
Size intGb - The memory size in GB.
- Node
Count int - The number of nodes in the DbSystem.
- Ocid string
- (Output) OCID of the DbSystem.
- Private
Ip string - The private IP address of the DbSystem.
- Reco
Storage intSize Gb - The reco/redo storage size in GB.
- Time
Zone DbSystem Properties Time Zone - Represents a time zone from the IANA Time Zone Database. Structure is documented below.
- compute
Count Integer - The number of CPU cores to enable for the DbSystem.
- database
Edition String - The database edition of the DbSystem. Possible values: STANDARD_EDITION ENTERPRISE_EDITION ENTERPRISE_EDITION_HIGH_PERFORMANCE
- initial
Data IntegerStorage Size Gb - The initial data storage size in GB.
- license
Model String - The license model of the DbSystem. Possible values: LICENSE_INCLUDED BRING_YOUR_OWN_LICENSE
- shape String
- Shape of DB System.
- ssh
Public List<String>Keys - SSH public keys to be stored with the DbSystem.
- compute
Model String - The compute model of the DbSystem. Possible values: ECPU OCPU
- data
Collection DbOptions System Properties Data Collection Options - Data collection options for DbSystem. Structure is documented below.
- data
Storage IntegerSize Gb - The data storage size in GB that is currently available to DbSystems.
- db
Home DbSystem Properties Db Home - Details of the Database Home resource. Structure is documented below.
- db
System DbOptions System Properties Db System Options - Details of the DbSystem Options. Structure is documented below.
- domain String
- The host domain name of the DbSystem.
- hostname String
- (Output) The hostname of the DbSystem.
- hostname
Prefix String - Prefix for DB System host names.
- lifecycle
State String - (Output) State of the DbSystem. Possible values: PROVISIONING AVAILABLE UPDATING TERMINATING TERMINATED FAILED MIGRATED MAINTENANCE_IN_PROGRESS NEEDS_ATTENTION UPGRADING
- memory
Size IntegerGb - The memory size in GB.
- node
Count Integer - The number of nodes in the DbSystem.
- ocid String
- (Output) OCID of the DbSystem.
- private
Ip String - The private IP address of the DbSystem.
- reco
Storage IntegerSize Gb - The reco/redo storage size in GB.
- time
Zone DbSystem Properties Time Zone - Represents a time zone from the IANA Time Zone Database. Structure is documented below.
- compute
Count number - The number of CPU cores to enable for the DbSystem.
- database
Edition string - The database edition of the DbSystem. Possible values: STANDARD_EDITION ENTERPRISE_EDITION ENTERPRISE_EDITION_HIGH_PERFORMANCE
- initial
Data numberStorage Size Gb - The initial data storage size in GB.
- license
Model string - The license model of the DbSystem. Possible values: LICENSE_INCLUDED BRING_YOUR_OWN_LICENSE
- shape string
- Shape of DB System.
- ssh
Public string[]Keys - SSH public keys to be stored with the DbSystem.
- compute
Model string - The compute model of the DbSystem. Possible values: ECPU OCPU
- data
Collection DbOptions System Properties Data Collection Options - Data collection options for DbSystem. Structure is documented below.
- data
Storage numberSize Gb - The data storage size in GB that is currently available to DbSystems.
- db
Home DbSystem Properties Db Home - Details of the Database Home resource. Structure is documented below.
- db
System DbOptions System Properties Db System Options - Details of the DbSystem Options. Structure is documented below.
- domain string
- The host domain name of the DbSystem.
- hostname string
- (Output) The hostname of the DbSystem.
- hostname
Prefix string - Prefix for DB System host names.
- lifecycle
State string - (Output) State of the DbSystem. Possible values: PROVISIONING AVAILABLE UPDATING TERMINATING TERMINATED FAILED MIGRATED MAINTENANCE_IN_PROGRESS NEEDS_ATTENTION UPGRADING
- memory
Size numberGb - The memory size in GB.
- node
Count number - The number of nodes in the DbSystem.
- ocid string
- (Output) OCID of the DbSystem.
- private
Ip string - The private IP address of the DbSystem.
- reco
Storage numberSize Gb - The reco/redo storage size in GB.
- time
Zone DbSystem Properties Time Zone - Represents a time zone from the IANA Time Zone Database. Structure is documented below.
- compute_
count int - The number of CPU cores to enable for the DbSystem.
- database_
edition str - The database edition of the DbSystem. Possible values: STANDARD_EDITION ENTERPRISE_EDITION ENTERPRISE_EDITION_HIGH_PERFORMANCE
- initial_
data_ intstorage_ size_ gb - The initial data storage size in GB.
- license_
model str - The license model of the DbSystem. Possible values: LICENSE_INCLUDED BRING_YOUR_OWN_LICENSE
- shape str
- Shape of DB System.
- ssh_
public_ Sequence[str]keys - SSH public keys to be stored with the DbSystem.
- compute_
model str - The compute model of the DbSystem. Possible values: ECPU OCPU
- data_
collection_ Dboptions System Properties Data Collection Options - Data collection options for DbSystem. Structure is documented below.
- data_
storage_ intsize_ gb - The data storage size in GB that is currently available to DbSystems.
- db_
home DbSystem Properties Db Home - Details of the Database Home resource. Structure is documented below.
- db_
system_ Dboptions System Properties Db System Options - Details of the DbSystem Options. Structure is documented below.
- domain str
- The host domain name of the DbSystem.
- hostname str
- (Output) The hostname of the DbSystem.
- hostname_
prefix str - Prefix for DB System host names.
- lifecycle_
state str - (Output) State of the DbSystem. Possible values: PROVISIONING AVAILABLE UPDATING TERMINATING TERMINATED FAILED MIGRATED MAINTENANCE_IN_PROGRESS NEEDS_ATTENTION UPGRADING
- memory_
size_ intgb - The memory size in GB.
- node_
count int - The number of nodes in the DbSystem.
- ocid str
- (Output) OCID of the DbSystem.
- private_
ip str - The private IP address of the DbSystem.
- reco_
storage_ intsize_ gb - The reco/redo storage size in GB.
- time_
zone DbSystem Properties Time Zone - Represents a time zone from the IANA Time Zone Database. Structure is documented below.
- compute
Count Number - The number of CPU cores to enable for the DbSystem.
- database
Edition String - The database edition of the DbSystem. Possible values: STANDARD_EDITION ENTERPRISE_EDITION ENTERPRISE_EDITION_HIGH_PERFORMANCE
- initial
Data NumberStorage Size Gb - The initial data storage size in GB.
- license
Model String - The license model of the DbSystem. Possible values: LICENSE_INCLUDED BRING_YOUR_OWN_LICENSE
- shape String
- Shape of DB System.
- ssh
Public List<String>Keys - SSH public keys to be stored with the DbSystem.
- compute
Model String - The compute model of the DbSystem. Possible values: ECPU OCPU
- data
Collection Property MapOptions - Data collection options for DbSystem. Structure is documented below.
- data
Storage NumberSize Gb - The data storage size in GB that is currently available to DbSystems.
- db
Home Property Map - Details of the Database Home resource. Structure is documented below.
- db
System Property MapOptions - Details of the DbSystem Options. Structure is documented below.
- domain String
- The host domain name of the DbSystem.
- hostname String
- (Output) The hostname of the DbSystem.
- hostname
Prefix String - Prefix for DB System host names.
- lifecycle
State String - (Output) State of the DbSystem. Possible values: PROVISIONING AVAILABLE UPDATING TERMINATING TERMINATED FAILED MIGRATED MAINTENANCE_IN_PROGRESS NEEDS_ATTENTION UPGRADING
- memory
Size NumberGb - The memory size in GB.
- node
Count Number - The number of nodes in the DbSystem.
- ocid String
- (Output) OCID of the DbSystem.
- private
Ip String - The private IP address of the DbSystem.
- reco
Storage NumberSize Gb - The reco/redo storage size in GB.
- time
Zone Property Map - Represents a time zone from the IANA Time Zone Database. Structure is documented below.
DbSystemPropertiesDataCollectionOptions, DbSystemPropertiesDataCollectionOptionsArgs
- Is
Diagnostics boolEvents Enabled - Indicates whether to enable data collection for diagnostics.
- Is
Incident boolLogs Enabled - Indicates whether to enable incident logs and trace collection.
- Is
Diagnostics boolEvents Enabled - Indicates whether to enable data collection for diagnostics.
- Is
Incident boolLogs Enabled - Indicates whether to enable incident logs and trace collection.
- is
Diagnostics BooleanEvents Enabled - Indicates whether to enable data collection for diagnostics.
- is
Incident BooleanLogs Enabled - Indicates whether to enable incident logs and trace collection.
- is
Diagnostics booleanEvents Enabled - Indicates whether to enable data collection for diagnostics.
- is
Incident booleanLogs Enabled - Indicates whether to enable incident logs and trace collection.
- is_
diagnostics_ boolevents_ enabled - Indicates whether to enable data collection for diagnostics.
- is_
incident_ boollogs_ enabled - Indicates whether to enable incident logs and trace collection.
- is
Diagnostics BooleanEvents Enabled - Indicates whether to enable data collection for diagnostics.
- is
Incident BooleanLogs Enabled - Indicates whether to enable incident logs and trace collection.
DbSystemPropertiesDbHome, DbSystemPropertiesDbHomeArgs
- Database
Db
System Properties Db Home Database - Details of the Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/Database/ Structure is documented below.
- Db
Version string - A valid Oracle Database version. For a list of supported versions, use the ListDbVersions operation.
- Display
Name string - The display name for the Database Home. The name does not have to be unique within your project.
- Is
Unified boolAuditing Enabled - Whether unified auditing is enabled for the Database Home.
- Database
Db
System Properties Db Home Database - Details of the Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/Database/ Structure is documented below.
- Db
Version string - A valid Oracle Database version. For a list of supported versions, use the ListDbVersions operation.
- Display
Name string - The display name for the Database Home. The name does not have to be unique within your project.
- Is
Unified boolAuditing Enabled - Whether unified auditing is enabled for the Database Home.
- database
Db
System Properties Db Home Database - Details of the Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/Database/ Structure is documented below.
- db
Version String - A valid Oracle Database version. For a list of supported versions, use the ListDbVersions operation.
- display
Name String - The display name for the Database Home. The name does not have to be unique within your project.
- is
Unified BooleanAuditing Enabled - Whether unified auditing is enabled for the Database Home.
- database
Db
System Properties Db Home Database - Details of the Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/Database/ Structure is documented below.
- db
Version string - A valid Oracle Database version. For a list of supported versions, use the ListDbVersions operation.
- display
Name string - The display name for the Database Home. The name does not have to be unique within your project.
- is
Unified booleanAuditing Enabled - Whether unified auditing is enabled for the Database Home.
- database
Db
System Properties Db Home Database - Details of the Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/Database/ Structure is documented below.
- db_
version str - A valid Oracle Database version. For a list of supported versions, use the ListDbVersions operation.
- display_
name str - The display name for the Database Home. The name does not have to be unique within your project.
- is_
unified_ boolauditing_ enabled - Whether unified auditing is enabled for the Database Home.
- database Property Map
- Details of the Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/Database/ Structure is documented below.
- db
Version String - A valid Oracle Database version. For a list of supported versions, use the ListDbVersions operation.
- display
Name String - The display name for the Database Home. The name does not have to be unique within your project.
- is
Unified BooleanAuditing Enabled - Whether unified auditing is enabled for the Database Home.
DbSystemPropertiesDbHomeDatabase, DbSystemPropertiesDbHomeDatabaseArgs
- Admin
Password string - The password for the default ADMIN user.
- Database
Id string - The database ID of the Database.
- Character
Set string - The character set for the database. The default is AL32UTF8.
- Create
Time string - (Output) The date and time that the Database was created.
- Db
Home stringName - The name of the DbHome resource associated with the Database.
- Db
Name string - The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.
- Db
Unique stringName - The DB_UNIQUE_NAME of the Oracle Database being backed up.
- Gcp
Oracle stringZone - The GCP Oracle zone where the Database is created.
- Name string
- (Output) Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}
- Ncharacter
Set string - The national character set for the database. The default is AL16UTF16.
- Oci
Url string - (Output) HTTPS link to OCI resources exposed to Customer via UI Interface.
- Ops
Insights stringStatus - (Output) The Status of Operations Insights for this Database. Possible values: ENABLING ENABLED DISABLING NOT_ENABLED FAILED_ENABLING FAILED_DISABLING
- Properties
Db
System Properties Db Home Database Properties - The properties of a Database. Structure is documented below.
- Tde
Wallet stringPassword - The TDE wallet password for the database.
- Admin
Password string - The password for the default ADMIN user.
- Database
Id string - The database ID of the Database.
- Character
Set string - The character set for the database. The default is AL32UTF8.
- Create
Time string - (Output) The date and time that the Database was created.
- Db
Home stringName - The name of the DbHome resource associated with the Database.
- Db
Name string - The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.
- Db
Unique stringName - The DB_UNIQUE_NAME of the Oracle Database being backed up.
- Gcp
Oracle stringZone - The GCP Oracle zone where the Database is created.
- Name string
- (Output) Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}
- Ncharacter
Set string - The national character set for the database. The default is AL16UTF16.
- Oci
Url string - (Output) HTTPS link to OCI resources exposed to Customer via UI Interface.
- Ops
Insights stringStatus - (Output) The Status of Operations Insights for this Database. Possible values: ENABLING ENABLED DISABLING NOT_ENABLED FAILED_ENABLING FAILED_DISABLING
- Properties
Db
System Properties Db Home Database Properties - The properties of a Database. Structure is documented below.
- Tde
Wallet stringPassword - The TDE wallet password for the database.
- admin
Password String - The password for the default ADMIN user.
- database
Id String - The database ID of the Database.
- character
Set String - The character set for the database. The default is AL32UTF8.
- create
Time String - (Output) The date and time that the Database was created.
- db
Home StringName - The name of the DbHome resource associated with the Database.
- db
Name String - The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.
- db
Unique StringName - The DB_UNIQUE_NAME of the Oracle Database being backed up.
- gcp
Oracle StringZone - The GCP Oracle zone where the Database is created.
- name String
- (Output) Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}
- ncharacter
Set String - The national character set for the database. The default is AL16UTF16.
- oci
Url String - (Output) HTTPS link to OCI resources exposed to Customer via UI Interface.
- ops
Insights StringStatus - (Output) The Status of Operations Insights for this Database. Possible values: ENABLING ENABLED DISABLING NOT_ENABLED FAILED_ENABLING FAILED_DISABLING
- properties
Db
System Properties Db Home Database Properties - The properties of a Database. Structure is documented below.
- tde
Wallet StringPassword - The TDE wallet password for the database.
- admin
Password string - The password for the default ADMIN user.
- database
Id string - The database ID of the Database.
- character
Set string - The character set for the database. The default is AL32UTF8.
- create
Time string - (Output) The date and time that the Database was created.
- db
Home stringName - The name of the DbHome resource associated with the Database.
- db
Name string - The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.
- db
Unique stringName - The DB_UNIQUE_NAME of the Oracle Database being backed up.
- gcp
Oracle stringZone - The GCP Oracle zone where the Database is created.
- name string
- (Output) Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}
- ncharacter
Set string - The national character set for the database. The default is AL16UTF16.
- oci
Url string - (Output) HTTPS link to OCI resources exposed to Customer via UI Interface.
- ops
Insights stringStatus - (Output) The Status of Operations Insights for this Database. Possible values: ENABLING ENABLED DISABLING NOT_ENABLED FAILED_ENABLING FAILED_DISABLING
- properties
Db
System Properties Db Home Database Properties - The properties of a Database. Structure is documented below.
- tde
Wallet stringPassword - The TDE wallet password for the database.
- admin_
password str - The password for the default ADMIN user.
- database_
id str - The database ID of the Database.
- character_
set str - The character set for the database. The default is AL32UTF8.
- create_
time str - (Output) The date and time that the Database was created.
- db_
home_ strname - The name of the DbHome resource associated with the Database.
- db_
name str - The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.
- db_
unique_ strname - The DB_UNIQUE_NAME of the Oracle Database being backed up.
- gcp_
oracle_ strzone - The GCP Oracle zone where the Database is created.
- name str
- (Output) Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}
- ncharacter_
set str - The national character set for the database. The default is AL16UTF16.
- oci_
url str - (Output) HTTPS link to OCI resources exposed to Customer via UI Interface.
- ops_
insights_ strstatus - (Output) The Status of Operations Insights for this Database. Possible values: ENABLING ENABLED DISABLING NOT_ENABLED FAILED_ENABLING FAILED_DISABLING
- properties
Db
System Properties Db Home Database Properties - The properties of a Database. Structure is documented below.
- tde_
wallet_ strpassword - The TDE wallet password for the database.
- admin
Password String - The password for the default ADMIN user.
- database
Id String - The database ID of the Database.
- character
Set String - The character set for the database. The default is AL32UTF8.
- create
Time String - (Output) The date and time that the Database was created.
- db
Home StringName - The name of the DbHome resource associated with the Database.
- db
Name String - The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.
- db
Unique StringName - The DB_UNIQUE_NAME of the Oracle Database being backed up.
- gcp
Oracle StringZone - The GCP Oracle zone where the Database is created.
- name String
- (Output) Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}
- ncharacter
Set String - The national character set for the database. The default is AL16UTF16.
- oci
Url String - (Output) HTTPS link to OCI resources exposed to Customer via UI Interface.
- ops
Insights StringStatus - (Output) The Status of Operations Insights for this Database. Possible values: ENABLING ENABLED DISABLING NOT_ENABLED FAILED_ENABLING FAILED_DISABLING
- properties Property Map
- The properties of a Database. Structure is documented below.
- tde
Wallet StringPassword - The TDE wallet password for the database.
DbSystemPropertiesDbHomeDatabaseProperties, DbSystemPropertiesDbHomeDatabasePropertiesArgs
- Db
Version string - The Oracle Database version.
- Database
Management DbConfig System Properties Db Home Database Properties Database Management Config - The configuration of the Database Management service. Structure is documented below.
- Db
Backup DbConfig System Properties Db Home Database Properties Db Backup Config - Backup Options for the Database. Structure is documented below.
- State string
- (Output) State of the Database. Possible values: PROVISIONING AVAILABLE UPDATING BACKUP_IN_PROGRESS UPGRADING CONVERTING TERMINATING TERMINATED RESTORE_FAILED FAILED
- Db
Version string - The Oracle Database version.
- Database
Management DbConfig System Properties Db Home Database Properties Database Management Config - The configuration of the Database Management service. Structure is documented below.
- Db
Backup DbConfig System Properties Db Home Database Properties Db Backup Config - Backup Options for the Database. Structure is documented below.
- State string
- (Output) State of the Database. Possible values: PROVISIONING AVAILABLE UPDATING BACKUP_IN_PROGRESS UPGRADING CONVERTING TERMINATING TERMINATED RESTORE_FAILED FAILED
- db
Version String - The Oracle Database version.
- database
Management DbConfig System Properties Db Home Database Properties Database Management Config - The configuration of the Database Management service. Structure is documented below.
- db
Backup DbConfig System Properties Db Home Database Properties Db Backup Config - Backup Options for the Database. Structure is documented below.
- state String
- (Output) State of the Database. Possible values: PROVISIONING AVAILABLE UPDATING BACKUP_IN_PROGRESS UPGRADING CONVERTING TERMINATING TERMINATED RESTORE_FAILED FAILED
- db
Version string - The Oracle Database version.
- database
Management DbConfig System Properties Db Home Database Properties Database Management Config - The configuration of the Database Management service. Structure is documented below.
- db
Backup DbConfig System Properties Db Home Database Properties Db Backup Config - Backup Options for the Database. Structure is documented below.
- state string
- (Output) State of the Database. Possible values: PROVISIONING AVAILABLE UPDATING BACKUP_IN_PROGRESS UPGRADING CONVERTING TERMINATING TERMINATED RESTORE_FAILED FAILED
- db_
version str - The Oracle Database version.
- database_
management_ Dbconfig System Properties Db Home Database Properties Database Management Config - The configuration of the Database Management service. Structure is documented below.
- db_
backup_ Dbconfig System Properties Db Home Database Properties Db Backup Config - Backup Options for the Database. Structure is documented below.
- state str
- (Output) State of the Database. Possible values: PROVISIONING AVAILABLE UPDATING BACKUP_IN_PROGRESS UPGRADING CONVERTING TERMINATING TERMINATED RESTORE_FAILED FAILED
- db
Version String - The Oracle Database version.
- database
Management Property MapConfig - The configuration of the Database Management service. Structure is documented below.
- db
Backup Property MapConfig - Backup Options for the Database. Structure is documented below.
- state String
- (Output) State of the Database. Possible values: PROVISIONING AVAILABLE UPDATING BACKUP_IN_PROGRESS UPGRADING CONVERTING TERMINATING TERMINATED RESTORE_FAILED FAILED
DbSystemPropertiesDbHomeDatabasePropertiesDatabaseManagementConfig, DbSystemPropertiesDbHomeDatabasePropertiesDatabaseManagementConfigArgs
- Management
State string - (Output) The status of the Database Management service. Possible values: ENABLING ENABLED DISABLING DISABLED UPDATING FAILED_ENABLING FAILED_DISABLING FAILED_UPDATING
- Management
Type string - (Output) The Database Management type. Possible values: BASIC ADVANCED
- Management
State string - (Output) The status of the Database Management service. Possible values: ENABLING ENABLED DISABLING DISABLED UPDATING FAILED_ENABLING FAILED_DISABLING FAILED_UPDATING
- Management
Type string - (Output) The Database Management type. Possible values: BASIC ADVANCED
- management
State String - (Output) The status of the Database Management service. Possible values: ENABLING ENABLED DISABLING DISABLED UPDATING FAILED_ENABLING FAILED_DISABLING FAILED_UPDATING
- management
Type String - (Output) The Database Management type. Possible values: BASIC ADVANCED
- management
State string - (Output) The status of the Database Management service. Possible values: ENABLING ENABLED DISABLING DISABLED UPDATING FAILED_ENABLING FAILED_DISABLING FAILED_UPDATING
- management
Type string - (Output) The Database Management type. Possible values: BASIC ADVANCED
- management_
state str - (Output) The status of the Database Management service. Possible values: ENABLING ENABLED DISABLING DISABLED UPDATING FAILED_ENABLING FAILED_DISABLING FAILED_UPDATING
- management_
type str - (Output) The Database Management type. Possible values: BASIC ADVANCED
- management
State String - (Output) The status of the Database Management service. Possible values: ENABLING ENABLED DISABLING DISABLED UPDATING FAILED_ENABLING FAILED_DISABLING FAILED_UPDATING
- management
Type String - (Output) The Database Management type. Possible values: BASIC ADVANCED
DbSystemPropertiesDbHomeDatabasePropertiesDbBackupConfig, DbSystemPropertiesDbHomeDatabasePropertiesDbBackupConfigArgs
- Auto
Backup boolEnabled - If set to true, enables automatic backups on the database.
- Auto
Full stringBackup Day - Possible values: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
- Auto
Full stringBackup Window - The window in which the full backup should be performed on the database. If no value is provided, the default is anytime. Possible values: SLOT_ONE SLOT_TWO SLOT_THREE SLOT_FOUR SLOT_FIVE SLOT_SIX SLOT_SEVEN SLOT_EIGHT SLOT_NINE SLOT_TEN SLOT_ELEVEN SLOT_TWELVE
- Auto
Incremental stringBackup Window - The window in which the incremental backup should be performed on the database. If no value is provided, the default is anytime except the auto full backup day. Possible values: SLOT_ONE SLOT_TWO SLOT_THREE SLOT_FOUR SLOT_FIVE SLOT_SIX SLOT_SEVEN SLOT_EIGHT SLOT_NINE SLOT_TEN SLOT_ELEVEN SLOT_TWELVE
- Backup
Deletion stringPolicy - This defines when the backups will be deleted after Database termination. Possible values: DELETE_IMMEDIATELY DELETE_AFTER_RETENTION_PERIOD
- Backup
Destination List<DbDetails System Properties Db Home Database Properties Db Backup Config Backup Destination Detail> - Details of the database backup destinations. Structure is documented below.
- Retention
Period intDays - The number of days an automatic backup is retained before being automatically deleted. This value determines the earliest point in time to which a database can be restored. Min: 1, Max: 60.
- Auto
Backup boolEnabled - If set to true, enables automatic backups on the database.
- Auto
Full stringBackup Day - Possible values: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
- Auto
Full stringBackup Window - The window in which the full backup should be performed on the database. If no value is provided, the default is anytime. Possible values: SLOT_ONE SLOT_TWO SLOT_THREE SLOT_FOUR SLOT_FIVE SLOT_SIX SLOT_SEVEN SLOT_EIGHT SLOT_NINE SLOT_TEN SLOT_ELEVEN SLOT_TWELVE
- Auto
Incremental stringBackup Window - The window in which the incremental backup should be performed on the database. If no value is provided, the default is anytime except the auto full backup day. Possible values: SLOT_ONE SLOT_TWO SLOT_THREE SLOT_FOUR SLOT_FIVE SLOT_SIX SLOT_SEVEN SLOT_EIGHT SLOT_NINE SLOT_TEN SLOT_ELEVEN SLOT_TWELVE
- Backup
Deletion stringPolicy - This defines when the backups will be deleted after Database termination. Possible values: DELETE_IMMEDIATELY DELETE_AFTER_RETENTION_PERIOD
- Backup
Destination []DbDetails System Properties Db Home Database Properties Db Backup Config Backup Destination Detail - Details of the database backup destinations. Structure is documented below.
- Retention
Period intDays - The number of days an automatic backup is retained before being automatically deleted. This value determines the earliest point in time to which a database can be restored. Min: 1, Max: 60.
- auto
Backup BooleanEnabled - If set to true, enables automatic backups on the database.
- auto
Full StringBackup Day - Possible values: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
- auto
Full StringBackup Window - The window in which the full backup should be performed on the database. If no value is provided, the default is anytime. Possible values: SLOT_ONE SLOT_TWO SLOT_THREE SLOT_FOUR SLOT_FIVE SLOT_SIX SLOT_SEVEN SLOT_EIGHT SLOT_NINE SLOT_TEN SLOT_ELEVEN SLOT_TWELVE
- auto
Incremental StringBackup Window - The window in which the incremental backup should be performed on the database. If no value is provided, the default is anytime except the auto full backup day. Possible values: SLOT_ONE SLOT_TWO SLOT_THREE SLOT_FOUR SLOT_FIVE SLOT_SIX SLOT_SEVEN SLOT_EIGHT SLOT_NINE SLOT_TEN SLOT_ELEVEN SLOT_TWELVE
- backup
Deletion StringPolicy - This defines when the backups will be deleted after Database termination. Possible values: DELETE_IMMEDIATELY DELETE_AFTER_RETENTION_PERIOD
- backup
Destination List<DbDetails System Properties Db Home Database Properties Db Backup Config Backup Destination Detail> - Details of the database backup destinations. Structure is documented below.
- retention
Period IntegerDays - The number of days an automatic backup is retained before being automatically deleted. This value determines the earliest point in time to which a database can be restored. Min: 1, Max: 60.
- auto
Backup booleanEnabled - If set to true, enables automatic backups on the database.
- auto
Full stringBackup Day - Possible values: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
- auto
Full stringBackup Window - The window in which the full backup should be performed on the database. If no value is provided, the default is anytime. Possible values: SLOT_ONE SLOT_TWO SLOT_THREE SLOT_FOUR SLOT_FIVE SLOT_SIX SLOT_SEVEN SLOT_EIGHT SLOT_NINE SLOT_TEN SLOT_ELEVEN SLOT_TWELVE
- auto
Incremental stringBackup Window - The window in which the incremental backup should be performed on the database. If no value is provided, the default is anytime except the auto full backup day. Possible values: SLOT_ONE SLOT_TWO SLOT_THREE SLOT_FOUR SLOT_FIVE SLOT_SIX SLOT_SEVEN SLOT_EIGHT SLOT_NINE SLOT_TEN SLOT_ELEVEN SLOT_TWELVE
- backup
Deletion stringPolicy - This defines when the backups will be deleted after Database termination. Possible values: DELETE_IMMEDIATELY DELETE_AFTER_RETENTION_PERIOD
- backup
Destination DbDetails System Properties Db Home Database Properties Db Backup Config Backup Destination Detail[] - Details of the database backup destinations. Structure is documented below.
- retention
Period numberDays - The number of days an automatic backup is retained before being automatically deleted. This value determines the earliest point in time to which a database can be restored. Min: 1, Max: 60.
- auto_
backup_ boolenabled - If set to true, enables automatic backups on the database.
- auto_
full_ strbackup_ day - Possible values: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
- auto_
full_ strbackup_ window - The window in which the full backup should be performed on the database. If no value is provided, the default is anytime. Possible values: SLOT_ONE SLOT_TWO SLOT_THREE SLOT_FOUR SLOT_FIVE SLOT_SIX SLOT_SEVEN SLOT_EIGHT SLOT_NINE SLOT_TEN SLOT_ELEVEN SLOT_TWELVE
- auto_
incremental_ strbackup_ window - The window in which the incremental backup should be performed on the database. If no value is provided, the default is anytime except the auto full backup day. Possible values: SLOT_ONE SLOT_TWO SLOT_THREE SLOT_FOUR SLOT_FIVE SLOT_SIX SLOT_SEVEN SLOT_EIGHT SLOT_NINE SLOT_TEN SLOT_ELEVEN SLOT_TWELVE
- backup_
deletion_ strpolicy - This defines when the backups will be deleted after Database termination. Possible values: DELETE_IMMEDIATELY DELETE_AFTER_RETENTION_PERIOD
- backup_
destination_ Sequence[Dbdetails System Properties Db Home Database Properties Db Backup Config Backup Destination Detail] - Details of the database backup destinations. Structure is documented below.
- retention_
period_ intdays - The number of days an automatic backup is retained before being automatically deleted. This value determines the earliest point in time to which a database can be restored. Min: 1, Max: 60.
- auto
Backup BooleanEnabled - If set to true, enables automatic backups on the database.
- auto
Full StringBackup Day - Possible values: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
- auto
Full StringBackup Window - The window in which the full backup should be performed on the database. If no value is provided, the default is anytime. Possible values: SLOT_ONE SLOT_TWO SLOT_THREE SLOT_FOUR SLOT_FIVE SLOT_SIX SLOT_SEVEN SLOT_EIGHT SLOT_NINE SLOT_TEN SLOT_ELEVEN SLOT_TWELVE
- auto
Incremental StringBackup Window - The window in which the incremental backup should be performed on the database. If no value is provided, the default is anytime except the auto full backup day. Possible values: SLOT_ONE SLOT_TWO SLOT_THREE SLOT_FOUR SLOT_FIVE SLOT_SIX SLOT_SEVEN SLOT_EIGHT SLOT_NINE SLOT_TEN SLOT_ELEVEN SLOT_TWELVE
- backup
Deletion StringPolicy - This defines when the backups will be deleted after Database termination. Possible values: DELETE_IMMEDIATELY DELETE_AFTER_RETENTION_PERIOD
- backup
Destination List<Property Map>Details - Details of the database backup destinations. Structure is documented below.
- retention
Period NumberDays - The number of days an automatic backup is retained before being automatically deleted. This value determines the earliest point in time to which a database can be restored. Min: 1, Max: 60.
DbSystemPropertiesDbHomeDatabasePropertiesDbBackupConfigBackupDestinationDetail, DbSystemPropertiesDbHomeDatabasePropertiesDbBackupConfigBackupDestinationDetailArgs
- Type string
- The type of the database backup destination. Possible values: NFS RECOVERY_APPLIANCE OBJECT_STORE LOCAL DBRS
- Type string
- The type of the database backup destination. Possible values: NFS RECOVERY_APPLIANCE OBJECT_STORE LOCAL DBRS
- type String
- The type of the database backup destination. Possible values: NFS RECOVERY_APPLIANCE OBJECT_STORE LOCAL DBRS
- type string
- The type of the database backup destination. Possible values: NFS RECOVERY_APPLIANCE OBJECT_STORE LOCAL DBRS
- type str
- The type of the database backup destination. Possible values: NFS RECOVERY_APPLIANCE OBJECT_STORE LOCAL DBRS
- type String
- The type of the database backup destination. Possible values: NFS RECOVERY_APPLIANCE OBJECT_STORE LOCAL DBRS
DbSystemPropertiesDbSystemOptions, DbSystemPropertiesDbSystemOptionsArgs
- Storage
Management string - The storage option used in DB system. Possible values: ASM LVM
- Storage
Management string - The storage option used in DB system. Possible values: ASM LVM
- storage
Management String - The storage option used in DB system. Possible values: ASM LVM
- storage
Management string - The storage option used in DB system. Possible values: ASM LVM
- storage_
management str - The storage option used in DB system. Possible values: ASM LVM
- storage
Management String - The storage option used in DB system. Possible values: ASM LVM
DbSystemPropertiesTimeZone, DbSystemPropertiesTimeZoneArgs
- Id string
- IANA Time Zone Database time zone. For example "America/New_York".
- Id string
- IANA Time Zone Database time zone. For example "America/New_York".
- id String
- IANA Time Zone Database time zone. For example "America/New_York".
- id string
- IANA Time Zone Database time zone. For example "America/New_York".
- id str
- IANA Time Zone Database time zone. For example "America/New_York".
- id String
- IANA Time Zone Database time zone. For example "America/New_York".
Import
DbSystem can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/dbSystems/{{db_system_id}}{{project}}/{{location}}/{{db_system_id}}{{location}}/{{db_system_id}}
When using the pulumi import command, DbSystem can be imported using one of the formats above. For example:
$ pulumi import gcp:oracledatabase/dbSystem:DbSystem default projects/{{project}}/locations/{{location}}/dbSystems/{{db_system_id}}
$ pulumi import gcp:oracledatabase/dbSystem:DbSystem default {{project}}/{{location}}/{{db_system_id}}
$ pulumi import gcp:oracledatabase/dbSystem:DbSystem default {{location}}/{{db_system_id}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
