Class JobPriorityConfiguration
Job priority configuration to instruct the service on how to use priority tags.
Inherited Members
Namespace: Oci.BatchService.Models
Assembly: OCI.DotNetSDK.Batch.dll
Syntax
public class JobPriorityConfiguration
Properties
TagKey
Declaration
[Required(ErrorMessage = "TagKey is required.")]
[JsonProperty(PropertyName = "tagKey")]
public string TagKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Name of the tag key. |
Remarks
Required
TagNamespace
Declaration
[Required(ErrorMessage = "TagNamespace is required.")]
[JsonProperty(PropertyName = "tagNamespace")]
public string TagNamespace { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Name of the corresponding tag namespace. |
Remarks
Required
Values
Declaration
[Required(ErrorMessage = "Values is required.")]
[JsonProperty(PropertyName = "values")]
public Dictionary<string, int> Values { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, int> | Mapping of tag value to its priority. |
Remarks
Required
Weight
Declaration
[Required(ErrorMessage = "Weight is required.")]
[JsonProperty(PropertyName = "weight")]
public int? Weight { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | Weight associated with the tag key. Percentage point is the unit of measurement. |
Remarks
Required