ITriggeredWebJobOperations.UploadZipAsync 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.
Create or replace a triggered WebJob with a zip file (containing the WebJob binaries).
public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> UploadZipAsync (string jobName, string fileName, System.IO.Stream jobContent, System.Threading.CancellationToken cancellationToken);
abstract member UploadZipAsync : string * string * System.IO.Stream * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function UploadZipAsync (jobName As String, fileName As String, jobContent As Stream, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)
Parameters
- jobName
- String
The triggered WebJob name.
- fileName
- String
The zip file name.
- jobContent
- Stream
The zip file content.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Task<Microsoft.Azure.AzureOperationResponse>
A standard service response including an HTTP status code and request ID.