Class: Azure::RecoveryServicesBackup::Mgmt::V2019_05_13::Models::DPMProtectedItemExtendedInfo

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

Overview

Additional information of DPM Protected item.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#disk_storage_used_in_bytesString

Returns Used Disk storage in bytes.

Returns:

  • (String)

    Used Disk storage in bytes.



53
54
55
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item_extended_info.rb', line 53

def disk_storage_used_in_bytes
  @disk_storage_used_in_bytes
end

#is_collocatedBoolean

Returns To check if backup item is collocated.

Returns:

  • (Boolean)

    To check if backup item is collocated.



47
48
49
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item_extended_info.rb', line 47

def is_collocated
  @is_collocated
end

#is_present_on_cloudBoolean

Returns To check if backup item is cloud protected.

Returns:

  • (Boolean)

    To check if backup item is cloud protected.



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

def is_present_on_cloud
  @is_present_on_cloud
end

#last_backup_statusString

Returns Last backup status information on backup item.

Returns:

  • (String)

    Last backup status information on backup item.



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

def last_backup_status
  @last_backup_status
end

#last_refreshed_atDateTime

Returns Last refresh time on backup item.

Returns:

  • (DateTime)

    Last refresh time on backup item.



29
30
31
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item_extended_info.rb', line 29

def last_refreshed_at
  @last_refreshed_at
end

#oldest_recovery_pointDateTime

Returns Oldest cloud recovery point time.

Returns:

  • (DateTime)

    Oldest cloud recovery point time.



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

def oldest_recovery_point
  @oldest_recovery_point
end

#on_premise_latest_recovery_pointDateTime

Returns latest disk recovery point time.

Returns:

  • (DateTime)

    latest disk recovery point time.



41
42
43
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item_extended_info.rb', line 41

def on_premise_latest_recovery_point
  @on_premise_latest_recovery_point
end

#on_premise_oldest_recovery_pointDateTime

Returns Oldest disk recovery point time.

Returns:

  • (DateTime)

    Oldest disk recovery point time.



38
39
40
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item_extended_info.rb', line 38

def on_premise_oldest_recovery_point
  @on_premise_oldest_recovery_point
end

#on_premise_recovery_point_countInteger

Returns disk recovery point count.

Returns:

  • (Integer)

    disk recovery point count.



44
45
46
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item_extended_info.rb', line 44

def on_premise_recovery_point_count
  @on_premise_recovery_point_count
end

#protectable_object_load_pathHash{String => String}

various DBs.

Returns:

  • (Hash{String => String})

    Attribute to provide information on



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

def protectable_object_load_path
  @protectable_object_load_path
end

#protectedBoolean

Returns To check if backup item is disk protected.

Returns:

  • (Boolean)

    To check if backup item is disk protected.



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

def protected
  @protected
end

#protection_group_nameString

Returns Protection group name of the backup item.

Returns:

  • (String)

    Protection group name of the backup item.



50
51
52
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item_extended_info.rb', line 50

def protection_group_name
  @protection_group_name
end

#recovery_point_countInteger

Returns cloud recovery point count.

Returns:

  • (Integer)

    cloud recovery point count.



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

def recovery_point_count
  @recovery_point_count
end

#total_disk_storage_size_in_bytesString

Returns total Disk storage in bytes.

Returns:

  • (String)

    total Disk storage in bytes.



56
57
58
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item_extended_info.rb', line 56

def total_disk_storage_size_in_bytes
  @total_disk_storage_size_in_bytes
end

Class Method Details

.mapperObject

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



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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item_extended_info.rb', line 63

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DPMProtectedItemExtendedInfo',
    type: {
      name: 'Composite',
      class_name: 'DPMProtectedItemExtendedInfo',
      model_properties: {
        protectable_object_load_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'protectableObjectLoadPath',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        protected: {
          client_side_validation: true,
          required: false,
          serialized_name: 'protected',
          type: {
            name: 'Boolean'
          }
        },
        is_present_on_cloud: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isPresentOnCloud',
          type: {
            name: 'Boolean'
          }
        },
        last_backup_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'lastBackupStatus',
          type: {
            name: 'String'
          }
        },
        last_refreshed_at: {
          client_side_validation: true,
          required: false,
          serialized_name: 'lastRefreshedAt',
          type: {
            name: 'DateTime'
          }
        },
        oldest_recovery_point: {
          client_side_validation: true,
          required: false,
          serialized_name: 'oldestRecoveryPoint',
          type: {
            name: 'DateTime'
          }
        },
        recovery_point_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'recoveryPointCount',
          type: {
            name: 'Number'
          }
        },
        on_premise_oldest_recovery_point: {
          client_side_validation: true,
          required: false,
          serialized_name: 'onPremiseOldestRecoveryPoint',
          type: {
            name: 'DateTime'
          }
        },
        on_premise_latest_recovery_point: {
          client_side_validation: true,
          required: false,
          serialized_name: 'onPremiseLatestRecoveryPoint',
          type: {
            name: 'DateTime'
          }
        },
        on_premise_recovery_point_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'onPremiseRecoveryPointCount',
          type: {
            name: 'Number'
          }
        },
        is_collocated: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isCollocated',
          type: {
            name: 'Boolean'
          }
        },
        protection_group_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'protectionGroupName',
          type: {
            name: 'String'
          }
        },
        disk_storage_used_in_bytes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'diskStorageUsedInBytes',
          type: {
            name: 'String'
          }
        },
        total_disk_storage_size_in_bytes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'totalDiskStorageSizeInBytes',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end