Class: Azure::Storage::Mgmt::V2021_01_01::Models::ObjectReplicationPolicyFilter

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2021-01-01/generated/azure_mgmt_storage/models/object_replication_policy_filter.rb

Overview

Filters limit replication to a subset of blobs within the storage account. A logical OR is performed on values in the filter. If multiple filters are defined, a logical AND is performed on all filters.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#min_creation_timeString

destination. It must be in datetime format ‘yyyy-MM-ddTHH:mm:ssZ’. Example: 2020-02-19T16:05:00Z

Returns:

  • (String)

    Blobs created after the time will be replicated to the



24
25
26
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/object_replication_policy_filter.rb', line 24

def min_creation_time
  @min_creation_time
end

#prefix_matchArray<String>

blobs whose names begin with the specified prefix.

Returns:

  • (Array<String>)

    Optional. Filters the results to replicate only



19
20
21
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/object_replication_policy_filter.rb', line 19

def prefix_match
  @prefix_match
end

Class Method Details

.mapperObject

Mapper for ObjectReplicationPolicyFilter 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
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/object_replication_policy_filter.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ObjectReplicationPolicyFilter',
    type: {
      name: 'Composite',
      class_name: 'ObjectReplicationPolicyFilter',
      model_properties: {
        prefix_match: {
          client_side_validation: true,
          required: false,
          serialized_name: 'prefixMatch',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        min_creation_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'minCreationTime',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end