Class CreateQuotaRuleDetails
Details for creating a quota rule in the file system.
Inherited Members
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 |
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