CosmosAsyncUserDefinedFunction Class    
	- java.
lang. Object  - com.
azure. cosmos. CosmosAsyncUserDefinedFunction  
- com.
 
public class CosmosAsyncUserDefinedFunction
The type Cosmos async user defined function.
Method Summary
| Modifier and Type | Method and Description | 
|---|---|
| 
									Mono<Cosmos | 
						
							delete()
								 Deletes a cosmos user defined function.  | 
					
| String | 
							getId()
								 Get the id of the CosmosAsyncUserDefinedFunction  | 
					
| 
									Mono<Cosmos | 
						
							read()
								 Read a user defined function.  | 
					
| 
									Mono<Cosmos | 
						
							replace(CosmosUserDefinedFunctionProperties udfSettings)
								 Replaces a cosmos user defined function.  | 
					
Methods inherited from java.lang.Object
Method Details
delete
public Mono<CosmosUserDefinedFunctionResponse> delete()
Deletes a cosmos user defined function.
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.
Returns:
getId
public String getId()
Get the id of the CosmosAsyncUserDefinedFunction
Returns:
read
public Mono<CosmosUserDefinedFunctionResponse> read()
Read a user defined function.
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.
Returns:
replace
public Mono<CosmosUserDefinedFunctionResponse> replace(CosmosUserDefinedFunctionProperties udfSettings)
Replaces a cosmos user defined function.
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.
Parameters:
Returns: