PurviewScanClient.CreateOrUpdateTriggerAsync(RequestContent, RequestOptions) Method

Definition

Creates an instance of a trigger.

public virtual System.Threading.Tasks.Task<Azure.Response> CreateOrUpdateTriggerAsync (Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = default);
abstract member CreateOrUpdateTriggerAsync : Azure.Core.RequestContent * Azure.RequestOptions -> System.Threading.Tasks.Task<Azure.Response>
override this.CreateOrUpdateTriggerAsync : Azure.Core.RequestContent * Azure.RequestOptions -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function CreateOrUpdateTriggerAsync (requestBody As RequestContent, Optional requestOptions As RequestOptions = Nothing) As Task(Of Response)

Parameters

requestBody
RequestContent

The request body.

requestOptions
RequestOptions

The request options.

Returns

Task<Response>

Remarks

Schema for Request Body:

idstring
namestring
propertiesTriggerPropertiesAutoGenerated
Schema for TriggerPropertiesAutoGenerated:
recurrenceTriggerPropertiesRecurrence
recurrenceIntervalstring
createdAtstring (ISO 8601 Format)
lastModifiedAtstring (ISO 8601 Format)
lastScheduledstring (ISO 8601 Format)
scanLevel"Full" | "Incremental"
incrementalScanStartTimestring (ISO 8601 Format)
Schema for TriggerPropertiesRecurrence:
frequency"Week" | "Month"
intervalnumber
startTimestring (ISO 8601 Format)
endTimestring (ISO 8601 Format)
scheduleTriggerRecurrenceSchedule
timeZonestring
Schema for TriggerRecurrenceSchedule:
additionalPropertiesDictionary<string, AnyObject> Dictionary of <AnyObject>.
minutesnumber[]
hoursnumber[]
weekDays"Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"[]
monthDaysnumber[]
monthlyOccurrencesRecurrenceScheduleOccurrence[]
Schema for RecurrenceScheduleOccurrence:
additionalPropertiesDictionary<string, AnyObject> Dictionary of <AnyObject>.
day"Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"
occurrencenumber

Applies to