Share via


CosmosDBSqlUserDefinedFunctionResourceInfo Class

Definition

Cosmos DB SQL userDefinedFunction resource object.

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

Constructors

CosmosDBSqlUserDefinedFunctionResourceInfo(String)

Initializes a new instance of CosmosDBSqlUserDefinedFunctionResourceInfo.

Properties

Body

Body of the User Defined Function.

FunctionName

Name of the Cosmos DB SQL userDefinedFunction.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBSqlUserDefinedFunctionResourceInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBSqlUserDefinedFunctionResourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBSqlUserDefinedFunctionResourceInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBSqlUserDefinedFunctionResourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBSqlUserDefinedFunctionResourceInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to