Sha256: 25d7ac4329b54fd404376d72107512d34dd43b417241b4af816bb1644b34d8aa

Contents?: true

Size: 1.54 KB

Versions: 8

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::V2019_11_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

8 entries across 8 versions & 1 rubygems

Version Path
azure_mgmt_netapp-0.23.0 lib/2019-11-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb
azure_mgmt_netapp-0.22.0 lib/2019-11-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb
azure_mgmt_netapp-0.21.0 lib/2019-11-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb
azure_mgmt_netapp-0.20.2 lib/2019-11-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb
azure_mgmt_netapp-0.20.1 lib/2019-11-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb
azure_mgmt_netapp-0.20.0 lib/2019-11-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb
azure_mgmt_netapp-0.19.0 lib/2019-11-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb
azure_mgmt_netapp-0.18.4 lib/2019-11-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb