public class CosmosTrigger extends CosmosResource
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<CosmosResponse> |
delete(CosmosRequestOptions options)
Deletes a cosmos trigger.
|
protected String |
getParentLink() |
protected String |
getURIPathSegment() |
reactor.core.publisher.Mono<CosmosTriggerResponse> |
read(RequestOptions options)
Reads a cosmos trigger by the trigger link.
|
reactor.core.publisher.Mono<CosmosTriggerResponse> |
replace(CosmosTriggerSettings triggerSettings,
RequestOptions options)
Replaces a cosmos trigger.
|
getId, setId, validateResourceprotected String getURIPathSegment()
getURIPathSegment in class CosmosResourceprotected String getParentLink()
getParentLink in class CosmosResourcepublic reactor.core.publisher.Mono<CosmosTriggerResponse> read(RequestOptions options)
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.
options - the request options.Mono containing the single resource response for the read cosmos trigger or an error.public reactor.core.publisher.Mono<CosmosTriggerResponse> replace(CosmosTriggerSettings triggerSettings, RequestOptions options)
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 settings.options - the request options.Mono containing the single resource response with the replaced cosmos trigger or an error.public reactor.core.publisher.Mono<CosmosResponse> delete(CosmosRequestOptions options)
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.
options - the request options.Mono containing the single resource response for the deleted cosmos trigger or an error.Copyright © 2019. All rights reserved.