Class: Azure::Web::Mgmt::V2018_02_01::Models::SnapshotRecoverySource
- Inherits:
-
Object
- Object
- Azure::Web::Mgmt::V2018_02_01::Models::SnapshotRecoverySource
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_recovery_source.rb
Overview
Specifies the web app that snapshot contents will be retrieved from.
Instance Attribute Summary collapse
-
#id ⇒ String
/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 ⇒ String
SouthEastAsia, SouthCentralUS.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SnapshotRecoverySource class as Ruby Hash.
Instance Attribute Details
#id ⇒ String
/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.
24 25 26 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_recovery_source.rb', line 24 def id @id end |
#location ⇒ String
SouthEastAsia, SouthCentralUS
17 18 19 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_recovery_source.rb', line 17 def location @location end |
Class Method Details
.mapper ⇒ Object
Mapper for SnapshotRecoverySource class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# 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 |