CosmosAsyncTrigger Class
- java.
lang. Object - com.
azure. cosmos. CosmosAsyncTrigger
- com.
public class CosmosAsyncTrigger
The type Cosmos async trigger. This contains methods to operate on a cosmos trigger asynchronously
Method Summary
Modifier and Type | Method and Description |
---|---|
Mono<Cosmos |
delete()
Deletes a cosmos trigger. |
String |
getId()
Get the id of the CosmosAsyncTrigger |
Mono<Cosmos |
read()
Reads a cosmos trigger |
Mono<Cosmos |
replace(CosmosTriggerProperties triggerProperties)
Replaces a cosmos trigger. |
Methods inherited from java.lang.Object
Method Details
delete
public Mono
Deletes a cosmos trigger.
After subscription the operation will be performed. The Mono upon successful completion will contain a single resource response for the deleted trigger. In case of failure the Mono will error.
Returns:
getId
public String getId()
Get the id of the CosmosAsyncTrigger
Returns:
read
public Mono
Reads a cosmos trigger
After subscription the operation will be performed. The Mono upon successful completion will contain a single resource response for the read trigger. In case of failure the Mono will error.
Returns:
replace
public Mono
Replaces a cosmos trigger.
After subscription the operation will be performed. The Mono upon successful completion will contain a single resource response with the replaced trigger. In case of failure the Mono will error.
Parameters:
Returns:
Applies to
Azure SDK for Java