Interface SqlPoolMetadataSyncConfigs


  • public interface SqlPoolMetadataSyncConfigs
    Resource collection API of SqlPoolMetadataSyncConfigs.
    • Method Detail

      • get

        MetadataSyncConfig get​(String resourceGroupName,
                               String workspaceName,
                               String sqlPoolName)
        Get the metadata sync configuration for a SQL pool.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        Returns:
        the metadata sync configuration for a SQL pool.
        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<MetadataSyncConfig> getWithResponse​(String resourceGroupName,
                                                                              String workspaceName,
                                                                              String sqlPoolName,
                                                                              com.azure.core.util.Context context)
        Get the metadata sync configuration for a SQL pool.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        context - The context to associate with this operation.
        Returns:
        the metadata sync configuration for a SQL pool 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

        MetadataSyncConfig create​(String resourceGroupName,
                                  String workspaceName,
                                  String sqlPoolName,
                                  MetadataSyncConfigInner metadataSyncConfiguration)
        Set the metadata sync configuration for a SQL pool.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        metadataSyncConfiguration - Metadata sync configuration.
        Returns:
        metadata sync configuration.
        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<MetadataSyncConfig> createWithResponse​(String resourceGroupName,
                                                                                 String workspaceName,
                                                                                 String sqlPoolName,
                                                                                 MetadataSyncConfigInner metadataSyncConfiguration,
                                                                                 com.azure.core.util.Context context)
        Set the metadata sync configuration for a SQL pool.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        sqlPoolName - SQL pool name.
        metadataSyncConfiguration - Metadata sync configuration.
        context - The context to associate with this operation.
        Returns:
        metadata sync configuration 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.