Bagikan melalui


SqlTriggerResource Constructors

Definition

Overloads

SqlTriggerResource()

Initializes a new instance of the SqlTriggerResource class.

SqlTriggerResource(String, String, TriggerType, TriggerOperation)

Initializes a new instance of the SqlTriggerResource class.

SqlTriggerResource()

Initializes a new instance of the SqlTriggerResource class.

public SqlTriggerResource ();
Public Sub New ()

Applies to

SqlTriggerResource(String, String, TriggerType, TriggerOperation)

Initializes a new instance of the SqlTriggerResource class.

public SqlTriggerResource (string id, string body = default, Microsoft.Azure.Management.CosmosDB.Fluent.Models.TriggerType triggerType = default, Microsoft.Azure.Management.CosmosDB.Fluent.Models.TriggerOperation triggerOperation = default);
new Microsoft.Azure.Management.CosmosDB.Fluent.Models.SqlTriggerResource : string * string * Microsoft.Azure.Management.CosmosDB.Fluent.Models.TriggerType * Microsoft.Azure.Management.CosmosDB.Fluent.Models.TriggerOperation -> Microsoft.Azure.Management.CosmosDB.Fluent.Models.SqlTriggerResource
Public Sub New (id As String, Optional body As String = Nothing, Optional triggerType As TriggerType = Nothing, Optional triggerOperation As TriggerOperation = Nothing)

Parameters

id
String

Name of the Cosmos DB SQL trigger

body
String

Body of the Trigger

triggerType
TriggerType

Type of the Trigger. Possible values include: 'Pre', 'Post'

triggerOperation
TriggerOperation

The operation the trigger is associated with. Possible values include: 'All', 'Create', 'Update', 'Delete', 'Replace'

Applies to