1. Packages
  2. Azure Native v2
  3. API Docs
  4. securityinsights
  5. getHunt
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.securityinsights.getHunt

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Gets a hunt, without relations and comments. Azure REST API version: 2023-06-01-preview.

Other available API versions: 2023-07-01-preview, 2023-08-01-preview, 2023-09-01-preview, 2023-10-01-preview, 2023-12-01-preview, 2024-01-01-preview, 2024-04-01-preview, 2024-10-01-preview.

Using getHunt

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getHunt(args: GetHuntArgs, opts?: InvokeOptions): Promise<GetHuntResult>
function getHuntOutput(args: GetHuntOutputArgs, opts?: InvokeOptions): Output<GetHuntResult>
Copy
def get_hunt(hunt_id: Optional[str] = None,
             resource_group_name: Optional[str] = None,
             workspace_name: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetHuntResult
def get_hunt_output(hunt_id: Optional[pulumi.Input[str]] = None,
             resource_group_name: Optional[pulumi.Input[str]] = None,
             workspace_name: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetHuntResult]
Copy
func LookupHunt(ctx *Context, args *LookupHuntArgs, opts ...InvokeOption) (*LookupHuntResult, error)
func LookupHuntOutput(ctx *Context, args *LookupHuntOutputArgs, opts ...InvokeOption) LookupHuntResultOutput
Copy

> Note: This function is named LookupHunt in the Go SDK.

public static class GetHunt 
{
    public static Task<GetHuntResult> InvokeAsync(GetHuntArgs args, InvokeOptions? opts = null)
    public static Output<GetHuntResult> Invoke(GetHuntInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetHuntResult> getHunt(GetHuntArgs args, InvokeOptions options)
public static Output<GetHuntResult> getHunt(GetHuntArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:securityinsights:getHunt
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

HuntId
This property is required.
Changes to this property will trigger replacement.
string
The hunt id (GUID)
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
WorkspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the workspace.
HuntId
This property is required.
Changes to this property will trigger replacement.
string
The hunt id (GUID)
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
WorkspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the workspace.
huntId
This property is required.
Changes to this property will trigger replacement.
String
The hunt id (GUID)
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
workspaceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the workspace.
huntId
This property is required.
Changes to this property will trigger replacement.
string
The hunt id (GUID)
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
workspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the workspace.
hunt_id
This property is required.
Changes to this property will trigger replacement.
str
The hunt id (GUID)
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
workspace_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the workspace.
huntId
This property is required.
Changes to this property will trigger replacement.
String
The hunt id (GUID)
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
workspaceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the workspace.

getHunt Result

The following output properties are available:

Description string
The description of the hunt
DisplayName string
The display name of the hunt
Id string
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
Name string
The name of the resource
SystemData Pulumi.AzureNative.SecurityInsights.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
AttackTactics List<string>
A list of mitre attack tactics the hunt is associated with
AttackTechniques List<string>
A list of a mitre attack techniques the hunt is associated with
Etag string
Etag of the azure resource
HypothesisStatus string
The hypothesis status of the hunt.
Labels List<string>
List of labels relevant to this hunt
Owner Pulumi.AzureNative.SecurityInsights.Outputs.HuntOwnerResponse
Describes a user that the hunt is assigned to
Status string
The status of the hunt.
Description string
The description of the hunt
DisplayName string
The display name of the hunt
Id string
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
Name string
The name of the resource
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
AttackTactics []string
A list of mitre attack tactics the hunt is associated with
AttackTechniques []string
A list of a mitre attack techniques the hunt is associated with
Etag string
Etag of the azure resource
HypothesisStatus string
The hypothesis status of the hunt.
Labels []string
List of labels relevant to this hunt
Owner HuntOwnerResponse
Describes a user that the hunt is assigned to
Status string
The status of the hunt.
description String
The description of the hunt
displayName String
The display name of the hunt
id String
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
name String
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
attackTactics List<String>
A list of mitre attack tactics the hunt is associated with
attackTechniques List<String>
A list of a mitre attack techniques the hunt is associated with
etag String
Etag of the azure resource
hypothesisStatus String
The hypothesis status of the hunt.
labels List<String>
List of labels relevant to this hunt
owner HuntOwnerResponse
Describes a user that the hunt is assigned to
status String
The status of the hunt.
description string
The description of the hunt
displayName string
The display name of the hunt
id string
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
name string
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
attackTactics string[]
A list of mitre attack tactics the hunt is associated with
attackTechniques string[]
A list of a mitre attack techniques the hunt is associated with
etag string
Etag of the azure resource
hypothesisStatus string
The hypothesis status of the hunt.
labels string[]
List of labels relevant to this hunt
owner HuntOwnerResponse
Describes a user that the hunt is assigned to
status string
The status of the hunt.
description str
The description of the hunt
display_name str
The display name of the hunt
id str
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
name str
The name of the resource
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
attack_tactics Sequence[str]
A list of mitre attack tactics the hunt is associated with
attack_techniques Sequence[str]
A list of a mitre attack techniques the hunt is associated with
etag str
Etag of the azure resource
hypothesis_status str
The hypothesis status of the hunt.
labels Sequence[str]
List of labels relevant to this hunt
owner HuntOwnerResponse
Describes a user that the hunt is assigned to
status str
The status of the hunt.
description String
The description of the hunt
displayName String
The display name of the hunt
id String
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
name String
The name of the resource
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
attackTactics List<String>
A list of mitre attack tactics the hunt is associated with
attackTechniques List<String>
A list of a mitre attack techniques the hunt is associated with
etag String
Etag of the azure resource
hypothesisStatus String
The hypothesis status of the hunt.
labels List<String>
List of labels relevant to this hunt
owner Property Map
Describes a user that the hunt is assigned to
status String
The status of the hunt.

Supporting Types

HuntOwnerResponse

AssignedTo string
The name of the user the hunt is assigned to.
Email string
The email of the user the hunt is assigned to.
ObjectId string
The object id of the user the hunt is assigned to.
OwnerType string
The type of the owner the hunt is assigned to.
UserPrincipalName string
The user principal name of the user the hunt is assigned to.
AssignedTo string
The name of the user the hunt is assigned to.
Email string
The email of the user the hunt is assigned to.
ObjectId string
The object id of the user the hunt is assigned to.
OwnerType string
The type of the owner the hunt is assigned to.
UserPrincipalName string
The user principal name of the user the hunt is assigned to.
assignedTo String
The name of the user the hunt is assigned to.
email String
The email of the user the hunt is assigned to.
objectId String
The object id of the user the hunt is assigned to.
ownerType String
The type of the owner the hunt is assigned to.
userPrincipalName String
The user principal name of the user the hunt is assigned to.
assignedTo string
The name of the user the hunt is assigned to.
email string
The email of the user the hunt is assigned to.
objectId string
The object id of the user the hunt is assigned to.
ownerType string
The type of the owner the hunt is assigned to.
userPrincipalName string
The user principal name of the user the hunt is assigned to.
assigned_to str
The name of the user the hunt is assigned to.
email str
The email of the user the hunt is assigned to.
object_id str
The object id of the user the hunt is assigned to.
owner_type str
The type of the owner the hunt is assigned to.
user_principal_name str
The user principal name of the user the hunt is assigned to.
assignedTo String
The name of the user the hunt is assigned to.
email String
The email of the user the hunt is assigned to.
objectId String
The object id of the user the hunt is assigned to.
ownerType String
The type of the owner the hunt is assigned to.
userPrincipalName String
The user principal name of the user the hunt is assigned to.

SystemDataResponse

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi