SourceTrigger Class

The properties of a source based trigger.

All required parameters must be populated in order to send to Azure.

Inheritance
SourceTrigger

Constructor

SourceTrigger(*, source_repository: azure.mgmt.containerregistry.v2019_06_01_preview.models._models_py3.SourceProperties, source_trigger_events: List[Union[str, azure.mgmt.containerregistry.v2019_06_01_preview.models._container_registry_management_client_enums.SourceTriggerEvent]], name: str, status: Optional[Union[str, azure.mgmt.containerregistry.v2019_06_01_preview.models._container_registry_management_client_enums.TriggerStatus]] = None, **kwargs)

Variables

source_repository
SourceProperties

Required. The properties that describes the source(code) for the task.

source_trigger_events
list[str or SourceTriggerEvent]

Required. The source event corresponding to the trigger.

status
str or TriggerStatus

The current status of trigger. Possible values include: "Disabled", "Enabled".

name
str

Required. The name of the trigger.