public class CosmosAsyncUserDefinedFunction extends Object
| Modifier and Type | Method and Description |
|---|---|
Mono<CosmosUserDefinedFunctionResponse> |
delete()
Deletes a cosmos user defined function.
|
String |
getId()
Get the id of the
CosmosAsyncUserDefinedFunction |
Mono<CosmosUserDefinedFunctionResponse> |
read()
Read a user defined function.
|
Mono<CosmosUserDefinedFunctionResponse> |
replace(CosmosUserDefinedFunctionProperties udfSettings)
Replaces a cosmos user defined function.
|
public String getId()
CosmosAsyncUserDefinedFunctionCosmosAsyncUserDefinedFunctionpublic 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 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 Mono<CosmosUserDefinedFunctionResponse> 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 © 2020 Microsoft Corporation. All rights reserved.