Class FileSystem
An NFS file system. To allow access to a file system, add it
to an export set and associate the export set with a mount
target. The same file system can be in multiple export sets and
associated with multiple mount targets.
To use any of the API operations, you must be authorized in an
IAM policy. If you're not authorized, talk to an
administrator. If you're an administrator who needs to write
policies to give users access, see Getting Started with
Policies.
Inherited Members
Namespace: Oci.FilestorageService.Models
Assembly: OCI.DotNetSDK.Filestorage.dll
Syntax
public class FileSystem
Properties
AvailabilityDomain
Declaration
[JsonProperty(PropertyName = "availabilityDomain")]
public string AvailabilityDomain { get; set; }
Property Value
Type | Description |
---|---|
string | The availability domain the file system is in. May be unset
as a blank or NULL value.
|
CloneAttachStatus
Declaration
[JsonProperty(PropertyName = "cloneAttachStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public FileSystem.CloneAttachStatusEnum? CloneAttachStatus { get; set; }
Property Value
Type | Description |
---|---|
FileSystem.CloneAttachStatusEnum? | Specifies whether the file system is attached to its parent file system. |
CloneCount
Declaration
[JsonProperty(PropertyName = "cloneCount")]
public int? CloneCount { get; set; }
Property Value
Type | Description |
---|---|
int? | Specifies the total number of children of a file system. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment that contains the file system. |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}} |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | A user-friendly name. It does not have to be unique, and it is changeable.
Avoid entering confidential information.
|
Remarks
Required
FilesystemSnapshotPolicyId
Declaration
[JsonProperty(PropertyName = "filesystemSnapshotPolicyId")]
public string FilesystemSnapshotPolicyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
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
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the file system. |
Remarks
Required
IsCloneParent
Declaration
[JsonProperty(PropertyName = "isCloneParent")]
public bool? IsCloneParent { get; set; }
Property Value
Type | Description |
---|---|
bool? | Specifies whether the file system has been cloned. See Cloning a File System. |
IsHydrated
Declaration
[JsonProperty(PropertyName = "isHydrated")]
public bool? IsHydrated { get; set; }
Property Value
Type | Description |
---|---|
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. |
IsTargetable
Declaration
[JsonProperty(PropertyName = "isTargetable")]
public bool? IsTargetable { get; set; }
Property Value
Type | Description |
---|---|
bool? | Specifies whether the file system can be used as a target file system for replication. The system sets this value to |
KmsKeyId
Declaration
[JsonProperty(PropertyName = "kmsKeyId")]
public string KmsKeyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the KMS key which is the master encryption key for the file system. |
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | Additional information about the current 'lifecycleState'. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public FileSystem.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
FileSystem.LifecycleStateEnum? | The current state of the file system. |
Remarks
Required
Locks
Declaration
[JsonProperty(PropertyName = "locks")]
public List<ResourceLock> Locks { get; set; }
Property Value
Type | Description |
---|---|
List<ResourceLock> | Locks associated with this resource. |
MeteredBytes
Declaration
[Required(ErrorMessage = "MeteredBytes is required.")]
[JsonProperty(PropertyName = "meteredBytes")]
public long? MeteredBytes { get; set; }
Property Value
Type | Description |
---|---|
long? | 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. |
Remarks
Required
ReplicationTargetId
Declaration
[JsonProperty(PropertyName = "replicationTargetId")]
public string ReplicationTargetId { get; set; }
Property Value
Type | Description |
---|---|
string | 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. |
SourceDetails
Declaration
[JsonProperty(PropertyName = "sourceDetails")]
public SourceDetails SourceDetails { get; set; }
Property Value
Type | Description |
---|---|
SourceDetails |
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the file system was created, expressed in
RFC 3339 timestamp format.
|
Remarks
Required