Interface AssociationsInterfacesClient
public interface AssociationsInterfacesClient
An instance of this class provides access to all the operations defined in AssociationsInterfacesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AssociationInner>,
AssociationInner> beginCreateOrUpdate
(String resourceGroupName, String trafficControllerName, String associationName, AssociationInner resource) Create a Traffic Controller Association.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AssociationInner>,
AssociationInner> beginCreateOrUpdate
(String resourceGroupName, String trafficControllerName, String associationName, AssociationInner resource, com.azure.core.util.Context context) Create a Traffic Controller Association.beginDelete
(String resourceGroupName, String trafficControllerName, String associationName) Delete a Traffic Controller Association.beginDelete
(String resourceGroupName, String trafficControllerName, String associationName, com.azure.core.util.Context context) Delete a Traffic Controller Association.createOrUpdate
(String resourceGroupName, String trafficControllerName, String associationName, AssociationInner resource) Create a Traffic Controller Association.createOrUpdate
(String resourceGroupName, String trafficControllerName, String associationName, AssociationInner resource, com.azure.core.util.Context context) Create a Traffic Controller Association.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.Get a Traffic Controller Association.com.azure.core.http.rest.Response<AssociationInner>
getWithResponse
(String resourceGroupName, String trafficControllerName, String associationName, com.azure.core.util.Context context) Get a Traffic Controller Association.com.azure.core.http.rest.PagedIterable<AssociationInner>
listByTrafficController
(String resourceGroupName, String trafficControllerName) List Association resources by TrafficController.com.azure.core.http.rest.PagedIterable<AssociationInner>
listByTrafficController
(String resourceGroupName, String trafficControllerName, com.azure.core.util.Context context) List Association resources by TrafficController.update
(String resourceGroupName, String trafficControllerName, String associationName, AssociationUpdate properties) Update a Traffic Controller Association.com.azure.core.http.rest.Response<AssociationInner>
updateWithResponse
(String resourceGroupName, String trafficControllerName, String associationName, AssociationUpdate properties, com.azure.core.util.Context context) Update a Traffic Controller Association.
-
Method Details
-
listByTrafficController
com.azure.core.http.rest.PagedIterable<AssociationInner> 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<AssociationInner> 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<AssociationInner> 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
AssociationInner get(String resourceGroupName, String trafficControllerName, String associationName) 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AssociationInner>,AssociationInner> beginCreateOrUpdate(String resourceGroupName, String trafficControllerName, String associationName, AssociationInner resource) Create 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.resource
- Resource create parameters.- Returns:
- the
SyncPoller
for polling of association Subresource of Traffic Controller. - 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<AssociationInner>,AssociationInner> beginCreateOrUpdate(String resourceGroupName, String trafficControllerName, String associationName, AssociationInner resource, com.azure.core.util.Context context) Create 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.resource
- Resource create parameters.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of association Subresource of Traffic Controller. - 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
AssociationInner createOrUpdate(String resourceGroupName, String trafficControllerName, String associationName, AssociationInner resource) Create 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.resource
- Resource create parameters.- Returns:
- association Subresource of Traffic Controller.
- 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
AssociationInner createOrUpdate(String resourceGroupName, String trafficControllerName, String associationName, AssociationInner resource, com.azure.core.util.Context context) Create 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.resource
- Resource create parameters.context
- The context to associate with this operation.- Returns:
- association Subresource of Traffic Controller.
- 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<AssociationInner> updateWithResponse(String resourceGroupName, String trafficControllerName, String associationName, AssociationUpdate properties, com.azure.core.util.Context context) Update 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.properties
- The resource properties to be updated.context
- The context to associate with this operation.- Returns:
- association Subresource of Traffic Controller 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
AssociationInner update(String resourceGroupName, String trafficControllerName, String associationName, AssociationUpdate properties) Update 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.properties
- The resource properties to be updated.- Returns:
- association Subresource of Traffic Controller.
- 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 trafficControllerName, String associationName) 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.- 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 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.- 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 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.
-