aws.odb.getDbServer
Data source for manging db server linked to exadata infrastructure of Oracle Database@AWS.
You can find out more about Oracle Database@AWS from User Guide.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.odb.getDbServer({
cloudExadataInfrastructureId: "exadata_infra_id",
id: "db_server_id",
});
import pulumi
import pulumi_aws as aws
example = aws.odb.get_db_server(cloud_exadata_infrastructure_id="exadata_infra_id",
id="db_server_id")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/odb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := odb.GetDbServer(ctx, &odb.GetDbServerArgs{
CloudExadataInfrastructureId: "exadata_infra_id",
Id: "db_server_id",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Odb.GetDbServer.Invoke(new()
{
CloudExadataInfrastructureId = "exadata_infra_id",
Id = "db_server_id",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.odb.OdbFunctions;
import com.pulumi.aws.odb.inputs.GetDbServerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = OdbFunctions.getDbServer(GetDbServerArgs.builder()
.cloudExadataInfrastructureId("exadata_infra_id")
.id("db_server_id")
.build());
}
}
variables:
example:
fn::invoke:
function: aws:odb:getDbServer
arguments:
cloudExadataInfrastructureId: exadata_infra_id
id: db_server_id
Using getDbServer
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDbServer(args: GetDbServerArgs, opts?: InvokeOptions): Promise<GetDbServerResult>
function getDbServerOutput(args: GetDbServerOutputArgs, opts?: InvokeOptions): Output<GetDbServerResult>
def get_db_server(cloud_exadata_infrastructure_id: Optional[str] = None,
id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbServerResult
def get_db_server_output(cloud_exadata_infrastructure_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDbServerResult]
func GetDbServer(ctx *Context, args *GetDbServerArgs, opts ...InvokeOption) (*GetDbServerResult, error)
func GetDbServerOutput(ctx *Context, args *GetDbServerOutputArgs, opts ...InvokeOption) GetDbServerResultOutput
> Note: This function is named GetDbServer
in the Go SDK.
public static class GetDbServer
{
public static Task<GetDbServerResult> InvokeAsync(GetDbServerArgs args, InvokeOptions? opts = null)
public static Output<GetDbServerResult> Invoke(GetDbServerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDbServerResult> getDbServer(GetDbServerArgs args, InvokeOptions options)
public static Output<GetDbServerResult> getDbServer(GetDbServerArgs args, InvokeOptions options)
fn::invoke:
function: aws:odb/getDbServer:getDbServer
arguments:
# arguments dictionary
The following arguments are supported:
- Cloud
Exadata stringInfrastructure Id - The unique identifier of the cloud vm cluster.
- Id string
The unique identifier of db node associated with vm cluster.
The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Cloud
Exadata stringInfrastructure Id - The unique identifier of the cloud vm cluster.
- Id string
The unique identifier of db node associated with vm cluster.
The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- cloud
Exadata StringInfrastructure Id - The unique identifier of the cloud vm cluster.
- id String
The unique identifier of db node associated with vm cluster.
The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- cloud
Exadata stringInfrastructure Id - The unique identifier of the cloud vm cluster.
- id string
The unique identifier of db node associated with vm cluster.
The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- cloud_
exadata_ strinfrastructure_ id - The unique identifier of the cloud vm cluster.
- id str
The unique identifier of db node associated with vm cluster.
The following arguments are optional:
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- cloud
Exadata StringInfrastructure Id - The unique identifier of the cloud vm cluster.
- id String
The unique identifier of db node associated with vm cluster.
The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
getDbServer Result
The following output properties are available:
- Autonomous
Virtual List<string>Machine Ids - The list of unique identifiers for the Autonomous VMs associated with this database server.
- Autonomous
Vm List<string>Cluster Ids - The OCID of the autonomous VM clusters that are associated with the database server.
- Cloud
Exadata stringInfrastructure Id - Compute
Model string - The compute model of the database server.
- Cpu
Core intCount - The number of CPU cores enabled on the database server.
- Created
At string - The date and time when the database server was created.
- Db
Node intStorage Size In Gbs - The allocated local node storage in GBs on the database server.
- Db
Server List<GetPatching Details Db Server Db Server Patching Detail> - The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
- Display
Name string - The display name of the database server.
- Exadata
Infrastructure stringId - The exadata infrastructure ID of the database server.
- Id string
- Max
Cpu intCount - The total number of CPU cores available.
- Max
Db intNode Storage In Gbs - The total local node storage available in GBs.
- Max
Memory intIn Gbs - The total memory available in GBs.
- Memory
Size intIn Gbs - The allocated memory in GBs on the database server.
- Oci
Resource stringAnchor Name - The name of the OCI resource anchor.
- Ocid string
- The OCID of the database server to retrieve information about.
- Region string
- Shape string
- The shape of the database server. The shape determines the amount of CPU, storage, and memory resources available.
- Status string
- The status of the database server.
- Status
Reason string - Additional information about the current status of the database server.
- Vm
Cluster List<string>Ids - The OCID of the VM clusters that are associated with the database server.
- Autonomous
Virtual []stringMachine Ids - The list of unique identifiers for the Autonomous VMs associated with this database server.
- Autonomous
Vm []stringCluster Ids - The OCID of the autonomous VM clusters that are associated with the database server.
- Cloud
Exadata stringInfrastructure Id - Compute
Model string - The compute model of the database server.
- Cpu
Core intCount - The number of CPU cores enabled on the database server.
- Created
At string - The date and time when the database server was created.
- Db
Node intStorage Size In Gbs - The allocated local node storage in GBs on the database server.
- Db
Server []GetPatching Details Db Server Db Server Patching Detail - The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
- Display
Name string - The display name of the database server.
- Exadata
Infrastructure stringId - The exadata infrastructure ID of the database server.
- Id string
- Max
Cpu intCount - The total number of CPU cores available.
- Max
Db intNode Storage In Gbs - The total local node storage available in GBs.
- Max
Memory intIn Gbs - The total memory available in GBs.
- Memory
Size intIn Gbs - The allocated memory in GBs on the database server.
- Oci
Resource stringAnchor Name - The name of the OCI resource anchor.
- Ocid string
- The OCID of the database server to retrieve information about.
- Region string
- Shape string
- The shape of the database server. The shape determines the amount of CPU, storage, and memory resources available.
- Status string
- The status of the database server.
- Status
Reason string - Additional information about the current status of the database server.
- Vm
Cluster []stringIds - The OCID of the VM clusters that are associated with the database server.
- autonomous
Virtual List<String>Machine Ids - The list of unique identifiers for the Autonomous VMs associated with this database server.
- autonomous
Vm List<String>Cluster Ids - The OCID of the autonomous VM clusters that are associated with the database server.
- cloud
Exadata StringInfrastructure Id - compute
Model String - The compute model of the database server.
- cpu
Core IntegerCount - The number of CPU cores enabled on the database server.
- created
At String - The date and time when the database server was created.
- db
Node IntegerStorage Size In Gbs - The allocated local node storage in GBs on the database server.
- db
Server List<GetPatching Details Db Server Db Server Patching Detail> - The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
- display
Name String - The display name of the database server.
- exadata
Infrastructure StringId - The exadata infrastructure ID of the database server.
- id String
- max
Cpu IntegerCount - The total number of CPU cores available.
- max
Db IntegerNode Storage In Gbs - The total local node storage available in GBs.
- max
Memory IntegerIn Gbs - The total memory available in GBs.
- memory
Size IntegerIn Gbs - The allocated memory in GBs on the database server.
- oci
Resource StringAnchor Name - The name of the OCI resource anchor.
- ocid String
- The OCID of the database server to retrieve information about.
- region String
- shape String
- The shape of the database server. The shape determines the amount of CPU, storage, and memory resources available.
- status String
- The status of the database server.
- status
Reason String - Additional information about the current status of the database server.
- vm
Cluster List<String>Ids - The OCID of the VM clusters that are associated with the database server.
- autonomous
Virtual string[]Machine Ids - The list of unique identifiers for the Autonomous VMs associated with this database server.
- autonomous
Vm string[]Cluster Ids - The OCID of the autonomous VM clusters that are associated with the database server.
- cloud
Exadata stringInfrastructure Id - compute
Model string - The compute model of the database server.
- cpu
Core numberCount - The number of CPU cores enabled on the database server.
- created
At string - The date and time when the database server was created.
- db
Node numberStorage Size In Gbs - The allocated local node storage in GBs on the database server.
- db
Server GetPatching Details Db Server Db Server Patching Detail[] - The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
- display
Name string - The display name of the database server.
- exadata
Infrastructure stringId - The exadata infrastructure ID of the database server.
- id string
- max
Cpu numberCount - The total number of CPU cores available.
- max
Db numberNode Storage In Gbs - The total local node storage available in GBs.
- max
Memory numberIn Gbs - The total memory available in GBs.
- memory
Size numberIn Gbs - The allocated memory in GBs on the database server.
- oci
Resource stringAnchor Name - The name of the OCI resource anchor.
- ocid string
- The OCID of the database server to retrieve information about.
- region string
- shape string
- The shape of the database server. The shape determines the amount of CPU, storage, and memory resources available.
- status string
- The status of the database server.
- status
Reason string - Additional information about the current status of the database server.
- vm
Cluster string[]Ids - The OCID of the VM clusters that are associated with the database server.
- autonomous_
virtual_ Sequence[str]machine_ ids - The list of unique identifiers for the Autonomous VMs associated with this database server.
- autonomous_
vm_ Sequence[str]cluster_ ids - The OCID of the autonomous VM clusters that are associated with the database server.
- cloud_
exadata_ strinfrastructure_ id - compute_
model str - The compute model of the database server.
- cpu_
core_ intcount - The number of CPU cores enabled on the database server.
- created_
at str - The date and time when the database server was created.
- db_
node_ intstorage_ size_ in_ gbs - The allocated local node storage in GBs on the database server.
- db_
server_ Sequence[Getpatching_ details Db Server Db Server Patching Detail] - The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
- display_
name str - The display name of the database server.
- exadata_
infrastructure_ strid - The exadata infrastructure ID of the database server.
- id str
- max_
cpu_ intcount - The total number of CPU cores available.
- max_
db_ intnode_ storage_ in_ gbs - The total local node storage available in GBs.
- max_
memory_ intin_ gbs - The total memory available in GBs.
- memory_
size_ intin_ gbs - The allocated memory in GBs on the database server.
- oci_
resource_ stranchor_ name - The name of the OCI resource anchor.
- ocid str
- The OCID of the database server to retrieve information about.
- region str
- shape str
- The shape of the database server. The shape determines the amount of CPU, storage, and memory resources available.
- status str
- The status of the database server.
- status_
reason str - Additional information about the current status of the database server.
- vm_
cluster_ Sequence[str]ids - The OCID of the VM clusters that are associated with the database server.
- autonomous
Virtual List<String>Machine Ids - The list of unique identifiers for the Autonomous VMs associated with this database server.
- autonomous
Vm List<String>Cluster Ids - The OCID of the autonomous VM clusters that are associated with the database server.
- cloud
Exadata StringInfrastructure Id - compute
Model String - The compute model of the database server.
- cpu
Core NumberCount - The number of CPU cores enabled on the database server.
- created
At String - The date and time when the database server was created.
- db
Node NumberStorage Size In Gbs - The allocated local node storage in GBs on the database server.
- db
Server List<Property Map>Patching Details - The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
- display
Name String - The display name of the database server.
- exadata
Infrastructure StringId - The exadata infrastructure ID of the database server.
- id String
- max
Cpu NumberCount - The total number of CPU cores available.
- max
Db NumberNode Storage In Gbs - The total local node storage available in GBs.
- max
Memory NumberIn Gbs - The total memory available in GBs.
- memory
Size NumberIn Gbs - The allocated memory in GBs on the database server.
- oci
Resource StringAnchor Name - The name of the OCI resource anchor.
- ocid String
- The OCID of the database server to retrieve information about.
- region String
- shape String
- The shape of the database server. The shape determines the amount of CPU, storage, and memory resources available.
- status String
- The status of the database server.
- status
Reason String - Additional information about the current status of the database server.
- vm
Cluster List<String>Ids - The OCID of the VM clusters that are associated with the database server.
Supporting Types
GetDbServerDbServerPatchingDetail
- Estimated
Patch intDuration - Patching
Status string - Time
Patching stringEnded - Time
Patching stringStarted
- Estimated
Patch intDuration - Patching
Status string - Time
Patching stringEnded - Time
Patching stringStarted
- estimated
Patch IntegerDuration - patching
Status String - time
Patching StringEnded - time
Patching StringStarted
- estimated
Patch numberDuration - patching
Status string - time
Patching stringEnded - time
Patching stringStarted
- estimated
Patch NumberDuration - patching
Status String - time
Patching StringEnded - time
Patching StringStarted
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.