RegistrySourceTrigger.UpdateStages.SourceControlType Interface

public static interface RegistrySourceTrigger.UpdateStages.SourceControlType

The stage of the container registry source trigger update allowing to specify the type of source control.

Method Summary

Modifier and Type Method and Description
abstract Update withAzureDevOpsAsSourceControl()

The function that specifies Azure DevOps will be used as the type of source control.

abstract Update withGithubAsSourceControl()

The function that specifies Github will be used as the type of source control.

abstract Update withSourceControl(SourceControlType sourceControl)

The function that allows the user to input their own kind of source control.

Method Details

withAzureDevOpsAsSourceControl

public abstract RegistrySourceTrigger.Update withAzureDevOpsAsSourceControl()

The function that specifies Azure DevOps will be used as the type of source control.

Returns:

the next stage of the container registry source trigger definition.

withGithubAsSourceControl

public abstract RegistrySourceTrigger.Update withGithubAsSourceControl()

The function that specifies Github will be used as the type of source control.

Returns:

the next stage of the container registry source trigger definition.

withSourceControl

public abstract RegistrySourceTrigger.Update withSourceControl(SourceControlType sourceControl)

The function that allows the user to input their own kind of source control.

Parameters:

sourceControl - the source control the user wishes to use.

Returns:

the next stage of the container registry source trigger definition.

Applies to