oci.FileStorage.FileSystem
Explore with Pulumi AI
This resource provides the File System resource in Oracle Cloud Infrastructure File Storage service.
Creates a new file system in the specified compartment and availability domain. Instances can mount file systems in another availability domain, but doing so might increase latency when compared to mounting instances in the same availability domain.
After you create a file system, you can associate it with a mount target. Instances can then mount the file system by connecting to the mount target’s IP address. You can associate a file system with more than one mount target at a time.
For information about access control and compartments, see Overview of the IAM Service.
For information about Network Security Groups access control, see Network Security Groups.
For information about availability domains, see Regions and
Availability Domains.
To get a list of availability domains, use the
ListAvailabilityDomains
operation in the Identity and Access
Management Service API.
All Oracle Cloud Infrastructure resources, including file systems, get an Oracle-assigned, unique ID called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response. You can also retrieve a resource’s OCID by using a List API operation on that resource type or by viewing the resource in the Console.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFileSystem = new oci.filestorage.FileSystem("test_file_system", {
availabilityDomain: fileSystemAvailabilityDomain,
compartmentId: compartmentId,
cloneAttachStatus: fileSystemCloneAttachStatus,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: fileSystemDisplayName,
filesystemSnapshotPolicyId: testFilesystemSnapshotPolicy.id,
freeformTags: {
Department: "Finance",
},
kmsKeyId: testKey.id,
sourceSnapshotId: testSnapshot.id,
});
import pulumi
import pulumi_oci as oci
test_file_system = oci.file_storage.FileSystem("test_file_system",
availability_domain=file_system_availability_domain,
compartment_id=compartment_id,
clone_attach_status=file_system_clone_attach_status,
defined_tags={
"Operations.CostCenter": "42",
},
display_name=file_system_display_name,
filesystem_snapshot_policy_id=test_filesystem_snapshot_policy["id"],
freeform_tags={
"Department": "Finance",
},
kms_key_id=test_key["id"],
source_snapshot_id=test_snapshot["id"])
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.NewFileSystem(ctx, "test_file_system", &FileStorage.FileSystemArgs{
AvailabilityDomain: pulumi.Any(fileSystemAvailabilityDomain),
CompartmentId: pulumi.Any(compartmentId),
CloneAttachStatus: pulumi.Any(fileSystemCloneAttachStatus),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
DisplayName: pulumi.Any(fileSystemDisplayName),
FilesystemSnapshotPolicyId: pulumi.Any(testFilesystemSnapshotPolicy.Id),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
KmsKeyId: pulumi.Any(testKey.Id),
SourceSnapshotId: pulumi.Any(testSnapshot.Id),
})
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 testFileSystem = new Oci.FileStorage.FileSystem("test_file_system", new()
{
AvailabilityDomain = fileSystemAvailabilityDomain,
CompartmentId = compartmentId,
CloneAttachStatus = fileSystemCloneAttachStatus,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = fileSystemDisplayName,
FilesystemSnapshotPolicyId = testFilesystemSnapshotPolicy.Id,
FreeformTags =
{
{ "Department", "Finance" },
},
KmsKeyId = testKey.Id,
SourceSnapshotId = testSnapshot.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FileStorage.FileSystem;
import com.pulumi.oci.FileStorage.FileSystemArgs;
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) {
var testFileSystem = new FileSystem("testFileSystem", FileSystemArgs.builder()
.availabilityDomain(fileSystemAvailabilityDomain)
.compartmentId(compartmentId)
.cloneAttachStatus(fileSystemCloneAttachStatus)
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(fileSystemDisplayName)
.filesystemSnapshotPolicyId(testFilesystemSnapshotPolicy.id())
.freeformTags(Map.of("Department", "Finance"))
.kmsKeyId(testKey.id())
.sourceSnapshotId(testSnapshot.id())
.build());
}
}
resources:
testFileSystem:
type: oci:FileStorage:FileSystem
name: test_file_system
properties:
availabilityDomain: ${fileSystemAvailabilityDomain}
compartmentId: ${compartmentId}
cloneAttachStatus: ${fileSystemCloneAttachStatus}
definedTags:
Operations.CostCenter: '42'
displayName: ${fileSystemDisplayName}
filesystemSnapshotPolicyId: ${testFilesystemSnapshotPolicy.id}
freeformTags:
Department: Finance
kmsKeyId: ${testKey.id}
sourceSnapshotId: ${testSnapshot.id}
Create FileSystem Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FileSystem(name: string, args: FileSystemArgs, opts?: CustomResourceOptions);
@overload
def FileSystem(resource_name: str,
args: FileSystemArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FileSystem(resource_name: str,
opts: Optional[ResourceOptions] = None,
availability_domain: Optional[str] = None,
compartment_id: Optional[str] = None,
clone_attach_status: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
detach_clone_trigger: Optional[int] = None,
display_name: Optional[str] = None,
filesystem_snapshot_policy_id: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
kms_key_id: Optional[str] = None,
source_snapshot_id: Optional[str] = None)
func NewFileSystem(ctx *Context, name string, args FileSystemArgs, opts ...ResourceOption) (*FileSystem, error)
public FileSystem(string name, FileSystemArgs args, CustomResourceOptions? opts = null)
public FileSystem(String name, FileSystemArgs args)
public FileSystem(String name, FileSystemArgs args, CustomResourceOptions options)
type: oci:FileStorage:FileSystem
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FileSystemArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FileSystemArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FileSystemArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FileSystemArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FileSystemArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var fileSystemResource = new Oci.FileStorage.FileSystem("fileSystemResource", new()
{
AvailabilityDomain = "string",
CompartmentId = "string",
CloneAttachStatus = "string",
DefinedTags =
{
{ "string", "string" },
},
DetachCloneTrigger = 0,
DisplayName = "string",
FilesystemSnapshotPolicyId = "string",
FreeformTags =
{
{ "string", "string" },
},
KmsKeyId = "string",
SourceSnapshotId = "string",
});
example, err := FileStorage.NewFileSystem(ctx, "fileSystemResource", &FileStorage.FileSystemArgs{
AvailabilityDomain: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
CloneAttachStatus: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DetachCloneTrigger: pulumi.Int(0),
DisplayName: pulumi.String("string"),
FilesystemSnapshotPolicyId: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
KmsKeyId: pulumi.String("string"),
SourceSnapshotId: pulumi.String("string"),
})
var fileSystemResource = new FileSystem("fileSystemResource", FileSystemArgs.builder()
.availabilityDomain("string")
.compartmentId("string")
.cloneAttachStatus("string")
.definedTags(Map.of("string", "string"))
.detachCloneTrigger(0)
.displayName("string")
.filesystemSnapshotPolicyId("string")
.freeformTags(Map.of("string", "string"))
.kmsKeyId("string")
.sourceSnapshotId("string")
.build());
file_system_resource = oci.file_storage.FileSystem("fileSystemResource",
availability_domain="string",
compartment_id="string",
clone_attach_status="string",
defined_tags={
"string": "string",
},
detach_clone_trigger=0,
display_name="string",
filesystem_snapshot_policy_id="string",
freeform_tags={
"string": "string",
},
kms_key_id="string",
source_snapshot_id="string")
const fileSystemResource = new oci.filestorage.FileSystem("fileSystemResource", {
availabilityDomain: "string",
compartmentId: "string",
cloneAttachStatus: "string",
definedTags: {
string: "string",
},
detachCloneTrigger: 0,
displayName: "string",
filesystemSnapshotPolicyId: "string",
freeformTags: {
string: "string",
},
kmsKeyId: "string",
sourceSnapshotId: "string",
});
type: oci:FileStorage:FileSystem
properties:
availabilityDomain: string
cloneAttachStatus: string
compartmentId: string
definedTags:
string: string
detachCloneTrigger: 0
displayName: string
filesystemSnapshotPolicyId: string
freeformTags:
string: string
kmsKeyId: string
sourceSnapshotId: string
FileSystem Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The FileSystem resource accepts the following input properties:
- Availability
Domain string - The availability domain to create the file system in. Example:
Uocm:PHX-AD-1
- Compartment
Id string - (Updatable) The OCID of the compartment to create the file system in.
- Clone
Attach stringStatus - Specifies whether the clone file system is attached to its parent file system. If the value is set to 'DETACH', then the file system will be created, which is deep copied from the snapshot specified by sourceSnapshotId, else will remain attached to its parent.
- Dictionary<string, string>
- (Updatable) 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 (Updatable) An optional property when incremented triggers Detach Clone. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Display
Name string - (Updatable) 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 (Updatable) The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.
May be unset as a blank value.
- Dictionary<string, string>
- (Updatable) 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"}
- Kms
Key stringId - (Updatable) The OCID of KMS key used to encrypt the encryption keys associated with this file system. May be unset as a blank or deleted from the configuration to remove the KMS key.
- Source
Snapshot stringId - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- Availability
Domain string - The availability domain to create the file system in. Example:
Uocm:PHX-AD-1
- Compartment
Id string - (Updatable) The OCID of the compartment to create the file system in.
- Clone
Attach stringStatus - Specifies whether the clone file system is attached to its parent file system. If the value is set to 'DETACH', then the file system will be created, which is deep copied from the snapshot specified by sourceSnapshotId, else will remain attached to its parent.
- map[string]string
- (Updatable) 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 (Updatable) An optional property when incremented triggers Detach Clone. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Display
Name string - (Updatable) 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 (Updatable) The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.
May be unset as a blank value.
- map[string]string
- (Updatable) 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"}
- Kms
Key stringId - (Updatable) The OCID of KMS key used to encrypt the encryption keys associated with this file system. May be unset as a blank or deleted from the configuration to remove the KMS key.
- Source
Snapshot stringId - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- availability
Domain String - The availability domain to create the file system in. Example:
Uocm:PHX-AD-1
- compartment
Id String - (Updatable) The OCID of the compartment to create the file system in.
- clone
Attach StringStatus - Specifies whether the clone file system is attached to its parent file system. If the value is set to 'DETACH', then the file system will be created, which is deep copied from the snapshot specified by sourceSnapshotId, else will remain attached to its parent.
- Map<String,String>
- (Updatable) 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 (Updatable) An optional property when incremented triggers Detach Clone. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- display
Name String - (Updatable) 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 (Updatable) The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.
May be unset as a blank value.
- Map<String,String>
- (Updatable) 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"}
- kms
Key StringId - (Updatable) The OCID of KMS key used to encrypt the encryption keys associated with this file system. May be unset as a blank or deleted from the configuration to remove the KMS key.
- source
Snapshot StringId - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- availability
Domain string - The availability domain to create the file system in. Example:
Uocm:PHX-AD-1
- compartment
Id string - (Updatable) The OCID of the compartment to create the file system in.
- clone
Attach stringStatus - Specifies whether the clone file system is attached to its parent file system. If the value is set to 'DETACH', then the file system will be created, which is deep copied from the snapshot specified by sourceSnapshotId, else will remain attached to its parent.
- {[key: string]: string}
- (Updatable) 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 (Updatable) An optional property when incremented triggers Detach Clone. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- display
Name string - (Updatable) 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 (Updatable) The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.
May be unset as a blank value.
- {[key: string]: string}
- (Updatable) 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"}
- kms
Key stringId - (Updatable) The OCID of KMS key used to encrypt the encryption keys associated with this file system. May be unset as a blank or deleted from the configuration to remove the KMS key.
- source
Snapshot stringId - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- availability_
domain str - The availability domain to create the file system in. Example:
Uocm:PHX-AD-1
- compartment_
id str - (Updatable) The OCID of the compartment to create the file system in.
- clone_
attach_ strstatus - Specifies whether the clone file system is attached to its parent file system. If the value is set to 'DETACH', then the file system will be created, which is deep copied from the snapshot specified by sourceSnapshotId, else will remain attached to its parent.
- Mapping[str, str]
- (Updatable) 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 (Updatable) An optional property when incremented triggers Detach Clone. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- display_
name str - (Updatable) 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 (Updatable) The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.
May be unset as a blank value.
- Mapping[str, str]
- (Updatable) 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"}
- kms_
key_ strid - (Updatable) The OCID of KMS key used to encrypt the encryption keys associated with this file system. May be unset as a blank or deleted from the configuration to remove the KMS key.
- source_
snapshot_ strid - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
- availability
Domain String - The availability domain to create the file system in. Example:
Uocm:PHX-AD-1
- compartment
Id String - (Updatable) The OCID of the compartment to create the file system in.
- clone
Attach StringStatus - Specifies whether the clone file system is attached to its parent file system. If the value is set to 'DETACH', then the file system will be created, which is deep copied from the snapshot specified by sourceSnapshotId, else will remain attached to its parent.
- Map<String>
- (Updatable) 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 (Updatable) An optional property when incremented triggers Detach Clone. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- display
Name String - (Updatable) 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 (Updatable) The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.
May be unset as a blank value.
- Map<String>
- (Updatable) 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"}
- kms
Key StringId - (Updatable) The OCID of KMS key used to encrypt the encryption keys associated with this file system. May be unset as a blank or deleted from the configuration to remove the KMS key.
- source
Snapshot StringId - The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
Outputs
All input properties are implicitly available as output properties. Additionally, the FileSystem resource produces the following output properties:
- Clone
Count int - Specifies the total number of children of a file system.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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
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. - Lifecycle
Details string - Additional information about the current 'lifecycleState'.
- 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<FileSystem Source Detail> - Source information for the file system.
- State string
- The current state of the file system.
- 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
- Clone
Count int - Specifies the total number of children of a file system.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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
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. - Lifecycle
Details string - Additional information about the current 'lifecycleState'.
- 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 []FileSystem Source Detail - Source information for the file system.
- State string
- The current state of the file system.
- 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
- clone
Count Integer - Specifies the total number of children of a file system.
- id String
- The provider-assigned unique ID for this managed resource.
- 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
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. - lifecycle
Details String - Additional information about the current 'lifecycleState'.
- 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<FileSystem Source Detail> - Source information for the file system.
- state String
- The current state of the file system.
- 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
- clone
Count number - Specifies the total number of children of a file system.
- id string
- The provider-assigned unique ID for this managed resource.
- 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
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. - lifecycle
Details string - Additional information about the current 'lifecycleState'.
- 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 FileSystem Source Detail[] - Source information for the file system.
- state string
- The current state of the file system.
- 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
- clone_
count int - Specifies the total number of children of a file system.
- id str
- The provider-assigned unique ID for this managed resource.
- 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_
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. - lifecycle_
details str - Additional information about the current 'lifecycleState'.
- 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.File System Source Detail] - Source information for the file system.
- state str
- The current state of the file system.
- 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
- clone
Count Number - Specifies the total number of children of a file system.
- id String
- The provider-assigned unique ID for this managed resource.
- 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
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. - lifecycle
Details String - Additional information about the current 'lifecycleState'.
- 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.
- state String
- The current state of the file system.
- 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
Look up Existing FileSystem Resource
Get an existing FileSystem resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: FileSystemState, opts?: CustomResourceOptions): FileSystem
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
availability_domain: Optional[str] = None,
clone_attach_status: Optional[str] = None,
clone_count: Optional[int] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
detach_clone_trigger: Optional[int] = None,
display_name: Optional[str] = None,
filesystem_snapshot_policy_id: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
is_clone_parent: Optional[bool] = None,
is_hydrated: Optional[bool] = None,
is_targetable: Optional[bool] = None,
kms_key_id: Optional[str] = None,
lifecycle_details: Optional[str] = None,
metered_bytes: Optional[str] = None,
replication_target_id: Optional[str] = None,
source_details: Optional[Sequence[_filestorage.FileSystemSourceDetailArgs]] = None,
source_snapshot_id: Optional[str] = None,
state: Optional[str] = None,
time_created: Optional[str] = None) -> FileSystem
func GetFileSystem(ctx *Context, name string, id IDInput, state *FileSystemState, opts ...ResourceOption) (*FileSystem, error)
public static FileSystem Get(string name, Input<string> id, FileSystemState? state, CustomResourceOptions? opts = null)
public static FileSystem get(String name, Output<String> id, FileSystemState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Availability
Domain string - The availability domain to create the file system in. Example:
Uocm:PHX-AD-1
- Clone
Attach stringStatus - Specifies whether the clone file system is attached to its parent file system. If the value is set to 'DETACH', then the file system will be created, which is deep copied from the snapshot specified by sourceSnapshotId, else will remain attached to its parent.
- Clone
Count int - Specifies the total number of children of a file system.
- Compartment
Id string - (Updatable) The OCID of the compartment to create the file system in.
- Dictionary<string, string>
- (Updatable) 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 (Updatable) An optional property when incremented triggers Detach Clone. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Display
Name string - (Updatable) 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 (Updatable) The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.
May be unset as a blank value.
- Dictionary<string, string>
- (Updatable) 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"}
- 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
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 - (Updatable) The OCID of KMS key used to encrypt the encryption keys associated with this file system. May be unset as a blank or deleted from the configuration to remove the KMS key.
- Lifecycle
Details string - Additional information about the current 'lifecycleState'.
- 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<FileSystem 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
- The current state of the file system.
- 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 availability domain to create the file system in. Example:
Uocm:PHX-AD-1
- Clone
Attach stringStatus - Specifies whether the clone file system is attached to its parent file system. If the value is set to 'DETACH', then the file system will be created, which is deep copied from the snapshot specified by sourceSnapshotId, else will remain attached to its parent.
- Clone
Count int - Specifies the total number of children of a file system.
- Compartment
Id string - (Updatable) The OCID of the compartment to create the file system in.
- map[string]string
- (Updatable) 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 (Updatable) An optional property when incremented triggers Detach Clone. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Display
Name string - (Updatable) 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 (Updatable) The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.
May be unset as a blank value.
- map[string]string
- (Updatable) 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"}
- 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
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 - (Updatable) The OCID of KMS key used to encrypt the encryption keys associated with this file system. May be unset as a blank or deleted from the configuration to remove the KMS key.
- Lifecycle
Details string - Additional information about the current 'lifecycleState'.
- 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 []FileSystem Source Detail Args - 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
- The current state of the file system.
- 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 availability domain to create the file system in. Example:
Uocm:PHX-AD-1
- clone
Attach StringStatus - Specifies whether the clone file system is attached to its parent file system. If the value is set to 'DETACH', then the file system will be created, which is deep copied from the snapshot specified by sourceSnapshotId, else will remain attached to its parent.
- clone
Count Integer - Specifies the total number of children of a file system.
- compartment
Id String - (Updatable) The OCID of the compartment to create the file system in.
- Map<String,String>
- (Updatable) 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 (Updatable) An optional property when incremented triggers Detach Clone. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- display
Name String - (Updatable) 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 (Updatable) The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.
May be unset as a blank value.
- Map<String,String>
- (Updatable) 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"}
- 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
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 - (Updatable) The OCID of KMS key used to encrypt the encryption keys associated with this file system. May be unset as a blank or deleted from the configuration to remove the KMS key.
- lifecycle
Details String - Additional information about the current 'lifecycleState'.
- 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<FileSystem 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
- The current state of the file system.
- 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 availability domain to create the file system in. Example:
Uocm:PHX-AD-1
- clone
Attach stringStatus - Specifies whether the clone file system is attached to its parent file system. If the value is set to 'DETACH', then the file system will be created, which is deep copied from the snapshot specified by sourceSnapshotId, else will remain attached to its parent.
- clone
Count number - Specifies the total number of children of a file system.
- compartment
Id string - (Updatable) The OCID of the compartment to create the file system in.
- {[key: string]: string}
- (Updatable) 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 (Updatable) An optional property when incremented triggers Detach Clone. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- display
Name string - (Updatable) 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 (Updatable) The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.
May be unset as a blank value.
- {[key: string]: string}
- (Updatable) 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"}
- 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
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 - (Updatable) The OCID of KMS key used to encrypt the encryption keys associated with this file system. May be unset as a blank or deleted from the configuration to remove the KMS key.
- lifecycle
Details string - Additional information about the current 'lifecycleState'.
- 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 FileSystem 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
- The current state of the file system.
- 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 availability domain to create the file system in. Example:
Uocm:PHX-AD-1
- clone_
attach_ strstatus - Specifies whether the clone file system is attached to its parent file system. If the value is set to 'DETACH', then the file system will be created, which is deep copied from the snapshot specified by sourceSnapshotId, else will remain attached to its parent.
- clone_
count int - Specifies the total number of children of a file system.
- compartment_
id str - (Updatable) The OCID of the compartment to create the file system in.
- Mapping[str, str]
- (Updatable) 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 (Updatable) An optional property when incremented triggers Detach Clone. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- display_
name str - (Updatable) 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 (Updatable) The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.
May be unset as a blank value.
- Mapping[str, str]
- (Updatable) 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"}
- 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_
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 - (Updatable) The OCID of KMS key used to encrypt the encryption keys associated with this file system. May be unset as a blank or deleted from the configuration to remove the KMS key.
- lifecycle_
details str - Additional information about the current 'lifecycleState'.
- 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.File System Source Detail Args] - 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
- The current state of the file system.
- 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 availability domain to create the file system in. Example:
Uocm:PHX-AD-1
- clone
Attach StringStatus - Specifies whether the clone file system is attached to its parent file system. If the value is set to 'DETACH', then the file system will be created, which is deep copied from the snapshot specified by sourceSnapshotId, else will remain attached to its parent.
- clone
Count Number - Specifies the total number of children of a file system.
- compartment
Id String - (Updatable) The OCID of the compartment to create the file system in.
- Map<String>
- (Updatable) 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 (Updatable) An optional property when incremented triggers Detach Clone. Could be set to any integer value.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- display
Name String - (Updatable) 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 (Updatable) The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.
May be unset as a blank value.
- Map<String>
- (Updatable) 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"}
- 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
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 - (Updatable) The OCID of KMS key used to encrypt the encryption keys associated with this file system. May be unset as a blank or deleted from the configuration to remove the KMS key.
- lifecycle
Details String - Additional information about the current 'lifecycleState'.
- 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
- The current state of the file system.
- 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
Supporting Types
FileSystemSourceDetail, FileSystemSourceDetailArgs
- 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.
Import
FileSystems can be imported using the id
, e.g.
$ pulumi import oci:FileStorage/fileSystem:FileSystem test_file_system "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.