Sha256: 0ad128a5f1d047de1a5c2046442d1ba33c51b4ba909db41c5df836753586c1bd

Contents?: true

Size: 1.54 KB

Versions: 5

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_02_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

5 entries across 5 versions & 1 rubygems

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