Class: Azure::ARM::SQL::Models::RestorePoint
- Inherits:
-
ProxyResource
- Object
- MsRestAzure::Resource
- ProxyResource
- Azure::ARM::SQL::Models::RestorePoint
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_sql/models/restore_point.rb
Overview
A database restore point.
Instance Attribute Summary collapse
-
#earliest_restore_date ⇒ DateTime
when restorePointType = DISCRETE.
-
#restore_point_creation_date ⇒ DateTime
Populated when restorePointType = CONTINUOUS.
-
#restore_point_type ⇒ RestorePointType
restore point.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RestorePoint class as Ruby Hash.
Instance Attribute Details
#earliest_restore_date ⇒ DateTime
when restorePointType = DISCRETE. Null otherwise.
26 27 28 |
# File 'lib/generated/azure_mgmt_sql/models/restore_point.rb', line 26 def earliest_restore_date @earliest_restore_date end |
#restore_point_creation_date ⇒ DateTime
Populated when restorePointType = CONTINUOUS. Null otherwise.
22 23 24 |
# File 'lib/generated/azure_mgmt_sql/models/restore_point.rb', line 22 def restore_point_creation_date @restore_point_creation_date end |
#restore_point_type ⇒ RestorePointType
restore point. Possible values include: ‘DISCRETE’, ‘CONTINUOUS’
18 19 20 |
# File 'lib/generated/azure_mgmt_sql/models/restore_point.rb', line 18 def restore_point_type @restore_point_type end |
Class Method Details
.mapper ⇒ Object
Mapper for RestorePoint class as Ruby Hash. This will be used for serialization/deserialization.
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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'lib/generated/azure_mgmt_sql/models/restore_point.rb', line 33 def self.mapper() { required: false, serialized_name: 'RestorePoint', type: { name: 'Composite', class_name: 'RestorePoint', model_properties: { id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, restore_point_type: { required: false, read_only: true, serialized_name: 'properties.restorePointType', type: { name: 'Enum', module: 'RestorePointType' } }, restore_point_creation_date: { required: false, read_only: true, serialized_name: 'properties.restorePointCreationDate', type: { name: 'DateTime' } }, earliest_restore_date: { required: false, read_only: true, serialized_name: 'properties.earliestRestoreDate', type: { name: 'DateTime' } } } } } end |