Class NetworkInterfaceProperties
java.lang.Object
com.azure.resourcemanager.devtestlabs.models.NetworkInterfaceProperties
Properties of a network interface.
-
Constructor Summary
ConstructorDescriptionCreates an instance of NetworkInterfaceProperties class. -
Method Summary
Modifier and TypeMethodDescriptiondnsName()
Get the dnsName property: The DNS name.Get the privateIpAddress property: The private IP address.Get the publicIpAddress property: The public IP address.Get the publicIpAddressId property: The resource ID of the public IP address.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).Get the sharedPublicIpAddressConfiguration property: The configuration for sharing a public IP address across multiple virtual machines.Get the sshAuthority property: The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.subnetId()
Get the subnetId property: The resource ID of the sub net.void
validate()
Validates the instance.Get the virtualNetworkId property: The resource ID of the virtual network.withDnsName
(String dnsName) Set the dnsName property: The DNS name.withPrivateIpAddress
(String privateIpAddress) Set the privateIpAddress property: The private IP address.withPublicIpAddress
(String publicIpAddress) Set the publicIpAddress property: The public IP address.withPublicIpAddressId
(String publicIpAddressId) Set the publicIpAddressId property: The resource ID of the public IP address.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).withSharedPublicIpAddressConfiguration
(SharedPublicIpAddressConfiguration sharedPublicIpAddressConfiguration) Set the sharedPublicIpAddressConfiguration property: The configuration for sharing a public IP address across multiple virtual machines.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.withSubnetId
(String subnetId) Set the subnetId property: The resource ID of the sub net.withVirtualNetworkId
(String virtualNetworkId) Set the virtualNetworkId property: The resource ID of the virtual network.
-
Constructor Details
-
NetworkInterfaceProperties
public NetworkInterfaceProperties()Creates an instance of NetworkInterfaceProperties class.
-
-
Method Details
-
virtualNetworkId
Get the virtualNetworkId property: The resource ID of the virtual network.- Returns:
- the virtualNetworkId value.
-
withVirtualNetworkId
Set the virtualNetworkId property: The resource ID of the virtual network.- Parameters:
virtualNetworkId
- the virtualNetworkId value to set.- Returns:
- the NetworkInterfaceProperties object itself.
-
subnetId
Get the subnetId property: The resource ID of the sub net.- Returns:
- the subnetId value.
-
withSubnetId
Set the subnetId property: The resource ID of the sub net.- Parameters:
subnetId
- the subnetId value to set.- Returns:
- the NetworkInterfaceProperties object itself.
-
publicIpAddressId
Get the publicIpAddressId property: The resource ID of the public IP address.- Returns:
- the publicIpAddressId value.
-
withPublicIpAddressId
Set the publicIpAddressId property: The resource ID of the public IP address.- Parameters:
publicIpAddressId
- the publicIpAddressId value to set.- Returns:
- the NetworkInterfaceProperties object itself.
-
publicIpAddress
Get the publicIpAddress property: The public IP address.- Returns:
- the publicIpAddress value.
-
withPublicIpAddress
Set the publicIpAddress property: The public IP address.- Parameters:
publicIpAddress
- the publicIpAddress value to set.- Returns:
- the NetworkInterfaceProperties object itself.
-
privateIpAddress
Get the privateIpAddress property: The private IP address.- Returns:
- the privateIpAddress value.
-
withPrivateIpAddress
Set the privateIpAddress property: The private IP address.- Parameters:
privateIpAddress
- the privateIpAddress value to set.- Returns:
- the NetworkInterfaceProperties object itself.
-
dnsName
Get the dnsName property: The DNS name.- Returns:
- the dnsName value.
-
withDnsName
Set the dnsName property: The DNS name.- Parameters:
dnsName
- the dnsName value to set.- Returns:
- the NetworkInterfaceProperties object itself.
-
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.
-
withRdpAuthority
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.
-
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.
-
withSshAuthority
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-