Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.FileStorage.getFileSystems
Explore with Pulumi AI
This data source provides the list of File Systems in Oracle Cloud Infrastructure File Storage service.
Lists the file system resources in the specified compartment, or by the specified compartment and file system snapshot policy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFileSystems = oci.FileStorage.getFileSystems({
availabilityDomain: fileSystemAvailabilityDomain,
compartmentId: compartmentId,
displayName: fileSystemDisplayName,
filesystemSnapshotPolicyId: testFilesystemSnapshotPolicy.id,
id: fileSystemId,
parentFileSystemId: testFileSystem.id,
sourceSnapshotId: testSnapshot.id,
state: fileSystemState,
});
import pulumi
import pulumi_oci as oci
test_file_systems = oci.FileStorage.get_file_systems(availability_domain=file_system_availability_domain,
compartment_id=compartment_id,
display_name=file_system_display_name,
filesystem_snapshot_policy_id=test_filesystem_snapshot_policy["id"],
id=file_system_id,
parent_file_system_id=test_file_system["id"],
source_snapshot_id=test_snapshot["id"],
state=file_system_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/FileStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := FileStorage.GetFileSystems(ctx, &filestorage.GetFileSystemsArgs{
AvailabilityDomain: fileSystemAvailabilityDomain,
CompartmentId: compartmentId,
DisplayName: pulumi.StringRef(fileSystemDisplayName),
FilesystemSnapshotPolicyId: pulumi.StringRef(testFilesystemSnapshotPolicy.Id),
Id: pulumi.StringRef(fileSystemId),
ParentFileSystemId: pulumi.StringRef(testFileSystem.Id),
SourceSnapshotId: pulumi.StringRef(testSnapshot.Id),
State: pulumi.StringRef(fileSystemState),
}, 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 testFileSystems = Oci.FileStorage.GetFileSystems.Invoke(new()
{
AvailabilityDomain = fileSystemAvailabilityDomain,
CompartmentId = compartmentId,
DisplayName = fileSystemDisplayName,
FilesystemSnapshotPolicyId = testFilesystemSnapshotPolicy.Id,
Id = fileSystemId,
ParentFileSystemId = testFileSystem.Id,
SourceSnapshotId = testSnapshot.Id,
State = fileSystemState,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FileStorage.FileStorageFunctions;
import com.pulumi.oci.FileStorage.inputs.GetFileSystemsArgs;
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 testFileSystems = FileStorageFunctions.getFileSystems(GetFileSystemsArgs.builder()
.availabilityDomain(fileSystemAvailabilityDomain)
.compartmentId(compartmentId)
.displayName(fileSystemDisplayName)
.filesystemSnapshotPolicyId(testFilesystemSnapshotPolicy.id())
.id(fileSystemId)
.parentFileSystemId(testFileSystem.id())
.sourceSnapshotId(testSnapshot.id())
.state(fileSystemState)
.build());
}
}
variables:
testFileSystems:
fn::invoke:
Function: oci:FileStorage:getFileSystems
Arguments:
availabilityDomain: ${fileSystemAvailabilityDomain}
compartmentId: ${compartmentId}
displayName: ${fileSystemDisplayName}
filesystemSnapshotPolicyId: ${testFilesystemSnapshotPolicy.id}
id: ${fileSystemId}
parentFileSystemId: ${testFileSystem.id}
sourceSnapshotId: ${testSnapshot.id}
state: ${fileSystemState}
Using getFileSystems
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 getFileSystems(args: GetFileSystemsArgs, opts?: InvokeOptions): Promise<GetFileSystemsResult>
function getFileSystemsOutput(args: GetFileSystemsOutputArgs, opts?: InvokeOptions): Output<GetFileSystemsResult>
def get_file_systems(availability_domain: Optional[str] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filesystem_snapshot_policy_id: Optional[str] = None,
filters: Optional[Sequence[_filestorage.GetFileSystemsFilter]] = None,
id: Optional[str] = None,
parent_file_system_id: Optional[str] = None,
source_snapshot_id: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFileSystemsResult
def get_file_systems_output(availability_domain: Optional[pulumi.Input[str]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filesystem_snapshot_policy_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_filestorage.GetFileSystemsFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
parent_file_system_id: Optional[pulumi.Input[str]] = None,
source_snapshot_id: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFileSystemsResult]
func GetFileSystems(ctx *Context, args *GetFileSystemsArgs, opts ...InvokeOption) (*GetFileSystemsResult, error)
func GetFileSystemsOutput(ctx *Context, args *GetFileSystemsOutputArgs, opts ...InvokeOption) GetFileSystemsResultOutput
> Note: This function is named GetFileSystems
in the Go SDK.
public static class GetFileSystems
{
public static Task<GetFileSystemsResult> InvokeAsync(GetFileSystemsArgs args, InvokeOptions? opts = null)
public static Output<GetFileSystemsResult> Invoke(GetFileSystemsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFileSystemsResult> getFileSystems(GetFileSystemsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:FileStorage/getFileSystems:getFileSystems
arguments:
# arguments dictionary
The following arguments are supported:
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- Filesystem
Snapshot stringPolicy Id - The OCID of the file system snapshot policy that is associated with the file systems.
- Filters
List<Get
File Systems Filter> - Id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- Parent
File stringSystem Id - The OCID of the file system that contains the source snapshot of a cloned file system. See Cloning a File System.
- Source
Snapshot stringId - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- Filesystem
Snapshot stringPolicy Id - The OCID of the file system snapshot policy that is associated with the file systems.
- Filters
[]Get
File Systems Filter - Id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- Parent
File stringSystem Id - The OCID of the file system that contains the source snapshot of a cloned file system. See Cloning a File System.
- Source
Snapshot stringId - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment.
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- filesystem
Snapshot StringPolicy Id - The OCID of the file system snapshot policy that is associated with the file systems.
- filters
List<Get
File Systems Filter> - id String
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- parent
File StringSystem Id - The OCID of the file system that contains the source snapshot of a cloned file system. See Cloning a File System.
- source
Snapshot StringId - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id string - The OCID of the compartment.
- display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- filesystem
Snapshot stringPolicy Id - The OCID of the file system snapshot policy that is associated with the file systems.
- filters
Get
File Systems Filter[] - id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- parent
File stringSystem Id - The OCID of the file system that contains the source snapshot of a cloned file system. See Cloning a File System.
- source
Snapshot stringId - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- state string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- availability_
domain str - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment_
id str - The OCID of the compartment.
- display_
name str - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- filesystem_
snapshot_ strpolicy_ id - The OCID of the file system snapshot policy that is associated with the file systems.
- filters
Sequence[filestorage.
Get File Systems Filter] - id str
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- parent_
file_ strsystem_ id - The OCID of the file system that contains the source snapshot of a cloned file system. See Cloning a File System.
- source_
snapshot_ strid - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- state str
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment.
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- filesystem
Snapshot StringPolicy Id - The OCID of the file system snapshot policy that is associated with the file systems.
- filters List<Property Map>
- id String
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- parent
File StringSystem Id - The OCID of the file system that contains the source snapshot of a cloned file system. See Cloning a File System.
- source
Snapshot StringId - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
getFileSystems Result
The following output properties are available:
- Availability
Domain string - The availability domain the file system is in. May be unset as a blank or NULL value. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment that contains the file system.
- File
Systems List<GetFile Systems File System> - The list of file_systems.
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My file system
- Filesystem
Snapshot stringPolicy Id - The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.
- Filters
List<Get
File Systems Filter> - Id string
- The OCID of the file system.
- Parent
File stringSystem Id - The OCID of the file system that contains the source snapshot of a cloned file system. See Cloning a File System.
- Source
Snapshot stringId - The OCID of the source snapshot used to create a cloned file system. See Cloning a File System.
- State string
- The current state of the file system.
- Availability
Domain string - The availability domain the file system is in. May be unset as a blank or NULL value. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment that contains the file system.
- File
Systems []GetFile Systems File System - The list of file_systems.
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My file system
- Filesystem
Snapshot stringPolicy Id - The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.
- Filters
[]Get
File Systems Filter - Id string
- The OCID of the file system.
- Parent
File stringSystem Id - The OCID of the file system that contains the source snapshot of a cloned file system. See Cloning a File System.
- Source
Snapshot stringId - The OCID of the source snapshot used to create a cloned file system. See Cloning a File System.
- State string
- The current state of the file system.
- availability
Domain String - The availability domain the file system is in. May be unset as a blank or NULL value. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment that contains the file system.
- file
Systems List<GetFile Systems File System> - The list of file_systems.
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My file system
- filesystem
Snapshot StringPolicy Id - The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.
- filters
List<Get
File Systems Filter> - id String
- The OCID of the file system.
- parent
File StringSystem Id - The OCID of the file system that contains the source snapshot of a cloned file system. See Cloning a File System.
- source
Snapshot StringId - The OCID of the source snapshot used to create a cloned file system. See Cloning a File System.
- state String
- The current state of the file system.
- availability
Domain string - The availability domain the file system is in. May be unset as a blank or NULL value. Example:
Uocm:PHX-AD-1
- compartment
Id string - The OCID of the compartment that contains the file system.
- file
Systems GetFile Systems File System[] - The list of file_systems.
- display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My file system
- filesystem
Snapshot stringPolicy Id - The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.
- filters
Get
File Systems Filter[] - id string
- The OCID of the file system.
- parent
File stringSystem Id - The OCID of the file system that contains the source snapshot of a cloned file system. See Cloning a File System.
- source
Snapshot stringId - The OCID of the source snapshot used to create a cloned file system. See Cloning a File System.
- state string
- The current state of the file system.
- availability_
domain str - The availability domain the file system is in. May be unset as a blank or NULL value. Example:
Uocm:PHX-AD-1
- compartment_
id str - The OCID of the compartment that contains the file system.
- file_
systems Sequence[filestorage.Get File Systems File System] - The list of file_systems.
- display_
name str - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My file system
- filesystem_
snapshot_ strpolicy_ id - The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.
- filters
Sequence[filestorage.
Get File Systems Filter] - id str
- The OCID of the file system.
- parent_
file_ strsystem_ id - The OCID of the file system that contains the source snapshot of a cloned file system. See Cloning a File System.
- source_
snapshot_ strid - The OCID of the source snapshot used to create a cloned file system. See Cloning a File System.
- state str
- The current state of the file system.
- availability
Domain String - The availability domain the file system is in. May be unset as a blank or NULL value. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment that contains the file system.
- file
Systems List<Property Map> - The list of file_systems.
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My file system
- filesystem
Snapshot StringPolicy Id - The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.
- filters List<Property Map>
- id String
- The OCID of the file system.
- parent
File StringSystem Id - The OCID of the file system that contains the source snapshot of a cloned file system. See Cloning a File System.
- source
Snapshot StringId - The OCID of the source snapshot used to create a cloned file system. See Cloning a File System.
- state String
- The current state of the file system.
Supporting Types
GetFileSystemsFileSystem
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Clone
Attach stringStatus - Specifies whether the file system is attached to its parent file system.
- Clone
Count int - Specifies the total number of children of a file system.
- Compartment
Id string - The OCID of the compartment.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Detach
Clone intTrigger - Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- Filesystem
Snapshot stringPolicy Id - The OCID of the file system snapshot policy that is associated with the file systems.
- 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
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- Is
Clone boolParent - Specifies whether the file system has been cloned. See Cloning a File System.
- Is
Hydrated bool - Specifies whether the data has finished copying from the source to the clone. Hydration can take up to several hours to complete depending on the size of the source. The source and clone remain available during hydration, but there may be some performance impact. See Cloning a File System.
- Is
Lock boolOverride - Is
Targetable bool - Specifies whether the file system can be used as a target file system for replication. The system sets this value to
true
if the file system is unexported, hasn't yet been specified as a target file system in any replication resource, and has no user snapshots. After the file system has been specified as a target in a replication, or if the file system contains user snapshots, the system sets this value tofalse
. For more information, see Using Replication. - Kms
Key stringId - The OCID of the KMS key used to encrypt the encryption keys associated with this file system.
- Lifecycle
Details string - Additional information about the current 'lifecycleState'.
- Locks
List<Get
File Systems File System Lock> - Locks associated with this resource.
- Metered
Bytes string - The number of bytes consumed by the file system, including any snapshots. This number reflects the metered size of the file system and is updated asynchronously with respect to updates to the file system. For more information, see File System Usage and Metering.
- Replication
Target stringId - The OCID of the replication target associated with the file system. Empty if the file system is not being used as target in a replication.
- Source
Details List<GetFile Systems File System Source Detail> - Source information for the file system.
- Source
Snapshot stringId - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- Time
Created string - The date and time the file system was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Clone
Attach stringStatus - Specifies whether the file system is attached to its parent file system.
- Clone
Count int - Specifies the total number of children of a file system.
- Compartment
Id string - The OCID of the compartment.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Detach
Clone intTrigger - Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- Filesystem
Snapshot stringPolicy Id - The OCID of the file system snapshot policy that is associated with the file systems.
- 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
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- Is
Clone boolParent - Specifies whether the file system has been cloned. See Cloning a File System.
- Is
Hydrated bool - Specifies whether the data has finished copying from the source to the clone. Hydration can take up to several hours to complete depending on the size of the source. The source and clone remain available during hydration, but there may be some performance impact. See Cloning a File System.
- Is
Lock boolOverride - Is
Targetable bool - Specifies whether the file system can be used as a target file system for replication. The system sets this value to
true
if the file system is unexported, hasn't yet been specified as a target file system in any replication resource, and has no user snapshots. After the file system has been specified as a target in a replication, or if the file system contains user snapshots, the system sets this value tofalse
. For more information, see Using Replication. - Kms
Key stringId - The OCID of the KMS key used to encrypt the encryption keys associated with this file system.
- Lifecycle
Details string - Additional information about the current 'lifecycleState'.
- Locks
[]Get
File Systems File System Lock - Locks associated with this resource.
- Metered
Bytes string - The number of bytes consumed by the file system, including any snapshots. This number reflects the metered size of the file system and is updated asynchronously with respect to updates to the file system. For more information, see File System Usage and Metering.
- Replication
Target stringId - The OCID of the replication target associated with the file system. Empty if the file system is not being used as target in a replication.
- Source
Details []GetFile Systems File System Source Detail - Source information for the file system.
- Source
Snapshot stringId - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- Time
Created string - The date and time the file system was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- clone
Attach StringStatus - Specifies whether the file system is attached to its parent file system.
- clone
Count Integer - Specifies the total number of children of a file system.
- compartment
Id String - The OCID of the compartment.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- detach
Clone IntegerTrigger - display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- filesystem
Snapshot StringPolicy Id - The OCID of the file system snapshot policy that is associated with the file systems.
- 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
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- is
Clone BooleanParent - Specifies whether the file system has been cloned. See Cloning a File System.
- is
Hydrated Boolean - Specifies whether the data has finished copying from the source to the clone. Hydration can take up to several hours to complete depending on the size of the source. The source and clone remain available during hydration, but there may be some performance impact. See Cloning a File System.
- is
Lock BooleanOverride - is
Targetable Boolean - Specifies whether the file system can be used as a target file system for replication. The system sets this value to
true
if the file system is unexported, hasn't yet been specified as a target file system in any replication resource, and has no user snapshots. After the file system has been specified as a target in a replication, or if the file system contains user snapshots, the system sets this value tofalse
. For more information, see Using Replication. - kms
Key StringId - The OCID of the KMS key used to encrypt the encryption keys associated with this file system.
- lifecycle
Details String - Additional information about the current 'lifecycleState'.
- locks
List<Get
File Systems File System Lock> - Locks associated with this resource.
- metered
Bytes String - The number of bytes consumed by the file system, including any snapshots. This number reflects the metered size of the file system and is updated asynchronously with respect to updates to the file system. For more information, see File System Usage and Metering.
- replication
Target StringId - The OCID of the replication target associated with the file system. Empty if the file system is not being used as target in a replication.
- source
Details List<GetFile Systems File System Source Detail> - Source information for the file system.
- source
Snapshot StringId - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- time
Created String - The date and time the file system was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- clone
Attach stringStatus - Specifies whether the file system is attached to its parent file system.
- clone
Count number - Specifies the total number of children of a file system.
- compartment
Id string - The OCID of the compartment.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- detach
Clone numberTrigger - display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- filesystem
Snapshot stringPolicy Id - The OCID of the file system snapshot policy that is associated with the file systems.
- {[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
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- is
Clone booleanParent - Specifies whether the file system has been cloned. See Cloning a File System.
- is
Hydrated boolean - Specifies whether the data has finished copying from the source to the clone. Hydration can take up to several hours to complete depending on the size of the source. The source and clone remain available during hydration, but there may be some performance impact. See Cloning a File System.
- is
Lock booleanOverride - is
Targetable boolean - Specifies whether the file system can be used as a target file system for replication. The system sets this value to
true
if the file system is unexported, hasn't yet been specified as a target file system in any replication resource, and has no user snapshots. After the file system has been specified as a target in a replication, or if the file system contains user snapshots, the system sets this value tofalse
. For more information, see Using Replication. - kms
Key stringId - The OCID of the KMS key used to encrypt the encryption keys associated with this file system.
- lifecycle
Details string - Additional information about the current 'lifecycleState'.
- locks
Get
File Systems File System Lock[] - Locks associated with this resource.
- metered
Bytes string - The number of bytes consumed by the file system, including any snapshots. This number reflects the metered size of the file system and is updated asynchronously with respect to updates to the file system. For more information, see File System Usage and Metering.
- replication
Target stringId - The OCID of the replication target associated with the file system. Empty if the file system is not being used as target in a replication.
- source
Details GetFile Systems File System Source Detail[] - Source information for the file system.
- source
Snapshot stringId - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- state string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- time
Created string - The date and time the file system was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- availability_
domain str - The name of the availability domain. Example:
Uocm:PHX-AD-1
- clone_
attach_ strstatus - Specifies whether the file system is attached to its parent file system.
- clone_
count int - Specifies the total number of children of a file system.
- compartment_
id str - The OCID of the compartment.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- detach_
clone_ inttrigger - display_
name str - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- filesystem_
snapshot_ strpolicy_ id - The OCID of the file system snapshot policy that is associated with the file systems.
- 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
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- is_
clone_ boolparent - Specifies whether the file system has been cloned. See Cloning a File System.
- is_
hydrated bool - Specifies whether the data has finished copying from the source to the clone. Hydration can take up to several hours to complete depending on the size of the source. The source and clone remain available during hydration, but there may be some performance impact. See Cloning a File System.
- is_
lock_ booloverride - is_
targetable bool - Specifies whether the file system can be used as a target file system for replication. The system sets this value to
true
if the file system is unexported, hasn't yet been specified as a target file system in any replication resource, and has no user snapshots. After the file system has been specified as a target in a replication, or if the file system contains user snapshots, the system sets this value tofalse
. For more information, see Using Replication. - kms_
key_ strid - The OCID of the KMS key used to encrypt the encryption keys associated with this file system.
- lifecycle_
details str - Additional information about the current 'lifecycleState'.
- locks
Sequence[filestorage.
Get File Systems File System Lock] - Locks associated with this resource.
- metered_
bytes str - The number of bytes consumed by the file system, including any snapshots. This number reflects the metered size of the file system and is updated asynchronously with respect to updates to the file system. For more information, see File System Usage and Metering.
- replication_
target_ strid - The OCID of the replication target associated with the file system. Empty if the file system is not being used as target in a replication.
- source_
details Sequence[filestorage.Get File Systems File System Source Detail] - Source information for the file system.
- source_
snapshot_ strid - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- state str
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- time_
created str - The date and time the file system was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- clone
Attach StringStatus - Specifies whether the file system is attached to its parent file system.
- clone
Count Number - Specifies the total number of children of a file system.
- compartment
Id String - The OCID of the compartment.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- detach
Clone NumberTrigger - display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- filesystem
Snapshot StringPolicy Id - The OCID of the file system snapshot policy that is associated with the file systems.
- 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
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- is
Clone BooleanParent - Specifies whether the file system has been cloned. See Cloning a File System.
- is
Hydrated Boolean - Specifies whether the data has finished copying from the source to the clone. Hydration can take up to several hours to complete depending on the size of the source. The source and clone remain available during hydration, but there may be some performance impact. See Cloning a File System.
- is
Lock BooleanOverride - is
Targetable Boolean - Specifies whether the file system can be used as a target file system for replication. The system sets this value to
true
if the file system is unexported, hasn't yet been specified as a target file system in any replication resource, and has no user snapshots. After the file system has been specified as a target in a replication, or if the file system contains user snapshots, the system sets this value tofalse
. For more information, see Using Replication. - kms
Key StringId - The OCID of the KMS key used to encrypt the encryption keys associated with this file system.
- lifecycle
Details String - Additional information about the current 'lifecycleState'.
- locks List<Property Map>
- Locks associated with this resource.
- metered
Bytes String - The number of bytes consumed by the file system, including any snapshots. This number reflects the metered size of the file system and is updated asynchronously with respect to updates to the file system. For more information, see File System Usage and Metering.
- replication
Target StringId - The OCID of the replication target associated with the file system. Empty if the file system is not being used as target in a replication.
- source
Details List<Property Map> - Source information for the file system.
- source
Snapshot StringId - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- time
Created String - The date and time the file system was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
GetFileSystemsFileSystemLock
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- Time
Created string - The date and time the file system was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- Type string
- Type of the lock.
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- Time
Created string - The date and time the file system was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- Type string
- Type of the lock.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created String - The date and time the file system was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- type String
- Type of the lock.
- message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created string - The date and time the file system was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- type string
- Type of the lock.
- message str
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- str
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time_
created str - The date and time the file system was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- type str
- Type of the lock.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created String - The date and time the file system was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- type String
- Type of the lock.
GetFileSystemsFileSystemSourceDetail
- Parent
File stringSystem Id - The OCID of the file system that contains the source snapshot of a cloned file system. See Cloning a File System.
- Source
Snapshot stringId - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- Parent
File stringSystem Id - The OCID of the file system that contains the source snapshot of a cloned file system. See Cloning a File System.
- Source
Snapshot stringId - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- parent
File StringSystem Id - The OCID of the file system that contains the source snapshot of a cloned file system. See Cloning a File System.
- source
Snapshot StringId - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- parent
File stringSystem Id - The OCID of the file system that contains the source snapshot of a cloned file system. See Cloning a File System.
- source
Snapshot stringId - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- parent_
file_ strsystem_ id - The OCID of the file system that contains the source snapshot of a cloned file system. See Cloning a File System.
- source_
snapshot_ strid - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- parent
File StringSystem Id - The OCID of the file system that contains the source snapshot of a cloned file system. See Cloning a File System.
- source
Snapshot StringId - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
GetFileSystemsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.