Interface TestLinesClient
public interface TestLinesClient
An instance of this class provides access to all the operations defined in TestLinesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TestLineInner>,
TestLineInner> beginCreateOrUpdate
(String resourceGroupName, String communicationsGatewayName, String testLineName, TestLineInner resource) Create a TestLine.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TestLineInner>,
TestLineInner> beginCreateOrUpdate
(String resourceGroupName, String communicationsGatewayName, String testLineName, TestLineInner resource, com.azure.core.util.Context context) Create a TestLine.beginDelete
(String resourceGroupName, String communicationsGatewayName, String testLineName) Delete a TestLine.beginDelete
(String resourceGroupName, String communicationsGatewayName, String testLineName, com.azure.core.util.Context context) Delete a TestLine.createOrUpdate
(String resourceGroupName, String communicationsGatewayName, String testLineName, TestLineInner resource) Create a TestLine.createOrUpdate
(String resourceGroupName, String communicationsGatewayName, String testLineName, TestLineInner resource, com.azure.core.util.Context context) Create a TestLine.void
Delete a TestLine.void
delete
(String resourceGroupName, String communicationsGatewayName, String testLineName, com.azure.core.util.Context context) Delete a TestLine.Get a TestLine.com.azure.core.http.rest.Response<TestLineInner>
getWithResponse
(String resourceGroupName, String communicationsGatewayName, String testLineName, com.azure.core.util.Context context) Get a TestLine.com.azure.core.http.rest.PagedIterable<TestLineInner>
listByCommunicationsGateway
(String resourceGroupName, String communicationsGatewayName) List TestLine resources by CommunicationsGateway.com.azure.core.http.rest.PagedIterable<TestLineInner>
listByCommunicationsGateway
(String resourceGroupName, String communicationsGatewayName, com.azure.core.util.Context context) List TestLine resources by CommunicationsGateway.update
(String resourceGroupName, String communicationsGatewayName, String testLineName, TestLineUpdate properties) Update a TestLine.com.azure.core.http.rest.Response<TestLineInner>
updateWithResponse
(String resourceGroupName, String communicationsGatewayName, String testLineName, TestLineUpdate properties, com.azure.core.util.Context context) Update a TestLine.
-
Method Details
-
listByCommunicationsGateway
com.azure.core.http.rest.PagedIterable<TestLineInner> 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<TestLineInner> 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<TestLineInner> 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TestLineInner>,TestLineInner> beginCreateOrUpdate(String resourceGroupName, String communicationsGatewayName, String testLineName, TestLineInner resource) Create 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.resource
- Resource create parameters.- Returns:
- the
SyncPoller
for polling of a TestLine resource. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TestLineInner>,TestLineInner> beginCreateOrUpdate(String resourceGroupName, String communicationsGatewayName, String testLineName, TestLineInner resource, com.azure.core.util.Context context) Create 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.resource
- Resource create parameters.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of a TestLine resource. - 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.
-
createOrUpdate
TestLineInner createOrUpdate(String resourceGroupName, String communicationsGatewayName, String testLineName, TestLineInner resource) Create 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.resource
- Resource create parameters.- Returns:
- a TestLine resource.
- 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.
-
createOrUpdate
TestLineInner createOrUpdate(String resourceGroupName, String communicationsGatewayName, String testLineName, TestLineInner resource, com.azure.core.util.Context context) Create 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.resource
- Resource create parameters.context
- The context to associate with this operation.- Returns:
- a TestLine resource.
- 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
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.
-
updateWithResponse
com.azure.core.http.rest.Response<TestLineInner> updateWithResponse(String resourceGroupName, String communicationsGatewayName, String testLineName, TestLineUpdate properties, com.azure.core.util.Context context) Update 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.properties
- The resource properties to be updated.context
- The context to associate with this operation.- Returns:
- a TestLine resource 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.
-
update
TestLineInner update(String resourceGroupName, String communicationsGatewayName, String testLineName, TestLineUpdate properties) Update 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.properties
- The resource properties to be updated.- Returns:
- a TestLine resource.
- 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.
-