Freigeben über


TriggerOperation Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.cosmos.models.TriggerOperation

public enum TriggerOperation
extends Enum<TriggerOperation>

Specifies the operations on which a trigger should be executed in the Azure Cosmos DB database service.

Fields

ALL

ALL operations.

CREATE

CREATE operations only.

DELETE

DELETE operations only.

REPLACE

REPLACE operations only.

UPDATE

UPDATE operations only.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

getValue()

public int getValue()

Gets the numerical value of the trigger operation.

Returns

int
the numerical value.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static TriggerOperation valueOf(String name)

Parameters

name
String

Returns

values()

public static TriggerOperation[] values()

Returns

Applies to