1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DatabaseManagement
  5. getExternalExadataStorageServers
Oracle Cloud Infrastructure v2.3.0 published on Wednesday, Jul 17, 2024 by Pulumi

oci.DatabaseManagement.getExternalExadataStorageServers

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.3.0 published on Wednesday, Jul 17, 2024 by Pulumi

    This data source provides the list of External Exadata Storage Servers in Oracle Cloud Infrastructure Database Management service.

    Lists the Exadata storage servers for the specified Exadata infrastructure.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testExternalExadataStorageServers = oci.DatabaseManagement.getExternalExadataStorageServers({
        compartmentId: compartmentId,
        externalExadataInfrastructureId: testExternalExadataInfrastructure.id,
        displayName: externalExadataStorageServerDisplayName,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_external_exadata_storage_servers = oci.DatabaseManagement.get_external_exadata_storage_servers(compartment_id=compartment_id,
        external_exadata_infrastructure_id=test_external_exadata_infrastructure["id"],
        display_name=external_exadata_storage_server_display_name)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DatabaseManagement"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DatabaseManagement.GetExternalExadataStorageServers(ctx, &databasemanagement.GetExternalExadataStorageServersArgs{
    			CompartmentId:                   compartmentId,
    			ExternalExadataInfrastructureId: testExternalExadataInfrastructure.Id,
    			DisplayName:                     pulumi.StringRef(externalExadataStorageServerDisplayName),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testExternalExadataStorageServers = Oci.DatabaseManagement.GetExternalExadataStorageServers.Invoke(new()
        {
            CompartmentId = compartmentId,
            ExternalExadataInfrastructureId = testExternalExadataInfrastructure.Id,
            DisplayName = externalExadataStorageServerDisplayName,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DatabaseManagement.DatabaseManagementFunctions;
    import com.pulumi.oci.DatabaseManagement.inputs.GetExternalExadataStorageServersArgs;
    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 testExternalExadataStorageServers = DatabaseManagementFunctions.getExternalExadataStorageServers(GetExternalExadataStorageServersArgs.builder()
                .compartmentId(compartmentId)
                .externalExadataInfrastructureId(testExternalExadataInfrastructure.id())
                .displayName(externalExadataStorageServerDisplayName)
                .build());
    
        }
    }
    
    variables:
      testExternalExadataStorageServers:
        fn::invoke:
          Function: oci:DatabaseManagement:getExternalExadataStorageServers
          Arguments:
            compartmentId: ${compartmentId}
            externalExadataInfrastructureId: ${testExternalExadataInfrastructure.id}
            displayName: ${externalExadataStorageServerDisplayName}
    

    Using getExternalExadataStorageServers

    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 getExternalExadataStorageServers(args: GetExternalExadataStorageServersArgs, opts?: InvokeOptions): Promise<GetExternalExadataStorageServersResult>
    function getExternalExadataStorageServersOutput(args: GetExternalExadataStorageServersOutputArgs, opts?: InvokeOptions): Output<GetExternalExadataStorageServersResult>
    def get_external_exadata_storage_servers(compartment_id: Optional[str] = None,
                                             display_name: Optional[str] = None,
                                             external_exadata_infrastructure_id: Optional[str] = None,
                                             filters: Optional[Sequence[_databasemanagement.GetExternalExadataStorageServersFilter]] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetExternalExadataStorageServersResult
    def get_external_exadata_storage_servers_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                             display_name: Optional[pulumi.Input[str]] = None,
                                             external_exadata_infrastructure_id: Optional[pulumi.Input[str]] = None,
                                             filters: Optional[pulumi.Input[Sequence[pulumi.Input[_databasemanagement.GetExternalExadataStorageServersFilterArgs]]]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetExternalExadataStorageServersResult]
    func GetExternalExadataStorageServers(ctx *Context, args *GetExternalExadataStorageServersArgs, opts ...InvokeOption) (*GetExternalExadataStorageServersResult, error)
    func GetExternalExadataStorageServersOutput(ctx *Context, args *GetExternalExadataStorageServersOutputArgs, opts ...InvokeOption) GetExternalExadataStorageServersResultOutput

    > Note: This function is named GetExternalExadataStorageServers in the Go SDK.

    public static class GetExternalExadataStorageServers 
    {
        public static Task<GetExternalExadataStorageServersResult> InvokeAsync(GetExternalExadataStorageServersArgs args, InvokeOptions? opts = null)
        public static Output<GetExternalExadataStorageServersResult> Invoke(GetExternalExadataStorageServersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetExternalExadataStorageServersResult> getExternalExadataStorageServers(GetExternalExadataStorageServersArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DatabaseManagement/getExternalExadataStorageServers:getExternalExadataStorageServers
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment.
    ExternalExadataInfrastructureId string
    The OCID of the Exadata infrastructure.
    DisplayName string
    The optional single value query filter parameter on the entity display name.
    Filters List<GetExternalExadataStorageServersFilter>
    CompartmentId string
    The OCID of the compartment.
    ExternalExadataInfrastructureId string
    The OCID of the Exadata infrastructure.
    DisplayName string
    The optional single value query filter parameter on the entity display name.
    Filters []GetExternalExadataStorageServersFilter
    compartmentId String
    The OCID of the compartment.
    externalExadataInfrastructureId String
    The OCID of the Exadata infrastructure.
    displayName String
    The optional single value query filter parameter on the entity display name.
    filters List<GetExternalExadataStorageServersFilter>
    compartmentId string
    The OCID of the compartment.
    externalExadataInfrastructureId string
    The OCID of the Exadata infrastructure.
    displayName string
    The optional single value query filter parameter on the entity display name.
    filters GetExternalExadataStorageServersFilter[]
    compartment_id str
    The OCID of the compartment.
    external_exadata_infrastructure_id str
    The OCID of the Exadata infrastructure.
    display_name str
    The optional single value query filter parameter on the entity display name.
    filters Sequence[databasemanagement.GetExternalExadataStorageServersFilter]
    compartmentId String
    The OCID of the compartment.
    externalExadataInfrastructureId String
    The OCID of the Exadata infrastructure.
    displayName String
    The optional single value query filter parameter on the entity display name.
    filters List<Property Map>

    getExternalExadataStorageServers Result

    The following output properties are available:

    CompartmentId string
    ExternalExadataInfrastructureId string
    ExternalExadataStorageServerCollections List<GetExternalExadataStorageServersExternalExadataStorageServerCollection>
    The list of external_exadata_storage_server_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    DisplayName string
    The name of the Exadata resource. English letters, numbers, "-", "_" and "." only.
    Filters List<GetExternalExadataStorageServersFilter>
    CompartmentId string
    ExternalExadataInfrastructureId string
    ExternalExadataStorageServerCollections []GetExternalExadataStorageServersExternalExadataStorageServerCollection
    The list of external_exadata_storage_server_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    DisplayName string
    The name of the Exadata resource. English letters, numbers, "-", "_" and "." only.
    Filters []GetExternalExadataStorageServersFilter
    compartmentId String
    externalExadataInfrastructureId String
    externalExadataStorageServerCollections List<GetExternalExadataStorageServersExternalExadataStorageServerCollection>
    The list of external_exadata_storage_server_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    displayName String
    The name of the Exadata resource. English letters, numbers, "-", "_" and "." only.
    filters List<GetExternalExadataStorageServersFilter>
    compartmentId string
    externalExadataInfrastructureId string
    externalExadataStorageServerCollections GetExternalExadataStorageServersExternalExadataStorageServerCollection[]
    The list of external_exadata_storage_server_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    displayName string
    The name of the Exadata resource. English letters, numbers, "-", "_" and "." only.
    filters GetExternalExadataStorageServersFilter[]
    compartment_id str
    external_exadata_infrastructure_id str
    external_exadata_storage_server_collections Sequence[databasemanagement.GetExternalExadataStorageServersExternalExadataStorageServerCollection]
    The list of external_exadata_storage_server_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    display_name str
    The name of the Exadata resource. English letters, numbers, "-", "_" and "." only.
    filters Sequence[databasemanagement.GetExternalExadataStorageServersFilter]
    compartmentId String
    externalExadataInfrastructureId String
    externalExadataStorageServerCollections List<Property Map>
    The list of external_exadata_storage_server_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    displayName String
    The name of the Exadata resource. English letters, numbers, "-", "_" and "." only.
    filters List<Property Map>

    Supporting Types

    GetExternalExadataStorageServersExternalExadataStorageServerCollection

    GetExternalExadataStorageServersExternalExadataStorageServerCollectionItem

    AdditionalDetails Dictionary<string, object>
    The additional details of the resource defined in {"key": "value"} format. Example: {"bar-key": "value"}
    ConnectorId string
    CpuCount double
    The CPU count of the Exadata storage server.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    The optional single value query filter parameter on the entity display name.
    ExadataInfrastructureId string
    The OCID of the Exadata infrastructure.
    FreeformTags Dictionary<string, object>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The OCID of the Exadata resource.
    InternalId string
    The internal ID of the Exadata resource.
    IpAddress string
    The IP address of the Exadata storage server.
    LifecycleDetails string
    The details of the lifecycle state of the Exadata resource.
    MakeModel string
    The make model of the Exadata storage server.
    MaxFlashDiskIops int
    The maximum flash disk IO operations per second of the Exadata storage server.
    MaxFlashDiskThroughput int
    The maximum flash disk IO throughput in MB/s of the Exadata storage server.
    MaxHardDiskIops int
    The maximum hard disk IO operations per second of the Exadata storage server.
    MaxHardDiskThroughput int
    The maximum hard disk IO throughput in MB/s of the Exadata storage server.
    MemoryGb double
    The Exadata storage server memory size in GB.
    ResourceType string
    The type of Exadata resource.
    State string
    The current lifecycle state of the database resource.
    Status string
    The status of the Exadata resource.
    StorageGridId string
    The OCID of the Exadata storage server grid.
    TimeCreated string
    The timestamp of the creation of the Exadata resource.
    TimeUpdated string
    The timestamp of the last update of the Exadata resource.
    Version string
    The version of the Exadata resource.
    AdditionalDetails map[string]interface{}
    The additional details of the resource defined in {"key": "value"} format. Example: {"bar-key": "value"}
    ConnectorId string
    CpuCount float64
    The CPU count of the Exadata storage server.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    The optional single value query filter parameter on the entity display name.
    ExadataInfrastructureId string
    The OCID of the Exadata infrastructure.
    FreeformTags map[string]interface{}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The OCID of the Exadata resource.
    InternalId string
    The internal ID of the Exadata resource.
    IpAddress string
    The IP address of the Exadata storage server.
    LifecycleDetails string
    The details of the lifecycle state of the Exadata resource.
    MakeModel string
    The make model of the Exadata storage server.
    MaxFlashDiskIops int
    The maximum flash disk IO operations per second of the Exadata storage server.
    MaxFlashDiskThroughput int
    The maximum flash disk IO throughput in MB/s of the Exadata storage server.
    MaxHardDiskIops int
    The maximum hard disk IO operations per second of the Exadata storage server.
    MaxHardDiskThroughput int
    The maximum hard disk IO throughput in MB/s of the Exadata storage server.
    MemoryGb float64
    The Exadata storage server memory size in GB.
    ResourceType string
    The type of Exadata resource.
    State string
    The current lifecycle state of the database resource.
    Status string
    The status of the Exadata resource.
    StorageGridId string
    The OCID of the Exadata storage server grid.
    TimeCreated string
    The timestamp of the creation of the Exadata resource.
    TimeUpdated string
    The timestamp of the last update of the Exadata resource.
    Version string
    The version of the Exadata resource.
    additionalDetails Map<String,Object>
    The additional details of the resource defined in {"key": "value"} format. Example: {"bar-key": "value"}
    connectorId String
    cpuCount Double
    The CPU count of the Exadata storage server.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    The optional single value query filter parameter on the entity display name.
    exadataInfrastructureId String
    The OCID of the Exadata infrastructure.
    freeformTags Map<String,Object>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The OCID of the Exadata resource.
    internalId String
    The internal ID of the Exadata resource.
    ipAddress String
    The IP address of the Exadata storage server.
    lifecycleDetails String
    The details of the lifecycle state of the Exadata resource.
    makeModel String
    The make model of the Exadata storage server.
    maxFlashDiskIops Integer
    The maximum flash disk IO operations per second of the Exadata storage server.
    maxFlashDiskThroughput Integer
    The maximum flash disk IO throughput in MB/s of the Exadata storage server.
    maxHardDiskIops Integer
    The maximum hard disk IO operations per second of the Exadata storage server.
    maxHardDiskThroughput Integer
    The maximum hard disk IO throughput in MB/s of the Exadata storage server.
    memoryGb Double
    The Exadata storage server memory size in GB.
    resourceType String
    The type of Exadata resource.
    state String
    The current lifecycle state of the database resource.
    status String
    The status of the Exadata resource.
    storageGridId String
    The OCID of the Exadata storage server grid.
    timeCreated String
    The timestamp of the creation of the Exadata resource.
    timeUpdated String
    The timestamp of the last update of the Exadata resource.
    version String
    The version of the Exadata resource.
    additionalDetails {[key: string]: any}
    The additional details of the resource defined in {"key": "value"} format. Example: {"bar-key": "value"}
    connectorId string
    cpuCount number
    The CPU count of the Exadata storage server.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    The optional single value query filter parameter on the entity display name.
    exadataInfrastructureId string
    The OCID of the Exadata infrastructure.
    freeformTags {[key: string]: any}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id string
    The OCID of the Exadata resource.
    internalId string
    The internal ID of the Exadata resource.
    ipAddress string
    The IP address of the Exadata storage server.
    lifecycleDetails string
    The details of the lifecycle state of the Exadata resource.
    makeModel string
    The make model of the Exadata storage server.
    maxFlashDiskIops number
    The maximum flash disk IO operations per second of the Exadata storage server.
    maxFlashDiskThroughput number
    The maximum flash disk IO throughput in MB/s of the Exadata storage server.
    maxHardDiskIops number
    The maximum hard disk IO operations per second of the Exadata storage server.
    maxHardDiskThroughput number
    The maximum hard disk IO throughput in MB/s of the Exadata storage server.
    memoryGb number
    The Exadata storage server memory size in GB.
    resourceType string
    The type of Exadata resource.
    state string
    The current lifecycle state of the database resource.
    status string
    The status of the Exadata resource.
    storageGridId string
    The OCID of the Exadata storage server grid.
    timeCreated string
    The timestamp of the creation of the Exadata resource.
    timeUpdated string
    The timestamp of the last update of the Exadata resource.
    version string
    The version of the Exadata resource.
    additional_details Mapping[str, Any]
    The additional details of the resource defined in {"key": "value"} format. Example: {"bar-key": "value"}
    connector_id str
    cpu_count float
    The CPU count of the Exadata storage server.
    defined_tags Mapping[str, Any]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    The optional single value query filter parameter on the entity display name.
    exadata_infrastructure_id str
    The OCID of the Exadata infrastructure.
    freeform_tags Mapping[str, Any]
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id str
    The OCID of the Exadata resource.
    internal_id str
    The internal ID of the Exadata resource.
    ip_address str
    The IP address of the Exadata storage server.
    lifecycle_details str
    The details of the lifecycle state of the Exadata resource.
    make_model str
    The make model of the Exadata storage server.
    max_flash_disk_iops int
    The maximum flash disk IO operations per second of the Exadata storage server.
    max_flash_disk_throughput int
    The maximum flash disk IO throughput in MB/s of the Exadata storage server.
    max_hard_disk_iops int
    The maximum hard disk IO operations per second of the Exadata storage server.
    max_hard_disk_throughput int
    The maximum hard disk IO throughput in MB/s of the Exadata storage server.
    memory_gb float
    The Exadata storage server memory size in GB.
    resource_type str
    The type of Exadata resource.
    state str
    The current lifecycle state of the database resource.
    status str
    The status of the Exadata resource.
    storage_grid_id str
    The OCID of the Exadata storage server grid.
    time_created str
    The timestamp of the creation of the Exadata resource.
    time_updated str
    The timestamp of the last update of the Exadata resource.
    version str
    The version of the Exadata resource.
    additionalDetails Map<Any>
    The additional details of the resource defined in {"key": "value"} format. Example: {"bar-key": "value"}
    connectorId String
    cpuCount Number
    The CPU count of the Exadata storage server.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    The optional single value query filter parameter on the entity display name.
    exadataInfrastructureId String
    The OCID of the Exadata infrastructure.
    freeformTags Map<Any>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The OCID of the Exadata resource.
    internalId String
    The internal ID of the Exadata resource.
    ipAddress String
    The IP address of the Exadata storage server.
    lifecycleDetails String
    The details of the lifecycle state of the Exadata resource.
    makeModel String
    The make model of the Exadata storage server.
    maxFlashDiskIops Number
    The maximum flash disk IO operations per second of the Exadata storage server.
    maxFlashDiskThroughput Number
    The maximum flash disk IO throughput in MB/s of the Exadata storage server.
    maxHardDiskIops Number
    The maximum hard disk IO operations per second of the Exadata storage server.
    maxHardDiskThroughput Number
    The maximum hard disk IO throughput in MB/s of the Exadata storage server.
    memoryGb Number
    The Exadata storage server memory size in GB.
    resourceType String
    The type of Exadata resource.
    state String
    The current lifecycle state of the database resource.
    status String
    The status of the Exadata resource.
    storageGridId String
    The OCID of the Exadata storage server grid.
    timeCreated String
    The timestamp of the creation of the Exadata resource.
    timeUpdated String
    The timestamp of the last update of the Exadata resource.
    version String
    The version of the Exadata resource.

    GetExternalExadataStorageServersFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.3.0 published on Wednesday, Jul 17, 2024 by Pulumi