Sha256: 33038f362daf559b62fc1d58cc947728867196edc215ebc2d5c4d63fa1452192

Contents?: true

Size: 1.39 KB

Versions: 4

Compression:

Stored size: 1.39 KB

Contents

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

module Azure::ARM::Web
  module Models
    #
    # Class containing deployment slot parameters
    #
    class CsmSlotEntity

      include MsRestAzure

      # @return [String] Set the destination deployment slot during swap
      # operation
      attr_accessor :target_slot

      # @return [Boolean] Get or set the flag indicating it should preserve
      # VNet to the slot during swap
      attr_accessor :preserve_vnet


      #
      # Mapper for CsmSlotEntity class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'CsmSlotEntity',
          type: {
            name: 'Composite',
            class_name: 'CsmSlotEntity',
            model_properties: {
              target_slot: {
                required: false,
                serialized_name: 'targetSlot',
                type: {
                  name: 'String'
                }
              },
              preserve_vnet: {
                required: false,
                serialized_name: 'preserveVnet',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_web-0.7.0 lib/generated/azure_mgmt_web/models/csm_slot_entity.rb
azure_mgmt_web-0.6.0 lib/generated/azure_mgmt_web/models/csm_slot_entity.rb
azure_mgmt_web-0.5.0 lib/generated/azure_mgmt_web/models/csm_slot_entity.rb
azure_mgmt_web-0.4.0 lib/generated/azure_mgmt_web/models/csm_slot_entity.rb