# 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::ARM::Web
module Models
#
# Options for app content migration.
#
class StorageMigrationOptions < ProxyOnlyResource
include MsRestAzure
include MsRest::JSONable
# @return [String] AzureFiles connection string.
attr_accessor :azurefiles_connection_string
# @return [String] AzureFiles share.
attr_accessor :azurefiles_share
# @return [Boolean] true
if the app should be switched over;
# otherwise, false
. Default value: false .
attr_accessor :switch_site_after_migration
# @return [Boolean] true
if the app should be read only
# during copy operation; otherwise, false
. Default value:
# false .
attr_accessor :block_write_access_to_site
#
# Mapper for StorageMigrationOptions class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
required: false,
serialized_name: 'StorageMigrationOptions',
type: {
name: 'Composite',
class_name: 'StorageMigrationOptions',
model_properties: {
id: {
required: false,
read_only: true,
serialized_name: 'id',
type: {
name: 'String'
}
},
name: {
required: false,
read_only: true,
serialized_name: 'name',
type: {
name: 'String'
}
},
kind: {
required: false,
serialized_name: 'kind',
type: {
name: 'String'
}
},
type: {
required: false,
read_only: true,
serialized_name: 'type',
type: {
name: 'String'
}
},
azurefiles_connection_string: {
required: false,
serialized_name: 'properties.azurefilesConnectionString',
type: {
name: 'String'
}
},
azurefiles_share: {
required: false,
serialized_name: 'properties.azurefilesShare',
type: {
name: 'String'
}
},
switch_site_after_migration: {
required: false,
serialized_name: 'properties.switchSiteAfterMigration',
default_value: false,
type: {
name: 'Boolean'
}
},
block_write_access_to_site: {
required: false,
serialized_name: 'properties.blockWriteAccessToSite',
default_value: false,
type: {
name: 'Boolean'
}
}
}
}
}
end
end
end
end