Interface NetworkConnection


public interface NetworkConnection
An immutable client-side representation of NetworkConnection.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • location

      String location()
      Gets the location property: The geo-location where the resource lives.
      Returns:
      the location value.
    • tags

      Map<String,String> tags()
      Gets the tags property: Resource tags.
      Returns:
      the tags value.
    • systemData

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

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

      HealthCheckStatus healthCheckStatus()
      Gets 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

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

      DomainJoinType domainJoinType()
      Gets the domainJoinType property: AAD Join type.
      Returns:
      the domainJoinType value.
    • subnetId

      String subnetId()
      Gets the subnetId property: The subnet to attach Virtual Machines to.
      Returns:
      the subnetId value.
    • domainName

      String domainName()
      Gets the domainName property: Active Directory domain name.
      Returns:
      the domainName value.
    • organizationUnit

      String organizationUnit()
      Gets the organizationUnit property: Active Directory domain Organization Unit (OU).
      Returns:
      the organizationUnit value.
    • domainUsername

      String domainUsername()
      Gets 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.
    • domainPassword

      String domainPassword()
      Gets the domainPassword property: The password for the account used to join domain.
      Returns:
      the domainPassword value.
    • region

      com.azure.core.management.Region region()
      Gets the region of the resource.
      Returns:
      the region of the resource.
    • regionName

      String regionName()
      Gets the name of the resource region.
      Returns:
      the name of the resource region.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      Gets the inner com.azure.resourcemanager.devcenter.fluent.models.NetworkConnectionInner object.
      Returns:
      the inner object.
    • update

      Begins update for the NetworkConnection resource.
      Returns:
      the stage of resource update.
    • refresh

      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      NetworkConnection refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.
    • runHealthChecks

      void runHealthChecks()
      Triggers a new health check run. The execution and health check result can be tracked via the network Connection health check details.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • runHealthChecks

      void runHealthChecks(com.azure.core.util.Context context)
      Triggers a new health check run. The execution and health check result can be tracked via the network Connection health check details.
      Parameters:
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.