public class CosmosAsyncStoredProcedure extends Object
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<CosmosAsyncStoredProcedureResponse> |
delete()
Deletes a stored procedure by the stored procedure link.
|
reactor.core.publisher.Mono<CosmosAsyncStoredProcedureResponse> |
delete(CosmosStoredProcedureRequestOptions options)
Deletes a stored procedure by the stored procedure link.
|
reactor.core.publisher.Mono<CosmosAsyncStoredProcedureResponse> |
execute(Object[] procedureParams,
CosmosStoredProcedureRequestOptions options)
Executes a stored procedure by the stored procedure link.
|
String |
id()
Get the id of the
CosmosAsyncStoredProcedure |
reactor.core.publisher.Mono<CosmosAsyncStoredProcedureResponse> |
read()
Read a stored procedure by the stored procedure link.
|
reactor.core.publisher.Mono<CosmosAsyncStoredProcedureResponse> |
read(CosmosStoredProcedureRequestOptions options)
Read a stored procedure by the stored procedure link.
|
reactor.core.publisher.Mono<CosmosAsyncStoredProcedureResponse> |
replace(CosmosStoredProcedureProperties storedProcedureSettings)
Replaces a stored procedure.
|
reactor.core.publisher.Mono<CosmosAsyncStoredProcedureResponse> |
replace(CosmosStoredProcedureProperties storedProcedureSettings,
CosmosStoredProcedureRequestOptions options)
Replaces a stored procedure.
|
public String id()
CosmosAsyncStoredProcedure
CosmosAsyncStoredProcedure
public reactor.core.publisher.Mono<CosmosAsyncStoredProcedureResponse> read()
After subscription the operation will be performed.
The Mono
upon successful completion will contain a single resource response with the read stored
procedure.
In case of failure the Mono
will error.
Mono
containing the single resource response with the read stored procedure or an error.public reactor.core.publisher.Mono<CosmosAsyncStoredProcedureResponse> read(CosmosStoredProcedureRequestOptions options)
After subscription the operation will be performed.
The Mono
upon successful completion will contain a single resource response with the read stored
procedure.
In case of failure the Mono
will error.
options
- the request options.Mono
containing the single resource response with the read stored procedure or an error.public reactor.core.publisher.Mono<CosmosAsyncStoredProcedureResponse> delete()
After subscription the operation will be performed.
The Mono
upon successful completion will contain a single resource response for the deleted stored
procedure.
In case of failure the Mono
will error.
Mono
containing the single resource response for the deleted stored procedure or an error.public reactor.core.publisher.Mono<CosmosAsyncStoredProcedureResponse> delete(CosmosStoredProcedureRequestOptions options)
After subscription the operation will be performed.
The Mono
upon successful completion will contain a single resource response for the deleted stored
procedure.
In case of failure the Mono
will error.
options
- the request options.Mono
containing the single resource response for the deleted stored procedure or an error.public reactor.core.publisher.Mono<CosmosAsyncStoredProcedureResponse> execute(Object[] procedureParams, CosmosStoredProcedureRequestOptions options)
After subscription the operation will be performed.
The Mono
upon successful completion will contain a single resource response with the stored procedure
response.
In case of failure the Mono
will error.
procedureParams
- the array of procedure parameter values.options
- the request options.Mono
containing the single resource response with the stored procedure response or an error.public reactor.core.publisher.Mono<CosmosAsyncStoredProcedureResponse> replace(CosmosStoredProcedureProperties storedProcedureSettings)
After subscription the operation will be performed.
The Mono
upon successful completion will contain a single resource response with the replaced stored
procedure.
In case of failure the Mono
will error.
storedProcedureSettings
- the stored procedure propertiesMono
containing the single resource response with the replaced stored procedure or an error.public reactor.core.publisher.Mono<CosmosAsyncStoredProcedureResponse> replace(CosmosStoredProcedureProperties storedProcedureSettings, CosmosStoredProcedureRequestOptions options)
After subscription the operation will be performed.
The Mono
upon successful completion will contain a single resource response with the replaced stored
procedure.
In case of failure the Mono
will error.
storedProcedureSettings
- the stored procedure properties.options
- the request options.Mono
containing the single resource response with the replaced stored procedure or an error.Copyright © 2020 Microsoft Corporation. All rights reserved.