public class CosmosAsyncTrigger extends Object
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<CosmosAsyncTriggerResponse> |
delete()
Deletes a cosmos trigger.
|
String |
getId()
Get the id of the
CosmosAsyncTrigger |
reactor.core.publisher.Mono<CosmosAsyncTriggerResponse> |
read()
Reads a cosmos trigger by the trigger link.
|
reactor.core.publisher.Mono<CosmosAsyncTriggerResponse> |
replace(CosmosTriggerProperties triggerSettings)
Replaces a cosmos trigger.
|
public String getId()
CosmosAsyncTrigger
CosmosAsyncTrigger
public reactor.core.publisher.Mono<CosmosAsyncTriggerResponse> 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 reactor.core.publisher.Mono<CosmosAsyncTriggerResponse> replace(CosmosTriggerProperties triggerSettings)
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.
triggerSettings
- the cosmos trigger properties.Mono
containing the single resource response with the replaced cosmos trigger or an error.public reactor.core.publisher.Mono<CosmosAsyncTriggerResponse> 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 © 2020 Microsoft Corporation. All rights reserved.