AzureAIProjectsModelFactory.Trigger(String) 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.
Base model for Trigger of the schedule. Please note this is the abstract base class. The derived classes available for instantiation are: CronTrigger, RecurrenceTrigger, and OneTimeTrigger.
public static Azure.AI.Projects.Trigger Trigger(string type = default);
static member Trigger : string -> Azure.AI.Projects.Trigger
Public Shared Function Trigger (Optional type As String = Nothing) As Trigger
Parameters
- type
- String
Type of the trigger.
Returns
A new Trigger instance for mocking.