class Azure::Web::Mgmt::V2018_02_01::Models::SnapshotRecoverySource
Specifies the web app that snapshot contents will be retrieved from.
Attributes
id[RW]
@return [String] ARM resource ID of the source 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 source web app, e.g. SouthEastAsia, SouthCentralUS
Private Class Methods
mapper()
click to toggle source
Mapper for SnapshotRecoverySource
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_recovery_source.rb, line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SnapshotRecoverySource', type: { name: 'Composite', class_name: 'SnapshotRecoverySource', 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