Interface TimeSeriesDatabaseConnectionsClient


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

      • list

        com.azure.core.http.rest.PagedIterable<TimeSeriesDatabaseConnectionInner> list​(String resourceGroupName,
                                                                                       String resourceName)
        Get all existing time series database connections for this DigitalTwins instance.
        Parameters:
        resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        Returns:
        all existing time series database connections for this DigitalTwins instance 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.
      • list

        com.azure.core.http.rest.PagedIterable<TimeSeriesDatabaseConnectionInner> list​(String resourceGroupName,
                                                                                       String resourceName,
                                                                                       com.azure.core.util.Context context)
        Get all existing time series database connections for this DigitalTwins instance.
        Parameters:
        resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        context - The context to associate with this operation.
        Returns:
        all existing time series database connections for this DigitalTwins instance 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.
      • get

        TimeSeriesDatabaseConnectionInner get​(String resourceGroupName,
                                              String resourceName,
                                              String timeSeriesDatabaseConnectionName)
        Get the description of an existing time series database connection.
        Parameters:
        resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        timeSeriesDatabaseConnectionName - Name of time series database connection.
        Returns:
        the description of an existing time series database connection.
        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<TimeSeriesDatabaseConnectionInner> getWithResponse​(String resourceGroupName,
                                                                                             String resourceName,
                                                                                             String timeSeriesDatabaseConnectionName,
                                                                                             com.azure.core.util.Context context)
        Get the description of an existing time series database connection.
        Parameters:
        resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        timeSeriesDatabaseConnectionName - Name of time series database connection.
        context - The context to associate with this operation.
        Returns:
        the description of an existing time series database connection 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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TimeSeriesDatabaseConnectionInner>,​TimeSeriesDatabaseConnectionInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                            String resourceName,
                                                                                                                                                                                            String timeSeriesDatabaseConnectionName,
                                                                                                                                                                                            TimeSeriesDatabaseConnectionInner timeSeriesDatabaseConnectionDescription)
        Create or update a time series database connection.
        Parameters:
        resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        timeSeriesDatabaseConnectionName - Name of time series database connection.
        timeSeriesDatabaseConnectionDescription - The time series database connection description.
        Returns:
        the SyncPoller for polling of describes a time series database connection 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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TimeSeriesDatabaseConnectionInner>,​TimeSeriesDatabaseConnectionInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                            String resourceName,
                                                                                                                                                                                            String timeSeriesDatabaseConnectionName,
                                                                                                                                                                                            TimeSeriesDatabaseConnectionInner timeSeriesDatabaseConnectionDescription,
                                                                                                                                                                                            com.azure.core.util.Context context)
        Create or update a time series database connection.
        Parameters:
        resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        timeSeriesDatabaseConnectionName - Name of time series database connection.
        timeSeriesDatabaseConnectionDescription - The time series database connection description.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of describes a time series database connection 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.
      • createOrUpdate

        TimeSeriesDatabaseConnectionInner createOrUpdate​(String resourceGroupName,
                                                         String resourceName,
                                                         String timeSeriesDatabaseConnectionName,
                                                         TimeSeriesDatabaseConnectionInner timeSeriesDatabaseConnectionDescription)
        Create or update a time series database connection.
        Parameters:
        resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        timeSeriesDatabaseConnectionName - Name of time series database connection.
        timeSeriesDatabaseConnectionDescription - The time series database connection description.
        Returns:
        describes a time series database connection 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.
      • createOrUpdate

        TimeSeriesDatabaseConnectionInner createOrUpdate​(String resourceGroupName,
                                                         String resourceName,
                                                         String timeSeriesDatabaseConnectionName,
                                                         TimeSeriesDatabaseConnectionInner timeSeriesDatabaseConnectionDescription,
                                                         com.azure.core.util.Context context)
        Create or update a time series database connection.
        Parameters:
        resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        timeSeriesDatabaseConnectionName - Name of time series database connection.
        timeSeriesDatabaseConnectionDescription - The time series database connection description.
        context - The context to associate with this operation.
        Returns:
        describes a time series database connection 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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TimeSeriesDatabaseConnectionInner>,​TimeSeriesDatabaseConnectionInner> beginDelete​(String resourceGroupName,
                                                                                                                                                                                    String resourceName,
                                                                                                                                                                                    String timeSeriesDatabaseConnectionName)
        Delete a time series database connection.
        Parameters:
        resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        timeSeriesDatabaseConnectionName - Name of time series database connection.
        Returns:
        the SyncPoller for polling of describes a time series database connection 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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TimeSeriesDatabaseConnectionInner>,​TimeSeriesDatabaseConnectionInner> beginDelete​(String resourceGroupName,
                                                                                                                                                                                    String resourceName,
                                                                                                                                                                                    String timeSeriesDatabaseConnectionName,
                                                                                                                                                                                    com.azure.core.util.Context context)
        Delete a time series database connection.
        Parameters:
        resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        timeSeriesDatabaseConnectionName - Name of time series database connection.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of describes a time series database connection 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.
      • delete

        TimeSeriesDatabaseConnectionInner delete​(String resourceGroupName,
                                                 String resourceName,
                                                 String timeSeriesDatabaseConnectionName)
        Delete a time series database connection.
        Parameters:
        resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        timeSeriesDatabaseConnectionName - Name of time series database connection.
        Returns:
        describes a time series database connection 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.
      • delete

        TimeSeriesDatabaseConnectionInner delete​(String resourceGroupName,
                                                 String resourceName,
                                                 String timeSeriesDatabaseConnectionName,
                                                 com.azure.core.util.Context context)
        Delete a time series database connection.
        Parameters:
        resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
        resourceName - The name of the DigitalTwinsInstance.
        timeSeriesDatabaseConnectionName - Name of time series database connection.
        context - The context to associate with this operation.
        Returns:
        describes a time series database connection 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.