public class CosmosAsyncUserDefinedFunction extends Object
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<CosmosAsyncUserDefinedFunctionResponse> |
delete()
Deletes a cosmos user defined function.
|
String |
getId()
Get the id of the
CosmosAsyncUserDefinedFunction |
reactor.core.publisher.Mono<CosmosAsyncUserDefinedFunctionResponse> |
read()
Read a user defined function.
|
reactor.core.publisher.Mono<CosmosAsyncUserDefinedFunctionResponse> |
replace(CosmosUserDefinedFunctionProperties udfSettings)
Replaces a cosmos user defined function.
|
public String getId()
CosmosAsyncUserDefinedFunction
CosmosAsyncUserDefinedFunction
public reactor.core.publisher.Mono<CosmosAsyncUserDefinedFunctionResponse> 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<CosmosAsyncUserDefinedFunctionResponse> 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<CosmosAsyncUserDefinedFunctionResponse> 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.