Class NetworkInterfaceProperties

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

public final class NetworkInterfaceProperties extends Object
Properties of a network interface.
  • Constructor Details

    • NetworkInterfaceProperties

      public NetworkInterfaceProperties()
      Creates an instance of NetworkInterfaceProperties class.
  • Method Details

    • virtualNetworkId

      public String virtualNetworkId()
      Get the virtualNetworkId property: The resource ID of the virtual network.
      Returns:
      the virtualNetworkId value.
    • 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.
    • subnetId

      public String subnetId()
      Get the subnetId property: The resource ID of the sub net.
      Returns:
      the subnetId value.
    • 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.
    • publicIpAddressId

      public String publicIpAddressId()
      Get the publicIpAddressId property: The resource ID of the public IP address.
      Returns:
      the publicIpAddressId value.
    • 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.
    • publicIpAddress

      public String publicIpAddress()
      Get the publicIpAddress property: The public IP address.
      Returns:
      the publicIpAddress value.
    • 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.
    • privateIpAddress

      public String privateIpAddress()
      Get the privateIpAddress property: The private IP address.
      Returns:
      the privateIpAddress value.
    • 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.
    • dnsName

      public String dnsName()
      Get the dnsName property: The DNS name.
      Returns:
      the dnsName 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • sharedPublicIpAddressConfiguration

      public SharedPublicIpAddressConfiguration sharedPublicIpAddressConfiguration()
      Get the sharedPublicIpAddressConfiguration property: The configuration for sharing a public IP address across multiple virtual machines.
      Returns:
      the sharedPublicIpAddressConfiguration value.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.