Class ConnectionProfile
java.lang.Object
com.azure.resourcemanager.labservices.models.ConnectionProfile
Connection profile for how users connect to lab virtual machines.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the clientRdpAccess property: The enabled access level for Client Access over RDP.Get the clientSshAccess property: The enabled access level for Client Access over SSH.void
validate()
Validates the instance.Get the webRdpAccess property: The enabled access level for Web Access over RDP.Get the webSshAccess property: The enabled access level for Web Access over SSH.withClientRdpAccess
(ConnectionType clientRdpAccess) Set the clientRdpAccess property: The enabled access level for Client Access over RDP.withClientSshAccess
(ConnectionType clientSshAccess) Set the clientSshAccess property: The enabled access level for Client Access over SSH.withWebRdpAccess
(ConnectionType webRdpAccess) Set the webRdpAccess property: The enabled access level for Web Access over RDP.withWebSshAccess
(ConnectionType webSshAccess) Set the webSshAccess property: The enabled access level for Web Access over SSH.
-
Constructor Details
-
ConnectionProfile
public ConnectionProfile()
-
-
Method Details
-
webSshAccess
Get the webSshAccess property: The enabled access level for Web Access over SSH.- Returns:
- the webSshAccess value.
-
withWebSshAccess
Set the webSshAccess property: The enabled access level for Web Access over SSH.- Parameters:
webSshAccess
- the webSshAccess value to set.- Returns:
- the ConnectionProfile object itself.
-
webRdpAccess
Get the webRdpAccess property: The enabled access level for Web Access over RDP.- Returns:
- the webRdpAccess value.
-
withWebRdpAccess
Set the webRdpAccess property: The enabled access level for Web Access over RDP.- Parameters:
webRdpAccess
- the webRdpAccess value to set.- Returns:
- the ConnectionProfile object itself.
-
clientSshAccess
Get the clientSshAccess property: The enabled access level for Client Access over SSH.- Returns:
- the clientSshAccess value.
-
withClientSshAccess
Set the clientSshAccess property: The enabled access level for Client Access over SSH.- Parameters:
clientSshAccess
- the clientSshAccess value to set.- Returns:
- the ConnectionProfile object itself.
-
clientRdpAccess
Get the clientRdpAccess property: The enabled access level for Client Access over RDP.- Returns:
- the clientRdpAccess value.
-
withClientRdpAccess
Set the clientRdpAccess property: The enabled access level for Client Access over RDP.- Parameters:
clientRdpAccess
- the clientRdpAccess value to set.- Returns:
- the ConnectionProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-