Example #1
0
 /// <summary>
 /// Initializes a new instance of the SqlTriggerGetResultsInner class.
 /// </summary>
 /// <param name="sqlTriggerGetResultsId">Name of the Cosmos DB SQL
 /// trigger</param>
 /// <param name="body">Body of the Trigger</param>
 /// <param name="triggerType">Type of the Trigger. Possible values
 /// include: 'Pre', 'Post'</param>
 /// <param name="triggerOperation">The operation the trigger is
 /// associated with. Possible values include: 'All', 'Create',
 /// 'Update', 'Delete', 'Replace'</param>
 /// <param name="_rid">A system generated property. A unique
 /// identifier.</param>
 /// <param name="_ts">A system generated property that denotes the last
 /// updated timestamp of the resource.</param>
 /// <param name="_etag">A system generated property representing the
 /// resource etag required for optimistic concurrency control.</param>
 public SqlTriggerGetResultsInner(string location, string sqlTriggerGetResultsId, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string body = default(string), TriggerType triggerType = default(TriggerType), TriggerOperation triggerOperation = default(TriggerOperation), string _rid = default(string), object _ts = default(object), string _etag = default(string))
     : base(location, id, name, type, tags)
 {
     SqlTriggerGetResultsId = sqlTriggerGetResultsId;
     Body             = body;
     TriggerType      = triggerType;
     TriggerOperation = triggerOperation;
     this._rid        = _rid;
     this._ts         = _ts;
     this._etag       = _etag;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the SqlTriggerGetPropertiesResource
 /// class.
 /// </summary>
 /// <param name="id">Name of the Cosmos DB SQL trigger</param>
 /// <param name="body">Body of the Trigger</param>
 /// <param name="triggerType">Type of the Trigger. Possible values
 /// include: 'Pre', 'Post'</param>
 /// <param name="triggerOperation">The operation the trigger is
 /// associated with. Possible values include: 'All', 'Create',
 /// 'Update', 'Delete', 'Replace'</param>
 /// <param name="_rid">A system generated property. A unique
 /// identifier.</param>
 /// <param name="_ts">A system generated property that denotes the last
 /// updated timestamp of the resource.</param>
 /// <param name="_etag">A system generated property representing the
 /// resource etag required for optimistic concurrency control.</param>
 public SqlTriggerGetPropertiesResource(string id, string body = default(string), TriggerType triggerType = default(TriggerType), TriggerOperation triggerOperation = default(TriggerOperation), string _rid = default(string), object _ts = default(object), string _etag = default(string))
 {
     Id               = id;
     Body             = body;
     TriggerType      = triggerType;
     TriggerOperation = triggerOperation;
     this._rid        = _rid;
     this._ts         = _ts;
     this._etag       = _etag;
     CustomInit();
 }