Share via


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)

Syntax

public static Task<OperationResponse> UploadZipAsync(
    this ITriggeredWebJobOperations operations,
    string jobName,
    string fileName,
    Stream jobContent
)
public:
[ExtensionAttribute]
static Task<OperationResponse^>^ UploadZipAsync(
    ITriggeredWebJobOperations^ operations,
    String^ jobName,
    String^ fileName,
    Stream^ jobContent
)
static member UploadZipAsync : 
        operations:ITriggeredWebJobOperations *
        jobName:string *
        fileName:string *
        jobContent:Stream -> Task<OperationResponse>
<ExtensionAttribute>
Public Shared Function UploadZipAsync (
    operations As ITriggeredWebJobOperations,
    jobName As String,
    fileName As String,
    jobContent As Stream
) As Task(Of OperationResponse)

Parameters

  • jobName
    Type: System.String

    Required. The triggered WebJob name.

Return Value

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

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

See Also

TriggeredWebJobOperationsExtensions Class
Microsoft.WindowsAzure Namespace

Return to top