Class CreateFileSystemDetails
Details for creating the file system.
Inherited Members
Namespace: Oci.FilestorageService.Models
Assembly: OCI.DotNetSDK.Filestorage.dll
Syntax
public class CreateFileSystemDetails
Properties
AvailabilityDomain
Declaration
[Required(ErrorMessage = "AvailabilityDomain is required.")]
[JsonProperty(PropertyName = "availabilityDomain")]
public string AvailabilityDomain { get; set; }
Property Value
Type | Description |
---|---|
string | The availability domain to create the file system in.
|
Remarks
Required
CloneAttachStatus
Declaration
[JsonProperty(PropertyName = "cloneAttachStatus")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateFileSystemDetails.CloneAttachStatusEnum? CloneAttachStatus { get; set; }
Property Value
Type | Description |
---|---|
CreateFileSystemDetails.CloneAttachStatusEnum? | 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. |
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 to create the file system in. |
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
[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.
|
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"} |
KmsKeyId
Declaration
[JsonProperty(PropertyName = "kmsKeyId")]
public string KmsKeyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the KMS key used to encrypt the encryption keys associated with this file system. |
SourceSnapshotId
Declaration
[JsonProperty(PropertyName = "sourceSnapshotId")]
public string SourceSnapshotId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the snapshot used to create a cloned file system. See Cloning a File System. |