Class: Azure::RecoveryServicesBackup::Mgmt::V2019_05_13::Models::IaasVMRecoveryPoint

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

Overview

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.



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

def initialize
  @objectType = "IaasVMRecoveryPoint"
end

Instance Attribute Details

#is_instant_ilr_session_activeBoolean

still active.

Returns:

  • (Boolean)

    Is the session to recover items from this backup copy



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

def is_instant_ilr_session_active
  @is_instant_ilr_session_active
end

#is_managed_virtual_machineBoolean

Returns Whether VM is with Managed Disks.

Returns:

  • (Boolean)

    Whether VM is with Managed Disks



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

def is_managed_virtual_machine
  @is_managed_virtual_machine
end

#is_source_vmencryptedBoolean

backup copy is created.

Returns:

  • (Boolean)

    Identifies whether the VM was encrypted when the



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

def is_source_vmencrypted
  @is_source_vmencrypted
end

#key_and_secretKeyAndSecretDetails

encrypted VM. Applicable only when IsSourceVMEncrypted is true.

Returns:



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

def key_and_secret
  @key_and_secret
end

#objectTypeObject

Returns the value of attribute objectType.



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

def objectType
  @objectType
end

#original_storage_account_optionBoolean

Returns Original Storage Account Option.

Returns:

  • (Boolean)

    Original Storage Account Option



58
59
60
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb', line 58

def 
  @original_storage_account_option
end

#os_typeString

Returns OS type.

Returns:

  • (String)

    OS type



61
62
63
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb', line 61

def os_type
  @os_type
end

#recovery_point_additional_infoString

copy.

Returns:

  • (String)

    Additional information associated with this backup



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

def recovery_point_additional_info
  @recovery_point_additional_info
end

#recovery_point_disk_configurationRecoveryPointDiskConfiguration

Returns Disk configuration.

Returns:



64
65
66
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb', line 64

def recovery_point_disk_configuration
  @recovery_point_disk_configuration
end

#recovery_point_tier_detailsArray<RecoveryPointTierInformation>

information.

Returns:



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

def recovery_point_tier_details
  @recovery_point_tier_details
end

#recovery_point_timeDateTime

Returns Time at which this backup copy was created.

Returns:

  • (DateTime)

    Time at which this backup copy was created.



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

def recovery_point_time
  @recovery_point_time
end

#recovery_point_typeString

Returns Type of the backup copy.

Returns:

  • (String)

    Type of the backup copy.



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

def recovery_point_type
  @recovery_point_type
end

#source_vmstorage_typeString

Returns Storage type of the VM whose backup copy is created.

Returns:

  • (String)

    Storage type of the VM whose backup copy is created.



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

def source_vmstorage_type
  @source_vmstorage_type
end

#virtual_machine_sizeString

Returns Virtual Machine Size.

Returns:

  • (String)

    Virtual Machine Size



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

def virtual_machine_size
  @virtual_machine_size
end

Class Method Details

.mapperObject

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



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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb', line 71

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,
          read_only: true,
          serialized_name: 'recoveryPointType',
          type: {
            name: 'String'
          }
        },
        recovery_point_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'recoveryPointTime',
          type: {
            name: 'DateTime'
          }
        },
        recovery_point_additional_info: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'recoveryPointAdditionalInfo',
          type: {
            name: 'String'
          }
        },
        source_vmstorage_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'sourceVMStorageType',
          type: {
            name: 'String'
          }
        },
        is_source_vmencrypted: {
          client_side_validation: true,
          required: false,
          read_only: true,
          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_ilr_session_active: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isInstantIlrSessionActive',
          type: {
            name: 'Boolean'
          }
        },
        recovery_point_tier_details: {
          client_side_validation: true,
          required: false,
          serialized_name: 'recoveryPointTierDetails',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'RecoveryPointTierInformationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'RecoveryPointTierInformation'
                }
            }
          }
        },
        is_managed_virtual_machine: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isManagedVirtualMachine',
          type: {
            name: 'Boolean'
          }
        },
        virtual_machine_size: {
          client_side_validation: true,
          required: false,
          serialized_name: 'virtualMachineSize',
          type: {
            name: 'String'
          }
        },
        original_storage_account_option: {
          client_side_validation: true,
          required: false,
          serialized_name: 'originalStorageAccountOption',
          type: {
            name: 'Boolean'
          }
        },
        os_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'osType',
          type: {
            name: 'String'
          }
        },
        recovery_point_disk_configuration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'recoveryPointDiskConfiguration',
          type: {
            name: 'Composite',
            class_name: 'RecoveryPointDiskConfiguration'
          }
        }
      }
    }
  }
end