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:
[Required] Gets the compartment_id of this CreateBatchTaskProfileDetails.
Gets the defined_tags of this CreateBatchTaskProfileDetails.
Gets the description of this CreateBatchTaskProfileDetails.
Gets the display_name of this CreateBatchTaskProfileDetails.
Gets the extended_information of this CreateBatchTaskProfileDetails.
Gets the freeform_tags of this CreateBatchTaskProfileDetails.
Gets the min_disk_size_in_gbs of this CreateBatchTaskProfileDetails.
Gets the min_memory_in_gbs of this CreateBatchTaskProfileDetails.
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.
min_disk_size_in_gbs (int) – The value to assign to the min_disk_size_in_gbs property of this CreateBatchTaskProfileDetails.
extended_information (oci.batch.models.CreateBatchTaskProfileExtendedInformationDetails) – The value to assign to the extended_information 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.
- property 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
- property defined_tags¶
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))
- property description¶
Gets the description of this CreateBatchTaskProfileDetails. The batch task profile description.
- Returns
The description of this CreateBatchTaskProfileDetails.
- Return type
str
- property 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
- property extended_information¶
Gets the extended_information of this CreateBatchTaskProfileDetails.
- Returns
The extended_information of this CreateBatchTaskProfileDetails.
- Return type
oci.batch.models.CreateBatchTaskProfileExtendedInformationDetails
- property freeform_tags¶
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)
- property min_disk_size_in_gbs¶
Gets the min_disk_size_in_gbs of this CreateBatchTaskProfileDetails. The minimum required size of disk space in GBs.
- Returns
The min_disk_size_in_gbs of this CreateBatchTaskProfileDetails.
- Return type
int
- property min_memory_in_gbs¶
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
- property min_ocpus¶
Gets the min_ocpus of this CreateBatchTaskProfileDetails. The minimum required OCPUs.
- Returns
The min_ocpus of this CreateBatchTaskProfileDetails.
- Return type
int