Sha256: 655bf4d0a1bd302b09a539bd15de6c6fc8efa10a0f8c663165b8aafae81bcf20

Contents?: true

Size: 1.63 KB

Versions: 5

Compression:

Stored size: 1.63 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::StorageCache::Mgmt::V2019_11_01
  module Models
    #
    # An NFSv3 mount point for use as a Storage Target.
    #
    class Nfs3Target

      include MsRestAzure

      # @return [String] IP address or host name of an NFSv3 host (e.g.,
      # 10.0.44.44).
      attr_accessor :target

      # @return [String] Identifies the primary usage model to be used for this
      # Storage Target. Get choices from .../usageModels
      attr_accessor :usage_model


      #
      # Mapper for Nfs3Target class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'nfs3',
          type: {
            name: 'Composite',
            class_name: 'Nfs3Target',
            model_properties: {
              target: {
                client_side_validation: true,
                required: false,
                serialized_name: 'target',
                constraints: {
                  Pattern: '^[-.0-9a-zA-Z]+$'
                },
                type: {
                  name: 'String'
                }
              },
              usage_model: {
                client_side_validation: true,
                required: false,
                serialized_name: 'usageModel',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_storagecache-0.19.1 lib/2019-11-01/generated/azure_mgmt_storagecache/models/nfs3target.rb
azure_mgmt_storagecache-0.19.0 lib/2019-11-01/generated/azure_mgmt_storagecache/models/nfs3target.rb
azure_mgmt_storagecache-0.18.1 lib/2019-11-01/generated/azure_mgmt_storagecache/models/nfs3target.rb
azure_mgmt_storagecache-0.18.0 lib/2019-11-01/generated/azure_mgmt_storagecache/models/nfs3target.rb
azure_mgmt_storagecache-0.17.1 lib/2019-11-01/generated/azure_mgmt_storagecache/models/nfs3target.rb