你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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 |
---|---|
reactor.core.publisher.Mono<Cosmos |
delete()
Deletes a cosmos trigger. |
String |
getId()
Get the id of the CosmosAsyncTrigger |
reactor.core.publisher.Mono<Cosmos |
read()
Reads a cosmos trigger |
reactor.core.publisher.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: