Sha256: 99402406aa511aac2470f5d05fe4335f1c16449c25090c9a991aae3aa74c3cce

Contents?: true

Size: 1.79 KB

Versions: 1

Compression:

Stored size: 1.79 KB

Contents

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

module Azure::ARM::Web
  module Models
    #
    # Details about app recovery operation.
    #
    class CsmSiteRecoveryEntity

      include MsRestAzure

      # @return [DateTime] Point in time in which the app recovery should be
      # attempted.
      attr_accessor :snapshot_time

      # @return [String] [Optional] Destination app name into which app should
      # be recovered. This is case when new app should be created instead.
      attr_accessor :site_name

      # @return [String] [Optional] Destination app slot name into which app
      # should be recovered.
      attr_accessor :slot_name


      #
      # Mapper for CsmSiteRecoveryEntity class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'CsmSiteRecoveryEntity',
          type: {
            name: 'Composite',
            class_name: 'CsmSiteRecoveryEntity',
            model_properties: {
              snapshot_time: {
                required: false,
                serialized_name: 'snapshotTime',
                type: {
                  name: 'DateTime'
                }
              },
              site_name: {
                required: false,
                serialized_name: 'siteName',
                type: {
                  name: 'String'
                }
              },
              slot_name: {
                required: false,
                serialized_name: 'slotName',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_web-0.9.0 lib/generated/azure_mgmt_web/models/csm_site_recovery_entity.rb