NetworkInterfaceProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.devtestlabs.models.NetworkInterfaceProperties

public final class NetworkInterfaceProperties

Properties of a network interface.

Constructor Summary

Constructor Description
NetworkInterfaceProperties()

Creates an instance of NetworkInterfaceProperties class.

Method Summary

Modifier and Type Method and Description
String dnsName()

Get the dnsName property: The DNS name.

String privateIpAddress()

Get the privateIpAddress property: The private IP address.

String publicIpAddress()

Get the publicIpAddress property: The public IP address.

String publicIpAddressId()

Get the publicIpAddressId property: The resource ID of the public IP address.

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).

SharedPublicIpAddressConfiguration sharedPublicIpAddressConfiguration()

Get the sharedPublicIpAddressConfiguration property: The configuration for sharing a public IP address across multiple virtual machines.

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.

String subnetId()

Get the subnetId property: The resource ID of the sub net.

void validate()

Validates the instance.

String virtualNetworkId()

Get the virtualNetworkId property: The resource ID of the virtual network.

NetworkInterfaceProperties withDnsName(String dnsName)

Set the dnsName property: The DNS name.

NetworkInterfaceProperties withPrivateIpAddress(String privateIpAddress)

Set the privateIpAddress property: The private IP address.

NetworkInterfaceProperties withPublicIpAddress(String publicIpAddress)

Set the publicIpAddress property: The public IP address.

NetworkInterfaceProperties withPublicIpAddressId(String publicIpAddressId)

Set the publicIpAddressId property: The resource ID of the public IP address.

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).

NetworkInterfaceProperties withSharedPublicIpAddressConfiguration(SharedPublicIpAddressConfiguration sharedPublicIpAddressConfiguration)

Set the sharedPublicIpAddressConfiguration property: The configuration for sharing a public IP address across multiple virtual machines.

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.

NetworkInterfaceProperties withSubnetId(String subnetId)

Set the subnetId property: The resource ID of the sub net.

NetworkInterfaceProperties withVirtualNetworkId(String virtualNetworkId)

Set the virtualNetworkId property: The resource ID of the virtual network.

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:

the dnsName value.

privateIpAddress

public String privateIpAddress()

Get the privateIpAddress property: The private IP address.

Returns:

the privateIpAddress value.

publicIpAddress

public String publicIpAddress()

Get the publicIpAddress property: The public IP address.

Returns:

the publicIpAddress value.

publicIpAddressId

public String publicIpAddressId()

Get the publicIpAddressId property: The resource ID of the public IP address.

Returns:

the publicIpAddressId value.

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:

the rdpAuthority value.

sharedPublicIpAddressConfiguration

public SharedPublicIpAddressConfiguration sharedPublicIpAddressConfiguration()

Get the sharedPublicIpAddressConfiguration property: The configuration for sharing a public IP address across multiple virtual machines.

Returns:

the sharedPublicIpAddressConfiguration value.

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:

the sshAuthority value.

subnetId

public String subnetId()

Get the subnetId property: The resource ID of the sub net.

Returns:

the subnetId value.

validate

public void validate()

Validates the instance.

virtualNetworkId

public String virtualNetworkId()

Get the virtualNetworkId property: The resource ID of the virtual network.

Returns:

the virtualNetworkId value.

withDnsName

public NetworkInterfaceProperties withDnsName(String dnsName)

Set the dnsName property: The DNS name.

Parameters:

dnsName - the dnsName value to set.

Returns:

the NetworkInterfaceProperties object itself.

withPrivateIpAddress

public NetworkInterfaceProperties withPrivateIpAddress(String privateIpAddress)

Set the privateIpAddress property: The private IP address.

Parameters:

privateIpAddress - the privateIpAddress value to set.

Returns:

the NetworkInterfaceProperties object itself.

withPublicIpAddress

public NetworkInterfaceProperties withPublicIpAddress(String publicIpAddress)

Set the publicIpAddress property: The public IP address.

Parameters:

publicIpAddress - the publicIpAddress value to set.

Returns:

the NetworkInterfaceProperties object itself.

withPublicIpAddressId

public NetworkInterfaceProperties withPublicIpAddressId(String publicIpAddressId)

Set the publicIpAddressId property: The resource ID of the public IP address.

Parameters:

publicIpAddressId - the publicIpAddressId value to set.

Returns:

the NetworkInterfaceProperties object itself.

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:

rdpAuthority - the rdpAuthority value to set.

Returns:

the NetworkInterfaceProperties object itself.

withSharedPublicIpAddressConfiguration

public NetworkInterfaceProperties withSharedPublicIpAddressConfiguration(SharedPublicIpAddressConfiguration sharedPublicIpAddressConfiguration)

Set the sharedPublicIpAddressConfiguration property: The configuration for sharing a public IP address across multiple virtual machines.

Parameters:

sharedPublicIpAddressConfiguration - the sharedPublicIpAddressConfiguration value to set.

Returns:

the NetworkInterfaceProperties object itself.

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:

sshAuthority - the sshAuthority value to set.

Returns:

the NetworkInterfaceProperties object itself.

withSubnetId

public NetworkInterfaceProperties withSubnetId(String subnetId)

Set the subnetId property: The resource ID of the sub net.

Parameters:

subnetId - the subnetId value to set.

Returns:

the NetworkInterfaceProperties object itself.

withVirtualNetworkId

public NetworkInterfaceProperties withVirtualNetworkId(String virtualNetworkId)

Set the virtualNetworkId property: The resource ID of the virtual network.

Parameters:

virtualNetworkId - the virtualNetworkId value to set.

Returns:

the NetworkInterfaceProperties object itself.

Applies to