JobPriorityConfiguration¶
- class oci.batch.models.JobPriorityConfiguration(**kwargs)¶
Bases:
objectJob priority configuration to instruct the service on how to use priority tags.
Methods:
__init__(**kwargs)Initializes a new JobPriorityConfiguration object with values from keyword arguments.
Attributes:
[Required] Gets the tag_key of this JobPriorityConfiguration.
[Required] Gets the tag_namespace of this JobPriorityConfiguration.
[Required] Gets the values of this JobPriorityConfiguration.
[Required] Gets the weight of this JobPriorityConfiguration.
- __init__(**kwargs)¶
Initializes a new JobPriorityConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
tag_namespace (str) – The value to assign to the tag_namespace property of this JobPriorityConfiguration.
tag_key (str) – The value to assign to the tag_key property of this JobPriorityConfiguration.
weight (int) – The value to assign to the weight property of this JobPriorityConfiguration.
values (dict(str, int)) – The value to assign to the values property of this JobPriorityConfiguration.
- property tag_key¶
[Required] Gets the tag_key of this JobPriorityConfiguration. Name of the tag key.
- Returns
The tag_key of this JobPriorityConfiguration.
- Return type
str
- property tag_namespace¶
[Required] Gets the tag_namespace of this JobPriorityConfiguration. Name of the corresponding tag namespace.
- Returns
The tag_namespace of this JobPriorityConfiguration.
- Return type
str
- property values¶
[Required] Gets the values of this JobPriorityConfiguration. Mapping of tag value to its priority.
- Returns
The values of this JobPriorityConfiguration.
- Return type
dict(str, int)
- property weight¶
[Required] Gets the weight of this JobPriorityConfiguration. Weight associated with the tag key. Percentage point is the unit of measurement.
- Returns
The weight of this JobPriorityConfiguration.
- Return type
int