Class UserInformation
Represents the quotas and buckets information.
Inheritance
UserInformation
Assembly: QarnotSDK.dll
public class UserInformation
Fields
Number of buckets owned by the user.
Declaration
Field Value
Declaration
Field Value
Maximum number of buckets the user is allowed to create.
Declaration
Field Value
Maximum number of concurrent allowed instances.
Declaration
Field Value
Maximum number of pools the user is allowed to create.
Declaration
Field Value
Maximum number of running pools the user is allowed to create.
Declaration
public int MaxRunningPool
Field Value
Maximum number of running tasks the user is allowed to create.
Declaration
public int MaxRunningTask
Field Value
Maximum number of tasks the user is allowed to create.
Declaration
Field Value
Total number of pools belonging to the user.
Declaration
Field Value
Allowed quota in bytes for the user.
Declaration
public long QuotaBytesBucket
Field Value
Number of pools currently submitted or running.
Declaration
public int RunningPoolCount
Field Value
Number of tasks currently submitted or running.
Declaration
public int RunningTaskCount
Field Value
Total number of tasks belonging to the user.
Declaration
Field Value
Currently used quota in bytes.
Declaration
public long UsedQuotaBytesBucket
Field Value
Properties
Computing quotas of the user and their organization
Declaration
public ComputingQuotas ComputingQuotas { get; set; }
Property Value
Declaration
[JsonIgnore]
public List<QProject> Projects { get; }
Property Value
Number of cores currently submitted or running.
Declaration
public int RunningCoreCount { get; set; }
Property Value
Number of Instances currently submitted or running.
Declaration
public int RunningInstanceCount { get; set; }
Property Value
Methods
Returns the default project or null if not found.
The default project is the one automatically selected at task
or pool creation if none is provided
Declaration
public QProject GetDefaultProject()
Returns
Returns the first project whose name matches name (case-insensitive),
or null if not found.
Declaration
public QProject GetProjectByName(string name)
Parameters
| Type |
Name |
Description |
| string |
name |
|
Returns
Returns the first project whose slug matches slug (case-insensitive),
or null if not found.
Declaration
public QProject GetProjectBySlug(string slug)
Parameters
| Type |
Name |
Description |
| string |
slug |
|
Returns
Returns the first project whose uuid matches uuid,
or null if not found.
Declaration
public QProject GetProjectByUuid(Guid uuid)
Parameters
| Type |
Name |
Description |
| Guid |
uuid |
|
Returns