public class CosmosUserDefinedFunction extends CosmosResource
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<CosmosResponse> |
delete(CosmosRequestOptions options)
Deletes a cosmos user defined function.
|
protected String |
getParentLink() |
protected String |
getURIPathSegment() |
reactor.core.publisher.Mono<CosmosUserDefinedFunctionResponse> |
read(RequestOptions options)
Read a user defined function.
|
reactor.core.publisher.Mono<CosmosUserDefinedFunctionResponse> |
replace(CosmosUserDefinedFunctionSettings udfSettings,
RequestOptions options)
Replaces a cosmos user defined function.
|
getId, setId, validateResourcepublic reactor.core.publisher.Mono<CosmosUserDefinedFunctionResponse> read(RequestOptions options)
After subscription the operation will be performed.
The Mono upon successful completion will contain a single resource response for the read user defined
function.
In case of failure the Mono will error.
options - the request options.Mono containing the single resource response for the read user defined function or an error.public reactor.core.publisher.Mono<CosmosUserDefinedFunctionResponse> replace(CosmosUserDefinedFunctionSettings udfSettings, RequestOptions options)
After subscription the operation will be performed.
The Mono upon successful completion will contain a single resource response with the replaced user
defined function.
In case of failure the Mono will error.
udfSettings - the cosmos user defined function settings.options - the request options.Mono containing the single resource response with the replaced cosmos user defined function
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 user defined function.
In case of failure the Mono will error.
options - the request options.Mono containing the single resource response for the deleted cosmos user defined function or
an error.protected String getURIPathSegment()
getURIPathSegment in class CosmosResourceprotected String getParentLink()
getParentLink in class CosmosResourceCopyright © 2019. All rights reserved.