1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. getExascaleDbStorageVaults
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.Database.getExascaleDbStorageVaults

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    This data source provides the list of Exascale Db Storage Vaults in Oracle Cloud Infrastructure Database service.

    Gets a list of the Exadata Database Storage Vaults in the specified compartment.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testExascaleDbStorageVaults = oci.Database.getExascaleDbStorageVaults({
        compartmentId: compartmentId,
        displayName: exascaleDbStorageVaultDisplayName,
        state: exascaleDbStorageVaultState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_exascale_db_storage_vaults = oci.Database.get_exascale_db_storage_vaults(compartment_id=compartment_id,
        display_name=exascale_db_storage_vault_display_name,
        state=exascale_db_storage_vault_state)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Database"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Database.GetExascaleDbStorageVaults(ctx, &database.GetExascaleDbStorageVaultsArgs{
    			CompartmentId: compartmentId,
    			DisplayName:   pulumi.StringRef(exascaleDbStorageVaultDisplayName),
    			State:         pulumi.StringRef(exascaleDbStorageVaultState),
    		}, 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 testExascaleDbStorageVaults = Oci.Database.GetExascaleDbStorageVaults.Invoke(new()
        {
            CompartmentId = compartmentId,
            DisplayName = exascaleDbStorageVaultDisplayName,
            State = exascaleDbStorageVaultState,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Database.DatabaseFunctions;
    import com.pulumi.oci.Database.inputs.GetExascaleDbStorageVaultsArgs;
    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 testExascaleDbStorageVaults = DatabaseFunctions.getExascaleDbStorageVaults(GetExascaleDbStorageVaultsArgs.builder()
                .compartmentId(compartmentId)
                .displayName(exascaleDbStorageVaultDisplayName)
                .state(exascaleDbStorageVaultState)
                .build());
    
        }
    }
    
    variables:
      testExascaleDbStorageVaults:
        fn::invoke:
          Function: oci:Database:getExascaleDbStorageVaults
          Arguments:
            compartmentId: ${compartmentId}
            displayName: ${exascaleDbStorageVaultDisplayName}
            state: ${exascaleDbStorageVaultState}
    

    Using getExascaleDbStorageVaults

    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 getExascaleDbStorageVaults(args: GetExascaleDbStorageVaultsArgs, opts?: InvokeOptions): Promise<GetExascaleDbStorageVaultsResult>
    function getExascaleDbStorageVaultsOutput(args: GetExascaleDbStorageVaultsOutputArgs, opts?: InvokeOptions): Output<GetExascaleDbStorageVaultsResult>
    def get_exascale_db_storage_vaults(compartment_id: Optional[str] = None,
                                       display_name: Optional[str] = None,
                                       filters: Optional[Sequence[_database.GetExascaleDbStorageVaultsFilter]] = None,
                                       state: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetExascaleDbStorageVaultsResult
    def get_exascale_db_storage_vaults_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                       display_name: Optional[pulumi.Input[str]] = None,
                                       filters: Optional[pulumi.Input[Sequence[pulumi.Input[_database.GetExascaleDbStorageVaultsFilterArgs]]]] = None,
                                       state: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetExascaleDbStorageVaultsResult]
    func GetExascaleDbStorageVaults(ctx *Context, args *GetExascaleDbStorageVaultsArgs, opts ...InvokeOption) (*GetExascaleDbStorageVaultsResult, error)
    func GetExascaleDbStorageVaultsOutput(ctx *Context, args *GetExascaleDbStorageVaultsOutputArgs, opts ...InvokeOption) GetExascaleDbStorageVaultsResultOutput

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

    public static class GetExascaleDbStorageVaults 
    {
        public static Task<GetExascaleDbStorageVaultsResult> InvokeAsync(GetExascaleDbStorageVaultsArgs args, InvokeOptions? opts = null)
        public static Output<GetExascaleDbStorageVaultsResult> Invoke(GetExascaleDbStorageVaultsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetExascaleDbStorageVaultsResult> getExascaleDbStorageVaults(GetExascaleDbStorageVaultsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Database/getExascaleDbStorageVaults:getExascaleDbStorageVaults
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The compartment OCID.
    DisplayName string
    A filter to return only resources that match the entire display name given. The match is not case sensitive.
    Filters List<GetExascaleDbStorageVaultsFilter>
    State string
    A filter to return only Exadata Database Storage Vaults that match the given lifecycle state exactly.
    CompartmentId string
    The compartment OCID.
    DisplayName string
    A filter to return only resources that match the entire display name given. The match is not case sensitive.
    Filters []GetExascaleDbStorageVaultsFilter
    State string
    A filter to return only Exadata Database Storage Vaults that match the given lifecycle state exactly.
    compartmentId String
    The compartment OCID.
    displayName String
    A filter to return only resources that match the entire display name given. The match is not case sensitive.
    filters List<GetExascaleDbStorageVaultsFilter>
    state String
    A filter to return only Exadata Database Storage Vaults that match the given lifecycle state exactly.
    compartmentId string
    The compartment OCID.
    displayName string
    A filter to return only resources that match the entire display name given. The match is not case sensitive.
    filters GetExascaleDbStorageVaultsFilter[]
    state string
    A filter to return only Exadata Database Storage Vaults that match the given lifecycle state exactly.
    compartment_id str
    The compartment OCID.
    display_name str
    A filter to return only resources that match the entire display name given. The match is not case sensitive.
    filters Sequence[database.GetExascaleDbStorageVaultsFilter]
    state str
    A filter to return only Exadata Database Storage Vaults that match the given lifecycle state exactly.
    compartmentId String
    The compartment OCID.
    displayName String
    A filter to return only resources that match the entire display name given. The match is not case sensitive.
    filters List<Property Map>
    state String
    A filter to return only Exadata Database Storage Vaults that match the given lifecycle state exactly.

    getExascaleDbStorageVaults Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment.
    ExascaleDbStorageVaults List<GetExascaleDbStorageVaultsExascaleDbStorageVault>
    The list of exascale_db_storage_vaults.
    Id string
    The provider-assigned unique ID for this managed resource.
    DisplayName string
    The user-friendly name for the Exadata Database Storage Vault. The name does not need to be unique.
    Filters List<GetExascaleDbStorageVaultsFilter>
    State string
    The current state of the Exadata Database Storage Vault.
    CompartmentId string
    The OCID of the compartment.
    ExascaleDbStorageVaults []GetExascaleDbStorageVaultsExascaleDbStorageVault
    The list of exascale_db_storage_vaults.
    Id string
    The provider-assigned unique ID for this managed resource.
    DisplayName string
    The user-friendly name for the Exadata Database Storage Vault. The name does not need to be unique.
    Filters []GetExascaleDbStorageVaultsFilter
    State string
    The current state of the Exadata Database Storage Vault.
    compartmentId String
    The OCID of the compartment.
    exascaleDbStorageVaults List<GetExascaleDbStorageVaultsExascaleDbStorageVault>
    The list of exascale_db_storage_vaults.
    id String
    The provider-assigned unique ID for this managed resource.
    displayName String
    The user-friendly name for the Exadata Database Storage Vault. The name does not need to be unique.
    filters List<GetExascaleDbStorageVaultsFilter>
    state String
    The current state of the Exadata Database Storage Vault.
    compartmentId string
    The OCID of the compartment.
    exascaleDbStorageVaults GetExascaleDbStorageVaultsExascaleDbStorageVault[]
    The list of exascale_db_storage_vaults.
    id string
    The provider-assigned unique ID for this managed resource.
    displayName string
    The user-friendly name for the Exadata Database Storage Vault. The name does not need to be unique.
    filters GetExascaleDbStorageVaultsFilter[]
    state string
    The current state of the Exadata Database Storage Vault.
    compartment_id str
    The OCID of the compartment.
    exascale_db_storage_vaults Sequence[database.GetExascaleDbStorageVaultsExascaleDbStorageVault]
    The list of exascale_db_storage_vaults.
    id str
    The provider-assigned unique ID for this managed resource.
    display_name str
    The user-friendly name for the Exadata Database Storage Vault. The name does not need to be unique.
    filters Sequence[database.GetExascaleDbStorageVaultsFilter]
    state str
    The current state of the Exadata Database Storage Vault.
    compartmentId String
    The OCID of the compartment.
    exascaleDbStorageVaults List<Property Map>
    The list of exascale_db_storage_vaults.
    id String
    The provider-assigned unique ID for this managed resource.
    displayName String
    The user-friendly name for the Exadata Database Storage Vault. The name does not need to be unique.
    filters List<Property Map>
    state String
    The current state of the Exadata Database Storage Vault.

    Supporting Types

    GetExascaleDbStorageVaultsExascaleDbStorageVault

    AdditionalFlashCacheInPercent int
    The size of additional Flash Cache in percentage of High Capacity database storage.
    AvailabilityDomain string
    The name of the availability domain in which the Exadata Database Storage Vault is located.
    CompartmentId string
    The compartment OCID.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    Description string
    Exadata Database Storage Vault description.
    DisplayName string
    A filter to return only resources that match the entire display name given. The match is not case sensitive.
    FreeformTags Dictionary<string, string>
    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"}
    HighCapacityDatabaseStorages List<GetExascaleDbStorageVaultsExascaleDbStorageVaultHighCapacityDatabaseStorage>
    Exadata Database Storage Details
    Id string
    The OCID of the Exadata Database Storage Vault.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    State string
    A filter to return only Exadata Database Storage Vaults that match the given lifecycle state exactly.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    TimeCreated string
    The date and time that the Exadata Database Storage Vault was created.
    TimeZone string
    The time zone that you want to use for the Exadata Database Storage Vault. For details, see Time Zones.
    VmClusterCount int
    The number of Exadata VM clusters used the Exadata Database Storage Vault.
    VmClusterIds List<string>
    The List of Exadata VM cluster on Exascale Infrastructure OCIDs Note: If Exadata Database Storage Vault is not used for any Exadata VM cluster on Exascale Infrastructure, this list is empty.
    AdditionalFlashCacheInPercent int
    The size of additional Flash Cache in percentage of High Capacity database storage.
    AvailabilityDomain string
    The name of the availability domain in which the Exadata Database Storage Vault is located.
    CompartmentId string
    The compartment OCID.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    Description string
    Exadata Database Storage Vault description.
    DisplayName string
    A filter to return only resources that match the entire display name given. The match is not case sensitive.
    FreeformTags map[string]string
    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"}
    HighCapacityDatabaseStorages []GetExascaleDbStorageVaultsExascaleDbStorageVaultHighCapacityDatabaseStorage
    Exadata Database Storage Details
    Id string
    The OCID of the Exadata Database Storage Vault.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    State string
    A filter to return only Exadata Database Storage Vaults that match the given lifecycle state exactly.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    TimeCreated string
    The date and time that the Exadata Database Storage Vault was created.
    TimeZone string
    The time zone that you want to use for the Exadata Database Storage Vault. For details, see Time Zones.
    VmClusterCount int
    The number of Exadata VM clusters used the Exadata Database Storage Vault.
    VmClusterIds []string
    The List of Exadata VM cluster on Exascale Infrastructure OCIDs Note: If Exadata Database Storage Vault is not used for any Exadata VM cluster on Exascale Infrastructure, this list is empty.
    additionalFlashCacheInPercent Integer
    The size of additional Flash Cache in percentage of High Capacity database storage.
    availabilityDomain String
    The name of the availability domain in which the Exadata Database Storage Vault is located.
    compartmentId String
    The compartment OCID.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    description String
    Exadata Database Storage Vault description.
    displayName String
    A filter to return only resources that match the entire display name given. The match is not case sensitive.
    freeformTags Map<String,String>
    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"}
    highCapacityDatabaseStorages List<GetExascaleDbStorageVaultsExascaleDbStorageVaultHighCapacityStorage>
    Exadata Database Storage Details
    id String
    The OCID of the Exadata Database Storage Vault.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    state String
    A filter to return only Exadata Database Storage Vaults that match the given lifecycle state exactly.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    timeCreated String
    The date and time that the Exadata Database Storage Vault was created.
    timeZone String
    The time zone that you want to use for the Exadata Database Storage Vault. For details, see Time Zones.
    vmClusterCount Integer
    The number of Exadata VM clusters used the Exadata Database Storage Vault.
    vmClusterIds List<String>
    The List of Exadata VM cluster on Exascale Infrastructure OCIDs Note: If Exadata Database Storage Vault is not used for any Exadata VM cluster on Exascale Infrastructure, this list is empty.
    additionalFlashCacheInPercent number
    The size of additional Flash Cache in percentage of High Capacity database storage.
    availabilityDomain string
    The name of the availability domain in which the Exadata Database Storage Vault is located.
    compartmentId string
    The compartment OCID.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    description string
    Exadata Database Storage Vault description.
    displayName string
    A filter to return only resources that match the entire display name given. The match is not case sensitive.
    freeformTags {[key: string]: string}
    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"}
    highCapacityDatabaseStorages GetExascaleDbStorageVaultsExascaleDbStorageVaultHighCapacityDatabaseStorage[]
    Exadata Database Storage Details
    id string
    The OCID of the Exadata Database Storage Vault.
    lifecycleDetails string
    Additional information about the current lifecycle state.
    state string
    A filter to return only Exadata Database Storage Vaults that match the given lifecycle state exactly.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    timeCreated string
    The date and time that the Exadata Database Storage Vault was created.
    timeZone string
    The time zone that you want to use for the Exadata Database Storage Vault. For details, see Time Zones.
    vmClusterCount number
    The number of Exadata VM clusters used the Exadata Database Storage Vault.
    vmClusterIds string[]
    The List of Exadata VM cluster on Exascale Infrastructure OCIDs Note: If Exadata Database Storage Vault is not used for any Exadata VM cluster on Exascale Infrastructure, this list is empty.
    additional_flash_cache_in_percent int
    The size of additional Flash Cache in percentage of High Capacity database storage.
    availability_domain str
    The name of the availability domain in which the Exadata Database Storage Vault is located.
    compartment_id str
    The compartment OCID.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    description str
    Exadata Database Storage Vault description.
    display_name str
    A filter to return only resources that match the entire display name given. The match is not case sensitive.
    freeform_tags Mapping[str, str]
    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"}
    high_capacity_database_storages Sequence[database.GetExascaleDbStorageVaultsExascaleDbStorageVaultHighCapacityDatabaseStorage]
    Exadata Database Storage Details
    id str
    The OCID of the Exadata Database Storage Vault.
    lifecycle_details str
    Additional information about the current lifecycle state.
    state str
    A filter to return only Exadata Database Storage Vaults that match the given lifecycle state exactly.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    time_created str
    The date and time that the Exadata Database Storage Vault was created.
    time_zone str
    The time zone that you want to use for the Exadata Database Storage Vault. For details, see Time Zones.
    vm_cluster_count int
    The number of Exadata VM clusters used the Exadata Database Storage Vault.
    vm_cluster_ids Sequence[str]
    The List of Exadata VM cluster on Exascale Infrastructure OCIDs Note: If Exadata Database Storage Vault is not used for any Exadata VM cluster on Exascale Infrastructure, this list is empty.
    additionalFlashCacheInPercent Number
    The size of additional Flash Cache in percentage of High Capacity database storage.
    availabilityDomain String
    The name of the availability domain in which the Exadata Database Storage Vault is located.
    compartmentId String
    The compartment OCID.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    description String
    Exadata Database Storage Vault description.
    displayName String
    A filter to return only resources that match the entire display name given. The match is not case sensitive.
    freeformTags Map<String>
    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"}
    highCapacityDatabaseStorages List<Property Map>
    Exadata Database Storage Details
    id String
    The OCID of the Exadata Database Storage Vault.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    state String
    A filter to return only Exadata Database Storage Vaults that match the given lifecycle state exactly.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    timeCreated String
    The date and time that the Exadata Database Storage Vault was created.
    timeZone String
    The time zone that you want to use for the Exadata Database Storage Vault. For details, see Time Zones.
    vmClusterCount Number
    The number of Exadata VM clusters used the Exadata Database Storage Vault.
    vmClusterIds List<String>
    The List of Exadata VM cluster on Exascale Infrastructure OCIDs Note: If Exadata Database Storage Vault is not used for any Exadata VM cluster on Exascale Infrastructure, this list is empty.

    GetExascaleDbStorageVaultsExascaleDbStorageVaultHighCapacityDatabaseStorage

    AvailableSizeInGbs int
    Available Capacity
    TotalSizeInGbs int
    Total Capacity
    AvailableSizeInGbs int
    Available Capacity
    TotalSizeInGbs int
    Total Capacity
    availableSizeInGbs Integer
    Available Capacity
    totalSizeInGbs Integer
    Total Capacity
    availableSizeInGbs number
    Available Capacity
    totalSizeInGbs number
    Total Capacity
    available_size_in_gbs int
    Available Capacity
    total_size_in_gbs int
    Total Capacity
    availableSizeInGbs Number
    Available Capacity
    totalSizeInGbs Number
    Total Capacity

    GetExascaleDbStorageVaultsFilter

    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.11.0 published on Thursday, Sep 19, 2024 by Pulumi