Interface SqlAgentsClient


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

    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<SqlAgentConfigurationInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName)
      Gets current instance sql agent configuration.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      managedInstanceName - The name of the managed instance.
      Returns:
      current instance sql agent configuration along with Response on successful completion of Mono.
      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.
    • getAsync

      Mono<SqlAgentConfigurationInner> getAsync(String resourceGroupName, String managedInstanceName)
      Gets current instance sql agent configuration.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      managedInstanceName - The name of the managed instance.
      Returns:
      current instance sql agent configuration on successful completion of Mono.
      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<SqlAgentConfigurationInner> getWithResponse(String resourceGroupName, String managedInstanceName, com.azure.core.util.Context context)
      Gets current instance sql agent configuration.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      managedInstanceName - The name of the managed instance.
      context - The context to associate with this operation.
      Returns:
      current instance sql agent 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.
    • get

      SqlAgentConfigurationInner get(String resourceGroupName, String managedInstanceName)
      Gets current instance sql agent configuration.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      managedInstanceName - The name of the managed instance.
      Returns:
      current instance sql agent 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.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<SqlAgentConfigurationInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, SqlAgentConfigurationInner parameters)
      Puts new sql agent configuration to instance.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      managedInstanceName - The name of the managed instance.
      parameters - The parameters parameter.
      Returns:
      a recoverable managed database resource along with Response on successful completion of Mono.
      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.
    • createOrUpdateAsync

      Mono<SqlAgentConfigurationInner> createOrUpdateAsync(String resourceGroupName, String managedInstanceName, SqlAgentConfigurationInner parameters)
      Puts new sql agent configuration to instance.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      managedInstanceName - The name of the managed instance.
      parameters - The parameters parameter.
      Returns:
      a recoverable managed database resource on successful completion of Mono.
      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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<SqlAgentConfigurationInner> createOrUpdateWithResponse(String resourceGroupName, String managedInstanceName, SqlAgentConfigurationInner parameters, com.azure.core.util.Context context)
      Puts new sql agent configuration to instance.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      managedInstanceName - The name of the managed instance.
      parameters - The parameters parameter.
      context - The context to associate with this operation.
      Returns:
      a recoverable managed database resource 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

      SqlAgentConfigurationInner createOrUpdate(String resourceGroupName, String managedInstanceName, SqlAgentConfigurationInner parameters)
      Puts new sql agent configuration to instance.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      managedInstanceName - The name of the managed instance.
      parameters - The parameters parameter.
      Returns:
      a recoverable managed database 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.