Show / Hide Table of Contents

Class QuotaRuleSummary

Summary information for a principal's usage and quota rule.

Inheritance
object
QuotaRuleSummary
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 QuotaRuleSummary

Properties

AreViolatorsOnly

Declaration
[JsonProperty(PropertyName = "areViolatorsOnly")]
public bool? AreViolatorsOnly { get; set; }
Property Value
Type Description
bool?

An option to display only the users or groups that violate their quota rules. If areViolatorsOnly is false, results report all the quota and usage. If areViolatorsOnly is true, results only report the quota and usage for the users or groups that violate their quota rules.

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

FileSystemId

Declaration
[Required(ErrorMessage = "FileSystemId is required.")]
[JsonProperty(PropertyName = "fileSystemId")]
public string FileSystemId { get; set; }
Property Value
Type Description
string

The OCID of the file system.

Remarks

Required

Id

Declaration
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

IsHardQuota

Declaration
[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.

PrincipalId

Declaration
[Required(ErrorMessage = "PrincipalId is required.")]
[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.

Remarks

Required

PrincipalType

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

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

Remarks

Required

QuotaLimitInGigabytes

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

The value of the quota rule in gigabytes.

TimeCreated

Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time the quota rule was created, expressed in RFC 3339 timestamp format.
Example: 2016-08-25T21:10:29.600Z

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The date and time the quota rule was last updated, expressed in RFC 3339 timestamp format.
Example: 2016-08-25T21:10:29.600Z

UsageInBytes

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

The usage value corresponding to this principal in bytes.

Remarks

Required

In this article
Back to top