1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. getAdvancedClusterFileSystems
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
oci logo
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi

    This data source provides the list of Advanced Cluster File Systems in Oracle Cloud Infrastructure Database service.

    Lists the advanced cluster file system resources in the specified compartment.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testAdvancedClusterFileSystems = oci.Database.getAdvancedClusterFileSystems({
        compartmentId: compartmentId,
        name: advancedClusterFileSystemName,
        resourceId: testResource.id,
        state: advancedClusterFileSystemState,
        vmClusterId: testVmCluster.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_advanced_cluster_file_systems = oci.Database.get_advanced_cluster_file_systems(compartment_id=compartment_id,
        name=advanced_cluster_file_system_name,
        resource_id=test_resource["id"],
        state=advanced_cluster_file_system_state,
        vm_cluster_id=test_vm_cluster["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/database"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := database.GetAdvancedClusterFileSystems(ctx, &database.GetAdvancedClusterFileSystemsArgs{
    			CompartmentId: compartmentId,
    			Name:          pulumi.StringRef(advancedClusterFileSystemName),
    			ResourceId:    pulumi.StringRef(testResource.Id),
    			State:         pulumi.StringRef(advancedClusterFileSystemState),
    			VmClusterId:   pulumi.StringRef(testVmCluster.Id),
    		}, 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 testAdvancedClusterFileSystems = Oci.Database.GetAdvancedClusterFileSystems.Invoke(new()
        {
            CompartmentId = compartmentId,
            Name = advancedClusterFileSystemName,
            ResourceId = testResource.Id,
            State = advancedClusterFileSystemState,
            VmClusterId = testVmCluster.Id,
        });
    
    });
    
    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.GetAdvancedClusterFileSystemsArgs;
    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 testAdvancedClusterFileSystems = DatabaseFunctions.getAdvancedClusterFileSystems(GetAdvancedClusterFileSystemsArgs.builder()
                .compartmentId(compartmentId)
                .name(advancedClusterFileSystemName)
                .resourceId(testResource.id())
                .state(advancedClusterFileSystemState)
                .vmClusterId(testVmCluster.id())
                .build());
    
        }
    }
    
    variables:
      testAdvancedClusterFileSystems:
        fn::invoke:
          function: oci:Database:getAdvancedClusterFileSystems
          arguments:
            compartmentId: ${compartmentId}
            name: ${advancedClusterFileSystemName}
            resourceId: ${testResource.id}
            state: ${advancedClusterFileSystemState}
            vmClusterId: ${testVmCluster.id}
    

    Using getAdvancedClusterFileSystems

    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 getAdvancedClusterFileSystems(args: GetAdvancedClusterFileSystemsArgs, opts?: InvokeOptions): Promise<GetAdvancedClusterFileSystemsResult>
    function getAdvancedClusterFileSystemsOutput(args: GetAdvancedClusterFileSystemsOutputArgs, opts?: InvokeOptions): Output<GetAdvancedClusterFileSystemsResult>
    def get_advanced_cluster_file_systems(compartment_id: Optional[str] = None,
                                          filters: Optional[Sequence[GetAdvancedClusterFileSystemsFilter]] = None,
                                          name: Optional[str] = None,
                                          resource_id: Optional[str] = None,
                                          state: Optional[str] = None,
                                          vm_cluster_id: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetAdvancedClusterFileSystemsResult
    def get_advanced_cluster_file_systems_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                          filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetAdvancedClusterFileSystemsFilterArgs]]]] = None,
                                          name: Optional[pulumi.Input[str]] = None,
                                          resource_id: Optional[pulumi.Input[str]] = None,
                                          state: Optional[pulumi.Input[str]] = None,
                                          vm_cluster_id: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetAdvancedClusterFileSystemsResult]
    func GetAdvancedClusterFileSystems(ctx *Context, args *GetAdvancedClusterFileSystemsArgs, opts ...InvokeOption) (*GetAdvancedClusterFileSystemsResult, error)
    func GetAdvancedClusterFileSystemsOutput(ctx *Context, args *GetAdvancedClusterFileSystemsOutputArgs, opts ...InvokeOption) GetAdvancedClusterFileSystemsResultOutput

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

    public static class GetAdvancedClusterFileSystems 
    {
        public static Task<GetAdvancedClusterFileSystemsResult> InvokeAsync(GetAdvancedClusterFileSystemsArgs args, InvokeOptions? opts = null)
        public static Output<GetAdvancedClusterFileSystemsResult> Invoke(GetAdvancedClusterFileSystemsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAdvancedClusterFileSystemsResult> getAdvancedClusterFileSystems(GetAdvancedClusterFileSystemsArgs args, InvokeOptions options)
    public static Output<GetAdvancedClusterFileSystemsResult> getAdvancedClusterFileSystems(GetAdvancedClusterFileSystemsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:Database/getAdvancedClusterFileSystems:getAdvancedClusterFileSystems
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The compartment OCID.
    Filters List<GetAdvancedClusterFileSystemsFilter>
    Name string
    A filter to return only resources that match the entire name given. The match is not case sensitive.
    ResourceId string
    If provided, filters the results for the specified resource Id.
    State string
    A filter to return only resources that match the given lifecycle state exactly.
    VmClusterId string
    A filter to return only ACFS that match the given vm cluster id exactly.
    CompartmentId string
    The compartment OCID.
    Filters []GetAdvancedClusterFileSystemsFilter
    Name string
    A filter to return only resources that match the entire name given. The match is not case sensitive.
    ResourceId string
    If provided, filters the results for the specified resource Id.
    State string
    A filter to return only resources that match the given lifecycle state exactly.
    VmClusterId string
    A filter to return only ACFS that match the given vm cluster id exactly.
    compartmentId String
    The compartment OCID.
    filters List<GetAdvancedClusterFileSystemsFilter>
    name String
    A filter to return only resources that match the entire name given. The match is not case sensitive.
    resourceId String
    If provided, filters the results for the specified resource Id.
    state String
    A filter to return only resources that match the given lifecycle state exactly.
    vmClusterId String
    A filter to return only ACFS that match the given vm cluster id exactly.
    compartmentId string
    The compartment OCID.
    filters GetAdvancedClusterFileSystemsFilter[]
    name string
    A filter to return only resources that match the entire name given. The match is not case sensitive.
    resourceId string
    If provided, filters the results for the specified resource Id.
    state string
    A filter to return only resources that match the given lifecycle state exactly.
    vmClusterId string
    A filter to return only ACFS that match the given vm cluster id exactly.
    compartment_id str
    The compartment OCID.
    filters Sequence[GetAdvancedClusterFileSystemsFilter]
    name str
    A filter to return only resources that match the entire name given. The match is not case sensitive.
    resource_id str
    If provided, filters the results for the specified resource Id.
    state str
    A filter to return only resources that match the given lifecycle state exactly.
    vm_cluster_id str
    A filter to return only ACFS that match the given vm cluster id exactly.
    compartmentId String
    The compartment OCID.
    filters List<Property Map>
    name String
    A filter to return only resources that match the entire name given. The match is not case sensitive.
    resourceId String
    If provided, filters the results for the specified resource Id.
    state String
    A filter to return only resources that match the given lifecycle state exactly.
    vmClusterId String
    A filter to return only ACFS that match the given vm cluster id exactly.

    getAdvancedClusterFileSystems Result

    The following output properties are available:

    AdvancedClusterFileSystemCollections List<GetAdvancedClusterFileSystemsAdvancedClusterFileSystemCollection>
    The list of advanced_cluster_file_system_collection.
    CompartmentId string
    The OCID of the compartment.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters List<GetAdvancedClusterFileSystemsFilter>
    Name string
    The user-friendly name for the Advanced cluster file system. The file system name is unique for a cluster.
    ResourceId string
    State string
    The current state of the advanced cluster file system. Valid states are CREATING, AVAILABLE, UPDATING, FAILED, DELETED.
    VmClusterId string
    The OCID of the VM cluster.
    AdvancedClusterFileSystemCollections []GetAdvancedClusterFileSystemsAdvancedClusterFileSystemCollection
    The list of advanced_cluster_file_system_collection.
    CompartmentId string
    The OCID of the compartment.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters []GetAdvancedClusterFileSystemsFilter
    Name string
    The user-friendly name for the Advanced cluster file system. The file system name is unique for a cluster.
    ResourceId string
    State string
    The current state of the advanced cluster file system. Valid states are CREATING, AVAILABLE, UPDATING, FAILED, DELETED.
    VmClusterId string
    The OCID of the VM cluster.
    advancedClusterFileSystemCollections List<GetAdvancedClusterFileSystemsAdvancedClusterFileSystemCollection>
    The list of advanced_cluster_file_system_collection.
    compartmentId String
    The OCID of the compartment.
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<GetAdvancedClusterFileSystemsFilter>
    name String
    The user-friendly name for the Advanced cluster file system. The file system name is unique for a cluster.
    resourceId String
    state String
    The current state of the advanced cluster file system. Valid states are CREATING, AVAILABLE, UPDATING, FAILED, DELETED.
    vmClusterId String
    The OCID of the VM cluster.
    advancedClusterFileSystemCollections GetAdvancedClusterFileSystemsAdvancedClusterFileSystemCollection[]
    The list of advanced_cluster_file_system_collection.
    compartmentId string
    The OCID of the compartment.
    id string
    The provider-assigned unique ID for this managed resource.
    filters GetAdvancedClusterFileSystemsFilter[]
    name string
    The user-friendly name for the Advanced cluster file system. The file system name is unique for a cluster.
    resourceId string
    state string
    The current state of the advanced cluster file system. Valid states are CREATING, AVAILABLE, UPDATING, FAILED, DELETED.
    vmClusterId string
    The OCID of the VM cluster.
    advanced_cluster_file_system_collections Sequence[GetAdvancedClusterFileSystemsAdvancedClusterFileSystemCollection]
    The list of advanced_cluster_file_system_collection.
    compartment_id str
    The OCID of the compartment.
    id str
    The provider-assigned unique ID for this managed resource.
    filters Sequence[GetAdvancedClusterFileSystemsFilter]
    name str
    The user-friendly name for the Advanced cluster file system. The file system name is unique for a cluster.
    resource_id str
    state str
    The current state of the advanced cluster file system. Valid states are CREATING, AVAILABLE, UPDATING, FAILED, DELETED.
    vm_cluster_id str
    The OCID of the VM cluster.
    advancedClusterFileSystemCollections List<Property Map>
    The list of advanced_cluster_file_system_collection.
    compartmentId String
    The OCID of the compartment.
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<Property Map>
    name String
    The user-friendly name for the Advanced cluster file system. The file system name is unique for a cluster.
    resourceId String
    state String
    The current state of the advanced cluster file system. Valid states are CREATING, AVAILABLE, UPDATING, FAILED, DELETED.
    vmClusterId String
    The OCID of the VM cluster.

    Supporting Types

    GetAdvancedClusterFileSystemsAdvancedClusterFileSystemCollection

    GetAdvancedClusterFileSystemsAdvancedClusterFileSystemCollectionItem

    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
    Description of the advanced cluster file system.
    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"}
    Id string
    The OCID of the advanced cluster file system.
    IsMounted bool
    True if the file system is mounted on all VMs within VM Cluster.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    MountPoint string
    The mount point of file system.
    Name string
    A filter to return only resources that match the entire name given. The match is not case sensitive.
    State string
    A filter to return only resources that match the given lifecycle state exactly.
    StorageInGbs int
    The total storage allocated for advanced cluster file system in GBs.
    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 the advanced cluster file system was created.
    TimeUpdated string
    The last date and time that the advanced cluster file system was updated.
    VaultId string
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    VmClusterId string
    A filter to return only ACFS that match the given vm cluster id exactly.
    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
    Description of the advanced cluster file system.
    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"}
    Id string
    The OCID of the advanced cluster file system.
    IsMounted bool
    True if the file system is mounted on all VMs within VM Cluster.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    MountPoint string
    The mount point of file system.
    Name string
    A filter to return only resources that match the entire name given. The match is not case sensitive.
    State string
    A filter to return only resources that match the given lifecycle state exactly.
    StorageInGbs int
    The total storage allocated for advanced cluster file system in GBs.
    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 the advanced cluster file system was created.
    TimeUpdated string
    The last date and time that the advanced cluster file system was updated.
    VaultId string
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    VmClusterId string
    A filter to return only ACFS that match the given vm cluster id exactly.
    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
    Description of the advanced cluster file system.
    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"}
    id String
    The OCID of the advanced cluster file system.
    isMounted Boolean
    True if the file system is mounted on all VMs within VM Cluster.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    mountPoint String
    The mount point of file system.
    name String
    A filter to return only resources that match the entire name given. The match is not case sensitive.
    state String
    A filter to return only resources that match the given lifecycle state exactly.
    storageInGbs Integer
    The total storage allocated for advanced cluster file system in GBs.
    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 the advanced cluster file system was created.
    timeUpdated String
    The last date and time that the advanced cluster file system was updated.
    vaultId String
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    vmClusterId String
    A filter to return only ACFS that match the given vm cluster id exactly.
    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
    Description of the advanced cluster file system.
    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"}
    id string
    The OCID of the advanced cluster file system.
    isMounted boolean
    True if the file system is mounted on all VMs within VM Cluster.
    lifecycleDetails string
    Additional information about the current lifecycle state.
    mountPoint string
    The mount point of file system.
    name string
    A filter to return only resources that match the entire name given. The match is not case sensitive.
    state string
    A filter to return only resources that match the given lifecycle state exactly.
    storageInGbs number
    The total storage allocated for advanced cluster file system in GBs.
    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 the advanced cluster file system was created.
    timeUpdated string
    The last date and time that the advanced cluster file system was updated.
    vaultId string
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    vmClusterId string
    A filter to return only ACFS that match the given vm cluster id exactly.
    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
    Description of the advanced cluster file system.
    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"}
    id str
    The OCID of the advanced cluster file system.
    is_mounted bool
    True if the file system is mounted on all VMs within VM Cluster.
    lifecycle_details str
    Additional information about the current lifecycle state.
    mount_point str
    The mount point of file system.
    name str
    A filter to return only resources that match the entire name given. The match is not case sensitive.
    state str
    A filter to return only resources that match the given lifecycle state exactly.
    storage_in_gbs int
    The total storage allocated for advanced cluster file system in GBs.
    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 the advanced cluster file system was created.
    time_updated str
    The last date and time that the advanced cluster file system was updated.
    vault_id str
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    vm_cluster_id str
    A filter to return only ACFS that match the given vm cluster id exactly.
    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
    Description of the advanced cluster file system.
    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"}
    id String
    The OCID of the advanced cluster file system.
    isMounted Boolean
    True if the file system is mounted on all VMs within VM Cluster.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    mountPoint String
    The mount point of file system.
    name String
    A filter to return only resources that match the entire name given. The match is not case sensitive.
    state String
    A filter to return only resources that match the given lifecycle state exactly.
    storageInGbs Number
    The total storage allocated for advanced cluster file system in GBs.
    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 the advanced cluster file system was created.
    timeUpdated String
    The last date and time that the advanced cluster file system was updated.
    vaultId String
    The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.
    vmClusterId String
    A filter to return only ACFS that match the given vm cluster id exactly.

    GetAdvancedClusterFileSystemsFilter

    Name string
    A filter to return only resources that match the entire name given. The match is not case sensitive.
    Values List<string>
    Regex bool
    Name string
    A filter to return only resources that match the entire name given. The match is not case sensitive.
    Values []string
    Regex bool
    name String
    A filter to return only resources that match the entire name given. The match is not case sensitive.
    values List<String>
    regex Boolean
    name string
    A filter to return only resources that match the entire name given. The match is not case sensitive.
    values string[]
    regex boolean
    name str
    A filter to return only resources that match the entire name given. The match is not case sensitive.
    values Sequence[str]
    regex bool
    name String
    A filter to return only resources that match the entire name given. The match is not case sensitive.
    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
    Viewing docs for Oracle Cloud Infrastructure v4.2.0
    published on Friday, Mar 6, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.