CreateJobDetails

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

Bases: object

Creation details for a job for running inside the specified stack.

Methods:

__init__(**kwargs)

Initializes a new CreateJobDetails object with values from keyword arguments.

Attributes:

apply_job_plan_resolution

Gets the apply_job_plan_resolution of this CreateJobDetails.

defined_tags

Gets the defined_tags of this CreateJobDetails.

display_name

Gets the display_name of this CreateJobDetails.

freeform_tags

Gets the freeform_tags of this CreateJobDetails.

job_operation_details

Gets the job_operation_details of this CreateJobDetails.

operation

Gets the operation of this CreateJobDetails.

stack_id

[Required] Gets the stack_id of this CreateJobDetails.

__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 (oci.resource_manager.models.CreateJobOperationDetails) – The value to assign to the job_operation_details property of this CreateJobDetails.

  • apply_job_plan_resolution (oci.resource_manager.models.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.

property apply_job_plan_resolution

Gets the apply_job_plan_resolution of this CreateJobDetails.

Returns

The apply_job_plan_resolution of this CreateJobDetails.

Return type

oci.resource_manager.models.ApplyJobPlanResolution

property 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))

property display_name

Gets the display_name of this CreateJobDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Returns

The display_name of this CreateJobDetails.

Return type

str

property 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)

property job_operation_details

Gets the job_operation_details of this CreateJobDetails.

Returns

The job_operation_details of this CreateJobDetails.

Return type

oci.resource_manager.models.CreateJobOperationDetails

property operation

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

Returns

The operation of this CreateJobDetails.

Return type

str

property stack_id

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

Returns

The stack_id of this CreateJobDetails.

Return type

str