Class: Azure::RecoveryServicesBackup::Mgmt::V2019_06_15::Models::AzureFileshareProtectedItemExtendedInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_fileshare_protected_item_extended_info.rb

Overview

Additional information about Azure File Share backup 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-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_fileshare_protected_item_extended_info.rb', line 17

def oldest_recovery_point
  @oldest_recovery_point
end

#policy_stateString

applied to this backup item.

Returns:

  • (String)

    Indicates consistency of policy object and policy



25
26
27
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_fileshare_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-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_fileshare_protected_item_extended_info.rb', line 21

def recovery_point_count
  @recovery_point_count
end

#resource_stateString

are from enum ResourceState Active, SoftDeleted, Deleted

Returns:

  • (String)

    Indicates the state of this resource. Possible values



29
30
31
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_fileshare_protected_item_extended_info.rb', line 29

def resource_state
  @resource_state
end

#resource_state_sync_timeDateTime

Returns The resource state sync time for this backup item.

Returns:

  • (DateTime)

    The resource state sync time for this backup item.



32
33
34
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_fileshare_protected_item_extended_info.rb', line 32

def resource_state_sync_time
  @resource_state_sync_time
end

Class Method Details

.mapperObject

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



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
# File 'lib/2019-06-15/generated/azure_mgmt_recovery_services_backup/models/azure_fileshare_protected_item_extended_info.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureFileshareProtectedItemExtendedInfo',
    type: {
      name: 'Composite',
      class_name: 'AzureFileshareProtectedItemExtendedInfo',
      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'
          }
        },
        resource_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'resourceState',
          type: {
            name: 'String'
          }
        },
        resource_state_sync_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'resourceStateSyncTime',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end