Class: Azure::Batch::Mgmt::V2019_08_01::Models::CIFSMountConfiguration

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

Overview

Information used to connect to a CIFS file system.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#mount_optionsString

command. These are ‘net use’ options in Windows and ‘mount’ options in Linux.

Returns:

  • (String)

    Additional command line options to pass to the mount



32
33
34
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/cifsmount_configuration.rb', line 32

def mount_options
  @mount_options
end

#passwordString

CIFS file system.

Returns:

  • (String)

    The password to use for authentication against the



36
37
38
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/cifsmount_configuration.rb', line 36

def password
  @password
end

#relative_mount_pathString

system will be mounted. All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.

Returns:

  • (String)

    The relative path on the compute node where the file



27
28
29
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/cifsmount_configuration.rb', line 27

def relative_mount_path
  @relative_mount_path
end

#sourceString

Returns The URI of the file system to mount.

Returns:

  • (String)

    The URI of the file system to mount.



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

def source
  @source
end

#usernameString

file system.

Returns:

  • (String)

    The user to use for authentication against the CIFS



18
19
20
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/cifsmount_configuration.rb', line 18

def username
  @username
end

Class Method Details

.mapperObject

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



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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/cifsmount_configuration.rb', line 43

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CIFSMountConfiguration',
    type: {
      name: 'Composite',
      class_name: 'CIFSMountConfiguration',
      model_properties: {
        username: {
          client_side_validation: true,
          required: true,
          serialized_name: 'username',
          type: {
            name: 'String'
          }
        },
        source: {
          client_side_validation: true,
          required: true,
          serialized_name: 'source',
          type: {
            name: 'String'
          }
        },
        relative_mount_path: {
          client_side_validation: true,
          required: true,
          serialized_name: 'relativeMountPath',
          type: {
            name: 'String'
          }
        },
        mount_options: {
          client_side_validation: true,
          required: false,
          serialized_name: 'mountOptions',
          type: {
            name: 'String'
          }
        },
        password: {
          client_side_validation: true,
          required: true,
          serialized_name: 'password',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end