Class: Azure::StorageCache::Mgmt::V2019_11_01::Models::NamespaceJunction

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-01/generated/azure_mgmt_storagecache/models/namespace_junction.rb

Overview

A namespace junction.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#namespace_pathString

Returns Namespace path on a Cache for a Storage Target.

Returns:

  • (String)

    Namespace path on a Cache for a Storage Target.



16
17
18
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/namespace_junction.rb', line 16

def namespace_path
  @namespace_path
end

#nfs_exportString

Returns NFS export where targetPath exists.

Returns:

  • (String)

    NFS export where targetPath exists.



22
23
24
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/namespace_junction.rb', line 22

def nfs_export
  @nfs_export
end

#target_pathString

Returns Path in Storage Target to which namespacePath points.

Returns:

  • (String)

    Path in Storage Target to which namespacePath points.



19
20
21
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/namespace_junction.rb', line 19

def target_path
  @target_path
end

Class Method Details

.mapperObject

Mapper for NamespaceJunction class as Ruby Hash. This will be used for serialization/deserialization.



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# File 'lib/2019-11-01/generated/azure_mgmt_storagecache/models/namespace_junction.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NamespaceJunction',
    type: {
      name: 'Composite',
      class_name: 'NamespaceJunction',
      model_properties: {
        namespace_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'namespacePath',
          type: {
            name: 'String'
          }
        },
        target_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'targetPath',
          type: {
            name: 'String'
          }
        },
        nfs_export: {
          client_side_validation: true,
          required: false,
          serialized_name: 'nfsExport',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end