Package com.azure.cosmos
Class CosmosAsyncUserDefinedFunction
java.lang.Object
com.azure.cosmos.CosmosAsyncUserDefinedFunction
The type Cosmos async user defined function.
-
Method Summary
Modifier and TypeMethodDescriptiondelete()Deletes a cosmos user defined function.getId()Get the id of theCosmosAsyncUserDefinedFunctionread()Read a user defined function.replace(CosmosUserDefinedFunctionProperties udfSettings) Replaces a cosmos user defined function.
-
Method Details
-
getId
Get the id of theCosmosAsyncUserDefinedFunction- Returns:
- the id of the
CosmosAsyncUserDefinedFunction
-
read
Read a user defined function.After subscription the operation will be performed. The
Monoupon successful completion will contain a single resource response for the read user defined function. In case of failure theMonowill error.- Returns:
- an
Monocontaining the single resource response for the read user defined function or an error.
-
replace
public Mono<CosmosUserDefinedFunctionResponse> replace(CosmosUserDefinedFunctionProperties udfSettings) Replaces a cosmos user defined function.After subscription the operation will be performed. The
Monoupon successful completion will contain a single resource response with the replaced user defined function. In case of failure theMonowill error.- Parameters:
udfSettings- the cosmos user defined function properties.- Returns:
- an
Monocontaining the single resource response with the replaced cosmos user defined function or an error.
-
delete
Deletes a cosmos user defined function.After subscription the operation will be performed. The
Monoupon successful completion will contain a single resource response for the deleted user defined function. In case of failure theMonowill error.- Returns:
- an
Monocontaining the single resource response for the deleted cosmos user defined function or an error.
-