Class: Azure::Batch::Mgmt::V2017_09_01::Models::LinuxUserConfiguration
- Inherits:
-
Object
- Object
- Azure::Batch::Mgmt::V2017_09_01::Models::LinuxUserConfiguration
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01/generated/azure_mgmt_batch/models/linux_user_configuration.rb
Overview
Properties used to create a user account on a Linux node.
Instance Attribute Summary collapse
-
#gid ⇒ Integer
properties must be specified together or not at all.
-
#ssh_private_key ⇒ String
key must not be password protected.
-
#uid ⇒ Integer
properties must be specified together or not at all.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LinuxUserConfiguration class as Ruby Hash.
Instance Attribute Details
#gid ⇒ Integer
properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
24 25 26 |
# File 'lib/2017-09-01/generated/azure_mgmt_batch/models/linux_user_configuration.rb', line 24 def gid @gid end |
#ssh_private_key ⇒ String
key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool’s enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user’s .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user’s .ssh directory is done).
35 36 37 |
# File 'lib/2017-09-01/generated/azure_mgmt_batch/models/linux_user_configuration.rb', line 35 def ssh_private_key @ssh_private_key end |
#uid ⇒ Integer
properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
19 20 21 |
# File 'lib/2017-09-01/generated/azure_mgmt_batch/models/linux_user_configuration.rb', line 19 def uid @uid end |
Class Method Details
.mapper ⇒ Object
Mapper for LinuxUserConfiguration class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2017-09-01/generated/azure_mgmt_batch/models/linux_user_configuration.rb', line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LinuxUserConfiguration', type: { name: 'Composite', class_name: 'LinuxUserConfiguration', model_properties: { uid: { client_side_validation: true, required: false, serialized_name: 'uid', type: { name: 'Number' } }, gid: { client_side_validation: true, required: false, serialized_name: 'gid', type: { name: 'Number' } }, ssh_private_key: { client_side_validation: true, required: false, serialized_name: 'sshPrivateKey', type: { name: 'String' } } } } } end |