Class: Azure::Web::Mgmt::V2016_03_01::Models::SnapshotRecoveryRequest

Inherits:
ProxyOnlyResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-03-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb

Overview

Details about app recovery operation.

Instance Attribute Summary collapse

Attributes inherited from ProxyOnlyResource

#id, #kind, #name, #type

Class Method Summary collapse

Instance Attribute Details

#ignore_conflicting_host_namesBoolean

when recovering to a target web app. This setting is only necessary when RecoverConfiguration is enabled.

Returns:

  • (Boolean)

    If true, custom hostname conflicts will be ignored



34
35
36
# File 'lib/2016-03-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb', line 34

def ignore_conflicting_host_names
  @ignore_conflicting_host_names
end

#overwriteBoolean

overwrite source app; otherwise, false.

Returns:

  • (Boolean)

    If true the recovery operation can



25
26
27
# File 'lib/2016-03-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb', line 25

def overwrite
  @overwrite
end

#recover_configurationBoolean

will be reverted.

Returns:

  • (Boolean)

    If true, site configuration, in addition to content,



29
30
31
# File 'lib/2016-03-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb', line 29

def recover_configuration
  @recover_configuration
end

#recovery_targetSnapshotRecoveryTarget

contents will be written to.

Returns:



21
22
23
# File 'lib/2016-03-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb', line 21

def recovery_target
  @recovery_target
end

#snapshot_timeString

attempted, formatted as a DateTime string.

Returns:

  • (String)

    Point in time in which the app recovery should be



17
18
19
# File 'lib/2016-03-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb', line 17

def snapshot_time
  @snapshot_time
end

Class Method Details

.mapperObject

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



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
128
129
# File 'lib/2016-03-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb', line 41

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SnapshotRecoveryRequest',
    type: {
      name: 'Composite',
      class_name: 'SnapshotRecoveryRequest',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        kind: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        snapshot_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.snapshotTime',
          type: {
            name: 'String'
          }
        },
        recovery_target: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.recoveryTarget',
          type: {
            name: 'Composite',
            class_name: 'SnapshotRecoveryTarget'
          }
        },
        overwrite: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.overwrite',
          type: {
            name: 'Boolean'
          }
        },
        recover_configuration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.recoverConfiguration',
          type: {
            name: 'Boolean'
          }
        },
        ignore_conflicting_host_names: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.ignoreConflictingHostNames',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end