Class: Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::Models::AzureIaaSComputeVMContainer
- Inherits:
-
IaaSVMContainer
- Object
- ProtectionContainer
- IaaSVMContainer
- Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::Models::AzureIaaSComputeVMContainer
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmcontainer.rb
Overview
IaaS VM workload-specific backup item representing a Resource Manager-deployed virtual machine.
Instance Attribute Summary collapse
-
#protectableObjectType ⇒ Object
Returns the value of attribute protectableObjectType.
Attributes inherited from IaaSVMContainer
#resource_group, #virtual_machine_id, #virtual_machine_version
Attributes inherited from ProtectionContainer
#backup_management_type, #container_type, #friendly_name, #health_status, #registration_status
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AzureIaaSComputeVMContainer class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ AzureIaaSComputeVMContainer
constructor
A new instance of AzureIaaSComputeVMContainer.
Constructor Details
#initialize ⇒ AzureIaaSComputeVMContainer
Returns a new instance of AzureIaaSComputeVMContainer.
21 22 23 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmcontainer.rb', line 21 def initialize @protectableObjectType = "Microsoft.Compute/virtualMachines" end |
Instance Attribute Details
#protectableObjectType ⇒ Object
Returns the value of attribute protectableObjectType.
25 26 27 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmcontainer.rb', line 25 def protectableObjectType @protectableObjectType end |
Class Method Details
.mapper ⇒ Object
Mapper for AzureIaaSComputeVMContainer 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 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 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmcontainer.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Microsoft.Compute/virtualMachines', type: { name: 'Composite', class_name: 'AzureIaaSComputeVMContainer', model_properties: { friendly_name: { client_side_validation: true, required: false, serialized_name: 'friendlyName', type: { name: 'String' } }, backup_management_type: { client_side_validation: true, required: false, serialized_name: 'backupManagementType', type: { name: 'Enum', module: 'BackupManagementType' } }, registration_status: { client_side_validation: true, required: false, serialized_name: 'registrationStatus', type: { name: 'String' } }, health_status: { client_side_validation: true, required: false, serialized_name: 'healthStatus', type: { name: 'String' } }, container_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'containerType', type: { name: 'String' } }, protectableObjectType: { client_side_validation: true, required: true, serialized_name: 'protectableObjectType', type: { name: 'String' } }, virtual_machine_id: { client_side_validation: true, required: false, serialized_name: 'virtualMachineId', type: { name: 'String' } }, virtual_machine_version: { client_side_validation: true, required: false, serialized_name: 'virtualMachineVersion', type: { name: 'String' } }, resource_group: { client_side_validation: true, required: false, serialized_name: 'resourceGroup', type: { name: 'String' } } } } } end |