CreateJobDetails

class oci.resource_manager.models.CreateJobDetails(**kwargs)

Bases: object

Defines the requirements and properties of a job to create and run against the specified stack.

__init__(**kwargs)

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

Parameters:
  • stack_id (str) -- The value to assign to the stack_id property of this CreateJobDetails.
  • display_name (str) -- The value to assign to the display_name property of this CreateJobDetails.
  • operation (str) -- The value to assign to the operation property of this CreateJobDetails.
  • job_operation_details (CreateJobOperationDetails) -- The value to assign to the job_operation_details property of this CreateJobDetails.
  • apply_job_plan_resolution (ApplyJobPlanResolution) -- The value to assign to the apply_job_plan_resolution property of this CreateJobDetails.
  • freeform_tags (dict(str, str)) -- The value to assign to the freeform_tags property of this CreateJobDetails.
  • defined_tags (dict(str, dict(str, object))) -- The value to assign to the defined_tags property of this CreateJobDetails.
apply_job_plan_resolution

Gets the apply_job_plan_resolution of this CreateJobDetails. Deprecated. Use the property executionPlanStrategy in jobOperationDetails instead.

Returns:The apply_job_plan_resolution of this CreateJobDetails.
Return type:ApplyJobPlanResolution
defined_tags

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

Gets the display_name of this CreateJobDetails. Description of the job.

Returns:The display_name of this CreateJobDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateJobDetails. Free-form tags associated with this resource. Each tag is a 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 CreateJobDetails.
Return type:dict(str, str)
job_operation_details

Gets the job_operation_details of this CreateJobDetails. Job details that are specific to the operation type.

Returns:The job_operation_details of this CreateJobDetails.
Return type:CreateJobOperationDetails
operation

Gets the operation of this CreateJobDetails. Terraform-specific operation to execute.

Returns:The operation of this CreateJobDetails.
Return type:str
stack_id

[Required] Gets the stack_id of this CreateJobDetails. OCID of the stack that is associated with the current job.

Returns:The stack_id of this CreateJobDetails.
Return type:str