JobStep Class
A job step.
Variables are only populated by the server, and will be ignored when sending a request.
Constructor
JobStep(*, step_id: int | None = None, target_group: str | None = None, credential: str | None = None, action: _models.JobStepAction | None = None, output: _models.JobStepOutput | None = None, execution_options: _models.JobStepExecutionOptions | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
step_id
|
The job step's index within the job. If not specified when creating the job step, it will be created as the last step. If not specified when updating the job step, the step id is not modified. Default value: None
|
|
target_group
|
The resource ID of the target group that the job step will be executed on. Default value: None
|
|
credential
|
The resource ID of the job credential that will be used to connect to the targets. Default value: None
|
|
action
|
The action payload of the job step. Default value: None
|
|
output
|
Output destination properties of the job step. Default value: None
|
|
execution_options
|
Execution options for the job step. Default value: None
|
Variables
| Name | Description |
|---|---|
|
id
|
Resource ID. |
|
name
|
Resource name. |
|
type
|
Resource type. |
|
step_id
|
The job step's index within the job. If not specified when creating the job step, it will be created as the last step. If not specified when updating the job step, the step id is not modified. |
|
target_group
|
The resource ID of the target group that the job step will be executed on. |
|
credential
|
The resource ID of the job credential that will be used to connect to the targets. |
|
action
|
The action payload of the job step. |
|
output
|
Output destination properties of the job step. |
|
execution_options
|
Execution options for the job step. |