Interface AdvancedThreatProtections


public interface AdvancedThreatProtections
Resource collection API of AdvancedThreatProtections.
  • 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<AdvancedThreatProtectionSetting> 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.
    • getById

      Gets the Advanced Threat Protection settings for the specified resource.
      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<AdvancedThreatProtectionSetting> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets the Advanced Threat Protection settings for the specified resource.
      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new AdvancedThreatProtectionSetting resource.
      Returns:
      the first stage of the new AdvancedThreatProtectionSetting definition.