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
Modifier and TypeMethodDescriptionCreates or updates a data collection endpoint.createAsync
(String resourceGroupName, String dataCollectionEndpointName) 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.void
Deletes a data collection endpoint.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.deleteWithResponseAsync
(String resourceGroupName, String dataCollectionEndpointName) Deletes a data collection endpoint.getByResourceGroup
(String resourceGroupName, String dataCollectionEndpointName) Returns the specified data collection endpoint.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> 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.Updates part of a data collection endpoint.updateAsync
(String resourceGroupName, String dataCollectionEndpointName) Updates part of a data collection endpoint.com.azure.core.http.rest.Response
<DataCollectionEndpointResourceInner> updateWithResponse
(String resourceGroupName, String dataCollectionEndpointName, ResourceForUpdate body, 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, ResourceForUpdate body) Updates part of a data collection endpoint.
-
Method Details
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<DataCollectionEndpointResourceInner> listByResourceGroupAsync(String resourceGroupName) Lists all data collection endpoints in the specified resource group.- Specified by:
listByResourceGroupAsync
in interfaceInnerSupportsListing<DataCollectionEndpointResourceInner>
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- a pageable list of resources as paginated response with
PagedFlux
. - 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:
listByResourceGroup
in interfaceInnerSupportsListing<DataCollectionEndpointResourceInner>
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- a pageable list of resources 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<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 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<DataCollectionEndpointResourceInner> listAsync()Lists all data collection endpoints in the specified subscription.- Specified by:
listAsync
in interfaceInnerSupportsListing<DataCollectionEndpointResourceInner>
- Returns:
- a pageable list of resources as paginated response with
PagedFlux
. - 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:
list
in interfaceInnerSupportsListing<DataCollectionEndpointResourceInner>
- Returns:
- a pageable list of resources 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<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 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.
-
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 along with
Response
on successful completion ofMono
. - 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:
getByResourceGroupAsync
in 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 on successful completion of
Mono
. - 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 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
DataCollectionEndpointResourceInner getByResourceGroup(String resourceGroupName, String dataCollectionEndpointName) Returns the specified data collection endpoint.- Specified by:
getByResourceGroup
in 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.
-
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 along with
Response
on successful completion ofMono
. - 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 on successful completion of
Mono
. - 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 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.
-
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.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<DataCollectionEndpointResourceInner>> updateWithResponseAsync(String resourceGroupName, String dataCollectionEndpointName, ResourceForUpdate body) 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.body
- The payload.- Returns:
- definition of ARM tracked top level resource along with
Response
on successful completion ofMono
. - 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 on successful completion of
Mono
. - 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, ResourceForUpdate body, 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.body
- The payload.context
- The context to associate with this operation.- Returns:
- definition of ARM tracked top level 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.
-
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.
-
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
Response
on successful completion ofMono
. - 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
Deletes a data collection endpoint.- Specified by:
deleteAsync
in 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:
- A
Mono
that completes when a successful response is received. - 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.
-
delete
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.
-