Class: Azure::Web::Mgmt::V2018_02_01::Models::SnapshotRestoreRequest
- Inherits:
-
ProxyOnlyResource
- Object
- ProxyOnlyResource
- Azure::Web::Mgmt::V2018_02_01::Models::SnapshotRestoreRequest
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_restore_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_source ⇒ SnapshotRecoverySource
snapshot contents will be retrieved from.
-
#snapshot_time ⇒ String
formatted as a DateTime string.
Attributes inherited from ProxyOnlyResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SnapshotRestoreRequest 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.
35 36 37 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_restore_request.rb', line 35 def ignore_conflicting_host_names @ignore_conflicting_host_names end |
#overwrite ⇒ Boolean
overwrite source app; otherwise, false
.
26 27 28 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_restore_request.rb', line 26 def overwrite @overwrite end |
#recover_configuration ⇒ Boolean
will be reverted.
30 31 32 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_restore_request.rb', line 30 def recover_configuration @recover_configuration end |
#recovery_source ⇒ SnapshotRecoverySource
snapshot contents will be retrieved from. If empty, the targeted web app will be used as the source.
22 23 24 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_restore_request.rb', line 22 def recovery_source @recovery_source end |
#snapshot_time ⇒ String
formatted as a DateTime string.
17 18 19 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_restore_request.rb', line 17 def snapshot_time @snapshot_time end |
Class Method Details
.mapper ⇒ Object
Mapper for SnapshotRestoreRequest class as Ruby Hash. This will be used for serialization/deserialization.
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 130 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_restore_request.rb', line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SnapshotRestoreRequest', type: { name: 'Composite', class_name: 'SnapshotRestoreRequest', 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_source: { client_side_validation: true, required: false, serialized_name: 'properties.recoverySource', type: { name: 'Composite', class_name: 'SnapshotRecoverySource' } }, 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 |