CreateBatchContextDetails

class oci.batch.models.CreateBatchContextDetails(**kwargs)

Bases: object

The data to create a batch context. 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 CreateBatchContextDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this CreateBatchContextDetails.
defined_tags Gets the defined_tags of this CreateBatchContextDetails.
description Gets the description of this CreateBatchContextDetails.
display_name Gets the display_name of this CreateBatchContextDetails.
entitlements Gets the entitlements of this CreateBatchContextDetails.
fleets [Required] Gets the fleets of this CreateBatchContextDetails.
freeform_tags Gets the freeform_tags of this CreateBatchContextDetails.
job_priority_configurations Gets the job_priority_configurations of this CreateBatchContextDetails.
logging_configuration Gets the logging_configuration of this CreateBatchContextDetails.
network [Required] Gets the network of this CreateBatchContextDetails.
__init__(**kwargs)

Initializes a new CreateBatchContextDetails 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 CreateBatchContextDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateBatchContextDetails.
  • description (str) – The value to assign to the description property of this CreateBatchContextDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateBatchContextDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateBatchContextDetails.
  • job_priority_configurations (list[oci.batch.models.JobPriorityConfiguration]) – The value to assign to the job_priority_configurations property of this CreateBatchContextDetails.
  • network (oci.batch.models.CreateNetworkDetails) – The value to assign to the network property of this CreateBatchContextDetails.
  • fleets (list[oci.batch.models.CreateFleetDetails]) – The value to assign to the fleets property of this CreateBatchContextDetails.
  • entitlements (dict(str, int)) – The value to assign to the entitlements property of this CreateBatchContextDetails.
  • logging_configuration (oci.batch.models.LoggingConfiguration) – The value to assign to the logging_configuration property of this CreateBatchContextDetails.
compartment_id

[Required] Gets the compartment_id of this CreateBatchContextDetails. The OCID of the compartment.

Returns:The compartment_id of this CreateBatchContextDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateBatchContextDetails. 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 CreateBatchContextDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateBatchContextDetails. Summarized information about the batch context.

Returns:The description of this CreateBatchContextDetails.
Return type:str
display_name

Gets the display_name of this CreateBatchContextDetails. 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 will 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: batchcontext20250914115623.

Returns:The display_name of this CreateBatchContextDetails.
Return type:str
entitlements

Gets the entitlements of this CreateBatchContextDetails. Mapping of concurrent/shared resources used in job tasks to their limits.

Returns:The entitlements of this CreateBatchContextDetails.
Return type:dict(str, int)
fleets

[Required] Gets the fleets of this CreateBatchContextDetails. List of fleet configurations related to the batch context.

Returns:The fleets of this CreateBatchContextDetails.
Return type:list[oci.batch.models.CreateFleetDetails]
freeform_tags

Gets the freeform_tags of this CreateBatchContextDetails. 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 CreateBatchContextDetails.
Return type:dict(str, str)
job_priority_configurations

Gets the job_priority_configurations of this CreateBatchContextDetails. List of job priority configurations related to the batch context.

Returns:The job_priority_configurations of this CreateBatchContextDetails.
Return type:list[oci.batch.models.JobPriorityConfiguration]
logging_configuration

Gets the logging_configuration of this CreateBatchContextDetails.

Returns:The logging_configuration of this CreateBatchContextDetails.
Return type:oci.batch.models.LoggingConfiguration
network

[Required] Gets the network of this CreateBatchContextDetails.

Returns:The network of this CreateBatchContextDetails.
Return type:oci.batch.models.CreateNetworkDetails