Class: Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupFilter

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/backup_filter.rb

Overview

The OData filters to be used for backups.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#backup_policy_idString

filtered. Only ‘Equality’ operator is supported for this property.

Returns:

  • (String)

    Specifies the backupPolicyId of the backups to be



17
18
19
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/backup_filter.rb', line 17

def backup_policy_id
  @backup_policy_id
end

#created_timeDateTime

filtered. Only ‘Greater Than or Equal To’ and ‘Lesser Than or Equal To’ operators are supported for this property.

Returns:

  • (DateTime)

    Specifies the creation time of the backups to be



26
27
28
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/backup_filter.rb', line 26

def created_time
  @created_time
end

#volume_idString

Only ‘Equality’ operator is supported for this property.

Returns:

  • (String)

    Specifies the volumeId of the backups to be filtered.



21
22
23
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/backup_filter.rb', line 21

def volume_id
  @volume_id
end

Class Method Details

.mapperObject

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



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
# File 'lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/models/backup_filter.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'BackupFilter',
    type: {
      name: 'Composite',
      class_name: 'BackupFilter',
      model_properties: {
        backup_policy_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'backupPolicyId',
          type: {
            name: 'String'
          }
        },
        volume_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'volumeId',
          type: {
            name: 'String'
          }
        },
        created_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'createdTime',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end