Class NetworkProperties

java.lang.Object
com.azure.resourcemanager.devcenter.fluent.models.NetworkConnectionUpdateProperties
com.azure.resourcemanager.devcenter.fluent.models.NetworkProperties

public final class NetworkProperties extends NetworkConnectionUpdateProperties
Network properties.
  • Constructor Details

    • NetworkProperties

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

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the resource.
      Returns:
      the provisioningState value.
    • healthCheckStatus

      public HealthCheckStatus healthCheckStatus()
      Get the healthCheckStatus property: Overall health status of the network connection. Health checks are run on creation, update, and periodically to validate the network connection.
      Returns:
      the healthCheckStatus value.
    • networkingResourceGroupName

      public String networkingResourceGroupName()
      Get the networkingResourceGroupName property: The name for resource group where NICs will be placed.
      Returns:
      the networkingResourceGroupName value.
    • withNetworkingResourceGroupName

      public NetworkProperties withNetworkingResourceGroupName(String networkingResourceGroupName)
      Set the networkingResourceGroupName property: The name for resource group where NICs will be placed.
      Parameters:
      networkingResourceGroupName - the networkingResourceGroupName value to set.
      Returns:
      the NetworkProperties object itself.
    • domainJoinType

      public DomainJoinType domainJoinType()
      Get the domainJoinType property: AAD Join type.
      Returns:
      the domainJoinType value.
    • withDomainJoinType

      public NetworkProperties withDomainJoinType(DomainJoinType domainJoinType)
      Set the domainJoinType property: AAD Join type.
      Parameters:
      domainJoinType - the domainJoinType value to set.
      Returns:
      the NetworkProperties object itself.
    • withSubnetId

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

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

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

      public NetworkProperties 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.
      Overrides:
      withDomainUsername in class NetworkConnectionUpdateProperties
      Parameters:
      domainUsername - the domainUsername value to set.
      Returns:
      the NetworkConnectionUpdateProperties object itself.
    • withDomainPassword

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

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