Interface ReferenceDataSets


public interface ReferenceDataSets
Resource collection API of ReferenceDataSets.
  • Method Summary

    Modifier and Type
    Method
    Description
    define(String name)
    Begins definition for a new ReferenceDataSetResource resource.
    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.
    void
    Deletes the reference data set with the specified name in the specified subscription, resource group, and environment.
    com.azure.core.http.rest.Response<Void>
    deleteByIdWithResponse(String id, com.azure.core.util.Context context)
    Deletes the reference data set with the specified name in the specified subscription, resource group, and environment.
    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.
    get(String resourceGroupName, String environmentName, String referenceDataSetName)
    Gets the reference data set with the specified name in the specified environment.
    Gets the reference data set with the specified name in the specified environment.
    com.azure.core.http.rest.Response<ReferenceDataSetResource>
    getByIdWithResponse(String id, com.azure.core.util.Context context)
    Gets the reference data set with the specified name in the specified environment.
    com.azure.core.http.rest.Response<ReferenceDataSetResource>
    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.
    listByEnvironment(String resourceGroupName, String environmentName)
    Lists all the available reference data sets associated with the subscription and within the specified resource group and environment.
    com.azure.core.http.rest.Response<ReferenceDataSetListResponse>
    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.
  • Method Details

    • getWithResponse

      com.azure.core.http.rest.Response<ReferenceDataSetResource> 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

      ReferenceDataSetResource 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.
    • 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<ReferenceDataSetListResponse> 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

      ReferenceDataSetListResponse 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.
    • getById

      Gets the reference data set with the specified name in the specified environment.
      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<ReferenceDataSetResource> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets the reference data set with the specified name in the specified environment.
      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Deletes the reference data set with the specified name in the specified subscription, resource group, and environment.
      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Deletes the reference data set with the specified name in the specified subscription, resource group, and environment.
      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new ReferenceDataSetResource resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new ReferenceDataSetResource definition.