UpdateBatchContextDetails

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

Bases: object

The data to update a batch context. If the value of a collection 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 UpdateBatchContextDetails object with values from keyword arguments.

Attributes:

defined_tags

Gets the defined_tags of this UpdateBatchContextDetails.

description

Gets the description of this UpdateBatchContextDetails.

display_name

Gets the display_name of this UpdateBatchContextDetails.

entitlements

Gets the entitlements of this UpdateBatchContextDetails.

freeform_tags

Gets the freeform_tags of this UpdateBatchContextDetails.

job_priority_configurations

Gets the job_priority_configurations of this UpdateBatchContextDetails.

logging_configuration

Gets the logging_configuration of this UpdateBatchContextDetails.

__init__(**kwargs)

Initializes a new UpdateBatchContextDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • display_name (str) – The value to assign to the display_name property of this UpdateBatchContextDetails.

  • description (str) – The value to assign to the description property of this UpdateBatchContextDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateBatchContextDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateBatchContextDetails.

  • job_priority_configurations (list[oci.batch.models.JobPriorityConfiguration]) – The value to assign to the job_priority_configurations property of this UpdateBatchContextDetails.

  • entitlements (dict(str, int)) – The value to assign to the entitlements property of this UpdateBatchContextDetails.

  • logging_configuration (oci.batch.models.UpdateLoggingConfigurationDetails) – The value to assign to the logging_configuration property of this UpdateBatchContextDetails.

property defined_tags

Gets the defined_tags of this UpdateBatchContextDetails. 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 UpdateBatchContextDetails.

Return type

dict(str, dict(str, object))

property description

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

Returns

The description of this UpdateBatchContextDetails.

Return type

str

property display_name

Gets the display_name of this UpdateBatchContextDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Can’t be set to null.

Returns

The display_name of this UpdateBatchContextDetails.

Return type

str

property entitlements

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

Returns

The entitlements of this UpdateBatchContextDetails.

Return type

dict(str, int)

property freeform_tags

Gets the freeform_tags of this UpdateBatchContextDetails. 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 UpdateBatchContextDetails.

Return type

dict(str, str)

property job_priority_configurations

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

Returns

The job_priority_configurations of this UpdateBatchContextDetails.

Return type

list[oci.batch.models.JobPriorityConfiguration]

property logging_configuration

Gets the logging_configuration of this UpdateBatchContextDetails.

Returns

The logging_configuration of this UpdateBatchContextDetails.

Return type

oci.batch.models.UpdateLoggingConfigurationDetails