Dela via


TriggeredWebJobOperationsExtensions.SetSettingsAsync Method

Definition

Set the settings of a triggered WebJob (will replace the current settings of the WebJob).

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> SetSettingsAsync (this Microsoft.WindowsAzure.WebSitesExtensions.ITriggeredWebJobOperations operations, string jobName, Microsoft.WindowsAzure.WebSitesExtensions.Models.TriggeredWebJobSettingsUpdateParameters settings);
static member SetSettingsAsync : Microsoft.WindowsAzure.WebSitesExtensions.ITriggeredWebJobOperations * string * Microsoft.WindowsAzure.WebSitesExtensions.Models.TriggeredWebJobSettingsUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function SetSettingsAsync (operations As ITriggeredWebJobOperations, jobName As String, settings As TriggeredWebJobSettingsUpdateParameters) As Task(Of AzureOperationResponse)

Parameters

operations
ITriggeredWebJobOperations

Reference to the Microsoft.WindowsAzure.WebSitesExtensions.ITriggeredWebJobOperations.

jobName
String

Required. The triggered WebJob name.

settings
TriggeredWebJobSettingsUpdateParameters

Required. The triggered WebJob settings.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to