Class EventingFunction
Eventing Functions offers a computing paradigm using which developers can handle data changes
via the handlers of OnUpdate or OnDelete. Resources are managed at or above the Eventing
Function level, and the containing Eventing Function scopes the state of all handlers.
Inheritance
EventingFunction
Assembly: Couchbase.NetClient.dll
Syntax
[JsonConverter(typeof(EventingFunctionConverter))]
public class EventingFunction
Constructors
View Source
EventingFunction()
Declaration
public EventingFunction()
Properties
View Source
Code
Declaration
public string Code { get; set; }
Property Value
View Source
EnforceSchema
Enforces stricter validation for all settings and configuration fields.
Declaration
public bool EnforceSchema { get; set; }
Property Value
View Source
FunctionInstanceId
Unique id of the deployment of the handler. Generated by server.
Declaration
public string FunctionInstanceId { get; }
Property Value
View Source
HandlerUuid
Unique id of the the handler. Generated by server.
Declaration
public long HandlerUuid { get; }
Property Value
View Source
Declaration
public EventingFunctionKeyspace MetaDataKeySpace { get; set; }
Property Value
View Source
Name
Declaration
public string Name { get; set; }
Property Value
View Source
Settings
Any additional configuration settings.
Declaration
public EventingFunctionSettings Settings { get; set; }
Property Value
View Source
SourceKeySpace
Declaration
public EventingFunctionKeyspace SourceKeySpace { get; set; }
Property Value
View Source
Version
Authoring tool. use 'external' if authored or edited outside eventing ui.
Declaration
public string Version { get; }
Property Value
Methods
View Source
ToJson()
Declaration
Returns
View Source
ToJson(EventingFunctionKeyspace)
Declaration
public string ToJson(EventingFunctionKeyspace managementScope)
Parameters
Returns