CreateBatchTaskProfileDetails¶
-
class
oci.batch.models.CreateBatchTaskProfileDetails(**kwargs)¶ Bases:
objectThe data to create a batch task profile. If the value for a collection is absent or is explicitly provided as null, it will be converted to an empty value, i.e. “[]” or “{}” in json notation. This applies to nested collections as well.
Methods
__init__(**kwargs)Initializes a new CreateBatchTaskProfileDetails object with values from keyword arguments. Attributes
compartment_id[Required] Gets the compartment_id of this CreateBatchTaskProfileDetails. defined_tagsGets the defined_tags of this CreateBatchTaskProfileDetails. descriptionGets the description of this CreateBatchTaskProfileDetails. display_nameGets the display_name of this CreateBatchTaskProfileDetails. freeform_tagsGets the freeform_tags of this CreateBatchTaskProfileDetails. min_memory_in_gbs[Required] Gets the min_memory_in_gbs of this CreateBatchTaskProfileDetails. min_ocpus[Required] Gets the min_ocpus of this CreateBatchTaskProfileDetails. -
__init__(**kwargs)¶ Initializes a new CreateBatchTaskProfileDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this CreateBatchTaskProfileDetails.
- display_name (str) – The value to assign to the display_name property of this CreateBatchTaskProfileDetails.
- description (str) – The value to assign to the description property of this CreateBatchTaskProfileDetails.
- min_ocpus (int) – The value to assign to the min_ocpus property of this CreateBatchTaskProfileDetails.
- min_memory_in_gbs (int) – The value to assign to the min_memory_in_gbs property of this CreateBatchTaskProfileDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateBatchTaskProfileDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateBatchTaskProfileDetails.
-
compartment_id¶ [Required] Gets the compartment_id of this CreateBatchTaskProfileDetails. The OCID of the compartment.
Returns: The compartment_id of this CreateBatchTaskProfileDetails. Return type: str
Gets the defined_tags of this CreateBatchTaskProfileDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this CreateBatchTaskProfileDetails. Return type: dict(str, dict(str, object))
-
description¶ Gets the description of this CreateBatchTaskProfileDetails. The batch task profile description.
Returns: The description of this CreateBatchTaskProfileDetails. Return type: str
-
display_name¶ Gets the display_name of this CreateBatchTaskProfileDetails. A user-friendly name. Does not have to be unique, and it’s changeable. If not specified or provided as null or empty string, it be generated as “<resourceType><timeCreated>”, where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchtaskprofile20250914115623.
Returns: The display_name of this CreateBatchTaskProfileDetails. Return type: str
Gets the freeform_tags of this CreateBatchTaskProfileDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
Returns: The freeform_tags of this CreateBatchTaskProfileDetails. Return type: dict(str, str)
-
min_memory_in_gbs¶ [Required] Gets the min_memory_in_gbs of this CreateBatchTaskProfileDetails. The minimum required memory.
Returns: The min_memory_in_gbs of this CreateBatchTaskProfileDetails. Return type: int
-
min_ocpus¶ [Required] Gets the min_ocpus of this CreateBatchTaskProfileDetails. The minimum required OCPUs.
Returns: The min_ocpus of this CreateBatchTaskProfileDetails. Return type: int
-