public class CosmosUserDefinedFunction extends Object
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<CosmosResponse> |
delete()
Deletes a cosmos user defined function.
|
String |
id()
Get the id of the
CosmosUserDefinedFunction |
reactor.core.publisher.Mono<CosmosUserDefinedFunctionResponse> |
read()
Read a user defined function.
|
reactor.core.publisher.Mono<CosmosUserDefinedFunctionResponse> |
replace(CosmosUserDefinedFunctionProperties udfSettings)
Replaces a cosmos user defined function.
|
public String id()
CosmosUserDefinedFunctionCosmosUserDefinedFunctionpublic reactor.core.publisher.Mono<CosmosUserDefinedFunctionResponse> read()
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.
Mono containing the single resource response for the read user defined function or an error.public reactor.core.publisher.Mono<CosmosUserDefinedFunctionResponse> replace(CosmosUserDefinedFunctionProperties udfSettings)
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 properties.Mono containing the single resource response with the replaced cosmos user defined function
or an error.public reactor.core.publisher.Mono<CosmosResponse> delete()
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.
Mono containing the single resource response for the deleted cosmos user defined function or
an error.Copyright © 2019. All rights reserved.