Interface ThreatIntelligenceIndicators
public interface ThreatIntelligenceIndicators
Resource collection API of ThreatIntelligenceIndicators.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendTags
(String resourceGroupName, String workspaceName, String name, ThreatIntelligenceAppendTags threatIntelligenceAppendTags) Append tags to a threat intelligence indicator.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.create
(String resourceGroupName, String workspaceName, String name, ThreatIntelligenceIndicatorModel threatIntelligenceProperties) Update a threat Intelligence indicator.createIndicator
(String resourceGroupName, String workspaceName, ThreatIntelligenceIndicatorModel threatIntelligenceProperties) Create a new threat intelligence indicator.com.azure.core.http.rest.Response<ThreatIntelligenceInformation>
createIndicatorWithResponse
(String resourceGroupName, String workspaceName, ThreatIntelligenceIndicatorModel threatIntelligenceProperties, com.azure.core.util.Context context) Create a new threat intelligence indicator.com.azure.core.http.rest.Response<ThreatIntelligenceInformation>
createWithResponse
(String resourceGroupName, String workspaceName, String name, ThreatIntelligenceIndicatorModel threatIntelligenceProperties, com.azure.core.util.Context context) Update a threat Intelligence indicator.void
Delete a threat intelligence indicator.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.View a threat intelligence indicator by name.com.azure.core.http.rest.Response<ThreatIntelligenceInformation>
getWithResponse
(String resourceGroupName, String workspaceName, String name, com.azure.core.util.Context context) View a threat intelligence indicator by name.com.azure.core.http.rest.PagedIterable<ThreatIntelligenceInformation>
queryIndicators
(String resourceGroupName, String workspaceName, ThreatIntelligenceFilteringCriteria threatIntelligenceFilteringCriteria) Query threat intelligence indicators as per filtering criteria.com.azure.core.http.rest.PagedIterable<ThreatIntelligenceInformation>
queryIndicators
(String resourceGroupName, String workspaceName, ThreatIntelligenceFilteringCriteria threatIntelligenceFilteringCriteria, com.azure.core.util.Context context) Query threat intelligence indicators as per filtering criteria.replaceTags
(String resourceGroupName, String workspaceName, String name, ThreatIntelligenceIndicatorModel threatIntelligenceReplaceTags) Replace tags added to a threat intelligence indicator.com.azure.core.http.rest.Response<ThreatIntelligenceInformation>
replaceTagsWithResponse
(String resourceGroupName, String workspaceName, String name, ThreatIntelligenceIndicatorModel threatIntelligenceReplaceTags, com.azure.core.util.Context context) Replace tags added to a threat intelligence indicator.
-
Method Details
-
createIndicator
ThreatIntelligenceInformation 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<ThreatIntelligenceInformation> 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
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<ThreatIntelligenceInformation> 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
ThreatIntelligenceInformation 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<ThreatIntelligenceInformation> 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
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<ThreatIntelligenceInformation> 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<ThreatIntelligenceInformation> 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
ThreatIntelligenceInformation 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<ThreatIntelligenceInformation> 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.
-