Interface ReferenceDataSetsClient


public interface ReferenceDataSetsClient
An instance of this class provides access to all the operations defined in ReferenceDataSetsClient.
  • Method Details

    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<ReferenceDataSetResourceInner> createOrUpdateWithResponse(String resourceGroupName, String environmentName, String referenceDataSetName, ReferenceDataSetCreateOrUpdateParameters parameters, com.azure.core.util.Context context)
      Create or update a reference data set in the specified environment.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      environmentName - The name of the Time Series Insights environment associated with the specified resource group.
      referenceDataSetName - Name of the reference data set.
      parameters - Parameters for creating a reference data set.
      context - The context to associate with this operation.
      Returns:
      a reference data set provides metadata about the events in an environment 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.
    • createOrUpdate

      ReferenceDataSetResourceInner createOrUpdate(String resourceGroupName, String environmentName, String referenceDataSetName, ReferenceDataSetCreateOrUpdateParameters parameters)
      Create or update a reference data set in the specified environment.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      environmentName - The name of the Time Series Insights environment associated with the specified resource group.
      referenceDataSetName - Name of the reference data set.
      parameters - Parameters for creating a reference data set.
      Returns:
      a reference data set provides metadata about the events in an environment.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<ReferenceDataSetResourceInner> getWithResponse(String resourceGroupName, String environmentName, String referenceDataSetName, com.azure.core.util.Context context)
      Gets the reference data set with the specified name in the specified environment.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      environmentName - The name of the Time Series Insights environment associated with the specified resource group.
      referenceDataSetName - The name of the Time Series Insights reference data set associated with the specified environment.
      context - The context to associate with this operation.
      Returns:
      the reference data set with the specified name in the specified environment 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.
    • get

      ReferenceDataSetResourceInner get(String resourceGroupName, String environmentName, String referenceDataSetName)
      Gets the reference data set with the specified name in the specified environment.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      environmentName - The name of the Time Series Insights environment associated with the specified resource group.
      referenceDataSetName - The name of the Time Series Insights reference data set associated with the specified environment.
      Returns:
      the reference data set with the specified name in the specified environment.
      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<ReferenceDataSetResourceInner> updateWithResponse(String resourceGroupName, String environmentName, String referenceDataSetName, ReferenceDataSetUpdateParameters referenceDataSetUpdateParameters, com.azure.core.util.Context context)
      Updates the reference data set with the specified name in the specified subscription, resource group, and environment.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      environmentName - The name of the Time Series Insights environment associated with the specified resource group.
      referenceDataSetName - The name of the Time Series Insights reference data set associated with the specified environment.
      referenceDataSetUpdateParameters - Request object that contains the updated information for the reference data set.
      context - The context to associate with this operation.
      Returns:
      a reference data set provides metadata about the events in an environment 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

      ReferenceDataSetResourceInner update(String resourceGroupName, String environmentName, String referenceDataSetName, ReferenceDataSetUpdateParameters referenceDataSetUpdateParameters)
      Updates the reference data set with the specified name in the specified subscription, resource group, and environment.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      environmentName - The name of the Time Series Insights environment associated with the specified resource group.
      referenceDataSetName - The name of the Time Series Insights reference data set associated with the specified environment.
      referenceDataSetUpdateParameters - Request object that contains the updated information for the reference data set.
      Returns:
      a reference data set provides metadata about the events in an environment.
      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 environmentName, String referenceDataSetName, com.azure.core.util.Context context)
      Deletes the reference data set with the specified name in the specified subscription, resource group, and environment.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      environmentName - The name of the Time Series Insights environment associated with the specified resource group.
      referenceDataSetName - The name of the Time Series Insights reference data set associated with the specified environment.
      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

      void delete(String resourceGroupName, String environmentName, String referenceDataSetName)
      Deletes the reference data set with the specified name in the specified subscription, resource group, and environment.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      environmentName - The name of the Time Series Insights environment associated with the specified resource group.
      referenceDataSetName - The name of the Time Series Insights reference data set associated with the specified environment.
      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.
    • listByEnvironmentWithResponse

      com.azure.core.http.rest.Response<ReferenceDataSetListResponseInner> listByEnvironmentWithResponse(String resourceGroupName, String environmentName, com.azure.core.util.Context context)
      Lists all the available reference data sets associated with the subscription and within the specified resource group and environment.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      environmentName - The name of the Time Series Insights environment associated with the specified resource group.
      context - The context to associate with this operation.
      Returns:
      the response of the List Reference Data Sets operation 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.
    • listByEnvironment

      ReferenceDataSetListResponseInner listByEnvironment(String resourceGroupName, String environmentName)
      Lists all the available reference data sets associated with the subscription and within the specified resource group and environment.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      environmentName - The name of the Time Series Insights environment associated with the specified resource group.
      Returns:
      the response of the List Reference Data Sets 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.