Class SqlTriggerGetPropertiesResource
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
public class SqlTriggerGetPropertiesResource
- Inheritance
-
SqlTriggerGetPropertiesResource
- Inherited Members
Constructors
SqlTriggerGetPropertiesResource()
Initializes a new instance of the SqlTriggerGetPropertiesResource class.
public SqlTriggerGetPropertiesResource()
SqlTriggerGetPropertiesResource(string, string, TriggerType, TriggerOperation, string, object, string)
Initializes a new instance of the SqlTriggerGetPropertiesResource class.
public SqlTriggerGetPropertiesResource(string id, string body = null, TriggerType triggerType = null, TriggerOperation triggerOperation = null, string _rid = null, object _ts = null, string _etag = null)
Parameters
id
stringName of the Cosmos DB SQL trigger
body
stringBody of the Trigger
triggerType
TriggerTypeType of the Trigger. Possible values include: 'Pre', 'Post'
triggerOperation
TriggerOperationThe operation the trigger is associated with. Possible values include: 'All', 'Create', 'Update', 'Delete', 'Replace'
_rid
stringA system generated property. A unique identifier.
_ts
objectA system generated property that denotes the last updated timestamp of the resource.
_etag
stringA system generated property representing the resource etag required for optimistic concurrency control.
Properties
Body
Gets or sets body of the Trigger
public string Body { get; set; }
Property Value
Id
Gets or sets name of the Cosmos DB SQL trigger
public string Id { get; set; }
Property Value
TriggerOperation
Gets or sets the operation the trigger is associated with. Possible values include: 'All', 'Create', 'Update', 'Delete', 'Replace'
public TriggerOperation TriggerOperation { get; set; }
Property Value
TriggerType
Gets or sets type of the Trigger. Possible values include: 'Pre', 'Post'
public TriggerType TriggerType { get; set; }
Property Value
_etag
Gets a system generated property representing the resource etag required for optimistic concurrency control.
public string _etag { get; }
Property Value
_rid
Gets a system generated property. A unique identifier.
public string _rid { get; }
Property Value
_ts
Gets a system generated property that denotes the last updated timestamp of the resource.
public object _ts { get; }
Property Value
Methods
Validate()
Validate the object.
public virtual void Validate()
Exceptions
- Microsoft.Rest.ValidationException
Thrown if validation fails