class Azure::Cosmosdb::Mgmt::V2021_01_15::Models::SqlTriggerGetPropertiesResource
Model object.
Attributes
_etag[RW]
@return [String] A system generated property representing the resource etag required for optimistic concurrency control.
_rid[RW]
@return [String] A system generated property. A unique identifier.
_ts[RW]
@return [Float] A system generated property that denotes the last updated timestamp of the resource.
body[RW]
@return [String] Body of the Trigger
id[RW]
@return [String] Name of the Cosmos DB SQL trigger
trigger_operation[RW]
@return [TriggerOperation] The operation the trigger is associated with. Possible values include: 'All', 'Create', 'Update', 'Delete', 'Replace'
trigger_type[RW]
@return [TriggerType] Type of the Trigger. Possible values include: 'Pre', 'Post'
Private Class Methods
mapper()
click to toggle source
Mapper for SqlTriggerGetPropertiesResource
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/sql_trigger_get_properties_resource.rb, line 47 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SqlTriggerGetProperties_resource', type: { name: 'Composite', class_name: 'SqlTriggerGetPropertiesResource', model_properties: { id: { client_side_validation: true, required: true, serialized_name: 'id', type: { name: 'String' } }, body: { client_side_validation: true, required: false, serialized_name: 'body', type: { name: 'String' } }, trigger_type: { client_side_validation: true, required: false, serialized_name: 'triggerType', type: { name: 'String' } }, trigger_operation: { client_side_validation: true, required: false, serialized_name: 'triggerOperation', type: { name: 'String' } }, _rid: { client_side_validation: true, required: false, read_only: true, serialized_name: '_rid', type: { name: 'String' } }, _ts: { client_side_validation: true, required: false, read_only: true, serialized_name: '_ts', type: { name: 'Double' } }, _etag: { client_side_validation: true, required: false, read_only: true, serialized_name: '_etag', type: { name: 'String' } } } } } end