Interface TestLines
public interface TestLines
Resource collection API of TestLines.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new TestLine resource.void
Delete a TestLine.void
delete
(String resourceGroupName, String communicationsGatewayName, String testLineName, com.azure.core.util.Context context) Delete a TestLine.void
deleteById
(String id) Delete a TestLine.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete a TestLine.Get a TestLine.Get a TestLine.com.azure.core.http.rest.Response<TestLine>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get a TestLine.com.azure.core.http.rest.Response<TestLine>
getWithResponse
(String resourceGroupName, String communicationsGatewayName, String testLineName, com.azure.core.util.Context context) Get a TestLine.com.azure.core.http.rest.PagedIterable<TestLine>
listByCommunicationsGateway
(String resourceGroupName, String communicationsGatewayName) List TestLine resources by CommunicationsGateway.com.azure.core.http.rest.PagedIterable<TestLine>
listByCommunicationsGateway
(String resourceGroupName, String communicationsGatewayName, com.azure.core.util.Context context) List TestLine resources by CommunicationsGateway.
-
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
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
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
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
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
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.
-