Sha256: a4f424c799f788c3ae456dcb6dd0d3ac8177ac030e3fbc96e1224c1bcdb880ea

Contents?: true

Size: 1.75 KB

Versions: 2

Compression:

Stored size: 1.75 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Web::Mgmt::V2020_09_01
  module Models
    #
    # Copy deployment slot parameters.
    #
    class CsmCopySlotEntity

      include MsRestAzure

      # @return [String] Destination deployment slot during copy operation.
      attr_accessor :target_slot

      # @return [SiteConfig] The site object which will be merged with the
      # source slot site
      # to produce new destination slot site object.
      # <code>null</code> to just copy source slot content. Otherwise a
      # <code>Site</code>
      # object with properties to override source slot site.
      attr_accessor :site_config


      #
      # Mapper for CsmCopySlotEntity class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_web-0.18.1 lib/2020-09-01/generated/azure_mgmt_web/models/csm_copy_slot_entity.rb
azure_mgmt_web-0.18.0 lib/2020-09-01/generated/azure_mgmt_web/models/csm_copy_slot_entity.rb