IDeviceJobOperations.UpdateDeviceJobAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Update a device job
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStatusInfo> UpdateDeviceJobAsync(string deviceId, string jobId, Microsoft.WindowsAzure.Management.StorSimple.Models.UpdateDeviceJobRequest updateRequest, Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders customRequestHeaders, System.Threading.CancellationToken cancellationToken);
abstract member UpdateDeviceJobAsync : string * string * Microsoft.WindowsAzure.Management.StorSimple.Models.UpdateDeviceJobRequest * Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStatusInfo>
Public Function UpdateDeviceJobAsync (deviceId As String, jobId As String, updateRequest As UpdateDeviceJobRequest, customRequestHeaders As CustomRequestHeaders, cancellationToken As CancellationToken) As Task(Of TaskStatusInfo)
Parameters
- deviceId
- String
id of device
- jobId
- String
id of job to update
- updateRequest
- UpdateDeviceJobRequest
Request data, contains the action to be taken
- customRequestHeaders
- CustomRequestHeaders
The Custom Request Headers which client must use.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Info about the async task
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET