Class: Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::Models::IaasVMRecoveryPoint

Inherits:
RecoveryPoint
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb

Overview

Azure VM (also known as IaaS VM) workload-specific backup copy.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeIaasVMRecoveryPoint

Returns a new instance of IaasVMRecoveryPoint.



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

def initialize
  @objectType = "IaasVMRecoveryPoint"
end

Instance Attribute Details

#is_instant_ilrsession_activeBoolean

items from this backup copy still active.

Returns:

  • (Boolean)

    Answer to the question - Is the session to recover



50
51
52
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb', line 50

def is_instant_ilrsession_active
  @is_instant_ilrsession_active
end

#is_source_vmencryptedBoolean

backup copy is created.

Returns:

  • (Boolean)

    Identifies whether the VM was encrypted when the



42
43
44
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb', line 42

def is_source_vmencrypted
  @is_source_vmencrypted
end

#key_and_secretKeyAndSecretDetails

encrypted VM. Applicable only when IsSourceVMEncrypted is true.

Returns:



46
47
48
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb', line 46

def key_and_secret
  @key_and_secret
end

#objectTypeObject

Returns the value of attribute objectType.



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

def objectType
  @objectType
end

#recovery_point_additional_infoString

copy.

Returns:

  • (String)

    Additional information associated with this backup



34
35
36
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb', line 34

def recovery_point_additional_info
  @recovery_point_additional_info
end

#recovery_point_timeDateTime

Returns The date and time when the backup copy was created.

Returns:

  • (DateTime)

    The date and time when the backup copy was created.



30
31
32
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb', line 30

def recovery_point_time
  @recovery_point_time
end

#recovery_point_typeString

Returns Type of the backup copy.

Returns:

  • (String)

    Type of the backup copy.



27
28
29
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb', line 27

def recovery_point_type
  @recovery_point_type
end

#source_vmstorage_typeString

created.

Returns:

  • (String)

    The storage type for the VM whose backup copy was



38
39
40
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb', line 38

def source_vmstorage_type
  @source_vmstorage_type
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb', line 57

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IaasVMRecoveryPoint',
    type: {
      name: 'Composite',
      class_name: 'IaasVMRecoveryPoint',
      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'
          }
        },
        recovery_point_additional_info: {
          client_side_validation: true,
          required: false,
          serialized_name: 'recoveryPointAdditionalInfo',
          type: {
            name: 'String'
          }
        },
        source_vmstorage_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sourceVMStorageType',
          type: {
            name: 'String'
          }
        },
        is_source_vmencrypted: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isSourceVMEncrypted',
          type: {
            name: 'Boolean'
          }
        },
        key_and_secret: {
          client_side_validation: true,
          required: false,
          serialized_name: 'keyAndSecret',
          type: {
            name: 'Composite',
            class_name: 'KeyAndSecretDetails'
          }
        },
        is_instant_ilrsession_active: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isInstantILRSessionActive',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end