AzureAIProjectsModelFactory.GitHubIssueRoutineTrigger 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.
A GitHub issue routine trigger.
public static Azure.AI.Projects.GitHubIssueRoutineTrigger GitHubIssueRoutineTrigger(string connectionId = default, string owner = default, string repository = default, Azure.AI.Projects.GitHubIssueEvent issueEvent = default);
static member GitHubIssueRoutineTrigger : string * string * string * Azure.AI.Projects.GitHubIssueEvent -> Azure.AI.Projects.GitHubIssueRoutineTrigger
Public Shared Function GitHubIssueRoutineTrigger (Optional connectionId As String = Nothing, Optional owner As String = Nothing, Optional repository As String = Nothing, Optional issueEvent As GitHubIssueEvent = Nothing) As GitHubIssueRoutineTrigger
Parameters
- connectionId
- String
The workspace connection identifier that resolves the GitHub configuration for the trigger.
- owner
- String
The GitHub owner or organization that scopes which issues can fire the trigger.
- repository
- String
The GitHub repository filter that scopes which issues can fire the trigger.
- issueEvent
- GitHubIssueEvent
The GitHub issue event that fires the routine.
Returns
A new GitHubIssueRoutineTrigger instance for mocking.