Udostępnij za pośrednictwem


IDefinition Interface

Definition

Container interface for all of the definitions related to a container registry source trigger.

public interface IDefinition : Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistrySourceTrigger.Definition.IBlank, Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistrySourceTrigger.Definition.IRepositoryUrl, Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistrySourceTrigger.Definition.ISourceTriggerAttachable, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistryTask.Definition.ITaskCreatable>
type IDefinition = interface
    interface IBlank
    interface IRepositoryUrl
    interface ITriggerEventsDefinition
    interface IRepositoryBranchAndAuth
    interface ITriggerStatusDefinition
    interface ISourceTriggerAttachable
    interface IInDefinition<ITaskCreatable>
Public Interface IDefinition
Implements IBlank, IInDefinition(Of ITaskCreatable), IRepositoryUrl, ISourceTriggerAttachable
Implements

Methods

Attach() (Inherited from IInDefinition<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