TriggeredWebJobOperationsExtensions.UploadZipAsync Method (ITriggeredWebJobOperations, String, String, Stream)

 

Create or replace a triggered WebJob with a zip file (containing the WebJob binaries).

Namespace:   Microsoft.WindowsAzure
Assembly:  Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

public static Task<OperationResponse> UploadZipAsync(
	this ITriggeredWebJobOperations operations,
	string jobName,
	string fileName,
	Stream jobContent
)

Parameters

operations
Type: Microsoft.WindowsAzure.WebSitesExtensions.ITriggeredWebJobOperations

Reference to the Microsoft.WindowsAzure.WebSitesExtensions.ITriggeredWebJobOperations.

jobName
Type: System.String

Required. The triggered WebJob name.

fileName
Type: System.String

Required. The zip file name.

jobContent
Type: System.IO.Stream

Required. The zip file content.

Return Value

Type: System.Threading.Tasks.Task<OperationResponse>

A standard service response including an HTTP status code and request ID.

Return to top
Show: