Interface AdvancedThreatProtectionSettingsClient


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

    • listByServerAsync

      com.azure.core.http.rest.PagedFlux<AdvancedThreatProtectionSettingsModelInner> listByServerAsync(String resourceGroupName, String serverName)
      Lists state of advanced threat protection settings for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      Returns:
      list of advanced threat protection settings for a server as paginated response with PagedFlux.
      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.
    • listByServer

      com.azure.core.http.rest.PagedIterable<AdvancedThreatProtectionSettingsModelInner> listByServer(String resourceGroupName, String serverName)
      Lists state of advanced threat protection settings for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      Returns:
      list of advanced threat protection settings for a server 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.
    • listByServer

      com.azure.core.http.rest.PagedIterable<AdvancedThreatProtectionSettingsModelInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)
      Lists state of advanced threat protection settings for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      context - The context to associate with this operation.
      Returns:
      list of advanced threat protection settings for a server 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<AdvancedThreatProtectionSettingsModelInner>> getWithResponseAsync(String resourceGroupName, String serverName, ThreatProtectionName threatProtectionName)
      Gets state of advanced threat protection settings for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      threatProtectionName - Name of the advanced threat protection settings.
      Returns:
      state of advanced threat protection settings for a server 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<AdvancedThreatProtectionSettingsModelInner> getAsync(String resourceGroupName, String serverName, ThreatProtectionName threatProtectionName)
      Gets state of advanced threat protection settings for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      threatProtectionName - Name of the advanced threat protection settings.
      Returns:
      state of advanced threat protection settings for a server 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<AdvancedThreatProtectionSettingsModelInner> getWithResponse(String resourceGroupName, String serverName, ThreatProtectionName threatProtectionName, com.azure.core.util.Context context)
      Gets state of advanced threat protection settings for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      threatProtectionName - Name of the advanced threat protection settings.
      context - The context to associate with this operation.
      Returns:
      state of advanced threat protection settings for a server 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

      AdvancedThreatProtectionSettingsModelInner get(String resourceGroupName, String serverName, ThreatProtectionName threatProtectionName)
      Gets state of advanced threat protection settings for a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      threatProtectionName - Name of the advanced threat protection settings.
      Returns:
      state of advanced threat protection settings for a server.
      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.