ThreatIntelligenceOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:threat_intelligence> attribute.
Constructor
ThreatIntelligenceOperations(*args, **kwargs)
Methods
| count |
Gets the count of all TI objects for the workspace. |
| query |
Gets all TI objects for the workspace. |
count
Gets the count of all TI objects for the workspace.
count(resource_group_name: str, workspace_name: str, ti_type: str | _models.TiType, query: _models.CountQuery | None = None, *, content_type: str = 'application/json', **kwargs: Any) -> _models.ThreatIntelligenceCount
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
workspace_name
Required
|
The name of the workspace. Required. |
|
ti_type
Required
|
TI type. "main" Required. |
|
query
|
The query to run on the TI objects in the workspace. Is one of the following types: CountQuery, JSON, IO[bytes] Default value is None. Default value: None
|
Returns
| Type | Description |
|---|---|
|
ThreatIntelligenceCount. The ThreatIntelligenceCount is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
query
Gets all TI objects for the workspace.
query(resource_group_name: str, workspace_name: str, ti_type: str | _models.TiType, query: _models.Query | None = None, *, content_type: str = 'application/json', **kwargs: Any) -> ItemPaged['_models.TIObject']
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
workspace_name
Required
|
The name of the workspace. Required. |
|
ti_type
Required
|
TI type. "main" Required. |
|
query
|
The query to run on the TI objects in the workspace. Is one of the following types: Query, JSON, IO[bytes] Default value is None. Default value: None
|
Returns
| Type | Description |
|---|---|
|
An iterator like instance of TIObject |
Exceptions
| Type | Description |
|---|---|