Interface ThreatIntelligenceIndicatorsClient


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

    • createIndicator

      ThreatIntelligenceInformationInner createIndicator(String resourceGroupName, String workspaceName, ThreatIntelligenceIndicatorModel threatIntelligenceProperties)
      Create a new threat intelligence indicator.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      threatIntelligenceProperties - Properties of threat intelligence indicators to create and update.
      Returns:
      threat intelligence information object.
      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.
    • createIndicatorWithResponse

      com.azure.core.http.rest.Response<ThreatIntelligenceInformationInner> createIndicatorWithResponse(String resourceGroupName, String workspaceName, ThreatIntelligenceIndicatorModel threatIntelligenceProperties, com.azure.core.util.Context context)
      Create a new threat intelligence indicator.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      threatIntelligenceProperties - Properties of threat intelligence indicators to create and update.
      context - The context to associate with this operation.
      Returns:
      threat intelligence information object 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

      ThreatIntelligenceInformationInner get(String resourceGroupName, String workspaceName, String name)
      View a threat intelligence indicator by name.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      name - Threat intelligence indicator name field.
      Returns:
      threat intelligence information object.
      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<ThreatIntelligenceInformationInner> getWithResponse(String resourceGroupName, String workspaceName, String name, com.azure.core.util.Context context)
      View a threat intelligence indicator by name.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      name - Threat intelligence indicator name field.
      context - The context to associate with this operation.
      Returns:
      threat intelligence information object 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

      ThreatIntelligenceInformationInner create(String resourceGroupName, String workspaceName, String name, ThreatIntelligenceIndicatorModel threatIntelligenceProperties)
      Update a threat Intelligence indicator.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      name - Threat intelligence indicator name field.
      threatIntelligenceProperties - Properties of threat intelligence indicators to create and update.
      Returns:
      threat intelligence information object.
      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<ThreatIntelligenceInformationInner> createWithResponse(String resourceGroupName, String workspaceName, String name, ThreatIntelligenceIndicatorModel threatIntelligenceProperties, com.azure.core.util.Context context)
      Update a threat Intelligence indicator.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      name - Threat intelligence indicator name field.
      threatIntelligenceProperties - Properties of threat intelligence indicators to create and update.
      context - The context to associate with this operation.
      Returns:
      threat intelligence information object 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.
    • delete

      void delete(String resourceGroupName, String workspaceName, String name)
      Delete a threat intelligence indicator.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      name - Threat intelligence indicator name field.
      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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String workspaceName, String name, com.azure.core.util.Context context)
      Delete a threat intelligence indicator.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      name - Threat intelligence indicator name field.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • queryIndicators

      com.azure.core.http.rest.PagedIterable<ThreatIntelligenceInformationInner> queryIndicators(String resourceGroupName, String workspaceName, ThreatIntelligenceFilteringCriteria threatIntelligenceFilteringCriteria)
      Query threat intelligence indicators as per filtering criteria.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      threatIntelligenceFilteringCriteria - Filtering criteria for querying threat intelligence indicators.
      Returns:
      list of all the threat intelligence information objects 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.
    • queryIndicators

      com.azure.core.http.rest.PagedIterable<ThreatIntelligenceInformationInner> queryIndicators(String resourceGroupName, String workspaceName, ThreatIntelligenceFilteringCriteria threatIntelligenceFilteringCriteria, com.azure.core.util.Context context)
      Query threat intelligence indicators as per filtering criteria.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      threatIntelligenceFilteringCriteria - Filtering criteria for querying threat intelligence indicators.
      context - The context to associate with this operation.
      Returns:
      list of all the threat intelligence information objects 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.
    • appendTags

      void appendTags(String resourceGroupName, String workspaceName, String name, ThreatIntelligenceAppendTags threatIntelligenceAppendTags)
      Append tags to a threat intelligence indicator.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      name - Threat intelligence indicator name field.
      threatIntelligenceAppendTags - The threat intelligence append tags request body.
      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.
    • appendTagsWithResponse

      com.azure.core.http.rest.Response<Void> appendTagsWithResponse(String resourceGroupName, String workspaceName, String name, ThreatIntelligenceAppendTags threatIntelligenceAppendTags, com.azure.core.util.Context context)
      Append tags to a threat intelligence indicator.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      name - Threat intelligence indicator name field.
      threatIntelligenceAppendTags - The threat intelligence append tags request body.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • replaceTags

      ThreatIntelligenceInformationInner replaceTags(String resourceGroupName, String workspaceName, String name, ThreatIntelligenceIndicatorModel threatIntelligenceReplaceTags)
      Replace tags added to a threat intelligence indicator.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      name - Threat intelligence indicator name field.
      threatIntelligenceReplaceTags - Tags in the threat intelligence indicator to be replaced.
      Returns:
      threat intelligence information object.
      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.
    • replaceTagsWithResponse

      com.azure.core.http.rest.Response<ThreatIntelligenceInformationInner> replaceTagsWithResponse(String resourceGroupName, String workspaceName, String name, ThreatIntelligenceIndicatorModel threatIntelligenceReplaceTags, com.azure.core.util.Context context)
      Replace tags added to a threat intelligence indicator.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      name - Threat intelligence indicator name field.
      threatIntelligenceReplaceTags - Tags in the threat intelligence indicator to be replaced.
      context - The context to associate with this operation.
      Returns:
      threat intelligence information object 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.