SourceTrigger Class
The properties of a source based trigger.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.containerregistry._serialization.ModelSourceTrigger
Constructor
SourceTrigger(*, source_repository: _models.SourceProperties, source_trigger_events: List[str | _models.SourceTriggerEvent], name: str, status: str | _models.TriggerStatus | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
source_repository
|
The properties that describes the source(code) for the task. Required. |
source_trigger_events
|
The source event corresponding to the trigger. Required. |
status
|
str or
TriggerStatus
The current status of trigger. Known values are: "Disabled" and "Enabled". |
name
|
The name of the trigger. Required. |
Variables
Name | Description |
---|---|
source_repository
|
The properties that describes the source(code) for the task. Required. |
source_trigger_events
|
The source event corresponding to the trigger. Required. |
status
|
str or
TriggerStatus
The current status of trigger. Known values are: "Disabled" and "Enabled". |
name
|
The name of the trigger. Required. |
Azure SDK for Python