GCP.OracleDatabase reference
AutonomousDatabase
Section titled “AutonomousDatabase”Source:
packages/gcp/src/OracleDatabase/AutonomousDatabase.ts
An Oracle Autonomous Database on Google Cloud.
Changing autonomousDatabaseId, location, database, network,
cidr, odbNetwork, odbSubnet, sourceConfig, licenseType,
dbWorkload, dbEdition, or dbVersion replaces the database.
Labels, compute, storage, and auto-scaling patch in place.
Provisioning typically takes tens of minutes and requires an Oracle Database@Google Cloud entitlement.
AutonomousDatabase: Creating an Autonomous Database
Section titled “AutonomousDatabase: Creating an Autonomous Database”Generated name on a VPC
const db = yield* GCP.OracleDatabase.AutonomousDatabase("AppDb", { network: "default", cidr: "10.10.0.0/24", adminPassword: "AlchemyTest1!", licenseType: "LICENSE_INCLUDED", dbWorkload: "OLTP", cpuCoreCount: 2, dataStorageSizeGb: 20,});Explicit id, ODB subnet, and labels
const db = yield* GCP.OracleDatabase.AutonomousDatabase("AppDb", { autonomousDatabaseId: "app-db", odbSubnet: subnet.name, adminPassword: "AlchemyTest1!", displayName: "app-db", labels: { env: "prod" }, properties: { licenseType: "LICENSE_INCLUDED", dbWorkload: "OLTP", computeCount: 2, dataStorageSizeGb: 20, },});AutonomousDatabase: Looking up an existing autonomous database
Section titled “AutonomousDatabase: Looking up an existing autonomous database”AutonomousDatabase.lookup references an autonomous database Alchemy
doesn’t manage (created in the console or by another stack). It is read
during plan/deploy, never created, updated or deleted, and binds like a
declared autonomous database.
const autonomousDatabase = GCP.OracleDatabase.AutonomousDatabase.lookup({ autonomousDatabaseId: "my-autonomous-database",});CloudExadataInfrastructure
Section titled “CloudExadataInfrastructure”Source:
packages/gcp/src/OracleDatabase/CloudExadataInfrastructure.ts
An Oracle Exadata Infrastructure on Google Cloud.
Changing cloudExadataInfrastructureId, location, gcpOracleZone,
or shape replaces the infrastructure. There is no patch API in the
distilled SDK, so labels and counts are applied at create.
Provisioning typically takes tens of minutes and requires an Oracle
Database@Google Cloud entitlement. Delete sends force=true so child
VM clusters do not block teardown.
CloudExadataInfrastructure: Creating Exadata Infrastructure
Section titled “CloudExadataInfrastructure: Creating Exadata Infrastructure”const infra = yield* GCP.OracleDatabase.CloudExadataInfrastructure("Exa", { displayName: "exa", shape: "Exadata.X9M", computeCount: 2, storageCount: 3,});CloudExadataInfrastructure: Looking up an existing cloud exadata infrastructure
Section titled “CloudExadataInfrastructure: Looking up an existing cloud exadata infrastructure”CloudExadataInfrastructure.lookup references a cloud exadata
infrastructure Alchemy doesn’t manage (created in the console or by
another stack). It is read during plan/deploy, never created, updated or
deleted, and binds like a declared cloud exadata infrastructure.
const cloudExadataInfrastructure = GCP.OracleDatabase.CloudExadataInfrastructure.lookup({ cloudExadataInfrastructureId: "my-cloud-exadata-infrastructure",});CloudVmCluster
Section titled “CloudVmCluster”Source:
packages/gcp/src/OracleDatabase/CloudVmCluster.ts
An Oracle Exadata VM Cluster on Google Cloud.
Changing cloudVmClusterId, location, exadataInfrastructure,
network identity (network/cidr/odbSubnet), or license type
replaces the cluster. There is no patch API in the distilled SDK, so
labels are applied at create.
Delete sends force=true so child resources do not block teardown.
CloudVmCluster: Creating a VM Cluster
Section titled “CloudVmCluster: Creating a VM Cluster”const cluster = yield* GCP.OracleDatabase.CloudVmCluster("Vms", { exadataInfrastructure: infra.name, network: "default", cidr: "10.10.0.0/24", backupSubnetCidr: "10.10.1.0/24", licenseType: "LICENSE_INCLUDED", cpuCoreCount: 4, giVersion: "19.0.0.0", hostnamePrefix: "exa", sshPublicKeys: [publicKey],});CloudVmCluster: Looking up an existing cloud vm cluster
Section titled “CloudVmCluster: Looking up an existing cloud vm cluster”CloudVmCluster.lookup references a cloud vm cluster Alchemy doesn’t
manage (created in the console or by another stack). It is read during
plan/deploy, never created, updated or deleted, and binds like a declared
cloud vm cluster.
const cloudVmCluster = GCP.OracleDatabase.CloudVmCluster.lookup({ cloudVmClusterId: "my-cloud-vm-cluster",});DbSystem
Section titled “DbSystem”Source:
packages/gcp/src/OracleDatabase/DbSystem.ts
An Oracle BaseDB system on Google Cloud.
Changing dbSystemId, location, odbSubnet, odbNetwork, shape,
or gcpOracleZone replaces the system. There is no patch API in the
distilled SDK, so labels are applied at create.
DbSystem: Creating a DbSystem
Section titled “DbSystem: Creating a DbSystem”const db = yield* GCP.OracleDatabase.DbSystem("BaseDb", { displayName: "basedb", odbSubnet: subnet.name, shape: "VM.Standard.E4.Flex", sshPublicKeys: [publicKey], computeCount: 2, initialDataStorageSizeGb: 256, licenseModel: "LICENSE_INCLUDED", databaseEdition: "ENTERPRISE_EDITION",});DbSystem: Looking up an existing db system
Section titled “DbSystem: Looking up an existing db system”DbSystem.lookup references a db system Alchemy doesn’t manage (created
in the console or by another stack). It is read during plan/deploy, never
created, updated or deleted, and binds like a declared db system.
const dbSystem = GCP.OracleDatabase.DbSystem.lookup({ dbSystemId: "my-db-system",});ExadbVmCluster
Section titled “ExadbVmCluster”Source:
packages/gcp/src/OracleDatabase/ExadbVmCluster.ts
An Oracle Exascale VM Cluster on Google Cloud.
Changing exadbVmClusterId, location, ODB identity, gridImageId,
or exascaleDbStorageVault replaces the cluster. Labels and
nodeCount patch in place (adding VMs). Removing VMs uses a separate
API and is not modeled here.
ExadbVmCluster: Creating an Exadb VM Cluster
Section titled “ExadbVmCluster: Creating an Exadb VM Cluster”const cluster = yield* GCP.OracleDatabase.ExadbVmCluster("ExaVm", { displayName: "exavm", odbSubnet: subnet.name, backupOdbSubnet: backupSubnet.name, gridImageId: "19.0.0.0", hostnamePrefix: "exavm", sshPublicKeys: [publicKey], exascaleDbStorageVault: vault.name, enabledEcpuCountPerNode: 8, nodeCount: 2, properties: { vmFileSystemStorage: { sizeInGbsPerNode: 180 }, shapeAttribute: "SMART_STORAGE", },});ExadbVmCluster: Looking up an existing exadb vm cluster
Section titled “ExadbVmCluster: Looking up an existing exadb vm cluster”ExadbVmCluster.lookup references an exadb vm cluster Alchemy doesn’t
manage (created in the console or by another stack). It is read during
plan/deploy, never created, updated or deleted, and binds like a declared
exadb vm cluster.
const exadbVmCluster = GCP.OracleDatabase.ExadbVmCluster.lookup({ exadbVmClusterId: "my-exadb-vm-cluster",});ExascaleDbStorageVault
Section titled “ExascaleDbStorageVault”Source:
packages/gcp/src/OracleDatabase/ExascaleDbStorageVault.ts
An Oracle Exascale DB storage vault on Google Cloud.
Changing exascaleDbStorageVaultId, location,
exadataInfrastructure, or gcpOracleZone replaces the vault. There
is no patch API in the distilled SDK, so labels are applied at create.
ExascaleDbStorageVault: Creating a storage vault
Section titled “ExascaleDbStorageVault: Creating a storage vault”const vault = yield* GCP.OracleDatabase.ExascaleDbStorageVault("Vault", { displayName: "vault", totalSizeGbs: 300,});ExascaleDbStorageVault: Looking up an existing exascale db storage vault
Section titled “ExascaleDbStorageVault: Looking up an existing exascale db storage vault”ExascaleDbStorageVault.lookup references an exascale db storage vault
Alchemy doesn’t manage (created in the console or by another stack). It
is read during plan/deploy, never created, updated or deleted, and binds
like a declared exascale db storage vault.
const exascaleDbStorageVault = GCP.OracleDatabase.ExascaleDbStorageVault.lookup({ exascaleDbStorageVaultId: "my-exascale-db-storage-vault",});GenerateWallet
Section titled “GenerateWallet”Source:
packages/gcp/src/OracleDatabase/GenerateWallet.ts
Runtime binding for Oracle Database autonomousDatabases.generateWallet.
Grants roles/oracledatabase.autonomousDatabaseAdmin on the project
because autonomousDatabases.generateWallet is only in the admin roles
and Oracle Database@Google Cloud has no per-resource IAM.
GenerateWallet: Downloading a wallet
Section titled “GenerateWallet: Downloading a wallet”const generateWallet = yield* GCP.OracleDatabase.GenerateWallet(db);const wallet = yield* generateWallet({ body: { password: "AlchemyTest1!", type: "SINGLE" },});GenerateWalletHttp
Section titled “GenerateWalletHttp”Source:
packages/gcp/src/OracleDatabase/GenerateWalletHttp.tsKind: Layer · Provides:GCP.OracleDatabase.GenerateWallet
HTTP implementation of GenerateWallet.
GetAutonomousDatabase
Section titled “GetAutonomousDatabase”Source:
packages/gcp/src/OracleDatabase/GetAutonomousDatabase.ts
Runtime binding for Oracle Database autonomousDatabases.get.
GetAutonomousDatabase: Observing Autonomous Databases
Section titled “GetAutonomousDatabase: Observing Autonomous Databases”const get = yield* GCP.OracleDatabase.GetAutonomousDatabase(db);const live = yield* get();GetAutonomousDatabaseHttp
Section titled “GetAutonomousDatabaseHttp”Source:
packages/gcp/src/OracleDatabase/GetAutonomousDatabaseHttp.tsKind: Layer · Provides:GCP.OracleDatabase.GetAutonomousDatabase
HTTP implementation of GetAutonomousDatabase.
GetCloudExadataInfrastructure
Section titled “GetCloudExadataInfrastructure”Source:
packages/gcp/src/OracleDatabase/GetCloudExadataInfrastructure.ts
Runtime binding for Oracle Database cloudExadataInfrastructures.get.
GetCloudExadataInfrastructure: Observing Exadata Infrastructure
Section titled “GetCloudExadataInfrastructure: Observing Exadata Infrastructure”const get = yield* GCP.OracleDatabase.GetCloudExadataInfrastructure(infra);const live = yield* get();GetCloudExadataInfrastructureHttp
Section titled “GetCloudExadataInfrastructureHttp”Source:
packages/gcp/src/OracleDatabase/GetCloudExadataInfrastructureHttp.tsKind: Layer · Provides:GCP.OracleDatabase.GetCloudExadataInfrastructure
HTTP implementation of GetCloudExadataInfrastructure.
GetCloudVmCluster
Section titled “GetCloudVmCluster”Source:
packages/gcp/src/OracleDatabase/GetCloudVmCluster.ts
Runtime binding for Oracle Database cloudVmClusters.get.
GetCloudVmCluster: Observing VM Clusters
Section titled “GetCloudVmCluster: Observing VM Clusters”const get = yield* GCP.OracleDatabase.GetCloudVmCluster(cluster);const live = yield* get();GetCloudVmClusterHttp
Section titled “GetCloudVmClusterHttp”Source:
packages/gcp/src/OracleDatabase/GetCloudVmClusterHttp.tsKind: Layer · Provides:GCP.OracleDatabase.GetCloudVmCluster
HTTP implementation of GetCloudVmCluster.
GetDbSystem
Section titled “GetDbSystem”Source:
packages/gcp/src/OracleDatabase/GetDbSystem.ts
Runtime binding for Oracle Database dbSystems.get.
GetDbSystem: Observing DbSystems
Section titled “GetDbSystem: Observing DbSystems”const get = yield* GCP.OracleDatabase.GetDbSystem(system);const live = yield* get();GetDbSystemHttp
Section titled “GetDbSystemHttp”Source:
packages/gcp/src/OracleDatabase/GetDbSystemHttp.tsKind: Layer · Provides:GCP.OracleDatabase.GetDbSystem
HTTP implementation of GetDbSystem.
GetExadbVmCluster
Section titled “GetExadbVmCluster”Source:
packages/gcp/src/OracleDatabase/GetExadbVmCluster.ts
Runtime binding for Oracle Database exadbVmClusters.get.
GetExadbVmCluster: Observing Exadb VM Clusters
Section titled “GetExadbVmCluster: Observing Exadb VM Clusters”const get = yield* GCP.OracleDatabase.GetExadbVmCluster(cluster);const live = yield* get();GetExadbVmClusterHttp
Section titled “GetExadbVmClusterHttp”Source:
packages/gcp/src/OracleDatabase/GetExadbVmClusterHttp.tsKind: Layer · Provides:GCP.OracleDatabase.GetExadbVmCluster
HTTP implementation of GetExadbVmCluster.
GetExascaleDbStorageVault
Section titled “GetExascaleDbStorageVault”Source:
packages/gcp/src/OracleDatabase/GetExascaleDbStorageVault.ts
Runtime binding for Oracle Database exascaleDbStorageVaults.get.
GetExascaleDbStorageVault: Observing storage vaults
Section titled “GetExascaleDbStorageVault: Observing storage vaults”const get = yield* GCP.OracleDatabase.GetExascaleDbStorageVault(vault);const live = yield* get();GetExascaleDbStorageVaultHttp
Section titled “GetExascaleDbStorageVaultHttp”Source:
packages/gcp/src/OracleDatabase/GetExascaleDbStorageVaultHttp.tsKind: Layer · Provides:GCP.OracleDatabase.GetExascaleDbStorageVault
HTTP implementation of GetExascaleDbStorageVault.
GetGoldengateConnection
Section titled “GetGoldengateConnection”Source:
packages/gcp/src/OracleDatabase/GetGoldengateConnection.ts
Runtime binding for Oracle Database goldengateConnections.get.
GetGoldengateConnection: Observing GoldenGate connections
Section titled “GetGoldengateConnection: Observing GoldenGate connections”const get = yield* GCP.OracleDatabase.GetGoldengateConnection(conn);const live = yield* get();GetGoldengateConnectionAssignment
Section titled “GetGoldengateConnectionAssignment”Source:
packages/gcp/src/OracleDatabase/GetGoldengateConnectionAssignment.ts
Runtime binding for Oracle Database goldengateConnectionAssignments.get.
GetGoldengateConnectionAssignment: Observing assignments
Section titled “GetGoldengateConnectionAssignment: Observing assignments”const get = yield* GCP.OracleDatabase.GetGoldengateConnectionAssignment(a);const live = yield* get();GetGoldengateConnectionAssignmentHttp
Section titled “GetGoldengateConnectionAssignmentHttp”Source:
packages/gcp/src/OracleDatabase/GetGoldengateConnectionAssignmentHttp.tsKind: Layer · Provides:GCP.OracleDatabase.GetGoldengateConnectionAssignment
HTTP implementation of GetGoldengateConnectionAssignment.
GetGoldengateConnectionHttp
Section titled “GetGoldengateConnectionHttp”Source:
packages/gcp/src/OracleDatabase/GetGoldengateConnectionHttp.tsKind: Layer · Provides:GCP.OracleDatabase.GetGoldengateConnection
HTTP implementation of GetGoldengateConnection.
GetGoldengateDeployment
Section titled “GetGoldengateDeployment”Source:
packages/gcp/src/OracleDatabase/GetGoldengateDeployment.ts
Runtime binding for Oracle Database goldengateDeployments.get.
GetGoldengateDeployment: Observing a GoldenGate Deployment
Section titled “GetGoldengateDeployment: Observing a GoldenGate Deployment”const get = yield* GCP.OracleDatabase.GetGoldengateDeployment(gg);const live = yield* get();GetGoldengateDeploymentHttp
Section titled “GetGoldengateDeploymentHttp”Source:
packages/gcp/src/OracleDatabase/GetGoldengateDeploymentHttp.tsKind: Layer · Provides:GCP.OracleDatabase.GetGoldengateDeployment
HTTP implementation of GetGoldengateDeployment.
GetOdbNetwork
Section titled “GetOdbNetwork”Source:
packages/gcp/src/OracleDatabase/GetOdbNetwork.ts
Runtime binding for Oracle Database odbNetworks.get.
GetOdbNetwork: Observing an ODB Network
Section titled “GetOdbNetwork: Observing an ODB Network”const get = yield* GCP.OracleDatabase.GetOdbNetwork(net);const live = yield* get();GetOdbNetworkHttp
Section titled “GetOdbNetworkHttp”Source:
packages/gcp/src/OracleDatabase/GetOdbNetworkHttp.tsKind: Layer · Provides:GCP.OracleDatabase.GetOdbNetwork
HTTP implementation of GetOdbNetwork.
GetOdbNetworksOdbSubnet
Section titled “GetOdbNetworksOdbSubnet”Source:
packages/gcp/src/OracleDatabase/GetOdbNetworksOdbSubnet.ts
Runtime binding for Oracle Database odbSubnets.get.
GetOdbNetworksOdbSubnet: Observing an ODB Subnet
Section titled “GetOdbNetworksOdbSubnet: Observing an ODB Subnet”const get = yield* GCP.OracleDatabase.GetOdbNetworksOdbSubnet(subnet);const live = yield* get();GetOdbNetworksOdbSubnetHttp
Section titled “GetOdbNetworksOdbSubnetHttp”Source:
packages/gcp/src/OracleDatabase/GetOdbNetworksOdbSubnetHttp.tsKind: Layer · Provides:GCP.OracleDatabase.GetOdbNetworksOdbSubnet
HTTP implementation of GetOdbNetworksOdbSubnet.
GoldengateConnection
Section titled “GoldengateConnection”Source:
packages/gcp/src/OracleDatabase/GoldengateConnection.ts
An Oracle GoldenGate connection on Google Cloud.
Changing goldengateConnectionId, location, connectionType, or
ODB identity replaces the connection. There is no patch API in the
distilled SDK, so labels are applied at create.
GoldengateConnection: Creating a GoldenGate connection
Section titled “GoldengateConnection: Creating a GoldenGate connection”const conn = yield* GCP.OracleDatabase.GoldengateConnection("Src", { connectionType: "GENERIC", displayName: "src", properties: { genericConnectionProperties: { host: "db.example.com", technologyType: "GENERIC", }, },});GoldengateConnection: Looking up an existing goldengate connection
Section titled “GoldengateConnection: Looking up an existing goldengate connection”GoldengateConnection.lookup references a goldengate connection Alchemy
doesn’t manage (created in the console or by another stack). It is read
during plan/deploy, never created, updated or deleted, and binds like a
declared goldengate connection.
const goldengateConnection = GCP.OracleDatabase.GoldengateConnection.lookup({ goldengateConnectionId: "my-goldengate-connection",});GoldengateConnectionAssignment
Section titled “GoldengateConnectionAssignment”Source:
packages/gcp/src/OracleDatabase/GoldengateConnectionAssignment.ts
An Oracle GoldenGate connection assignment on Google Cloud.
Changing goldengateConnectionAssignmentId, location, the
connection, or the deployment replaces the assignment. There is no
patch API in the distilled SDK, so labels are applied at create.
GoldengateConnectionAssignment: Creating an assignment
Section titled “GoldengateConnectionAssignment: Creating an assignment”const assignment = yield* GCP.OracleDatabase.GoldengateConnectionAssignment( "Assign", { goldengateConnection: connection.name, goldengateDeployment: deployment.name, displayName: "assign", },);GoldengateConnectionAssignment: Looking up an existing goldengate connection assignment
Section titled “GoldengateConnectionAssignment: Looking up an existing goldengate connection assignment”GoldengateConnectionAssignment.lookup references a goldengate
connection assignment Alchemy doesn’t manage (created in the console or
by another stack). It is read during plan/deploy, never created, updated
or deleted, and binds like a declared goldengate connection assignment.
const goldengateConnectionAssignment = GCP.OracleDatabase.GoldengateConnectionAssignment.lookup({ goldengateConnectionAssignmentId: "my-goldengate-connection-assignment",});GoldengateDeployment
Section titled “GoldengateDeployment”Source:
packages/gcp/src/OracleDatabase/GoldengateDeployment.ts
An Oracle Database@Google Cloud GoldenGate deployment.
Changing goldengateDeploymentId, location, odbNetwork,
odbSubnet, gcpOracleZone, deploymentType, or
oggData.deployment replaces the deployment. Labels and most
properties are set at create; the API has no update. Requires an
Oracle Database@Google Cloud entitlement and a client ODB Subnet.
GoldengateDeployment: Creating a GoldenGate Deployment
Section titled “GoldengateDeployment: Creating a GoldenGate Deployment”Oracle GoldenGate on an ODB Subnet
const gg = yield* GCP.OracleDatabase.GoldengateDeployment("Replicat", { odbSubnet: subnet.name, odbNetwork: net.name, displayName: "app-gg", deploymentType: "DATABASE_ORACLE", oggData: { adminUsername: "oggadmin", deployment: "oggdeploy", adminPassword: "change-me", },});Explicit id and labels
const gg = yield* GCP.OracleDatabase.GoldengateDeployment("Replicat", { goldengateDeploymentId: "app-gg", odbSubnet: subnet.name, deploymentType: "DATABASE_ORACLE", oggData: { adminUsername: "oggadmin", deployment: "oggdeploy", adminPasswordSecretVersion: secret.latestVersionName, }, labels: { env: "prod" },});GoldengateDeployment: Looking up an existing goldengate deployment
Section titled “GoldengateDeployment: Looking up an existing goldengate deployment”GoldengateDeployment.lookup references a goldengate deployment Alchemy
doesn’t manage (created in the console or by another stack). It is read
during plan/deploy, never created, updated or deleted, and binds like a
declared goldengate deployment.
const goldengateDeployment = GCP.OracleDatabase.GoldengateDeployment.lookup({ goldengateDeploymentId: "my-goldengate-deployment",});OdbNetwork
Section titled “OdbNetwork”Source:
packages/gcp/src/OracleDatabase/OdbNetwork.ts
An Oracle Database@Google Cloud ODB Network — the private network that connects a VPC to Oracle Database resources in a region.
Changing odbNetworkId, location, network, or gcpOracleZone
replaces the network. Labels are set at create; the API has no update.
Requires an Oracle Database@Google Cloud marketplace entitlement.
OdbNetwork: Creating an ODB Network
Section titled “OdbNetwork: Creating an ODB Network”Generated name on the default VPC
const net = yield* GCP.OracleDatabase.OdbNetwork("OracleNet", {});Explicit id, labels, and network
const net = yield* GCP.OracleDatabase.OdbNetwork("OracleNet", { odbNetworkId: "app-odb", location: "us-central1", network: "default", labels: { env: "prod" },});OdbNetwork: Looking up an existing odb network
Section titled “OdbNetwork: Looking up an existing odb network”OdbNetwork.lookup references an odb network Alchemy doesn’t manage
(created in the console or by another stack). It is read during
plan/deploy, never created, updated or deleted, and binds like a declared
odb network.
const odbNetwork = GCP.OracleDatabase.OdbNetwork.lookup({ odbNetworkId: "my-odb-network",});OdbNetworksOdbSubnet
Section titled “OdbNetworksOdbSubnet”Source:
packages/gcp/src/OracleDatabase/OdbNetworksOdbSubnet.ts
An Oracle Database@Google Cloud ODB Subnet inside an ODB Network.
Changing odbNetwork, odbSubnetId, location, cidrRange, or
purpose replaces the subnet. Labels are set at create; the API has
no update. Requires an Oracle Database@Google Cloud entitlement and
a parent ODB Network.
OdbNetworksOdbSubnet: Creating an ODB Subnet
Section titled “OdbNetworksOdbSubnet: Creating an ODB Subnet”Client subnet under an ODB Network
const subnet = yield* GCP.OracleDatabase.OdbNetworksOdbSubnet("Client", { odbNetwork: net.name, cidrRange: "10.250.0.0/27", purpose: "CLIENT_SUBNET",});Backup subnet with labels
const subnet = yield* GCP.OracleDatabase.OdbNetworksOdbSubnet("Backup", { odbNetwork: net.name, cidrRange: "10.250.0.32/27", purpose: "BACKUP_SUBNET", labels: { env: "prod" },});OdbNetworksOdbSubnet: Looking up an existing odb networks odb subnet
Section titled “OdbNetworksOdbSubnet: Looking up an existing odb networks odb subnet”OdbNetworksOdbSubnet.lookup references an odb networks odb subnet
Alchemy doesn’t manage (created in the console or by another stack). It
is read during plan/deploy, never created, updated or deleted, and binds
like a declared odb networks odb subnet.
const odbNetworksOdbSubnet = GCP.OracleDatabase.OdbNetworksOdbSubnet.lookup({ odbSubnetId: "my-odb-subnet", odbNetwork: "my-odb-network",});RestartAutonomousDatabase
Section titled “RestartAutonomousDatabase”Source:
packages/gcp/src/OracleDatabase/RestartAutonomousDatabase.ts
Runtime binding for Oracle Database autonomousDatabases.restart.
Grants roles/oracledatabase.autonomousDatabaseAdmin on the project
because autonomousDatabases.restart is only in the admin roles and
Oracle Database@Google Cloud has no per-resource IAM.
RestartAutonomousDatabase: Restarting a database
Section titled “RestartAutonomousDatabase: Restarting a database”const restart = yield* GCP.OracleDatabase.RestartAutonomousDatabase(db);yield* restart();RestartAutonomousDatabaseHttp
Section titled “RestartAutonomousDatabaseHttp”Source:
packages/gcp/src/OracleDatabase/RestartAutonomousDatabaseHttp.tsKind: Layer · Provides:GCP.OracleDatabase.RestartAutonomousDatabase
HTTP implementation of RestartAutonomousDatabase.
StartAutonomousDatabase
Section titled “StartAutonomousDatabase”Source:
packages/gcp/src/OracleDatabase/StartAutonomousDatabase.ts
Runtime binding for Oracle Database autonomousDatabases.start.
Grants roles/oracledatabase.autonomousDatabaseAdmin on the project
because autonomousDatabases.start is only in the admin roles and Oracle
Database@Google Cloud has no per-resource IAM.
StartAutonomousDatabase: Starting a database
Section titled “StartAutonomousDatabase: Starting a database”const start = yield* GCP.OracleDatabase.StartAutonomousDatabase(db);yield* start();StartAutonomousDatabaseHttp
Section titled “StartAutonomousDatabaseHttp”Source:
packages/gcp/src/OracleDatabase/StartAutonomousDatabaseHttp.tsKind: Layer · Provides:GCP.OracleDatabase.StartAutonomousDatabase
HTTP implementation of StartAutonomousDatabase.
StopAutonomousDatabase
Section titled “StopAutonomousDatabase”Source:
packages/gcp/src/OracleDatabase/StopAutonomousDatabase.ts
Runtime binding for Oracle Database autonomousDatabases.stop.
Grants roles/oracledatabase.autonomousDatabaseAdmin on the project
because autonomousDatabases.stop is only in the admin roles and Oracle
Database@Google Cloud has no per-resource IAM.
StopAutonomousDatabase: Stopping a database
Section titled “StopAutonomousDatabase: Stopping a database”const stop = yield* GCP.OracleDatabase.StopAutonomousDatabase(db);yield* stop();StopAutonomousDatabaseHttp
Section titled “StopAutonomousDatabaseHttp”Source:
packages/gcp/src/OracleDatabase/StopAutonomousDatabaseHttp.tsKind: Layer · Provides:GCP.OracleDatabase.StopAutonomousDatabase
HTTP implementation of StopAutonomousDatabase.