Package com.azure.cosmos
Class CosmosAsyncTrigger
java.lang.Object
com.azure.cosmos.CosmosAsyncTrigger
The type Cosmos async trigger. This contains methods to operate on a cosmos trigger asynchronously
- 
Method SummaryModifier and TypeMethodDescriptiondelete()Deletes a cosmos trigger.getId()Get the id of theCosmosAsyncTriggerread()Reads a cosmos triggerreplace(CosmosTriggerProperties triggerProperties) Replaces a cosmos trigger.
- 
Method Details- 
getIdGet the id of theCosmosAsyncTrigger- Returns:
- the id of the CosmosAsyncTrigger
 
- 
readReads a cosmos triggerAfter subscription the operation will be performed. The Monoupon successful completion will contain a single resource response for the read trigger. In case of failure theMonowill error.- Returns:
- an Monocontaining the single resource response for the read cosmos trigger or an error.
 
- 
replaceReplaces a cosmos trigger.After subscription the operation will be performed. The Monoupon successful completion will contain a single resource response with the replaced trigger. In case of failure theMonowill error.- Parameters:
- triggerProperties- the cosmos trigger properties.
- Returns:
- an Monocontaining the single resource response with the replaced cosmos trigger or an error.
 
- 
deleteDeletes a cosmos trigger.After subscription the operation will be performed. The Monoupon successful completion will contain a single resource response for the deleted trigger. In case of failure theMonowill error.- Returns:
- an Monocontaining the single resource response for the deleted cosmos trigger or an error.
 
 
-