class Azure::Web::Mgmt::V2015_04_01::Models::SnapshotRecoveryTarget
Specifies the web app that snapshot contents will be written to.
Attributes
id[RW]
@return [String] ARM resource ID of the target app. /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.
location[RW]
@return [String] Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS
Public Class Methods
mapper()
click to toggle source
Mapper for SnapshotRecoveryTarget
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2015-04-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb, line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SnapshotRecoveryTarget', type: { name: 'Composite', class_name: 'SnapshotRecoveryTarget', model_properties: { location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } } } } } end