メインコンテンツへスキップ

class OnAddArtifactAlias

artifact に新しいエイリアスが割り当てられたときに発生します。 例: コレクション “my-collection” 内の任意の artifact にエイリアス “prod” が割り当てられるたびに トリガーされるイベントを定義します:

method OnAddArtifactAlias.__init__

引数:
  • event_type (Literal[ADD_ARTIFACT_ALIAS]):
  • scope (Union[_ArtifactSequenceScope, _ArtifactPortfolioScope, ProjectScope]): イベントのスコープ。
  • filter (Union[And, Or, Nor, Not, Lt, Gt, Lte, Gte, Eq, Ne, In, NotIn, Exists, Regex, Contains, FilterExpr, Dict[str, Any]]): このイベントのトリガーに必要な追加条件 (ある場合) 。
戻り値: OnAddArtifactAlias オブジェクト。