Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::MountPointMap

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-08-01/generated/azure_mgmt_databoxedge/models/mount_point_map.rb

Overview

The share mount point.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#mount_pointString

Returns Mount point for the share.

Returns:

  • (String)

    Mount point for the share.



22
23
24
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/mount_point_map.rb', line 22

def mount_point
  @mount_point
end

#role_idString

Returns ID of the role to which share is mounted.

Returns:

  • (String)

    ID of the role to which share is mounted.



19
20
21
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/mount_point_map.rb', line 19

def role_id
  @role_id
end

#role_typeRoleTypes

‘Functions’, ‘Cognitive’

Returns:

  • (RoleTypes)

    Role type. Possible values include: ‘IOT’, ‘ASA’,



26
27
28
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/mount_point_map.rb', line 26

def role_type
  @role_type
end

#share_idString

Returns ID of the share mounted to the role VM.

Returns:

  • (String)

    ID of the share mounted to the role VM.



16
17
18
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/mount_point_map.rb', line 16

def share_id
  @share_id
end

Class Method Details

.mapperObject

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



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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/mount_point_map.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'MountPointMap',
    type: {
      name: 'Composite',
      class_name: 'MountPointMap',
      model_properties: {
        share_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'shareId',
          type: {
            name: 'String'
          }
        },
        role_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'roleId',
          type: {
            name: 'String'
          }
        },
        mount_point: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'mountPoint',
          type: {
            name: 'String'
          }
        },
        role_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'roleType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end