Sha256: d28cfc04b1d4d473ad117790edbe939f094240a24f1b7c813038a94691fb1d9b

Contents?: true

Size: 1.57 KB

Versions: 1

Compression:

Stored size: 1.57 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Storage::Mgmt::V2021_01_01
  module Models
    #
    # List storage account object replication policies.
    #
    class ObjectReplicationPolicies

      include MsRestAzure

      # @return [Array<ObjectReplicationPolicy>] The replication policy between
      # two storage accounts.
      attr_accessor :value


      #
      # Mapper for ObjectReplicationPolicies class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ObjectReplicationPolicies',
          type: {
            name: 'Composite',
            class_name: 'ObjectReplicationPolicies',
            model_properties: {
              value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'value',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'ObjectReplicationPolicyElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'ObjectReplicationPolicy'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_storage-0.23.0 lib/2021-01-01/generated/azure_mgmt_storage/models/object_replication_policies.rb