class Azure::Web::Mgmt::V2016_09_01::Models::SnapshotRecoveryRequest

Details about app recovery operation.

Attributes

ignore_conflicting_host_names[RW]

@return [Boolean] If true, custom hostname conflicts will be ignored when recovering to a target web app. This setting is only necessary when RecoverConfiguration is enabled.

overwrite[RW]

@return [Boolean] If true the recovery operation can overwrite source app; otherwise, false.

recover_configuration[RW]

@return [Boolean] If true, site configuration, in addition to content, will be reverted.

recovery_target[RW]

@return [SnapshotRecoveryTarget] Specifies the web app that snapshot contents will be written to.

snapshot_time[RW]

@return [String] Point in time in which the app recovery should be attempted, formatted as a DateTime string.

Private Class Methods

mapper() click to toggle source

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

# File lib/2016-09-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