Interface AdvancedThreatProtectionSettings
public interface AdvancedThreatProtectionSettings
Resource collection API of AdvancedThreatProtectionSettings.
-
Method Summary
Modifier and TypeMethodDescriptionget(String resourceGroupName, String serverName, ThreatProtectionName threatProtectionName) Gets state of advanced threat protection settings for a server.com.azure.core.http.rest.Response<AdvancedThreatProtectionSettingsModel> getWithResponse(String resourceGroupName, String serverName, ThreatProtectionName threatProtectionName, com.azure.core.util.Context context) Gets state of advanced threat protection settings for a server.com.azure.core.http.rest.PagedIterable<AdvancedThreatProtectionSettingsModel> listByServer(String resourceGroupName, String serverName) Lists state of advanced threat protection settings for a server.com.azure.core.http.rest.PagedIterable<AdvancedThreatProtectionSettingsModel> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context) Lists state of advanced threat protection settings for a server.
-
Method Details
-
listByServer
com.azure.core.http.rest.PagedIterable<AdvancedThreatProtectionSettingsModel> 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<AdvancedThreatProtectionSettingsModel> 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.
-
getWithResponse
com.azure.core.http.rest.Response<AdvancedThreatProtectionSettingsModel> 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
AdvancedThreatProtectionSettingsModel 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.
-