CosmosScripts Class

Definition

Represents script operations on an Azure Cosmos container.

public abstract class CosmosScripts
type CosmosScripts = class
Public MustInherit Class CosmosScripts
Inheritance
CosmosScripts

Constructors

CosmosScripts()

Methods

CreateStoredProcedureAsync(StoredProcedureProperties, RequestOptions, CancellationToken)

Creates a stored procedure as an asynchronous operation in the Azure Cosmos DB service.

CreateTriggerAsync(TriggerProperties, RequestOptions, CancellationToken)

Creates a trigger as an asynchronous operation in the Azure Cosmos DB service.

CreateUserDefinedFunctionAsync(UserDefinedFunctionProperties, RequestOptions, CancellationToken)

Creates a user defined function as an asynchronous operation in the Azure Cosmos DB service.

DeleteStoredProcedureAsync(String, RequestOptions, CancellationToken)

Delete a StoredProcedureProperties from the Azure Cosmos DB service as an asynchronous operation.

DeleteTriggerAsync(String, RequestOptions, CancellationToken)

Delete a TriggerProperties from the Azure Cosmos service as an asynchronous operation.

DeleteUserDefinedFunctionAsync(String, RequestOptions, CancellationToken)

Delete a UserDefinedFunctionProperties from the Azure Cosmos DB service as an asynchronous operation.

ExecuteStoredProcedureAsync<TOutput>(String, PartitionKey, Object[], StoredProcedureRequestOptions, CancellationToken)

Executes a stored procedure against a container as an asynchronous operation in the Azure Cosmos service.

ExecuteStoredProcedureStreamAsync(String, PartitionKey, Object[], StoredProcedureRequestOptions, CancellationToken)

Executes a stored procedure against a container as an asynchronous operation in the Azure Cosmos service and obtains a Stream as response.

GetStoredProcedureQueryIterator<T>(QueryDefinition, String, QueryRequestOptions, CancellationToken)

This method creates a query for stored procedures under a container using a SQL statement. It returns a FeedIterator. For more information on preparing SQL statements with parameterized values, please see QueryDefinition overload.

GetStoredProcedureQueryIterator<T>(String, String, QueryRequestOptions, CancellationToken)

This method creates a query for stored procedures under a container using a SQL statement. It returns a FeedIterator. For more information on preparing SQL statements with parameterized values, please see QueryDefinition overload.

GetStoredProcedureQueryStreamIterator(QueryDefinition, String, QueryRequestOptions, CancellationToken)

This method creates a query for stored procedures under a container using a SQL statement. It returns a FeedIterator. For more information on preparing SQL statements with parameterized values, please see QueryDefinition overload.

GetStoredProcedureQueryStreamIterator(String, String, QueryRequestOptions, CancellationToken)

This method creates a query for stored procedures under a container using a SQL statement. It returns a FeedIterator. For more information on preparing SQL statements with parameterized values, please see QueryDefinition overload.

GetTriggerQueryIterator<T>(QueryDefinition, String, QueryRequestOptions, CancellationToken)

This method creates a query for triggers under a container using a SQL statement. It returns a FeedIterator. For more information on preparing SQL statements with parameterized values, please see QueryDefinition overload.

GetTriggerQueryIterator<T>(String, String, QueryRequestOptions, CancellationToken)

This method creates a query for triggers under a container using a SQL statement. It returns a FeedIterator. For more information on preparing SQL statements with parameterized values, please see QueryDefinition overload.

GetTriggerQueryStreamIterator(QueryDefinition, String, QueryRequestOptions, CancellationToken)

This method creates a query for triggers under a container using a SQL statement. It returns a FeedIterator. For more information on preparing SQL statements with parameterized values, please see QueryDefinition overload.

GetTriggerQueryStreamIterator(String, String, QueryRequestOptions, CancellationToken)

This method creates a query for triggers under a container using a SQL statement. It returns a FeedIterator. For more information on preparing SQL statements with parameterized values, please see QueryDefinition overload.

GetUserDefinedFunctionQueryIterator<T>(QueryDefinition, String, QueryRequestOptions, CancellationToken)

This method creates a query for user defined functions under a container using a SQL statement. It returns a FeedIterator. For more information on preparing SQL statements with parameterized values, please see QueryDefinition overload.

GetUserDefinedFunctionQueryIterator<T>(String, String, QueryRequestOptions, CancellationToken)

This method creates a query for user defined functions under a container using a SQL statement. It returns a FeedIterator. For more information on preparing SQL statements with parameterized values, please see QueryDefinition overload.

GetUserDefinedFunctionQueryStreamIterator(QueryDefinition, String, QueryRequestOptions, CancellationToken)

This method creates a query for user defined functions under a container using a SQL statement. It returns a FeedIterator. For more information on preparing SQL statements with parameterized values, please see QueryDefinition overload.

GetUserDefinedFunctionQueryStreamIterator(String, String, QueryRequestOptions, CancellationToken)

This method creates a query for user defined functions under a container using a SQL statement. It returns a FeedIterator. For more information on preparing SQL statements with parameterized values, please see QueryDefinition overload.

ReadStoredProcedureAsync(String, RequestOptions, CancellationToken)

Reads a StoredProcedureProperties from the Azure Cosmos service as an asynchronous operation.

ReadTriggerAsync(String, RequestOptions, CancellationToken)

Reads a TriggerProperties from the Azure Cosmos service as an asynchronous operation.

ReadUserDefinedFunctionAsync(String, RequestOptions, CancellationToken)

Reads a UserDefinedFunctionProperties from the Azure Cosmos DB service as an asynchronous operation.

ReplaceStoredProcedureAsync(StoredProcedureProperties, RequestOptions, CancellationToken)

Replaces a StoredProcedureProperties in the Azure Cosmos service as an asynchronous operation.

ReplaceTriggerAsync(TriggerProperties, RequestOptions, CancellationToken)

Replaces a TriggerProperties in the Azure Cosmos service as an asynchronous operation.

ReplaceUserDefinedFunctionAsync(UserDefinedFunctionProperties, RequestOptions, CancellationToken)

Replaces a UserDefinedFunctionProperties in the Azure Cosmos DB service as an asynchronous operation.

Applies to

See also