Class RemoteAccessSpecification
java.lang.Object
com.vmware.vra.jenkinsplugin.model.iaas.RemoteAccessSpecification
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2020-09-09T18:26:35.661905-04:00[America/New_York]") public class RemoteAccessSpecification extends Object
Represents a specification for machine's remote access settings.
-
Constructor Summary
Constructors Constructor Description RemoteAccessSpecification() -
Method Summary
Modifier and Type Method Description RemoteAccessSpecificationauthentication(String authentication)booleanequals(Object o)StringgetAuthentication()One of four authentication types.StringgetKeyPair()Key Pair Name.StringgetPassword()Remote access password for the Azure machine.StringgetSshKey()In key pair authentication, the public key on the provisioned machine.StringgetUsername()Remote access username for the Azure machine.inthashCode()RemoteAccessSpecificationkeyPair(String keyPair)RemoteAccessSpecificationpassword(String password)voidsetAuthentication(String authentication)voidsetKeyPair(String keyPair)voidsetPassword(String password)voidsetSshKey(String sshKey)voidsetUsername(String username)RemoteAccessSpecificationsshKey(String sshKey)StringtoString()RemoteAccessSpecificationusername(String username)
-
Constructor Details
-
RemoteAccessSpecification
public RemoteAccessSpecification()
-
-
Method Details
-
password
-
getPassword
Remote access password for the Azure machine.- Returns:
- password
-
setPassword
-
sshKey
-
getSshKey
In key pair authentication, the public key on the provisioned machine. Users are expected to log in with their private key and a default username from the cloud provider. An AWS Ubuntu image comes with default user ubuntu, and Azure comes with default user azureuser. To log in by SSH: `ssh -i <private-key-path> ubuntu@52.90.80.153` `ssh -i <private-key-path> azureuser@40.76.14.255`- Returns:
- sshKey
-
setSshKey
-
keyPair
-
getKeyPair
Key Pair Name.- Returns:
- keyPair
-
setKeyPair
-
authentication
-
getAuthentication
One of four authentication types. `generatedPublicPrivateKey`: The provisioned machine generates the public/private key pair and enables SSH to use them without user input. `publicPrivateKey`: The user enters the private key in the SSH command. See remoteAccess.sshKey. `usernamePassword`: The user enters a username and password for remote access. `keyPairName`: The user enters an already existing keyPair name. See remoteAccess.keyPair- Returns:
- authentication
-
setAuthentication
-
username
-
getUsername
Remote access username for the Azure machine.- Returns:
- username
-
setUsername
-
equals
-
hashCode
public int hashCode() -
toString
-