IncidentTask

class IncidentTask : KotlinCustomResource

Uses 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-03-01, 2024-04-01-preview, 2024-09-01, 2024-10-01-preview, 2025-01-01-preview, 2025-03-01.

Example Usage

IncidentTasks_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var incidentTask = new AzureNative.SecurityInsights.IncidentTask("incidentTask", new()
{
Description = "Task description",
IncidentId = "73e01a99-5cd7-4139-a149-9f2736ff2ab5",
IncidentTaskId = "4bb36b7b-26ff-4d1c-9cbe-0d8ab3da0014",
ResourceGroupName = "myRg",
Status = AzureNative.SecurityInsights.IncidentTaskStatus.New,
Title = "Task title",
WorkspaceName = "myWorkspace",
});
});
package main
import (
securityinsights "github.com/pulumi/pulumi-azure-native-sdk/securityinsights/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := securityinsights.NewIncidentTask(ctx, "incidentTask", &securityinsights.IncidentTaskArgs{
Description: pulumi.String("Task description"),
IncidentId: pulumi.String("73e01a99-5cd7-4139-a149-9f2736ff2ab5"),
IncidentTaskId: pulumi.String("4bb36b7b-26ff-4d1c-9cbe-0d8ab3da0014"),
ResourceGroupName: pulumi.String("myRg"),
Status: pulumi.String(securityinsights.IncidentTaskStatusNew),
Title: pulumi.String("Task title"),
WorkspaceName: pulumi.String("myWorkspace"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.securityinsights.IncidentTask;
import com.pulumi.azurenative.securityinsights.IncidentTaskArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var incidentTask = new IncidentTask("incidentTask", IncidentTaskArgs.builder()
.description("Task description")
.incidentId("73e01a99-5cd7-4139-a149-9f2736ff2ab5")
.incidentTaskId("4bb36b7b-26ff-4d1c-9cbe-0d8ab3da0014")
.resourceGroupName("myRg")
.status("New")
.title("Task title")
.workspaceName("myWorkspace")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:securityinsights:IncidentTask 4bb36b7b-26ff-4d1c-9cbe-0d8ab3da0014 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/tasks/{incidentTaskId}

Properties

Link copied to clipboard

Information on the client (user or application) that made some action

Link copied to clipboard
val createdTimeUtc: Output<String>

The time the task was created

Link copied to clipboard
val description: Output<String>?

The description of the task

Link copied to clipboard
val etag: Output<String>?

Etag of the azure resource

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Information on the client (user or application) that made some action

Link copied to clipboard

The last time the task was updated

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Output<String>
Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val title: Output<String>

The title of the task

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>