Class QuotaRuleSummary
Summary information for a principal's usage and quota rule.
Inherited Members
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 |
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 |
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.
|
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.
|
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