public class CosmosAsyncTrigger extends Object
Modifier and Type | Method and Description |
---|---|
Mono<CosmosTriggerResponse> |
delete()
Deletes a cosmos trigger.
|
String |
getId()
Get the id of the
CosmosAsyncTrigger |
Mono<CosmosTriggerResponse> |
read()
Reads a cosmos trigger
|
Mono<CosmosTriggerResponse> |
replace(CosmosTriggerProperties triggerProperties)
Replaces a cosmos trigger.
|
public String getId()
CosmosAsyncTrigger
CosmosAsyncTrigger
public Mono<CosmosTriggerResponse> read()
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.
Mono
containing the single resource response for the read cosmos trigger or an error.public Mono<CosmosTriggerResponse> replace(CosmosTriggerProperties triggerProperties)
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.
triggerProperties
- the cosmos trigger properties.Mono
containing the single resource response with the replaced cosmos trigger or an error.public Mono<CosmosTriggerResponse> delete()
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.
Mono
containing the single resource response for the deleted cosmos trigger or an error.Copyright © 2021 Microsoft Corporation. All rights reserved.