ConnectionProfile Class
- java.
lang. Object - com.
azure. resourcemanager. labservices. models. ConnectionProfile
- com.
Implements
public final class ConnectionProfile
implements JsonSerializable<ConnectionProfile>
Connection profile for how users connect to lab virtual machines.
Constructor Summary
| Constructor | Description |
|---|---|
| ConnectionProfile() |
Creates an instance of Connection |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Connection |
clientRdpAccess()
Get the client |
|
Connection |
clientSshAccess()
Get the client |
|
static
Connection |
fromJson(JsonReader jsonReader)
Reads an instance of Connection |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Connection |
webRdpAccess()
Get the web |
|
Connection |
webSshAccess()
Get the web |
|
Connection |
withClientRdpAccess(ConnectionType clientRdpAccess)
Set the client |
|
Connection |
withClientSshAccess(ConnectionType clientSshAccess)
Set the client |
|
Connection |
withWebRdpAccess(ConnectionType webRdpAccess)
Set the web |
|
Connection |
withWebSshAccess(ConnectionType webSshAccess)
Set the web |
Methods inherited from java.lang.Object
Constructor Details
ConnectionProfile
public ConnectionProfile()
Creates an instance of ConnectionProfile class.
Method Details
clientRdpAccess
public ConnectionType clientRdpAccess()
Get the clientRdpAccess property: The enabled access level for Client Access over RDP.
Returns:
clientSshAccess
public ConnectionType clientSshAccess()
Get the clientSshAccess property: The enabled access level for Client Access over SSH.
Returns:
fromJson
public static ConnectionProfile fromJson(JsonReader jsonReader)
Reads an instance of ConnectionProfile from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
webRdpAccess
public ConnectionType webRdpAccess()
Get the webRdpAccess property: The enabled access level for Web Access over RDP.
Returns:
webSshAccess
public ConnectionType webSshAccess()
Get the webSshAccess property: The enabled access level for Web Access over SSH.
Returns:
withClientRdpAccess
public ConnectionProfile withClientRdpAccess(ConnectionType clientRdpAccess)
Set the clientRdpAccess property: The enabled access level for Client Access over RDP.
Parameters:
Returns:
withClientSshAccess
public ConnectionProfile withClientSshAccess(ConnectionType clientSshAccess)
Set the clientSshAccess property: The enabled access level for Client Access over SSH.
Parameters:
Returns:
withWebRdpAccess
public ConnectionProfile withWebRdpAccess(ConnectionType webRdpAccess)
Set the webRdpAccess property: The enabled access level for Web Access over RDP.
Parameters:
Returns:
withWebSshAccess
public ConnectionProfile withWebSshAccess(ConnectionType webSshAccess)
Set the webSshAccess property: The enabled access level for Web Access over SSH.
Parameters:
Returns: