class Azure::Reservations::Mgmt::V2018_06_01_preview::Models::ReservationSplitProperties

Model object.

Attributes

split_destinations[RW]

@return [Array<String>] List of destination Resource Id that are created due to split. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}

split_source[RW]

@return [String] Resource Id of the Reservation from which this is split. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-06-01-preview/generated/azure_mgmt_reservations/models/reservation_split_properties.rb, line 31
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ReservationSplitProperties',
    type: {
      name: 'Composite',
      class_name: 'ReservationSplitProperties',
      model_properties: {
        split_destinations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'splitDestinations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        split_source: {
          client_side_validation: true,
          required: false,
          serialized_name: 'splitSource',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end