Sha256: 087cd4ad159bcce6b2f12601ee95043185889c3962c4b03021a21c2f9fe3b3fe

Contents?: true

Size: 1.54 KB

Versions: 4

Compression:

Stored size: 1.54 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::NetApp::Mgmt::V2020_06_01
  module Models
    #
    # exportPolicy

    # Set of export policy rules
    #
    class VolumePropertiesExportPolicy

      include MsRestAzure

      # @return [Array<ExportPolicyRule>] Export policy rule. Export policy
      # rule
      attr_accessor :rules


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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_netapp-0.23.0 lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb
azure_mgmt_netapp-0.22.0 lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb
azure_mgmt_netapp-0.21.0 lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb
azure_mgmt_netapp-0.20.2 lib/2020-06-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb