Interface DataCollectionEndpointsClient

    • Method Detail

      • 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.
      • 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:
        getByResourceGroupAsync in interface InnerSupportsGet<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:
        getByResourceGroup in interface InnerSupportsGet<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:
        deleteAsync in interface InnerSupportsDelete<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.