Interface AdvancedThreatProtectionsClient


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

    • get

      Gets the Advanced Threat Protection settings for the specified resource.
      Parameters:
      resourceId - The identifier of the resource.
      Returns:
      the Advanced Threat Protection settings for the specified 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.
    • getWithResponse

      com.azure.core.http.rest.Response<AdvancedThreatProtectionSettingInner> getWithResponse(String resourceId, com.azure.core.util.Context context)
      Gets the Advanced Threat Protection settings for the specified resource.
      Parameters:
      resourceId - The identifier of the resource.
      context - The context to associate with this operation.
      Returns:
      the Advanced Threat Protection settings for the specified 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.
    • create

      AdvancedThreatProtectionSettingInner create(String resourceId, AdvancedThreatProtectionSettingInner advancedThreatProtectionSetting)
      Creates or updates the Advanced Threat Protection settings on a specified resource.
      Parameters:
      resourceId - The identifier of the resource.
      advancedThreatProtectionSetting - Advanced Threat Protection Settings.
      Returns:
      the Advanced Threat Protection 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.
    • createWithResponse

      com.azure.core.http.rest.Response<AdvancedThreatProtectionSettingInner> createWithResponse(String resourceId, AdvancedThreatProtectionSettingInner advancedThreatProtectionSetting, com.azure.core.util.Context context)
      Creates or updates the Advanced Threat Protection settings on a specified resource.
      Parameters:
      resourceId - The identifier of the resource.
      advancedThreatProtectionSetting - Advanced Threat Protection Settings.
      context - The context to associate with this operation.
      Returns:
      the Advanced Threat Protection 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.