NetworkInterfaceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. devtestlabs. models. NetworkInterfaceProperties
- com.
public final class NetworkInterfaceProperties
Properties of a network interface.
Constructor Summary
Constructor | Description |
---|---|
NetworkInterfaceProperties() |
Creates an instance of Network |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
dnsName()
Get the dns |
String |
privateIpAddress()
Get the private |
String |
publicIpAddress()
Get the public |
String |
publicIpAddressId()
Get the public |
String |
rdpAuthority()
Get the rdp |
Shared |
sharedPublicIpAddressConfiguration()
Get the shared |
String |
sshAuthority()
Get the ssh |
String |
subnetId()
Get the subnet |
void |
validate()
Validates the instance. |
String |
virtualNetworkId()
Get the virtual |
Network |
withDnsName(String dnsName)
Set the dns |
Network |
withPrivateIpAddress(String privateIpAddress)
Set the private |
Network |
withPublicIpAddress(String publicIpAddress)
Set the public |
Network |
withPublicIpAddressId(String publicIpAddressId)
Set the public |
Network |
withRdpAuthority(String rdpAuthority)
Set the rdp |
Network |
withSharedPublicIpAddressConfiguration(SharedPublicIpAddressConfiguration sharedPublicIpAddressConfiguration)
Set the shared |
Network |
withSshAuthority(String sshAuthority)
Set the ssh |
Network |
withSubnetId(String subnetId)
Set the subnet |
Network |
withVirtualNetworkId(String virtualNetworkId)
Set the virtual |
Methods inherited from java.lang.Object
Constructor Details
NetworkInterfaceProperties
public NetworkInterfaceProperties()
Creates an instance of NetworkInterfaceProperties class.
Method Details
dnsName
public String dnsName()
Get the dnsName property: The DNS name.
Returns:
privateIpAddress
public String privateIpAddress()
Get the privateIpAddress property: The private IP address.
Returns:
publicIpAddress
public String publicIpAddress()
Get the publicIpAddress property: The public IP address.
Returns:
publicIpAddressId
public String publicIpAddressId()
Get the publicIpAddressId property: The resource ID of the public IP address.
Returns:
rdpAuthority
public String rdpAuthority()
Get the rdpAuthority property: The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).
Returns:
sharedPublicIpAddressConfiguration
public SharedPublicIpAddressConfiguration sharedPublicIpAddressConfiguration()
Get the sharedPublicIpAddressConfiguration property: The configuration for sharing a public IP address across multiple virtual machines.
Returns:
sshAuthority
public String sshAuthority()
Get the sshAuthority property: The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.
Returns:
subnetId
public String subnetId()
Get the subnetId property: The resource ID of the sub net.
Returns:
validate
public void validate()
Validates the instance.
virtualNetworkId
public String virtualNetworkId()
Get the virtualNetworkId property: The resource ID of the virtual network.
Returns:
withDnsName
public NetworkInterfaceProperties withDnsName(String dnsName)
Set the dnsName property: The DNS name.
Parameters:
Returns:
withPrivateIpAddress
public NetworkInterfaceProperties withPrivateIpAddress(String privateIpAddress)
Set the privateIpAddress property: The private IP address.
Parameters:
Returns:
withPublicIpAddress
public NetworkInterfaceProperties withPublicIpAddress(String publicIpAddress)
Set the publicIpAddress property: The public IP address.
Parameters:
Returns:
withPublicIpAddressId
public NetworkInterfaceProperties withPublicIpAddressId(String publicIpAddressId)
Set the publicIpAddressId property: The resource ID of the public IP address.
Parameters:
Returns:
withRdpAuthority
public NetworkInterfaceProperties withRdpAuthority(String rdpAuthority)
Set the rdpAuthority property: The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).
Parameters:
Returns:
withSharedPublicIpAddressConfiguration
public NetworkInterfaceProperties withSharedPublicIpAddressConfiguration(SharedPublicIpAddressConfiguration sharedPublicIpAddressConfiguration)
Set the sharedPublicIpAddressConfiguration property: The configuration for sharing a public IP address across multiple virtual machines.
Parameters:
Returns:
withSshAuthority
public NetworkInterfaceProperties withSshAuthority(String sshAuthority)
Set the sshAuthority property: The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.
Parameters:
Returns:
withSubnetId
public NetworkInterfaceProperties withSubnetId(String subnetId)
Set the subnetId property: The resource ID of the sub net.
Parameters:
Returns:
withVirtualNetworkId
public NetworkInterfaceProperties withVirtualNetworkId(String virtualNetworkId)
Set the virtualNetworkId property: The resource ID of the virtual network.
Parameters:
Returns:
Applies to
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