class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::RetargetScheduleProperties

Properties for retargeting a virtual machine schedule.

Attributes

current_resource_id[RW]

@return [String] The resource Id of the virtual machine on which the schedule operates

target_resource_id[RW]

@return [String] The resource Id of the virtual machine that the schedule should be retargeted to

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/retarget_schedule_properties.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RetargetScheduleProperties',
    type: {
      name: 'Composite',
      class_name: 'RetargetScheduleProperties',
      model_properties: {
        current_resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'currentResourceId',
          type: {
            name: 'String'
          }
        },
        target_resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'targetResourceId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end