Class: Azure::ARM::Web::Models::StorageMigrationOptions

Inherits:
MsRestAzure::Resource
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_web/models/storage_migration_options.rb

Overview

Options for app content migration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#azurefiles_connection_stringString

Returns AzureFiles connection string.

Returns:

  • (String)

    AzureFiles connection string.



17
18
19
# File 'lib/generated/azure_mgmt_web/models/storage_migration_options.rb', line 17

def azurefiles_connection_string
  @azurefiles_connection_string
end

#azurefiles_shareString

Returns AzureFiles share.

Returns:

  • (String)

    AzureFiles share.



20
21
22
# File 'lib/generated/azure_mgmt_web/models/storage_migration_options.rb', line 20

def azurefiles_share
  @azurefiles_share
end

#block_write_access_to_siteBoolean

during copy operation; otherwise, false. Default value: false .

Returns:

  • (Boolean)

    true if the app should be read only



29
30
31
# File 'lib/generated/azure_mgmt_web/models/storage_migration_options.rb', line 29

def block_write_access_to_site
  @block_write_access_to_site
end

#switch_site_after_migrationBoolean

otherwise, false. Default value: false .

Returns:

  • (Boolean)

    trueif the app should be switched over;



24
25
26
# File 'lib/generated/azure_mgmt_web/models/storage_migration_options.rb', line 24

def switch_site_after_migration
  @switch_site_after_migration
end

Class Method Details

.mapperObject

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



36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# File 'lib/generated/azure_mgmt_web/models/storage_migration_options.rb', line 36

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,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        kind: {
          required: false,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        location: {
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        type: {
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        tags: {
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                required: false,
                serialized_name: 'StringElementType',
                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