Interface TrafficControllerInterfacesClient
public interface TrafficControllerInterfacesClient
An instance of this class provides access to all the operations defined in TrafficControllerInterfacesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TrafficControllerInner>,
TrafficControllerInner> beginCreateOrUpdate
(String resourceGroupName, String trafficControllerName, TrafficControllerInner resource) Create a TrafficController.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TrafficControllerInner>,
TrafficControllerInner> beginCreateOrUpdate
(String resourceGroupName, String trafficControllerName, TrafficControllerInner resource, com.azure.core.util.Context context) Create a TrafficController.beginDelete
(String resourceGroupName, String trafficControllerName) Delete a TrafficController.beginDelete
(String resourceGroupName, String trafficControllerName, com.azure.core.util.Context context) Delete a TrafficController.createOrUpdate
(String resourceGroupName, String trafficControllerName, TrafficControllerInner resource) Create a TrafficController.createOrUpdate
(String resourceGroupName, String trafficControllerName, TrafficControllerInner resource, com.azure.core.util.Context context) Create a TrafficController.void
Delete a TrafficController.void
Delete a TrafficController.getByResourceGroup
(String resourceGroupName, String trafficControllerName) Get a TrafficController.com.azure.core.http.rest.Response<TrafficControllerInner>
getByResourceGroupWithResponse
(String resourceGroupName, String trafficControllerName, com.azure.core.util.Context context) Get a TrafficController.com.azure.core.http.rest.PagedIterable<TrafficControllerInner>
list()
List TrafficController resources by subscription ID.com.azure.core.http.rest.PagedIterable<TrafficControllerInner>
list
(com.azure.core.util.Context context) List TrafficController resources by subscription ID.com.azure.core.http.rest.PagedIterable<TrafficControllerInner>
listByResourceGroup
(String resourceGroupName) List TrafficController resources by resource group.com.azure.core.http.rest.PagedIterable<TrafficControllerInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) List TrafficController resources by resource group.update
(String resourceGroupName, String trafficControllerName, TrafficControllerUpdate properties) Update a TrafficController.com.azure.core.http.rest.Response<TrafficControllerInner>
updateWithResponse
(String resourceGroupName, String trafficControllerName, TrafficControllerUpdate properties, com.azure.core.util.Context context) Update a TrafficController.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<TrafficControllerInner> list()List TrafficController resources by subscription ID.- Returns:
- the response of a TrafficController list operation as paginated response with
PagedIterable
. - Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<TrafficControllerInner> list(com.azure.core.util.Context context) List TrafficController resources by subscription ID.- Parameters:
context
- The context to associate with this operation.- Returns:
- the response of a TrafficController 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<TrafficControllerInner> listByResourceGroup(String resourceGroupName) List TrafficController resources by resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- the response of a TrafficController 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<TrafficControllerInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) List TrafficController resources by resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- the response of a TrafficController 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<TrafficControllerInner> getByResourceGroupWithResponse(String resourceGroupName, String trafficControllerName, com.azure.core.util.Context context) Get a 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:
- a TrafficController 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.
-
getByResourceGroup
Get a TrafficController.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.trafficControllerName
- traffic controller name for path.- Returns:
- a TrafficController.
- 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<TrafficControllerInner>,TrafficControllerInner> beginCreateOrUpdate(String resourceGroupName, String trafficControllerName, TrafficControllerInner resource) Create a TrafficController.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.trafficControllerName
- traffic controller name for path.resource
- Resource create parameters.- Returns:
- the
SyncPoller
for polling of concrete tracked resource types can be created by aliasing this type using a specific property type. - 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<TrafficControllerInner>,TrafficControllerInner> beginCreateOrUpdate(String resourceGroupName, String trafficControllerName, TrafficControllerInner resource, com.azure.core.util.Context context) Create a TrafficController.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.trafficControllerName
- traffic controller name for path.resource
- Resource create parameters.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of concrete tracked resource types can be created by aliasing this type using a specific property type. - 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
TrafficControllerInner createOrUpdate(String resourceGroupName, String trafficControllerName, TrafficControllerInner resource) Create a TrafficController.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.trafficControllerName
- traffic controller name for path.resource
- Resource create parameters.- Returns:
- concrete tracked resource types can be created by aliasing this type using a specific property type.
- 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
TrafficControllerInner createOrUpdate(String resourceGroupName, String trafficControllerName, TrafficControllerInner resource, com.azure.core.util.Context context) Create a TrafficController.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.trafficControllerName
- traffic controller name for path.resource
- Resource create parameters.context
- The context to associate with this operation.- Returns:
- concrete tracked resource types can be created by aliasing this type using a specific property type.
- 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<TrafficControllerInner> updateWithResponse(String resourceGroupName, String trafficControllerName, TrafficControllerUpdate properties, com.azure.core.util.Context context) Update a TrafficController.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.trafficControllerName
- traffic controller name for path.properties
- The resource properties to be updated.context
- The context to associate with this operation.- Returns:
- concrete tracked resource types can be created by aliasing this type using a specific property type 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
TrafficControllerInner update(String resourceGroupName, String trafficControllerName, TrafficControllerUpdate properties) Update a TrafficController.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.trafficControllerName
- traffic controller name for path.properties
- The resource properties to be updated.- Returns:
- concrete tracked resource types can be created by aliasing this type using a specific property type.
- 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) Delete a TrafficController.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.trafficControllerName
- traffic controller name for path.- 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, com.azure.core.util.Context context) Delete a 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
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 TrafficController.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.trafficControllerName
- traffic controller name for path.- 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, com.azure.core.util.Context context) Delete a 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.- 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.
-