aws.odb.getDbServers
Data source for manging db servers 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.getDbServers({
cloudExadataInfrastructureId: "exadata_infra_id",
});
import pulumi
import pulumi_aws as aws
example = aws.odb.get_db_servers(cloud_exadata_infrastructure_id="exadata_infra_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.GetDbServers(ctx, &odb.GetDbServersArgs{
CloudExadataInfrastructureId: "exadata_infra_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.GetDbServers.Invoke(new()
{
CloudExadataInfrastructureId = "exadata_infra_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.GetDbServersArgs;
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.getDbServers(GetDbServersArgs.builder()
.cloudExadataInfrastructureId("exadata_infra_id")
.build());
}
}
variables:
example:
fn::invoke:
function: aws:odb:getDbServers
arguments:
cloudExadataInfrastructureId: exadata_infra_id
Using getDbServers
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 getDbServers(args: GetDbServersArgs, opts?: InvokeOptions): Promise<GetDbServersResult>
function getDbServersOutput(args: GetDbServersOutputArgs, opts?: InvokeOptions): Output<GetDbServersResult>
def get_db_servers(cloud_exadata_infrastructure_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbServersResult
def get_db_servers_output(cloud_exadata_infrastructure_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDbServersResult]
func GetDbServers(ctx *Context, args *GetDbServersArgs, opts ...InvokeOption) (*GetDbServersResult, error)
func GetDbServersOutput(ctx *Context, args *GetDbServersOutputArgs, opts ...InvokeOption) GetDbServersResultOutput
> Note: This function is named GetDbServers
in the Go SDK.
public static class GetDbServers
{
public static Task<GetDbServersResult> InvokeAsync(GetDbServersArgs args, InvokeOptions? opts = null)
public static Output<GetDbServersResult> Invoke(GetDbServersInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDbServersResult> getDbServers(GetDbServersArgs args, InvokeOptions options)
public static Output<GetDbServersResult> getDbServers(GetDbServersArgs args, InvokeOptions options)
fn::invoke:
function: aws:odb/getDbServers:getDbServers
arguments:
# arguments dictionary
The following arguments are supported:
- Cloud
Exadata stringInfrastructure Id The unique identifier of the cloud 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.
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.
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.
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.
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.
The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
getDbServers Result
The following output properties are available:
- Cloud
Exadata stringInfrastructure Id - Db
Servers List<GetDb Servers Db Server> - the list of DB servers along with their properties.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- Cloud
Exadata stringInfrastructure Id - Db
Servers []GetDb Servers Db Server - the list of DB servers along with their properties.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- cloud
Exadata StringInfrastructure Id - db
Servers List<GetDb Servers Db Server> - the list of DB servers along with their properties.
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- cloud
Exadata stringInfrastructure Id - db
Servers GetDb Servers Db Server[] - the list of DB servers along with their properties.
- id string
- The provider-assigned unique ID for this managed resource.
- region string
- cloud_
exadata_ strinfrastructure_ id - db_
servers Sequence[GetDb Servers Db Server] - the list of DB servers along with their properties.
- id str
- The provider-assigned unique ID for this managed resource.
- region str
- cloud
Exadata StringInfrastructure Id - db
Servers List<Property Map> - the list of DB servers along with their properties.
- id String
- The provider-assigned unique ID for this managed resource.
- region String
Supporting Types
GetDbServersDbServer
- Autonomous
Virtual List<string>Machine Ids - A list of unique identifiers for the Autonomous VMs.
- Autonomous
Vm List<string>Cluster Ids - A list of identifiers for the Autonomous VM clusters.
- Compute
Model string - The OCI compute model used when you create or clone an instance: ECPU or OCPU. ECPUs are based on the number of cores elastically allocated from a pool of compute and storage servers, while OCPUs are based on the physical core of a processor with hyper-threading enabled.
- 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 amount of local node storage, in gigabytes (GB), that's allocated on the database server.
- Db
Server List<GetPatching Details Db Servers 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 user-friendly name of the database server. The name doesn't need to be unique.
- Exadata
Infrastructure stringId - The ID of the Exadata infrastructure that hosts the database server.
- Id string
- Max
Cpu intCount - The total number of CPU cores available on the database server.
- Max
Db intNode Storage In Gbs - The total amount of local node storage, in gigabytes (GB), that's available on the database server.
- Max
Memory intIn Gbs - The total amount of memory, in gigabytes (GB), that's available on the database server.
- Memory
Size intIn Gbs - The amount of memory, in gigabytes (GB), that's allocated on the database server.
- Oci
Resource stringAnchor Name - The name of the OCI resource anchor for the database server.
- Ocid string
- The OCID of the database server.
- Shape string
- The hardware system model of the Exadata infrastructure that the database server is hosted on. The shape determines the amount of CPU, storage, and memory resources available.
- Status string
- The current status of the database server.
- Status
Reason string - Additional information about the status of the database server.
- Vm
Cluster List<string>Ids - The IDs of the VM clusters that are associated with the database server.
- Autonomous
Virtual []stringMachine Ids - A list of unique identifiers for the Autonomous VMs.
- Autonomous
Vm []stringCluster Ids - A list of identifiers for the Autonomous VM clusters.
- Compute
Model string - The OCI compute model used when you create or clone an instance: ECPU or OCPU. ECPUs are based on the number of cores elastically allocated from a pool of compute and storage servers, while OCPUs are based on the physical core of a processor with hyper-threading enabled.
- 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 amount of local node storage, in gigabytes (GB), that's allocated on the database server.
- Db
Server []GetPatching Details Db Servers 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 user-friendly name of the database server. The name doesn't need to be unique.
- Exadata
Infrastructure stringId - The ID of the Exadata infrastructure that hosts the database server.
- Id string
- Max
Cpu intCount - The total number of CPU cores available on the database server.
- Max
Db intNode Storage In Gbs - The total amount of local node storage, in gigabytes (GB), that's available on the database server.
- Max
Memory intIn Gbs - The total amount of memory, in gigabytes (GB), that's available on the database server.
- Memory
Size intIn Gbs - The amount of memory, in gigabytes (GB), that's allocated on the database server.
- Oci
Resource stringAnchor Name - The name of the OCI resource anchor for the database server.
- Ocid string
- The OCID of the database server.
- Shape string
- The hardware system model of the Exadata infrastructure that the database server is hosted on. The shape determines the amount of CPU, storage, and memory resources available.
- Status string
- The current status of the database server.
- Status
Reason string - Additional information about the status of the database server.
- Vm
Cluster []stringIds - The IDs of the VM clusters that are associated with the database server.
- autonomous
Virtual List<String>Machine Ids - A list of unique identifiers for the Autonomous VMs.
- autonomous
Vm List<String>Cluster Ids - A list of identifiers for the Autonomous VM clusters.
- compute
Model String - The OCI compute model used when you create or clone an instance: ECPU or OCPU. ECPUs are based on the number of cores elastically allocated from a pool of compute and storage servers, while OCPUs are based on the physical core of a processor with hyper-threading enabled.
- 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 amount of local node storage, in gigabytes (GB), that's allocated on the database server.
- db
Server List<GetPatching Details Db Servers 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 user-friendly name of the database server. The name doesn't need to be unique.
- exadata
Infrastructure StringId - The ID of the Exadata infrastructure that hosts the database server.
- id String
- max
Cpu IntegerCount - The total number of CPU cores available on the database server.
- max
Db IntegerNode Storage In Gbs - The total amount of local node storage, in gigabytes (GB), that's available on the database server.
- max
Memory IntegerIn Gbs - The total amount of memory, in gigabytes (GB), that's available on the database server.
- memory
Size IntegerIn Gbs - The amount of memory, in gigabytes (GB), that's allocated on the database server.
- oci
Resource StringAnchor Name - The name of the OCI resource anchor for the database server.
- ocid String
- The OCID of the database server.
- shape String
- The hardware system model of the Exadata infrastructure that the database server is hosted on. The shape determines the amount of CPU, storage, and memory resources available.
- status String
- The current status of the database server.
- status
Reason String - Additional information about the status of the database server.
- vm
Cluster List<String>Ids - The IDs of the VM clusters that are associated with the database server.
- autonomous
Virtual string[]Machine Ids - A list of unique identifiers for the Autonomous VMs.
- autonomous
Vm string[]Cluster Ids - A list of identifiers for the Autonomous VM clusters.
- compute
Model string - The OCI compute model used when you create or clone an instance: ECPU or OCPU. ECPUs are based on the number of cores elastically allocated from a pool of compute and storage servers, while OCPUs are based on the physical core of a processor with hyper-threading enabled.
- 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 amount of local node storage, in gigabytes (GB), that's allocated on the database server.
- db
Server GetPatching Details Db Servers 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 user-friendly name of the database server. The name doesn't need to be unique.
- exadata
Infrastructure stringId - The ID of the Exadata infrastructure that hosts the database server.
- id string
- max
Cpu numberCount - The total number of CPU cores available on the database server.
- max
Db numberNode Storage In Gbs - The total amount of local node storage, in gigabytes (GB), that's available on the database server.
- max
Memory numberIn Gbs - The total amount of memory, in gigabytes (GB), that's available on the database server.
- memory
Size numberIn Gbs - The amount of memory, in gigabytes (GB), that's allocated on the database server.
- oci
Resource stringAnchor Name - The name of the OCI resource anchor for the database server.
- ocid string
- The OCID of the database server.
- shape string
- The hardware system model of the Exadata infrastructure that the database server is hosted on. The shape determines the amount of CPU, storage, and memory resources available.
- status string
- The current status of the database server.
- status
Reason string - Additional information about the status of the database server.
- vm
Cluster string[]Ids - The IDs of the VM clusters that are associated with the database server.
- autonomous_
virtual_ Sequence[str]machine_ ids - A list of unique identifiers for the Autonomous VMs.
- autonomous_
vm_ Sequence[str]cluster_ ids - A list of identifiers for the Autonomous VM clusters.
- compute_
model str - The OCI compute model used when you create or clone an instance: ECPU or OCPU. ECPUs are based on the number of cores elastically allocated from a pool of compute and storage servers, while OCPUs are based on the physical core of a processor with hyper-threading enabled.
- 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 amount of local node storage, in gigabytes (GB), that's allocated on the database server.
- db_
server_ Sequence[Getpatching_ details Db Servers 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 user-friendly name of the database server. The name doesn't need to be unique.
- exadata_
infrastructure_ strid - The ID of the Exadata infrastructure that hosts the database server.
- id str
- max_
cpu_ intcount - The total number of CPU cores available on the database server.
- max_
db_ intnode_ storage_ in_ gbs - The total amount of local node storage, in gigabytes (GB), that's available on the database server.
- max_
memory_ intin_ gbs - The total amount of memory, in gigabytes (GB), that's available on the database server.
- memory_
size_ intin_ gbs - The amount of memory, in gigabytes (GB), that's allocated on the database server.
- oci_
resource_ stranchor_ name - The name of the OCI resource anchor for the database server.
- ocid str
- The OCID of the database server.
- shape str
- The hardware system model of the Exadata infrastructure that the database server is hosted on. The shape determines the amount of CPU, storage, and memory resources available.
- status str
- The current status of the database server.
- status_
reason str - Additional information about the status of the database server.
- vm_
cluster_ Sequence[str]ids - The IDs of the VM clusters that are associated with the database server.
- autonomous
Virtual List<String>Machine Ids - A list of unique identifiers for the Autonomous VMs.
- autonomous
Vm List<String>Cluster Ids - A list of identifiers for the Autonomous VM clusters.
- compute
Model String - The OCI compute model used when you create or clone an instance: ECPU or OCPU. ECPUs are based on the number of cores elastically allocated from a pool of compute and storage servers, while OCPUs are based on the physical core of a processor with hyper-threading enabled.
- 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 amount of local node storage, in gigabytes (GB), that's allocated 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 user-friendly name of the database server. The name doesn't need to be unique.
- exadata
Infrastructure StringId - The ID of the Exadata infrastructure that hosts the database server.
- id String
- max
Cpu NumberCount - The total number of CPU cores available on the database server.
- max
Db NumberNode Storage In Gbs - The total amount of local node storage, in gigabytes (GB), that's available on the database server.
- max
Memory NumberIn Gbs - The total amount of memory, in gigabytes (GB), that's available on the database server.
- memory
Size NumberIn Gbs - The amount of memory, in gigabytes (GB), that's allocated on the database server.
- oci
Resource StringAnchor Name - The name of the OCI resource anchor for the database server.
- ocid String
- The OCID of the database server.
- shape String
- The hardware system model of the Exadata infrastructure that the database server is hosted on. The shape determines the amount of CPU, storage, and memory resources available.
- status String
- The current status of the database server.
- status
Reason String - Additional information about the status of the database server.
- vm
Cluster List<String>Ids - The IDs of the VM clusters that are associated with the database server.
GetDbServersDbServerDbServerPatchingDetail
- 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.