Class: Azure::RecoveryServicesBackup::Mgmt::V2019_05_13::Models::AzureSqlProtectedItemExtendedInfo

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

Overview

Additional information on Azure Sql specific protected item.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#oldest_recovery_pointDateTime

the service.

Returns:

  • (DateTime)

    The oldest backup copy available for this item in



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

def oldest_recovery_point
  @oldest_recovery_point
end

#policy_stateString

item.

Returns:

  • (String)

    State of the backup policy associated with this backup



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

def policy_state
  @policy_state
end

#recovery_point_countInteger

this backup item.

Returns:

  • (Integer)

    Number of available backup copies associated with



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

def recovery_point_count
  @recovery_point_count
end

Class Method Details

.mapperObject

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



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

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureSqlProtectedItemExtendedInfo',
    type: {
      name: 'Composite',
      class_name: 'AzureSqlProtectedItemExtendedInfo',
      model_properties: {
        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'
          }
        },
        policy_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'policyState',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end