Condividi tramite


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
int

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
str

The resource ID of the target group that the job step will be executed on.

Default value: None
credential
str

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
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

step_id
int

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
str

The resource ID of the target group that the job step will be executed on.

credential
str

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.