class Azure::Web::Mgmt::V2020_09_01::Models::CsmCopySlotEntity

Copy deployment slot parameters.

Attributes

site_config[RW]

@return [SiteConfig] The site object which will be merged with the source slot site to produce new destination slot site object. null to just copy source slot content. Otherwise a Site object with properties to override source slot site.

target_slot[RW]

@return [String] Destination deployment slot during copy operation.

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-09-01/generated/azure_mgmt_web/models/csm_copy_slot_entity.rb, line 31
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CsmCopySlotEntity',
    type: {
      name: 'Composite',
      class_name: 'CsmCopySlotEntity',
      model_properties: {
        target_slot: {
          client_side_validation: true,
          required: true,
          serialized_name: 'targetSlot',
          type: {
            name: 'String'
          }
        },
        site_config: {
          client_side_validation: true,
          required: true,
          serialized_name: 'siteConfig',
          type: {
            name: 'Composite',
            class_name: 'SiteConfig'
          }
        }
      }
    }
  }
end