Interface TestLines


public interface TestLines
Resource collection API of TestLines.
  • Method Details

    • listByCommunicationsGateway

      com.azure.core.http.rest.PagedIterable<TestLine> listByCommunicationsGateway(String resourceGroupName, String communicationsGatewayName)
      List TestLine resources by CommunicationsGateway.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      communicationsGatewayName - Unique identifier for this deployment.
      Returns:
      the response of a TestLine list operation as paginated response with PagedIterable.
      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.
    • listByCommunicationsGateway

      com.azure.core.http.rest.PagedIterable<TestLine> listByCommunicationsGateway(String resourceGroupName, String communicationsGatewayName, com.azure.core.util.Context context)
      List TestLine resources by CommunicationsGateway.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      communicationsGatewayName - Unique identifier for this deployment.
      context - The context to associate with this operation.
      Returns:
      the response of a TestLine list operation as paginated response with PagedIterable.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<TestLine> getWithResponse(String resourceGroupName, String communicationsGatewayName, String testLineName, com.azure.core.util.Context context)
      Get a TestLine.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      communicationsGatewayName - Unique identifier for this deployment.
      testLineName - Unique identifier for this test line.
      context - The context to associate with this operation.
      Returns:
      a TestLine along with Response.
      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.
    • get

      TestLine get(String resourceGroupName, String communicationsGatewayName, String testLineName)
      Get a TestLine.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      communicationsGatewayName - Unique identifier for this deployment.
      testLineName - Unique identifier for this test line.
      Returns:
      a TestLine.
      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.
    • delete

      void delete(String resourceGroupName, String communicationsGatewayName, String testLineName)
      Delete a TestLine.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      communicationsGatewayName - Unique identifier for this deployment.
      testLineName - Unique identifier for this test line.
      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.
    • delete

      void delete(String resourceGroupName, String communicationsGatewayName, String testLineName, com.azure.core.util.Context context)
      Delete a TestLine.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      communicationsGatewayName - Unique identifier for this deployment.
      testLineName - Unique identifier for this test line.
      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.
    • getById

      TestLine getById(String id)
      Get a TestLine.
      Parameters:
      id - the resource ID.
      Returns:
      a TestLine along with Response.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<TestLine> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Get a TestLine.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      a TestLine along with Response.
      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.
    • deleteById

      void deleteById(String id)
      Delete a TestLine.
      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Delete a TestLine.
      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new TestLine resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new TestLine definition.