Interface AssociationsInterfaces
public interface AssociationsInterfaces
Resource collection API of AssociationsInterfaces.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new Association resource.void
Delete a Traffic Controller Association.void
delete
(String resourceGroupName, String trafficControllerName, String associationName, com.azure.core.util.Context context) Delete a Traffic Controller Association.void
deleteById
(String id) Delete a Traffic Controller Association.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete a Traffic Controller Association.Get a Traffic Controller Association.Get a Traffic Controller Association.com.azure.core.http.rest.Response<Association>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get a Traffic Controller Association.com.azure.core.http.rest.Response<Association>
getWithResponse
(String resourceGroupName, String trafficControllerName, String associationName, com.azure.core.util.Context context) Get a Traffic Controller Association.com.azure.core.http.rest.PagedIterable<Association>
listByTrafficController
(String resourceGroupName, String trafficControllerName) List Association resources by TrafficController.com.azure.core.http.rest.PagedIterable<Association>
listByTrafficController
(String resourceGroupName, String trafficControllerName, com.azure.core.util.Context context) List Association resources by TrafficController.
-
Method Details
-
listByTrafficController
com.azure.core.http.rest.PagedIterable<Association> listByTrafficController(String resourceGroupName, String trafficControllerName) List Association resources by TrafficController.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.trafficControllerName
- traffic controller name for path.- Returns:
- the response of a Traffic Controller Association 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.
-
listByTrafficController
com.azure.core.http.rest.PagedIterable<Association> listByTrafficController(String resourceGroupName, String trafficControllerName, com.azure.core.util.Context context) List Association resources by TrafficController.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.trafficControllerName
- traffic controller name for path.context
- The context to associate with this operation.- Returns:
- the response of a Traffic Controller Association 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<Association> getWithResponse(String resourceGroupName, String trafficControllerName, String associationName, com.azure.core.util.Context context) Get a Traffic Controller Association.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.trafficControllerName
- traffic controller name for path.associationName
- Name of Association.context
- The context to associate with this operation.- Returns:
- a Traffic Controller Association 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 Traffic Controller Association.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.trafficControllerName
- traffic controller name for path.associationName
- Name of Association.- Returns:
- a Traffic Controller Association.
- 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 Traffic Controller Association.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.trafficControllerName
- traffic controller name for path.associationName
- Name of Association.- 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 trafficControllerName, String associationName, com.azure.core.util.Context context) Delete a Traffic Controller Association.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.trafficControllerName
- traffic controller name for path.associationName
- Name of Association.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 Traffic Controller Association.- Parameters:
id
- the resource ID.- Returns:
- a Traffic Controller Association 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<Association> getByIdWithResponse(String id, com.azure.core.util.Context context) Get a Traffic Controller Association.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- a Traffic Controller Association 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 Traffic Controller Association.- 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 Traffic Controller Association.- 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 Association resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new Association definition.
-