Class: Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::Models::ProtectionPolicyQueryObject

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

Overview

This object filters the list of backup policies.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#backup_management_typeBackupManagementType

with the backup policy. Possible values include: ‘Invalid’, ‘AzureIaasVM’, ‘MAB’, ‘DPM’, ‘AzureBackupServer’, ‘AzureSql’

Returns:



22
23
24
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy_query_object.rb', line 22

def backup_management_type
  @backup_management_type
end

Class Method Details

.mapperObject

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



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy_query_object.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ProtectionPolicyQueryObject',
    type: {
      name: 'Composite',
      class_name: 'ProtectionPolicyQueryObject',
      model_properties: {
        backup_management_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'backupManagementType',
          type: {
            name: 'Enum',
            module: 'BackupManagementType'
          }
        }
      }
    }
  }
end