Class: Azure::RecoveryServicesBackup::Mgmt::V2019_05_13::Models::AzureFileShareRecoveryPoint

Inherits:
RecoveryPoint
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_recovery_point.rb

Overview

Azure File Share workload specific backup copy.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAzureFileShareRecoveryPoint

Returns a new instance of AzureFileShareRecoveryPoint.



16
17
18
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_recovery_point.rb', line 16

def initialize
  @objectType = "AzureFileShareRecoveryPoint"
end

Instance Attribute Details

#file_share_snapshot_uriString

applicable

Returns:

  • (String)

    Contains Url to the snapshot of fileshare, if



31
32
33
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_recovery_point.rb', line 31

def file_share_snapshot_uri
  @file_share_snapshot_uri
end

#objectTypeObject

Returns the value of attribute objectType.



20
21
22
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_recovery_point.rb', line 20

def objectType
  @objectType
end

#recovery_point_size_in_gbInteger

Returns Contains recovery point size.

Returns:

  • (Integer)

    Contains recovery point size



34
35
36
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_recovery_point.rb', line 34

def recovery_point_size_in_gb
  @recovery_point_size_in_gb
end

#recovery_point_timeDateTime

Returns Time at which this backup copy was created.

Returns:

  • (DateTime)

    Time at which this backup copy was created.



27
28
29
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_recovery_point.rb', line 27

def recovery_point_time
  @recovery_point_time
end

#recovery_point_typeString

crash consistent backup or app consistent.

Returns:

  • (String)

    Type of the backup copy. Specifies whether it is a



24
25
26
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_recovery_point.rb', line 24

def recovery_point_type
  @recovery_point_type
end

Class Method Details

.mapperObject

Mapper for AzureFileShareRecoveryPoint class as Ruby Hash. This will be used for serialization/deserialization.



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
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_recovery_point.rb', line 41

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureFileShareRecoveryPoint',
    type: {
      name: 'Composite',
      class_name: 'AzureFileShareRecoveryPoint',
      model_properties: {
        objectType: {
          client_side_validation: true,
          required: true,
          serialized_name: 'objectType',
          type: {
            name: 'String'
          }
        },
        recovery_point_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'recoveryPointType',
          type: {
            name: 'String'
          }
        },
        recovery_point_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'recoveryPointTime',
          type: {
            name: 'DateTime'
          }
        },
        file_share_snapshot_uri: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'fileShareSnapshotUri',
          type: {
            name: 'String'
          }
        },
        recovery_point_size_in_gb: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'recoveryPointSizeInGB',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end