Interface ServerThreatProtectionSettingsClient


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

    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, ThreatProtectionName threatProtectionName, AdvancedThreatProtectionSettingsModelInner parameters)
      Creates or updates a server's Advanced Threat Protection settings.
      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.
      parameters - The Advanced Threat Protection state for the server.
      Returns:
      advanced threat protection settings of the 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.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AdvancedThreatProtectionSettingsModelInner>, AdvancedThreatProtectionSettingsModelInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, ThreatProtectionName threatProtectionName, AdvancedThreatProtectionSettingsModelInner parameters)
      Creates or updates a server's Advanced Threat Protection settings.
      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.
      parameters - The Advanced Threat Protection state for the server.
      Returns:
      the PollerFlux for polling of advanced threat protection settings of the 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AdvancedThreatProtectionSettingsModelInner>, AdvancedThreatProtectionSettingsModelInner> beginCreateOrUpdate(String resourceGroupName, String serverName, ThreatProtectionName threatProtectionName, AdvancedThreatProtectionSettingsModelInner parameters)
      Creates or updates a server's Advanced Threat Protection settings.
      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.
      parameters - The Advanced Threat Protection state for the server.
      Returns:
      the SyncPoller for polling of advanced threat protection settings of the 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AdvancedThreatProtectionSettingsModelInner>, AdvancedThreatProtectionSettingsModelInner> beginCreateOrUpdate(String resourceGroupName, String serverName, ThreatProtectionName threatProtectionName, AdvancedThreatProtectionSettingsModelInner parameters, com.azure.core.util.Context context)
      Creates or updates a server's Advanced Threat Protection settings.
      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.
      parameters - The Advanced Threat Protection state for the server.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of advanced threat protection settings of the 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.
    • createOrUpdateAsync

      Mono<AdvancedThreatProtectionSettingsModelInner> createOrUpdateAsync(String resourceGroupName, String serverName, ThreatProtectionName threatProtectionName, AdvancedThreatProtectionSettingsModelInner parameters)
      Creates or updates a server's Advanced Threat Protection settings.
      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.
      parameters - The Advanced Threat Protection state for the server.
      Returns:
      advanced threat protection settings of the 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.
    • createOrUpdate

      AdvancedThreatProtectionSettingsModelInner createOrUpdate(String resourceGroupName, String serverName, ThreatProtectionName threatProtectionName, AdvancedThreatProtectionSettingsModelInner parameters)
      Creates or updates a server's Advanced Threat Protection settings.
      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.
      parameters - The Advanced Threat Protection state for the server.
      Returns:
      advanced threat protection settings of the 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.
    • createOrUpdate

      AdvancedThreatProtectionSettingsModelInner createOrUpdate(String resourceGroupName, String serverName, ThreatProtectionName threatProtectionName, AdvancedThreatProtectionSettingsModelInner parameters, com.azure.core.util.Context context)
      Creates or updates a server's Advanced Threat Protection settings.
      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.
      parameters - The Advanced Threat Protection state for the server.
      context - The context to associate with this operation.
      Returns:
      advanced threat protection settings of the 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.