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 RemoteAccessSpecification
authentication(String authentication)
boolean
equals(Object o)
String
getAuthentication()
One of four authentication types.String
getKeyPair()
Key Pair Name.String
getPassword()
Remote access password for the Azure machine.String
getSshKey()
In key pair authentication, the public key on the provisioned machine.String
getUsername()
Remote access username for the Azure machine.int
hashCode()
RemoteAccessSpecification
keyPair(String keyPair)
RemoteAccessSpecification
password(String password)
void
setAuthentication(String authentication)
void
setKeyPair(String keyPair)
void
setPassword(String password)
void
setSshKey(String sshKey)
void
setUsername(String username)
RemoteAccessSpecification
sshKey(String sshKey)
String
toString()
RemoteAccessSpecification
username(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
-