Skip to content

Create Job For Devices

panorama_create_job_for_devices R Documentation

Creates a job to run on a device

Description

Creates a job to run on a device. A job can update a device's software or reboot it.

Usage

panorama_create_job_for_devices(DeviceIds, DeviceJobConfig, JobType)

Arguments

DeviceIds

[required] ID of target device.

DeviceJobConfig

Configuration settings for a software update job.

JobType

[required] The type of job to run.

Value

A list with the following syntax:

list(
  Jobs = list(
    list(
      DeviceId = "string",
      JobId = "string"
    )
  )
)

Request syntax

svc$create_job_for_devices(
  DeviceIds = list(
    "string"
  ),
  DeviceJobConfig = list(
    OTAJobConfig = list(
      AllowMajorVersionUpdate = TRUE|FALSE,
      ImageVersion = "string"
    )
  ),
  JobType = "OTA"|"REBOOT"
)