共用方式為


IUpdateDefinition Interface

Definition

Container interface for defining a new trigger during a task update.

public interface IUpdateDefinition : Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistrySourceTrigger.UpdateDefinition.IBlank, Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistrySourceTrigger.UpdateDefinition.IRepositoryUrl, Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistrySourceTrigger.UpdateDefinition.ISourceTriggerAttachable, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Update.IInUpdate<Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistryTask.Update.IUpdate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResourceActions.ISettable<Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistryTask.Update.IUpdate>
type IUpdateDefinition = interface
    interface IBlank
    interface IRepositoryUrl
    interface ITriggerEventsDefinition
    interface IRepositoryBranchAndAuth
    interface ITriggerStatusDefinition
    interface ISourceTriggerAttachable
    interface IInUpdate<IUpdate>
    interface ISettable<IUpdate>
Public Interface IUpdateDefinition
Implements IBlank, IInUpdate(Of IUpdate), IRepositoryUrl, ISettable(Of IUpdate), ISourceTriggerAttachable
Implements

Methods

Attach() (Inherited from IInUpdate<ParentT>)
Parent() (Inherited from ISettable<ParentT>)
WithAzureDevOpsAsSourceControl()

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

(Inherited from IBlank)
WithCommitTriggerEvent()

The function that specifies a commit action will trigger a run.

(Inherited from ITriggerEventsDefinition)
WithGithubAsSourceControl()

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

(Inherited from IBlank)
WithPullTriggerEvent()

The function that specifies a pull action will trigger a run.

(Inherited from ITriggerEventsDefinition)
WithRepositoryAuthentication(TokenType, String, String, String, Int32)

The function that allows the user to input the type of the token used for authentication and the token itself to authenticate to the source control repository.

(Inherited from IRepositoryBranchAndAuth)
WithRepositoryAuthentication(TokenType, String)

The function that allows the user to input the type of the token used for authentication and the token itself to authenticate to the source control repository.

(Inherited from IRepositoryBranchAndAuth)
WithRepositoryBranch(String)

The function that specifies the branch of the respository to use.

(Inherited from IRepositoryBranchAndAuth)
WithSourceControl(SourceControlType)

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

(Inherited from IBlank)
WithSourceControlRepositoryUrl(String)

The function that specifies the URL of the source control repository.

(Inherited from IRepositoryUrl)
WithTriggerEvent(SourceTriggerEvent)

The function that allows the user to specify an action that will trigger a run when it is executed.

(Inherited from ITriggerEventsDefinition)
WithTriggerStatus(TriggerStatus)

The function that allows the user to input the state of the trigger status.

(Inherited from ITriggerStatusDefinition)
WithTriggerStatusDisabled()

The function that sets the trigger status to be disabled.

(Inherited from ITriggerStatusDefinition)
WithTriggerStatusEnabled()

The function that sets the trigger status to be enabled.

(Inherited from ITriggerStatusDefinition)

Applies to