Interface DataCollectionEndpointsClient
-
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<DataCollectionEndpointResourceInner>,InnerSupportsListing<DataCollectionEndpointResourceInner>
public interface DataCollectionEndpointsClient extends InnerSupportsGet<DataCollectionEndpointResourceInner>, InnerSupportsListing<DataCollectionEndpointResourceInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in DataCollectionEndpointsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataCollectionEndpointResourceInnercreate(String resourceGroupName, String dataCollectionEndpointName)Creates or updates a data collection endpoint.Mono<DataCollectionEndpointResourceInner>createAsync(String resourceGroupName, String dataCollectionEndpointName)Creates or updates a data collection endpoint.Mono<DataCollectionEndpointResourceInner>createAsync(String resourceGroupName, String dataCollectionEndpointName, DataCollectionEndpointResourceInner body)Creates or updates a data collection endpoint.com.azure.core.http.rest.Response<DataCollectionEndpointResourceInner>createWithResponse(String resourceGroupName, String dataCollectionEndpointName, DataCollectionEndpointResourceInner body, com.azure.core.util.Context context)Creates or updates a data collection endpoint.Mono<com.azure.core.http.rest.Response<DataCollectionEndpointResourceInner>>createWithResponseAsync(String resourceGroupName, String dataCollectionEndpointName, DataCollectionEndpointResourceInner body)Creates or updates a data collection endpoint.voiddelete(String resourceGroupName, String dataCollectionEndpointName)Deletes a data collection endpoint.Mono<Void>deleteAsync(String resourceGroupName, String dataCollectionEndpointName)Deletes a data collection endpoint.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String dataCollectionEndpointName, com.azure.core.util.Context context)Deletes a data collection endpoint.Mono<com.azure.core.http.rest.Response<Void>>deleteWithResponseAsync(String resourceGroupName, String dataCollectionEndpointName)Deletes a data collection endpoint.DataCollectionEndpointResourceInnergetByResourceGroup(String resourceGroupName, String dataCollectionEndpointName)Returns the specified data collection endpoint.Mono<DataCollectionEndpointResourceInner>getByResourceGroupAsync(String resourceGroupName, String dataCollectionEndpointName)Returns the specified data collection endpoint.com.azure.core.http.rest.Response<DataCollectionEndpointResourceInner>getByResourceGroupWithResponse(String resourceGroupName, String dataCollectionEndpointName, com.azure.core.util.Context context)Returns the specified data collection endpoint.Mono<com.azure.core.http.rest.Response<DataCollectionEndpointResourceInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String dataCollectionEndpointName)Returns the specified data collection endpoint.com.azure.core.http.rest.PagedIterable<DataCollectionEndpointResourceInner>list()Lists all data collection endpoints in the specified subscription.com.azure.core.http.rest.PagedIterable<DataCollectionEndpointResourceInner>list(com.azure.core.util.Context context)Lists all data collection endpoints in the specified subscription.com.azure.core.http.rest.PagedFlux<DataCollectionEndpointResourceInner>listAsync()Lists all data collection endpoints in the specified subscription.com.azure.core.http.rest.PagedIterable<DataCollectionEndpointResourceInner>listByResourceGroup(String resourceGroupName)Lists all data collection endpoints in the specified resource group.com.azure.core.http.rest.PagedIterable<DataCollectionEndpointResourceInner>listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)Lists all data collection endpoints in the specified resource group.com.azure.core.http.rest.PagedFlux<DataCollectionEndpointResourceInner>listByResourceGroupAsync(String resourceGroupName)Lists all data collection endpoints in the specified resource group.DataCollectionEndpointResourceInnerupdate(String resourceGroupName, String dataCollectionEndpointName)Updates part of a data collection endpoint.Mono<DataCollectionEndpointResourceInner>updateAsync(String resourceGroupName, String dataCollectionEndpointName)Updates part of a data collection endpoint.Mono<DataCollectionEndpointResourceInner>updateAsync(String resourceGroupName, String dataCollectionEndpointName, Map<String,String> tags)Updates part of a data collection endpoint.com.azure.core.http.rest.Response<DataCollectionEndpointResourceInner>updateWithResponse(String resourceGroupName, String dataCollectionEndpointName, Map<String,String> tags, com.azure.core.util.Context context)Updates part of a data collection endpoint.Mono<com.azure.core.http.rest.Response<DataCollectionEndpointResourceInner>>updateWithResponseAsync(String resourceGroupName, String dataCollectionEndpointName, Map<String,String> tags)Updates part of a data collection endpoint.
-
-
-
Method Detail
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<DataCollectionEndpointResourceInner> listByResourceGroupAsync(String resourceGroupName)
Lists all data collection endpoints in the specified resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<DataCollectionEndpointResourceInner>- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.- Returns:
- a pageable list of resources.
- 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<DataCollectionEndpointResourceInner> listByResourceGroup(String resourceGroupName)
Lists all data collection endpoints in the specified resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<DataCollectionEndpointResourceInner>- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.- Returns:
- a pageable list of resources.
- 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<DataCollectionEndpointResourceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
Lists all data collection endpoints in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.context- The context to associate with this operation.- Returns:
- a pageable list of resources.
- 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<DataCollectionEndpointResourceInner> listAsync()
Lists all data collection endpoints in the specified subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<DataCollectionEndpointResourceInner>- Returns:
- a pageable list of resources.
- 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<DataCollectionEndpointResourceInner> list()
Lists all data collection endpoints in the specified subscription.- Specified by:
listin interfaceInnerSupportsListing<DataCollectionEndpointResourceInner>- Returns:
- a pageable list of resources.
- 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<DataCollectionEndpointResourceInner> list(com.azure.core.util.Context context)
Lists all data collection endpoints in the specified subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- a pageable list of resources.
- 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.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<DataCollectionEndpointResourceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String dataCollectionEndpointName)
Returns the specified data collection endpoint.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.dataCollectionEndpointName- The name of the data collection endpoint. The name is case insensitive.- Returns:
- definition of ARM tracked top level 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.
-
getByResourceGroupAsync
Mono<DataCollectionEndpointResourceInner> getByResourceGroupAsync(String resourceGroupName, String dataCollectionEndpointName)
Returns the specified data collection endpoint.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<DataCollectionEndpointResourceInner>- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.dataCollectionEndpointName- The name of the data collection endpoint. The name is case insensitive.- Returns:
- definition of ARM tracked top level 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.
-
getByResourceGroup
DataCollectionEndpointResourceInner getByResourceGroup(String resourceGroupName, String dataCollectionEndpointName)
Returns the specified data collection endpoint.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<DataCollectionEndpointResourceInner>- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.dataCollectionEndpointName- The name of the data collection endpoint. The name is case insensitive.- Returns:
- definition of ARM tracked top level 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<DataCollectionEndpointResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String dataCollectionEndpointName, com.azure.core.util.Context context)
Returns the specified data collection endpoint.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.dataCollectionEndpointName- The name of the data collection endpoint. The name is case insensitive.context- The context to associate with this operation.- Returns:
- definition of ARM tracked top level 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.
-
createWithResponseAsync
Mono<com.azure.core.http.rest.Response<DataCollectionEndpointResourceInner>> createWithResponseAsync(String resourceGroupName, String dataCollectionEndpointName, DataCollectionEndpointResourceInner body)
Creates or updates a data collection endpoint.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.dataCollectionEndpointName- The name of the data collection endpoint. The name is case insensitive.body- The payload.- Returns:
- definition of ARM tracked top level 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.
-
createAsync
Mono<DataCollectionEndpointResourceInner> createAsync(String resourceGroupName, String dataCollectionEndpointName, DataCollectionEndpointResourceInner body)
Creates or updates a data collection endpoint.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.dataCollectionEndpointName- The name of the data collection endpoint. The name is case insensitive.body- The payload.- Returns:
- definition of ARM tracked top level 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.
-
createAsync
Mono<DataCollectionEndpointResourceInner> createAsync(String resourceGroupName, String dataCollectionEndpointName)
Creates or updates a data collection endpoint.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.dataCollectionEndpointName- The name of the data collection endpoint. The name is case insensitive.- Returns:
- definition of ARM tracked top level 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.
-
create
DataCollectionEndpointResourceInner create(String resourceGroupName, String dataCollectionEndpointName)
Creates or updates a data collection endpoint.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.dataCollectionEndpointName- The name of the data collection endpoint. The name is case insensitive.- Returns:
- definition of ARM tracked top level 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.
-
createWithResponse
com.azure.core.http.rest.Response<DataCollectionEndpointResourceInner> createWithResponse(String resourceGroupName, String dataCollectionEndpointName, DataCollectionEndpointResourceInner body, com.azure.core.util.Context context)
Creates or updates a data collection endpoint.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.dataCollectionEndpointName- The name of the data collection endpoint. The name is case insensitive.body- The payload.context- The context to associate with this operation.- Returns:
- definition of ARM tracked top level 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.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<DataCollectionEndpointResourceInner>> updateWithResponseAsync(String resourceGroupName, String dataCollectionEndpointName, Map<String,String> tags)
Updates part of a data collection endpoint.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.dataCollectionEndpointName- The name of the data collection endpoint. The name is case insensitive.tags- Resource tags.- Returns:
- definition of ARM tracked top level 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.
-
updateAsync
Mono<DataCollectionEndpointResourceInner> updateAsync(String resourceGroupName, String dataCollectionEndpointName, Map<String,String> tags)
Updates part of a data collection endpoint.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.dataCollectionEndpointName- The name of the data collection endpoint. The name is case insensitive.tags- Resource tags.- Returns:
- definition of ARM tracked top level 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.
-
updateAsync
Mono<DataCollectionEndpointResourceInner> updateAsync(String resourceGroupName, String dataCollectionEndpointName)
Updates part of a data collection endpoint.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.dataCollectionEndpointName- The name of the data collection endpoint. The name is case insensitive.- Returns:
- definition of ARM tracked top level 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.
-
update
DataCollectionEndpointResourceInner update(String resourceGroupName, String dataCollectionEndpointName)
Updates part of a data collection endpoint.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.dataCollectionEndpointName- The name of the data collection endpoint. The name is case insensitive.- Returns:
- definition of ARM tracked top level 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.
-
updateWithResponse
com.azure.core.http.rest.Response<DataCollectionEndpointResourceInner> updateWithResponse(String resourceGroupName, String dataCollectionEndpointName, Map<String,String> tags, com.azure.core.util.Context context)
Updates part of a data collection endpoint.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.dataCollectionEndpointName- The name of the data collection endpoint. The name is case insensitive.tags- Resource tags.context- The context to associate with this operation.- Returns:
- definition of ARM tracked top level 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String dataCollectionEndpointName)
Deletes a data collection endpoint.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.dataCollectionEndpointName- The name of the data collection endpoint. The name is case insensitive.- Returns:
- the completion.
- 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.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String dataCollectionEndpointName)
Deletes a data collection endpoint.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.dataCollectionEndpointName- The name of the data collection endpoint. The name is case insensitive.- Returns:
- the completion.
- 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 dataCollectionEndpointName)
Deletes a data collection endpoint.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.dataCollectionEndpointName- The name of the data collection endpoint. The name is case insensitive.- 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String dataCollectionEndpointName, com.azure.core.util.Context context)
Deletes a data collection endpoint.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.dataCollectionEndpointName- The name of the data collection endpoint. The name is case insensitive.context- The context to associate with this operation.- Returns:
- the 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.
-
-