ArmContainerRegistryTasksModelFactory.ContainerRegistryTaskSourceTriggerDescriptor 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.
The source trigger that caused a run.
public static Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskSourceTriggerDescriptor ContainerRegistryTaskSourceTriggerDescriptor(string id = default, string eventType = default, string commitId = default, string pullRequestId = default, Uri repositoryUri = default, string branchName = default, string providerType = default);
static member ContainerRegistryTaskSourceTriggerDescriptor : string * string * string * string * Uri * string * string -> Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskSourceTriggerDescriptor
Public Shared Function ContainerRegistryTaskSourceTriggerDescriptor (Optional id As String = Nothing, Optional eventType As String = Nothing, Optional commitId As String = Nothing, Optional pullRequestId As String = Nothing, Optional repositoryUri As Uri = Nothing, Optional branchName As String = Nothing, Optional providerType As String = Nothing) As ContainerRegistryTaskSourceTriggerDescriptor
Parameters
- id
- String
The unique ID of the trigger.
- eventType
- String
The event type of the trigger.
- commitId
- String
The unique ID that identifies a commit.
- pullRequestId
- String
The unique ID that identifies pull request.
- repositoryUri
- Uri
The repository URL.
- branchName
- String
The branch name in the repository.
- providerType
- String
The source control provider type.
Returns
A new ContainerRegistryTaskSourceTriggerDescriptor instance for mocking.