public final class LinuxConfiguration extends Object
Constructor and Description |
---|
LinuxConfiguration() |
Modifier and Type | Method and Description |
---|---|
Boolean |
disablePasswordAuthentication()
Get the disablePasswordAuthentication property: Specifies whether password authentication should be disabled.
|
Boolean |
provisionVMAgent()
Get the provisionVMAgent property: Indicates whether virtual machine agent should be provisioned on the virtual
machine.
|
SshConfiguration |
ssh()
Get the ssh property: Specifies the ssh key configuration for a Linux OS.
|
void |
validate()
Validates the instance.
|
LinuxConfiguration |
withDisablePasswordAuthentication(Boolean disablePasswordAuthentication)
Set the disablePasswordAuthentication property: Specifies whether password authentication should be disabled.
|
LinuxConfiguration |
withProvisionVMAgent(Boolean provisionVMAgent)
Set the provisionVMAgent property: Indicates whether virtual machine agent should be provisioned on the virtual
machine.
|
LinuxConfiguration |
withSsh(SshConfiguration ssh)
Set the ssh property: Specifies the ssh key configuration for a Linux OS.
|
public Boolean disablePasswordAuthentication()
public LinuxConfiguration withDisablePasswordAuthentication(Boolean disablePasswordAuthentication)
disablePasswordAuthentication
- the disablePasswordAuthentication value to set.public SshConfiguration ssh()
public LinuxConfiguration withSsh(SshConfiguration ssh)
ssh
- the ssh value to set.public Boolean provisionVMAgent()
public LinuxConfiguration withProvisionVMAgent(Boolean provisionVMAgent)
provisionVMAgent
- the provisionVMAgent value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.