Interface RegistrySourceTrigger
-
- All Superinterfaces:
HasInnerModel<SourceTrigger>
public interface RegistrySourceTrigger extends HasInnerModel<SourceTrigger>
An immutable client-side representation of a Container Registry source trigger.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceRegistrySourceTrigger.DefinitionContainer interface for all of the definitions related to a container registry source trigger.static interfaceRegistrySourceTrigger.DefinitionStagesGrouping of source trigger definition stages.static interfaceRegistrySourceTrigger.UpdateContainer interface for all of the updates related to a container registry source trigger.static interfaceRegistrySourceTrigger.UpdateDefinitionContainer interface for defining a new trigger during a task update.static interfaceRegistrySourceTrigger.UpdateDefinitionStagesGrouping of source trigger update definition stages.static interfaceRegistrySourceTrigger.UpdateStagesGrouping of source trigger update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringsourceControlBranch()StringsourceControlRepositoryUrl()SourceControlTypesourceControlType()List<SourceTriggerEvent>sourceTriggerEvents()TriggerStatusstatus()-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
-
-
-
Method Detail
-
sourceControlType
SourceControlType sourceControlType()
- Returns:
- Returns the type of source control this trigger uses. I.e., Github, AzureDevOps etc.
-
sourceControlRepositoryUrl
String sourceControlRepositoryUrl()
- Returns:
- the URL of the repository used as source control.
-
sourceTriggerEvents
List<SourceTriggerEvent> sourceTriggerEvents()
- Returns:
- the list of actions that trigger an event. I.e., a commit, a pull request etc.
-
sourceControlBranch
String sourceControlBranch()
- Returns:
- the branch of the repository that is being used as source control. I.e., master.
-
status
TriggerStatus status()
- Returns:
- the source trigger status. I.e., enabled, disabled.
-
-