Interface AzureTrafficCollectorsClient
public interface AzureTrafficCollectorsClient
An instance of this class provides access to all the operations defined in AzureTrafficCollectorsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AzureTrafficCollectorInner>,
AzureTrafficCollectorInner> beginCreateOrUpdate
(String resourceGroupName, String azureTrafficCollectorName, AzureTrafficCollectorInner parameters) Creates or updates a Azure Traffic Collector resource.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AzureTrafficCollectorInner>,
AzureTrafficCollectorInner> beginCreateOrUpdate
(String resourceGroupName, String azureTrafficCollectorName, AzureTrafficCollectorInner parameters, com.azure.core.util.Context context) Creates or updates a Azure Traffic Collector resource.beginDelete
(String resourceGroupName, String azureTrafficCollectorName) Deletes a specified Azure Traffic Collector resource.beginDelete
(String resourceGroupName, String azureTrafficCollectorName, com.azure.core.util.Context context) Deletes a specified Azure Traffic Collector resource.createOrUpdate
(String resourceGroupName, String azureTrafficCollectorName, AzureTrafficCollectorInner parameters) Creates or updates a Azure Traffic Collector resource.createOrUpdate
(String resourceGroupName, String azureTrafficCollectorName, AzureTrafficCollectorInner parameters, com.azure.core.util.Context context) Creates or updates a Azure Traffic Collector resource.void
Deletes a specified Azure Traffic Collector resource.void
delete
(String resourceGroupName, String azureTrafficCollectorName, com.azure.core.util.Context context) Deletes a specified Azure Traffic Collector resource.getByResourceGroup
(String resourceGroupName, String azureTrafficCollectorName) Gets the specified Azure Traffic Collector in a specified resource group.com.azure.core.http.rest.Response<AzureTrafficCollectorInner>
getByResourceGroupWithResponse
(String resourceGroupName, String azureTrafficCollectorName, com.azure.core.util.Context context) Gets the specified Azure Traffic Collector in a specified resource group.updateTags
(String resourceGroupName, String azureTrafficCollectorName, TagsObject parameters) Updates the specified Azure Traffic Collector tags.com.azure.core.http.rest.Response<AzureTrafficCollectorInner>
updateTagsWithResponse
(String resourceGroupName, String azureTrafficCollectorName, TagsObject parameters, com.azure.core.util.Context context) Updates the specified Azure Traffic Collector tags.
-
Method Details
-
getByResourceGroup
AzureTrafficCollectorInner getByResourceGroup(String resourceGroupName, String azureTrafficCollectorName) Gets the specified Azure Traffic Collector in a specified resource group.- Parameters:
resourceGroupName
- The name of the resource group.azureTrafficCollectorName
- Azure Traffic Collector name.- Returns:
- the specified Azure Traffic Collector in a specified resource group.
- 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<AzureTrafficCollectorInner> getByResourceGroupWithResponse(String resourceGroupName, String azureTrafficCollectorName, com.azure.core.util.Context context) Gets the specified Azure Traffic Collector in a specified resource group.- Parameters:
resourceGroupName
- The name of the resource group.azureTrafficCollectorName
- Azure Traffic Collector name.context
- The context to associate with this operation.- Returns:
- the specified Azure Traffic Collector in a specified resource group 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AzureTrafficCollectorInner>,AzureTrafficCollectorInner> beginCreateOrUpdate(String resourceGroupName, String azureTrafficCollectorName, AzureTrafficCollectorInner parameters) Creates or updates a Azure Traffic Collector resource.- Parameters:
resourceGroupName
- The name of the resource group.azureTrafficCollectorName
- Azure Traffic Collector name.parameters
- The parameters to provide for the created Azure Traffic Collector.- Returns:
- the
SyncPoller
for polling of azure Traffic Collector 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<AzureTrafficCollectorInner>,AzureTrafficCollectorInner> beginCreateOrUpdate(String resourceGroupName, String azureTrafficCollectorName, AzureTrafficCollectorInner parameters, com.azure.core.util.Context context) Creates or updates a Azure Traffic Collector resource.- Parameters:
resourceGroupName
- The name of the resource group.azureTrafficCollectorName
- Azure Traffic Collector name.parameters
- The parameters to provide for the created Azure Traffic Collector.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of azure Traffic Collector 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
AzureTrafficCollectorInner createOrUpdate(String resourceGroupName, String azureTrafficCollectorName, AzureTrafficCollectorInner parameters) Creates or updates a Azure Traffic Collector resource.- Parameters:
resourceGroupName
- The name of the resource group.azureTrafficCollectorName
- Azure Traffic Collector name.parameters
- The parameters to provide for the created Azure Traffic Collector.- Returns:
- azure Traffic Collector 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
AzureTrafficCollectorInner createOrUpdate(String resourceGroupName, String azureTrafficCollectorName, AzureTrafficCollectorInner parameters, com.azure.core.util.Context context) Creates or updates a Azure Traffic Collector resource.- Parameters:
resourceGroupName
- The name of the resource group.azureTrafficCollectorName
- Azure Traffic Collector name.parameters
- The parameters to provide for the created Azure Traffic Collector.context
- The context to associate with this operation.- Returns:
- azure Traffic Collector 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 azureTrafficCollectorName) Deletes a specified Azure Traffic Collector resource.- Parameters:
resourceGroupName
- The name of the resource group.azureTrafficCollectorName
- Azure Traffic Collector name.- 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 azureTrafficCollectorName, com.azure.core.util.Context context) Deletes a specified Azure Traffic Collector resource.- Parameters:
resourceGroupName
- The name of the resource group.azureTrafficCollectorName
- Azure Traffic Collector name.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
Deletes a specified Azure Traffic Collector resource.- Parameters:
resourceGroupName
- The name of the resource group.azureTrafficCollectorName
- Azure Traffic Collector name.- 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 azureTrafficCollectorName, com.azure.core.util.Context context) Deletes a specified Azure Traffic Collector resource.- Parameters:
resourceGroupName
- The name of the resource group.azureTrafficCollectorName
- Azure Traffic Collector name.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.
-
updateTags
AzureTrafficCollectorInner updateTags(String resourceGroupName, String azureTrafficCollectorName, TagsObject parameters) Updates the specified Azure Traffic Collector tags.- Parameters:
resourceGroupName
- The name of the resource group.azureTrafficCollectorName
- Azure Traffic Collector name.parameters
- Parameters supplied to update Azure Traffic Collector tags.- Returns:
- azure Traffic Collector 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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<AzureTrafficCollectorInner> updateTagsWithResponse(String resourceGroupName, String azureTrafficCollectorName, TagsObject parameters, com.azure.core.util.Context context) Updates the specified Azure Traffic Collector tags.- Parameters:
resourceGroupName
- The name of the resource group.azureTrafficCollectorName
- Azure Traffic Collector name.parameters
- Parameters supplied to update Azure Traffic Collector tags.context
- The context to associate with this operation.- Returns:
- azure Traffic Collector 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.
-