Class: Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::Models::AzureIaaSComputeVMProtectableItem
- Inherits:
-
IaaSVMProtectableItem
- Object
- WorkloadProtectableItem
- IaaSVMProtectableItem
- Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::Models::AzureIaaSComputeVMProtectableItem
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotectable_item.rb
Overview
IaaS VM workload-specific backup item representing a Resource Manager VM.
Instance Attribute Summary collapse
-
#protectableItemType ⇒ Object
Returns the value of attribute protectableItemType.
Attributes inherited from IaaSVMProtectableItem
Attributes inherited from WorkloadProtectableItem
#backup_management_type, #friendly_name, #protection_state
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AzureIaaSComputeVMProtectableItem class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ AzureIaaSComputeVMProtectableItem
constructor
A new instance of AzureIaaSComputeVMProtectableItem.
Constructor Details
#initialize ⇒ AzureIaaSComputeVMProtectableItem
Returns a new instance of AzureIaaSComputeVMProtectableItem.
20 21 22 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotectable_item.rb', line 20 def initialize @protectableItemType = "Microsoft.Compute/virtualMachines" end |
Instance Attribute Details
#protectableItemType ⇒ Object
Returns the value of attribute protectableItemType.
24 25 26 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotectable_item.rb', line 24 def protectableItemType @protectableItemType end |
Class Method Details
.mapper ⇒ Object
Mapper for AzureIaaSComputeVMProtectableItem class as Ruby Hash. This will be used for serialization/deserialization.
31 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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotectable_item.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Microsoft.Compute/virtualMachines', type: { name: 'Composite', class_name: 'AzureIaaSComputeVMProtectableItem', model_properties: { backup_management_type: { client_side_validation: true, required: false, serialized_name: 'backupManagementType', type: { name: 'String' } }, friendly_name: { client_side_validation: true, required: false, serialized_name: 'friendlyName', type: { name: 'String' } }, protection_state: { client_side_validation: true, required: false, serialized_name: 'protectionState', type: { name: 'Enum', module: 'ProtectionStatus' } }, protectableItemType: { client_side_validation: true, required: true, serialized_name: 'protectableItemType', type: { name: 'String' } }, virtual_machine_id: { client_side_validation: true, required: false, serialized_name: 'virtualMachineId', type: { name: 'String' } } } } } end |