NetworkInterface Class
- java.
lang. Object - com.
microsoft. azure. management. labservices. v2018_10_15.NetworkInterface
- com.
public class NetworkInterface
Network details of the environment.
Constructor Summary
Constructor | Description | |
---|---|---|
NetworkInterface() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
privateIpAddress()
Get private |
java.lang.String |
rdpAuthority()
Get connection information for Windows. |
java.lang.String |
sshAuthority()
Get connection information for Linux. |
java.lang.String |
username()
Get username of the VM. |
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.toString
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Constructor Details
NetworkInterface
public NetworkInterface()
Method Details
privateIpAddress
public String privateIpAddress()
Get privateIp address of the Compute VM.
Returns:
the privateIpAddress value
rdpAuthority
public String rdpAuthority()
Get connection information for Windows.
Returns:
the rdpAuthority value
sshAuthority
public String sshAuthority()
Get connection information for Linux.
Returns:
the sshAuthority value
username
public String username()
Get username of the VM.
Returns:
the username value
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for