Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ClientAccessRight

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

Overview

The mapping between a particular client IP and the type of access client has on the NFS share.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#access_permissionClientPermissionType

client. Possible values include: ‘NoAccess’, ‘ReadOnly’, ‘ReadWrite’

Returns:



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

def access_permission
  @access_permission
end

#clientString

Returns IP of the client.

Returns:

  • (String)

    IP of the client.



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

def client
  @client
end

Class Method Details

.mapperObject

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



28
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
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/client_access_right.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ClientAccessRight',
    type: {
      name: 'Composite',
      class_name: 'ClientAccessRight',
      model_properties: {
        client: {
          client_side_validation: true,
          required: true,
          serialized_name: 'client',
          type: {
            name: 'String'
          }
        },
        access_permission: {
          client_side_validation: true,
          required: true,
          serialized_name: 'accessPermission',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end