Class NetworkConnectionUpdateProperties

java.lang.Object
com.azure.resourcemanager.devcenter.fluent.models.NetworkConnectionUpdateProperties
Direct Known Subclasses:
NetworkProperties

public class NetworkConnectionUpdateProperties extends Object
Properties of network connection. These properties can be updated after the resource has been created.
  • Constructor Details

    • NetworkConnectionUpdateProperties

      public NetworkConnectionUpdateProperties()
  • Method Details

    • subnetId

      public String subnetId()
      Get the subnetId property: The subnet to attach Virtual Machines to.
      Returns:
      the subnetId value.
    • withSubnetId

      public NetworkConnectionUpdateProperties withSubnetId(String subnetId)
      Set the subnetId property: The subnet to attach Virtual Machines to.
      Parameters:
      subnetId - the subnetId value to set.
      Returns:
      the NetworkConnectionUpdateProperties object itself.
    • domainName

      public String domainName()
      Get the domainName property: Active Directory domain name.
      Returns:
      the domainName value.
    • withDomainName

      public NetworkConnectionUpdateProperties withDomainName(String domainName)
      Set the domainName property: Active Directory domain name.
      Parameters:
      domainName - the domainName value to set.
      Returns:
      the NetworkConnectionUpdateProperties object itself.
    • organizationUnit

      public String organizationUnit()
      Get the organizationUnit property: Active Directory domain Organization Unit (OU).
      Returns:
      the organizationUnit value.
    • withOrganizationUnit

      public NetworkConnectionUpdateProperties withOrganizationUnit(String organizationUnit)
      Set the organizationUnit property: Active Directory domain Organization Unit (OU).
      Parameters:
      organizationUnit - the organizationUnit value to set.
      Returns:
      the NetworkConnectionUpdateProperties object itself.
    • domainUsername

      public String domainUsername()
      Get the domainUsername property: The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com.
      Returns:
      the domainUsername value.
    • withDomainUsername

      public NetworkConnectionUpdateProperties withDomainUsername(String domainUsername)
      Set the domainUsername property: The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com.
      Parameters:
      domainUsername - the domainUsername value to set.
      Returns:
      the NetworkConnectionUpdateProperties object itself.
    • domainPassword

      public String domainPassword()
      Get the domainPassword property: The password for the account used to join domain.
      Returns:
      the domainPassword value.
    • withDomainPassword

      public NetworkConnectionUpdateProperties withDomainPassword(String domainPassword)
      Set the domainPassword property: The password for the account used to join domain.
      Parameters:
      domainPassword - the domainPassword value to set.
      Returns:
      the NetworkConnectionUpdateProperties object itself.
    • validate

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