GitHubIssueRoutineTrigger(String, String, String, GitHubIssueEvent) Constructor

Definition

Initializes a new instance of GitHubIssueRoutineTrigger.

public GitHubIssueRoutineTrigger(string connectionId, string owner, string repository, Azure.AI.Projects.GitHubIssueEvent issueEvent);
new Azure.AI.Projects.GitHubIssueRoutineTrigger : string * string * string * Azure.AI.Projects.GitHubIssueEvent -> Azure.AI.Projects.GitHubIssueRoutineTrigger
Public Sub New (connectionId As String, owner As String, repository As String, issueEvent As GitHubIssueEvent)

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.

Exceptions

connectionId, owner or repository is null.

Applies to