Share via


Scripts Class

Definition

Represents script operations on an Azure Cosmos container.

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

Constructors

Scripts()

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.

ExecuteStoredProcedureStreamAsync(String, Stream, PartitionKey, 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)

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

GetStoredProcedureQueryIterator<T>(String, String, QueryRequestOptions)

This method creates a query for stored procedures under a container using a SQL statement. It returns a FeedIterator.

GetStoredProcedureQueryStreamIterator(QueryDefinition, String, QueryRequestOptions)

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

GetStoredProcedureQueryStreamIterator(String, String, QueryRequestOptions)

This method creates a query for stored procedures under a container using a SQL statement. It returns a FeedIterator.

GetTriggerQueryIterator<T>(QueryDefinition, String, QueryRequestOptions)

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

GetTriggerQueryIterator<T>(String, String, QueryRequestOptions)

This method creates a query for triggers under a container using a SQL statement. It returns a FeedIterator.

GetTriggerQueryStreamIterator(QueryDefinition, String, QueryRequestOptions)

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

GetTriggerQueryStreamIterator(String, String, QueryRequestOptions)

This method creates a query for triggers under a container using a SQL statement. It returns a FeedIterator.

GetUserDefinedFunctionQueryIterator<T>(QueryDefinition, String, QueryRequestOptions)

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

GetUserDefinedFunctionQueryIterator<T>(String, String, QueryRequestOptions)

This method creates a query for user defined functions under a container using a SQL statement. It returns a FeedIterator.

GetUserDefinedFunctionQueryStreamIterator(QueryDefinition, String, QueryRequestOptions)

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

GetUserDefinedFunctionQueryStreamIterator(String, String, QueryRequestOptions)

This method creates a query for user defined functions under a container using a SQL statement. It returns a FeedIterator.

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