Class NetworkConnectionInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.devcenter.fluent.models.NetworkConnectionInner

public final class NetworkConnectionInner extends com.azure.core.management.Resource
Network related settings.
  • Constructor Details

    • NetworkConnectionInner

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

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • withLocation

      public NetworkConnectionInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public NetworkConnectionInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • 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 NetworkConnectionInner 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 NetworkConnectionInner object itself.
    • domainJoinType

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

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

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

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

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

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

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

      public NetworkConnectionInner withOrganizationUnit(String organizationUnit)
      Set the organizationUnit property: Active Directory domain Organization Unit (OU).
      Parameters:
      organizationUnit - the organizationUnit value to set.
      Returns:
      the NetworkConnectionInner 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 NetworkConnectionInner 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 NetworkConnectionInner 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 NetworkConnectionInner 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 NetworkConnectionInner object itself.
    • validate

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