Udostępnij za pośrednictwem


DeviceJobOperationsExtensions.UpdateDeviceJobAsync Method

Definition

Update a device job

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStatusInfo> UpdateDeviceJobAsync (this Microsoft.WindowsAzure.Management.StorSimple.IDeviceJobOperations operations, string deviceId, string jobId, Microsoft.WindowsAzure.Management.StorSimple.Models.UpdateDeviceJobRequest updateRequest, Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders customRequestHeaders);
static member UpdateDeviceJobAsync : Microsoft.WindowsAzure.Management.StorSimple.IDeviceJobOperations * string * string * Microsoft.WindowsAzure.Management.StorSimple.Models.UpdateDeviceJobRequest * Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStatusInfo>
<Extension()>
Public Function UpdateDeviceJobAsync (operations As IDeviceJobOperations, deviceId As String, jobId As String, updateRequest As UpdateDeviceJobRequest, customRequestHeaders As CustomRequestHeaders) As Task(Of TaskStatusInfo)

Parameters

operations
IDeviceJobOperations

Reference to the Microsoft.WindowsAzure.Management.StorSimple.IDeviceJobOperations.

deviceId
String

Required. id of device

jobId
String

Required. id of job to update

updateRequest
UpdateDeviceJobRequest

Required. Request data, contains the action to be taken

customRequestHeaders
CustomRequestHeaders

Required. The Custom Request Headers which client must use.

Returns

Info about the async task

Applies to