Share via


CosmosDBSqlStoredProcedureResourceInfo Class

Definition

Cosmos DB SQL storedProcedure resource object.

public class CosmosDBSqlStoredProcedureResourceInfo : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.CosmosDBSqlStoredProcedureResourceInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.CosmosDBSqlStoredProcedureResourceInfo>
type CosmosDBSqlStoredProcedureResourceInfo = class
    interface IJsonModel<CosmosDBSqlStoredProcedureResourceInfo>
    interface IPersistableModel<CosmosDBSqlStoredProcedureResourceInfo>
Public Class CosmosDBSqlStoredProcedureResourceInfo
Implements IJsonModel(Of CosmosDBSqlStoredProcedureResourceInfo), IPersistableModel(Of CosmosDBSqlStoredProcedureResourceInfo)
Inheritance
CosmosDBSqlStoredProcedureResourceInfo
Derived
Implements

Constructors

CosmosDBSqlStoredProcedureResourceInfo(String)

Initializes a new instance of CosmosDBSqlStoredProcedureResourceInfo.

Properties

Body

Body of the Stored Procedure.

StoredProcedureName

Name of the Cosmos DB SQL storedProcedure.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBSqlStoredProcedureResourceInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CosmosDBSqlStoredProcedureResourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBSqlStoredProcedureResourceInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBSqlStoredProcedureResourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CosmosDBSqlStoredProcedureResourceInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to