Class: Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemQueryObject

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb

Overview

Filters to list backup items.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#backup_engine_nameString

Returns Backup Engine name.

Returns:

  • (String)

    Backup Engine name



43
44
45
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb', line 43

def backup_engine_name
  @backup_engine_name
end

#backup_management_typeBackupManagementType

item. Possible values include: ‘Invalid’, ‘AzureIaasVM’, ‘MAB’, ‘DPM’, ‘AzureBackupServer’, ‘AzureSql’, ‘AzureStorage’, ‘AzureWorkload’, ‘DefaultBackup’

Returns:



28
29
30
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb', line 28

def backup_management_type
  @backup_management_type
end

#backup_set_nameString

Returns Name of the backup set.

Returns:

  • (String)

    Name of the backup set.



52
53
54
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb', line 52

def backup_set_name
  @backup_set_name
end

#container_nameString

Returns Name of the container.

Returns:

  • (String)

    Name of the container.



40
41
42
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb', line 40

def container_name
  @container_name
end

#fabric_nameString

Returns Name of the fabric.

Returns:

  • (String)

    Name of the fabric.



49
50
51
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb', line 49

def fabric_name
  @fabric_name
end

#friendly_nameString

Returns Friendly name of protected item.

Returns:

  • (String)

    Friendly name of protected item



46
47
48
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb', line 46

def friendly_name
  @friendly_name
end

#health_stateHealthState

values include: ‘Passed’, ‘ActionRequired’, ‘ActionSuggested’, ‘Invalid’

Returns:

  • (HealthState)

    Health State for the backed up item. Possible



22
23
24
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb', line 22

def health_state
  @health_state
end

#item_typeDataSourceType

Possible values include: ‘Invalid’, ‘VM’, ‘FileFolder’, ‘AzureSqlDb’, ‘SQLDB’, ‘Exchange’, ‘Sharepoint’, ‘VMwareVM’, ‘SystemState’, ‘Client’, ‘GenericDataSource’, ‘SQLDataBase’, ‘AzureFileShare’, ‘SAPHanaDatabase’

Returns:



34
35
36
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb', line 34

def item_type
  @item_type
end

#policy_nameString

Returns Backup policy name associated with the backup item.

Returns:

  • (String)

    Backup policy name associated with the backup item.



37
38
39
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb', line 37

def policy_name
  @policy_name
end

Class Method Details

.mapperObject

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



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
135
136
137
138
139
140
141
142
143
# File 'lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb', line 59

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ProtectedItemQueryObject',
    type: {
      name: 'Composite',
      class_name: 'ProtectedItemQueryObject',
      model_properties: {
        health_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'healthState',
          type: {
            name: 'String'
          }
        },
        backup_management_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'backupManagementType',
          type: {
            name: 'String'
          }
        },
        item_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'itemType',
          type: {
            name: 'String'
          }
        },
        policy_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'policyName',
          type: {
            name: 'String'
          }
        },
        container_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'containerName',
          type: {
            name: 'String'
          }
        },
        backup_engine_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'backupEngineName',
          type: {
            name: 'String'
          }
        },
        friendly_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'friendlyName',
          type: {
            name: 'String'
          }
        },
        fabric_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'fabricName',
          type: {
            name: 'String'
          }
        },
        backup_set_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'backupSetName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end