Class: Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadRecoveryPoint
- Inherits:
-
RecoveryPoint
- Object
- RecoveryPoint
- Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadRecoveryPoint
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_recovery_point.rb
Overview
Workload specific recoverypoint, specifcally encaspulates full/diff recoverypoint
Direct Known Subclasses
Instance Attribute Summary collapse
-
#objectType ⇒ Object
Returns the value of attribute objectType.
-
#recovery_point_time_in_utc ⇒ DateTime
UTC time at which recoverypoint was created.
-
#type ⇒ RestorePointType
include: ‘Invalid’, ‘Full’, ‘Log’, ‘Differential’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AzureWorkloadRecoveryPoint class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ AzureWorkloadRecoveryPoint
constructor
A new instance of AzureWorkloadRecoveryPoint.
Constructor Details
#initialize ⇒ AzureWorkloadRecoveryPoint
Returns a new instance of AzureWorkloadRecoveryPoint.
21 22 23 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_recovery_point.rb', line 21 def initialize @objectType = "AzureWorkloadRecoveryPoint" end |
Instance Attribute Details
#objectType ⇒ Object
Returns the value of attribute objectType.
25 26 27 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_recovery_point.rb', line 25 def objectType @objectType end |
#recovery_point_time_in_utc ⇒ DateTime
Returns UTC time at which recoverypoint was created.
28 29 30 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_recovery_point.rb', line 28 def recovery_point_time_in_utc @recovery_point_time_in_utc end |
#type ⇒ RestorePointType
include: ‘Invalid’, ‘Full’, ‘Log’, ‘Differential’
32 33 34 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_recovery_point.rb', line 32 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for AzureWorkloadRecoveryPoint class as Ruby Hash. This will be used for serialization/deserialization.
39 40 41 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 |
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_recovery_point.rb', line 39 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AzureWorkloadRecoveryPoint', type: { name: 'Composite', class_name: 'AzureWorkloadRecoveryPoint', model_properties: { objectType: { client_side_validation: true, required: true, serialized_name: 'objectType', type: { name: 'String' } }, recovery_point_time_in_utc: { client_side_validation: true, required: false, serialized_name: 'recoveryPointTimeInUTC', type: { name: 'DateTime' } }, type: { client_side_validation: true, required: false, serialized_name: 'type', type: { name: 'String' } } } } } end |