Class NetworkProfile

java.lang.Object
com.azure.resourcemanager.batch.models.NetworkProfile

public final class NetworkProfile extends Object
Network profile for Batch account, which contains network rule settings for each endpoint.
  • Constructor Details

    • NetworkProfile

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

    • accountAccess

      public EndpointAccessProfile accountAccess()
      Get the accountAccess property: Network access profile for batchAccount endpoint (Batch account data plane API).
      Returns:
      the accountAccess value.
    • withAccountAccess

      public NetworkProfile withAccountAccess(EndpointAccessProfile accountAccess)
      Set the accountAccess property: Network access profile for batchAccount endpoint (Batch account data plane API).
      Parameters:
      accountAccess - the accountAccess value to set.
      Returns:
      the NetworkProfile object itself.
    • nodeManagementAccess

      public EndpointAccessProfile nodeManagementAccess()
      Get the nodeManagementAccess property: Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).
      Returns:
      the nodeManagementAccess value.
    • withNodeManagementAccess

      public NetworkProfile withNodeManagementAccess(EndpointAccessProfile nodeManagementAccess)
      Set the nodeManagementAccess property: Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).
      Parameters:
      nodeManagementAccess - the nodeManagementAccess value to set.
      Returns:
      the NetworkProfile object itself.
    • validate

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