Class: Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRecoveryPoint

Inherits:
RecoveryPoint
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-12-01/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.



20
21
22
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_recovery_point.rb', line 20

def initialize
  @objectType = "AzureFileShareRecoveryPoint"
end

Instance Attribute Details

#file_share_snapshot_uriString

applicable

Returns:

  • (String)

    Contains Url to the snapshot of fileshare, if



35
36
37
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_recovery_point.rb', line 35

def file_share_snapshot_uri
  @file_share_snapshot_uri
end

#objectTypeObject

Returns the value of attribute objectType.



24
25
26
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_recovery_point.rb', line 24

def objectType
  @objectType
end

#recovery_point_timeDateTime

Returns Time at which this backup copy was created.

Returns:

  • (DateTime)

    Time at which this backup copy was created.



31
32
33
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_recovery_point.rb', line 31

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



28
29
30
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_recovery_point.rb', line 28

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.



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
# File 'lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_recovery_point.rb', line 42

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,
          serialized_name: 'recoveryPointType',
          type: {
            name: 'String'
          }
        },
        recovery_point_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'recoveryPointTime',
          type: {
            name: 'DateTime'
          }
        },
        file_share_snapshot_uri: {
          client_side_validation: true,
          required: false,
          serialized_name: 'fileShareSnapshotUri',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end