Interface ServerAdvancedThreatProtectionSettingsClient


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

    • listByServerAsync

      com.azure.core.http.rest.PagedFlux<ServerAdvancedThreatProtectionInner> listByServerAsync(String resourceGroupName, String serverName)
      Get a list of the server's Advanced Threat Protection states.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      Returns:
      a list of the server's Advanced Threat Protection states 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<ServerAdvancedThreatProtectionInner> listByServer(String resourceGroupName, String serverName)
      Get a list of the server's Advanced Threat Protection states.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      Returns:
      a list of the server's Advanced Threat Protection states 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<ServerAdvancedThreatProtectionInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)
      Get a list of the server's Advanced Threat Protection states.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      context - The context to associate with this operation.
      Returns:
      a list of the server's Advanced Threat Protection states 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<ServerAdvancedThreatProtectionInner>> getWithResponseAsync(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName)
      Get a server's Advanced Threat Protection state.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      advancedThreatProtectionName - The name of the Advanced Threat Protection state.
      Returns:
      a server's Advanced Threat Protection state 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<ServerAdvancedThreatProtectionInner> getAsync(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName)
      Get a server's Advanced Threat Protection state.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      advancedThreatProtectionName - The name of the Advanced Threat Protection state.
      Returns:
      a server's Advanced Threat Protection state 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<ServerAdvancedThreatProtectionInner> getWithResponse(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, com.azure.core.util.Context context)
      Get a server's Advanced Threat Protection state.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      advancedThreatProtectionName - The name of the Advanced Threat Protection state.
      context - The context to associate with this operation.
      Returns:
      a server's Advanced Threat Protection state 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

      ServerAdvancedThreatProtectionInner get(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName)
      Get a server's Advanced Threat Protection state.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      advancedThreatProtectionName - The name of the Advanced Threat Protection state.
      Returns:
      a server's Advanced Threat Protection state.
      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.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, ServerAdvancedThreatProtectionInner parameters)
      Creates or updates an Advanced Threat Protection state.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      advancedThreatProtectionName - The name of the Advanced Threat Protection state.
      parameters - The server Advanced Threat Protection state.
      Returns:
      a server Advanced Threat Protection 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<ServerAdvancedThreatProtectionInner>, ServerAdvancedThreatProtectionInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, ServerAdvancedThreatProtectionInner parameters)
      Creates or updates an Advanced Threat Protection state.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      advancedThreatProtectionName - The name of the Advanced Threat Protection state.
      parameters - The server Advanced Threat Protection state.
      Returns:
      the PollerFlux for polling of a server Advanced Threat Protection.
      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<ServerAdvancedThreatProtectionInner>, ServerAdvancedThreatProtectionInner> beginCreateOrUpdate(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, ServerAdvancedThreatProtectionInner parameters)
      Creates or updates an Advanced Threat Protection state.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      advancedThreatProtectionName - The name of the Advanced Threat Protection state.
      parameters - The server Advanced Threat Protection state.
      Returns:
      the SyncPoller for polling of a server Advanced Threat Protection.
      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<ServerAdvancedThreatProtectionInner>, ServerAdvancedThreatProtectionInner> beginCreateOrUpdate(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, ServerAdvancedThreatProtectionInner parameters, com.azure.core.util.Context context)
      Creates or updates an Advanced Threat Protection state.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      advancedThreatProtectionName - The name of the Advanced Threat Protection state.
      parameters - The server Advanced Threat Protection state.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a server Advanced Threat Protection.
      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<ServerAdvancedThreatProtectionInner> createOrUpdateAsync(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, ServerAdvancedThreatProtectionInner parameters)
      Creates or updates an Advanced Threat Protection state.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      advancedThreatProtectionName - The name of the Advanced Threat Protection state.
      parameters - The server Advanced Threat Protection state.
      Returns:
      a server Advanced Threat Protection 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

      ServerAdvancedThreatProtectionInner createOrUpdate(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, ServerAdvancedThreatProtectionInner parameters)
      Creates or updates an Advanced Threat Protection state.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      advancedThreatProtectionName - The name of the Advanced Threat Protection state.
      parameters - The server Advanced Threat Protection state.
      Returns:
      a server Advanced Threat Protection.
      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

      ServerAdvancedThreatProtectionInner createOrUpdate(String resourceGroupName, String serverName, AdvancedThreatProtectionName advancedThreatProtectionName, ServerAdvancedThreatProtectionInner parameters, com.azure.core.util.Context context)
      Creates or updates an Advanced Threat Protection state.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      advancedThreatProtectionName - The name of the Advanced Threat Protection state.
      parameters - The server Advanced Threat Protection state.
      context - The context to associate with this operation.
      Returns:
      a server Advanced Threat Protection.
      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.