Interface ManagedServerSecurityAlertPoliciesClient


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

      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ManagedServerSecurityAlertPolicyInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                                            String managedInstanceName,
                                                                                                            SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName)
        Get a managed server's threat detection policy.
        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.
        managedInstanceName - The name of the managed instance.
        securityAlertPolicyName - The name of the security alert policy.
        Returns:
        a managed server's threat detection policy.
        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<ManagedServerSecurityAlertPolicyInner> getAsync​(String resourceGroupName,
                                                             String managedInstanceName,
                                                             SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName)
        Get a managed server's threat detection policy.
        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.
        managedInstanceName - The name of the managed instance.
        securityAlertPolicyName - The name of the security alert policy.
        Returns:
        a managed server's threat detection policy.
        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

        ManagedServerSecurityAlertPolicyInner get​(String resourceGroupName,
                                                  String managedInstanceName,
                                                  SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName)
        Get a managed server's threat detection policy.
        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.
        managedInstanceName - The name of the managed instance.
        securityAlertPolicyName - The name of the security alert policy.
        Returns:
        a managed server's threat detection policy.
        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<ManagedServerSecurityAlertPolicyInner> getWithResponse​(String resourceGroupName,
                                                                                                 String managedInstanceName,
                                                                                                 SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName,
                                                                                                 com.azure.core.util.Context context)
        Get a managed server's threat detection policy.
        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.
        managedInstanceName - The name of the managed instance.
        securityAlertPolicyName - The name of the security alert policy.
        context - The context to associate with this operation.
        Returns:
        a managed server's threat detection policy.
        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 managedInstanceName,
                                                                                                  SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName,
                                                                                                  ManagedServerSecurityAlertPolicyInner parameters)
        Creates or updates a threat detection policy.
        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.
        managedInstanceName - The name of the managed instance.
        securityAlertPolicyName - The name of the security alert policy.
        parameters - A managed server security alert policy.
        Returns:
        a managed server security alert policy.
        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<ManagedServerSecurityAlertPolicyInner>,​ManagedServerSecurityAlertPolicyInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                                                         String managedInstanceName,
                                                                                                                                                                                                         SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName,
                                                                                                                                                                                                         ManagedServerSecurityAlertPolicyInner parameters)
        Creates or updates a threat detection policy.
        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.
        managedInstanceName - The name of the managed instance.
        securityAlertPolicyName - The name of the security alert policy.
        parameters - A managed server security alert policy.
        Returns:
        a managed server security alert policy.
        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<ManagedServerSecurityAlertPolicyInner>,​ManagedServerSecurityAlertPolicyInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                                    String managedInstanceName,
                                                                                                                                                                                                    SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName,
                                                                                                                                                                                                    ManagedServerSecurityAlertPolicyInner parameters)
        Creates or updates a threat detection policy.
        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.
        managedInstanceName - The name of the managed instance.
        securityAlertPolicyName - The name of the security alert policy.
        parameters - A managed server security alert policy.
        Returns:
        a managed server security alert policy.
        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<ManagedServerSecurityAlertPolicyInner>,​ManagedServerSecurityAlertPolicyInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                                    String managedInstanceName,
                                                                                                                                                                                                    SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName,
                                                                                                                                                                                                    ManagedServerSecurityAlertPolicyInner parameters,
                                                                                                                                                                                                    com.azure.core.util.Context context)
        Creates or updates a threat detection policy.
        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.
        managedInstanceName - The name of the managed instance.
        securityAlertPolicyName - The name of the security alert policy.
        parameters - A managed server security alert policy.
        context - The context to associate with this operation.
        Returns:
        a managed server security alert policy.
        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<ManagedServerSecurityAlertPolicyInner> createOrUpdateAsync​(String resourceGroupName,
                                                                        String managedInstanceName,
                                                                        SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName,
                                                                        ManagedServerSecurityAlertPolicyInner parameters)
        Creates or updates a threat detection policy.
        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.
        managedInstanceName - The name of the managed instance.
        securityAlertPolicyName - The name of the security alert policy.
        parameters - A managed server security alert policy.
        Returns:
        a managed server security alert policy.
        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

        ManagedServerSecurityAlertPolicyInner createOrUpdate​(String resourceGroupName,
                                                             String managedInstanceName,
                                                             SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName,
                                                             ManagedServerSecurityAlertPolicyInner parameters)
        Creates or updates a threat detection policy.
        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.
        managedInstanceName - The name of the managed instance.
        securityAlertPolicyName - The name of the security alert policy.
        parameters - A managed server security alert policy.
        Returns:
        a managed server security alert policy.
        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

        ManagedServerSecurityAlertPolicyInner createOrUpdate​(String resourceGroupName,
                                                             String managedInstanceName,
                                                             SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName,
                                                             ManagedServerSecurityAlertPolicyInner parameters,
                                                             com.azure.core.util.Context context)
        Creates or updates a threat detection policy.
        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.
        managedInstanceName - The name of the managed instance.
        securityAlertPolicyName - The name of the security alert policy.
        parameters - A managed server security alert policy.
        context - The context to associate with this operation.
        Returns:
        a managed server security alert policy.
        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.
      • listByInstanceAsync

        com.azure.core.http.rest.PagedFlux<ManagedServerSecurityAlertPolicyInner> listByInstanceAsync​(String resourceGroupName,
                                                                                                      String managedInstanceName)
        Get the managed server's threat detection policies.
        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.
        managedInstanceName - The name of the managed instance.
        Returns:
        the managed server's threat detection policies.
        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.
      • listByInstance

        com.azure.core.http.rest.PagedIterable<ManagedServerSecurityAlertPolicyInner> listByInstance​(String resourceGroupName,
                                                                                                     String managedInstanceName)
        Get the managed server's threat detection policies.
        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.
        managedInstanceName - The name of the managed instance.
        Returns:
        the managed server's threat detection policies.
        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.
      • listByInstance

        com.azure.core.http.rest.PagedIterable<ManagedServerSecurityAlertPolicyInner> listByInstance​(String resourceGroupName,
                                                                                                     String managedInstanceName,
                                                                                                     com.azure.core.util.Context context)
        Get the managed server's threat detection policies.
        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.
        managedInstanceName - The name of the managed instance.
        context - The context to associate with this operation.
        Returns:
        the managed server's threat detection policies.
        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.