Class: Azure::Batch::Mgmt::V2019_08_01::Models::CIFSMountConfiguration
- Inherits:
-
Object
- Object
- Azure::Batch::Mgmt::V2019_08_01::Models::CIFSMountConfiguration
- 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
-
#mount_options ⇒ String
command.
-
#password ⇒ String
CIFS file system.
-
#relative_mount_path ⇒ String
system will be mounted.
-
#source ⇒ String
The URI of the file system to mount.
-
#username ⇒ String
file system.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CIFSMountConfiguration class as Ruby Hash.
Instance Attribute Details
#mount_options ⇒ String
command. These are ‘net use’ options in Windows and ‘mount’ options in Linux.
32 33 34 |
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/cifsmount_configuration.rb', line 32 def @mount_options end |
#password ⇒ String
CIFS file system.
36 37 38 |
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/cifsmount_configuration.rb', line 36 def password @password end |
#relative_mount_path ⇒ String
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.
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 |
#source ⇒ String
Returns 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 |
#username ⇒ String
file system.
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
.mapper ⇒ Object
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 |