class Azure::DataShare::Mgmt::V2018_11_01_preview::Models::ScheduledTrigger

A type of trigger based on schedule

Attributes

created_at[RW]

@return [DateTime] Time at which the trigger was created.

created_by[RW]

@return [String] Name of the user who created the trigger.

kind[RW]
provisioning_state[RW]

@return [ProvisioningState] Gets the provisioning state. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving', 'Failed'

recurrence_interval[RW]

@return [RecurrenceInterval] Recurrence Interval. Possible values include: 'Hour', 'Day'

synchronization_mode[RW]

@return [SynchronizationMode] Synchronization mode. Possible values include: 'Incremental', 'FullSync'

synchronization_time[RW]

@return [DateTime] Synchronization time

trigger_status[RW]

@return [TriggerStatus] Gets the trigger state. Possible values include: 'Active', 'Inactive', 'SourceSynchronizationSettingDeleted'

Public Class Methods

mapper() click to toggle source

Mapper for ScheduledTrigger class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/scheduled_trigger.rb, line 52
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ScheduleBased',
    type: {
      name: 'Composite',
      class_name: 'ScheduledTrigger',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        created_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.createdAt',
          type: {
            name: 'DateTime'
          }
        },
        created_by: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.createdBy',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        recurrence_interval: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.recurrenceInterval',
          type: {
            name: 'String'
          }
        },
        synchronization_mode: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.synchronizationMode',
          type: {
            name: 'String'
          }
        },
        synchronization_time: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.synchronizationTime',
          type: {
            name: 'DateTime'
          }
        },
        trigger_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.triggerStatus',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/scheduled_trigger.rb, line 16
def initialize
  @kind = "ScheduleBased"
end