Show / Hide Table of Contents

Class CreateQuotaRuleDetails

Details for creating a quota rule in the file system.

Inheritance
object
CreateQuotaRuleDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.FilestorageService.Models
Assembly: OCI.DotNetSDK.Filestorage.dll
Syntax
public class CreateQuotaRuleDetails

Properties

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. Example: UserXYZ's quota

IsHardQuota

Declaration
[Required(ErrorMessage = "IsHardQuota is required.")]
[JsonProperty(PropertyName = "isHardQuota")]
public bool? IsHardQuota { get; set; }
Property Value
Type Description
bool?

Whether the quota rule will be enforced. If isHardQuota is true, the quota rule is enforced so that the write is blocked if usage exceeds the hard quota limit. If isHardQuota is false, writes succeed even if usage exceeds the soft quota limit, but the quota rule is violated.

Remarks

Required

PrincipalId

Declaration
[JsonProperty(PropertyName = "principalId")]
public int? PrincipalId { get; set; }
Property Value
Type Description
int?

An identifier for the user or the group associated with quota rule and usage. UNIX-like operating systems use this integer value to identify a user or group to manage access control.

PrincipalType

Declaration
[Required(ErrorMessage = "PrincipalType is required.")]
[JsonProperty(PropertyName = "principalType")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateQuotaRuleDetails.PrincipalTypeEnum? PrincipalType { get; set; }
Property Value
Type Description
CreateQuotaRuleDetails.PrincipalTypeEnum?

The type of the owner of this quota rule and usage.

Remarks

Required

QuotaLimitInGigabytes

Declaration
[Required(ErrorMessage = "QuotaLimitInGigabytes is required.")]
[JsonProperty(PropertyName = "quotaLimitInGigabytes")]
public int? QuotaLimitInGigabytes { get; set; }
Property Value
Type Description
int?

The value of the quota rule in gigabytes.

Remarks

Required

In this article
Back to top