Class: Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint
- Inherits:
-
ProxyResource
- Object
- Resource
- ProxyResource
- Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point.rb
Overview
Database restore points.
Instance Attribute Summary collapse
-
#earliest_restore_date ⇒ DateTime
restored.
-
#location ⇒ String
Resource location.
-
#restore_point_creation_date ⇒ DateTime
The time the backup was taken.
-
#restore_point_label ⇒ String
The label of restore point for backup request by user.
-
#restore_point_type ⇒ RestorePointType
include: ‘CONTINUOUS’, ‘DISCRETE’.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RestorePoint class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#earliest_restore_date ⇒ DateTime
restored
24 25 26 |
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point.rb', line 24 def earliest_restore_date @earliest_restore_date end |
#location ⇒ String
Returns Resource location.
16 17 18 |
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point.rb', line 16 def location @location end |
#restore_point_creation_date ⇒ DateTime
Returns The time the backup was taken.
27 28 29 |
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point.rb', line 27 def restore_point_creation_date @restore_point_creation_date end |
#restore_point_label ⇒ String
Returns The label of restore point for backup request by user.
30 31 32 |
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point.rb', line 30 def restore_point_label @restore_point_label end |
#restore_point_type ⇒ RestorePointType
include: ‘CONTINUOUS’, ‘DISCRETE’
20 21 22 |
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point.rb', line 20 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.
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 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/restore_point.rb', line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RestorePoint', type: { name: 'Composite', class_name: 'RestorePoint', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: false, read_only: true, serialized_name: 'location', type: { name: 'String' } }, restore_point_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.restorePointType', type: { name: 'Enum', module: 'RestorePointType' } }, earliest_restore_date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.earliestRestoreDate', type: { name: 'DateTime' } }, restore_point_creation_date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.restorePointCreationDate', type: { name: 'DateTime' } }, restore_point_label: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.restorePointLabel', type: { name: 'String' } } } } } end |