Class: Azure::Web::Mgmt::V2016_03_01::Models::SnapshotRecoveryRequest
- Inherits:
-
ProxyOnlyResource
- Object
- ProxyOnlyResource
- Azure::Web::Mgmt::V2016_03_01::Models::SnapshotRecoveryRequest
- 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
-
#ignore_conflicting_host_names ⇒ Boolean
when recovering to a target web app.
-
#overwrite ⇒ Boolean
overwrite source app; otherwise,
false. -
#recover_configuration ⇒ Boolean
will be reverted.
-
#recovery_target ⇒ SnapshotRecoveryTarget
contents will be written to.
-
#snapshot_time ⇒ String
attempted, formatted as a DateTime string.
Attributes inherited from ProxyOnlyResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SnapshotRecoveryRequest class as Ruby Hash.
Instance Attribute Details
#ignore_conflicting_host_names ⇒ Boolean
when recovering to a target web app. This setting is only necessary when RecoverConfiguration is enabled.
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 |
#overwrite ⇒ Boolean
overwrite source app; otherwise, false.
25 26 27 |
# File 'lib/2016-03-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb', line 25 def overwrite @overwrite end |
#recover_configuration ⇒ Boolean
will be reverted.
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_target ⇒ SnapshotRecoveryTarget
contents will be written to.
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_time ⇒ String
attempted, formatted as a DateTime string.
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
.mapper ⇒ Object
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 |